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 ' 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
Received on Wednesday, 10 October 2012 23:27:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:17 UTC