Re: some conformance questions

On 6/18/10 2:58 AM, Daniel Glazman wrote:
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
>>> Transitional//EN"><html><head><title></title></head><body></body></html>
>>
>> Where by "currently" we mean "shipping Firefox". Development builds have
>> about:blank be the empty HTML document. See
>> https://bugzilla.mozilla.org/show_bug.cgi?id=514412
>
> Wow... Who said backwards-compatibility about HTML5? The current
> behaviour of mozilla's about:blank is ages old.

So?  The behavior change is pretty trivial.

> This is going to drastically impact some big web sites on one hand

Hasn't so far.

> and more importantly mozilla add-ons all relying on the current
> about:blank containing a minimal HTML document.

Which it still does.

If you parse an empty stream with the HTML5 parser, you get a DOM 
containing <html>, <head>, and <body> nodes.

So the only behavior changes are:

1)  There is no longer a doctype node in about:blank.
2)  There is no longer a <title> node in about:blank.
3)  If you do "save as" on about:blank you get an empty file instead
     of a file with a small HTML document in it.

> I am not sure _at all_ this is a good idea.

Other than a knee-jerk "it's different", why not?

-Boris

Received on Friday, 18 June 2010 14:46:25 UTC