W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2012

Re: [whatwg] Control and Undefined Characters

From: Cameron Zemek <grom@zeminvaders.net>
Date: Thu, 11 Oct 2012 09:26:50 +1000
Message-ID: <CAJnenoXPMpNQD-DsEdRW3BHCzM9qP_5hPpyprVRbDSf3ii=Vfw@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>, whatwg@whatwg.org
On Thu, Oct 11, 2012 at 9:07 AM, Ian Hickson <ian@hixie.ch> wrote:
> User agents are required to treat U+0001 the same as, say, "A".

Yeah that is how I understood the specification.

>> And testing in Firefox and Chrome it appears these characters are
>> ignored. But I see no mention of this anywhere to ignore them or how to
>> handle them.
>
> Do you have a test case demonstrating this? When I tested it it seemed
> like the characters were not ignored:
>
>    http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=1824

Oh nevermind me. Saving the page and using a hex editor I see that it
still is there. Sorry I was inspecting the DOM and the control
characters are invisible characters (early in the morning and my brain
is not functioning correctly).

So section '3.2.5.1.5 Phrasing content' is only referring to
conforming documents when it mentions that text nodes and attribute
values should not include control characters other than space
characters?
Received on Wednesday, 10 October 2012 23:27:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT