Re: Format guidelines for tests (particularly HTML5)

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 UTC