W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2012

Re: Format guidelines for tests (particularly HTML5)

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 20 Apr 2012 00:46:29 -0700
Message-ID: <4F911455.5070508@inkedblade.net>
To: public-css-testsuite@w3.org
On 04/19/2012 11:52 PM, Aryeh Gregor wrote:
> On Fri, Apr 20, 2012 at 3:08 AM, fantasai<fantasai.lists@inkedblade.net>  wrote:
>> White space, mainly. Reserializing it will throw off your indentation
>> anywhere you use implicit end tags and, in some cases, just as a quirk
>> of HTML parsing even with the end tags.
>>
>> I can make an example for you if you want, if that's not clear enough...
>
> The same is true for XHTML, such as if you put whitespace in between attributes.

Yes, but not nearly to the same extent. And you *could* store
that extra information and use it to reserialize without having
to write a non-compliant parser.

~fantasai
Received on Friday, 20 April 2012 07:47:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 20 April 2012 07:47:13 GMT