Re: Format guidelines for tests (particularly HTML5)

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 UTC