W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] <reset> element?

From: Paul Arzul <paul.arzul@gmail.com>
Date: Sun, 17 Dec 2006 15:27:08 +0200
Message-ID: <op.tkpgzik2tk5hmj@test>
hi,

(another) common problematic example is google cache. style can overreach  
and create a mishmash of unreadable overlapping text and images. for an  
example, see the top of the page on wikipedia's entry for whatwg:

<http://209.85.129.104/custom?q=cache:0s8ftW8HviQJ:en.wikipedia.org/wiki/Web_Hypertext_Application_Technology_Working_Group>

something that can help is if each party using style limits it's reach by  
css signature (eg. <body id="www-whatwg-org"> and then add the id selector  
prefix #www-whatwg-org to each style rule). mixed html shares the same  
canvas, so this won't help when absolute positioning interferes with  
layout-- as is the case with the google cache example.

do browsers make it easy enough to disable style that we can ignore this?  
anyone mixing html seems to run into this problem-- i've seen it in  
bookmarklets and greasemonkey scripts too.

advertisers seem to use <iframe>-- although minor tweaking is required:  
opera inherits the base document's background-color, mozilla doesn't. i  
couldn't find the correct behaviour defined-- any pointers?

if this is not out of scope, perhaps we can help vendor clarity by  
mentioning which elements (eg. <iframe> and <object>) should typically  
"reset" style?

- p
Received on Sunday, 17 December 2006 05:27:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC