W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Re: Testing the DOM and head elements at the wrong place

From: Thomas Broyer <t.broyer@gmail.com>
Date: Mon, 21 May 2007 15:44:19 +0200
Message-ID: <a9699fd20705210644y6a4d62bdre907f500290031c5@mail.gmail.com>
To: public-html@w3.org

2007/5/21, Karl Dubost:
>
> And I have used the [DOM Live Viewer][2] from Ian Hickson

It would be cool if you used a direct link from within your
test/result pages, without need for copy/paste (just copy/paste the
"permalink" target URL from Ian's Live DOM Viewer)

> The results so far are interesting. If you could send me the results
> you get with the
>
> * Name of the browser
> * Product version
> * the results: B, H, R
>      B: the element is left in the body in the DOM view
>      H: the element is put in the head in the DOM view
>      R: the element is removed in the DOM view
>
> that would be very helpful.

Interestingly, Firefox 2.0.0.3 (Mozilla/5.0 (Windows; U; Windows NT
5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3) apparently
removes the <style> and <base> elements when you copy/paste your
invalid HTML (and as soon as you edit the HTML), as you can see in Joe
d'Andrea's screenshot [1] but when you click the "refresh" link above
the "DOM view", they both appear in the <head>.
The "title in the body" is effectively removed from the DOM.

Opera 8.52 on Win XP does the same as Opera 9.2 (leaves everything in
<body>, with the <title> made invisible).

IE6 (6.0.2900.2180.xpsp_sp2_qfe.070227-2300) on Win XP leaves
everything but the <title> in the <body> (the <title> is removed from
the DOM). The <style> element appears to be a child of <base> !?
Exact same result on IE 6 (6.0.3790.1830) on Win Server 2003 SP1.

[1] http://dev.joesapt.net/w3c/head-elements-wrong/firefox%202.0.0.3.png

-- 
Thomas Broyer
Received on Monday, 21 May 2007 13:44:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:44 UTC