[Webkit-unassigned] [Bug 68438] New: Some CSS properties are not correctly applied if a style sheet is dynamically added after the page has rendered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 20 07:30:18 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68438

           Summary: Some CSS properties are not correctly applied if a
                    style sheet is dynamically added after the page has
                    rendered
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: palim at tonia.ch


When a CSS style sheet is added after the page has been rendered (using dom manipulation), the resulting rendering is incorrect in some cases (i.e. when using the float property in some combinations).
In the DOM (and in the web inspector) all properties are visible correctly but the rendering in the browser window is wrong.

Expected behavior: the resulting rendering should be equal no matter in what order elements are generated.
Observed behavior: if the dynamic style sheet is generated from a script called from a timeout, the rendering is different than if the script is called directly during load

See attached files (working.html and broken.html).

working.html works as expected, in broken.html the "float" css property does not have the desired effect on the rendering.

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



More information about the webkit-unassigned mailing list