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: Thu, 19 Apr 2012 17:08:02 -0700
Message-ID: <4F90A8E2.1060903@inkedblade.net>
To: public-css-testsuite@w3.org
On 04/19/2012 01:05 AM, Aryeh Gregor wrote:
> On Wed, Apr 18, 2012 at 9:37 PM, fantasai<fantasai.lists@inkedblade.net>  wrote:
>> They're both reserialized, but because of the way HTML parsing works,
>> the reserialization might not be what you were expecting.
>
> In what respects?  It will of course add implicit elements and so on,
> but that's not a problem.

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...

~fantasai
Received on Friday, 20 April 2012 01:48:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 20 April 2012 01:48:32 GMT