[Bug 9659] Initial U+0000 should not set frameset-ok to "not ok"

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9659

--- Comment #33 from Henri Sivonen <hsivonen@iki.fi> 2010-10-19 09:11:34 UTC ---
(In reply to comment #32)
> Anyway, to fix this I will make the following changes:
> 
>  - remove the NULL-to-FFFD conversion in the input stream preprocessor.
> 
>  - in all the tokeniser states except the Data State (and maybe the RAWDATA and
> PLAINTEXT states, if someone can convince me that those are safe to leave nulls
> in), make U+0000 output U+FFFD appropriately (e.g. as part of a tagname,
> attribute value, etc).
> 
>  - add a branch in the foreign content state for U+0000 characters to have them
> convert to U+FFFD characters.

And leave U+0000 unswallowed in the the other tree builder states? Why not add
the U+0000 to U+FFFD mapping to the "text" insertion mode? Note that your
proposal still has the "problem" from comment 17. Was that intentional?

I'd really appreciate just speccing what Gecko and WebKit do without
bikeshedding it.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 19 October 2010 09:11:40 UTC