[Webkit-unassigned] [Bug 19096] interpark.co.kr : layout completely broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 15 18:50:53 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=19096





------- Comment #1 from jungshik.shin at gmail.com  2008-05-15 18:50 PDT -------
Below is a JS snippet. It relies on document.all to do different things for IE
(document.all)  and Netscape 4.x (document.layers) !! Their clock must have
stopped in 1998. Sigh !

A random idea : Can we introduce a limited support for 10-yr old non-standard
document.layers in a quirk mode? 



----------------------------
       if (document.all)
       {
               layerRef='document.all'
               styleRef='.style.'
       }
       else if (document.layers)
       {
               layerRef='document.layers'
               styleRef='.'
       }
       // show DIV
       function showLayer(lname) {

               eval(layerRef+'["'+lname+'"]'+styleRef+'display="block"');
       }
       // hide DIV
       function hideLayer(lname) {

               eval(layerRef+'["'+lname+'"]'+styleRef+'display="none"');
       }

----------------------------


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list