[Webkit-unassigned] [Bug 16556] Page div layers do not render in correct location. They end up overlapped.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 21 19:15:11 PST 2007


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





------- Comment #4 from ddkilzer at webkit.org  2007-12-21 19:15 PDT -------
Here's the faulty is_khtml detection code:

var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes &&
!document.all && !navigator.taintEnabled ));

Here's the code that writes the unwanted stylesheet:

// document.write special stylesheet links
if(typeof stylepath != 'undefined' && typeof skin != 'undefined') {
    if (is_opera_preseven) {
        document.write('<link rel="stylesheet" type="text/css"
href="'+stylepath+'/'+skin+'/Opera6Fixes.css">');
    } else if (is_opera_seven) {
        document.write('<link rel="stylesheet" type="text/css"
href="'+stylepath+'/'+skin+'/Opera7Fixes.css">');
    } else if (is_khtml) {
        document.write('<link rel="stylesheet" type="text/css"
href="'+stylepath+'/'+skin+'/KHTMLFixes.css">');
    }
}


-- 
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