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

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