[Webkit-unassigned] [Bug 49803] New: DOM does not respond to JavaScript changing float:right

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 19 06:54:56 PST 2010


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

           Summary: DOM does not respond to JavaScript changing
                    float:right
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jon at skybound.ca


Please refer to the attached example page when inspecting this bug.

I've mocked up this example based on a bug report that we received from one of our customers. Our company sells a CSS IDE that allows users to edit page CSS and see their changes in different browsers in real time. To accomplish this, we use JavaScript to modify the CSS. In testing, we have found that when the float:right property of an element is changed via JavaScript, the rendering engine does not re-draw the page. If the page is refreshed, everything is redrawn as expected.

Please open bug.html in the attached zip file and click on the 'Toggle the float' link. On the click event, a chunk of jQuery in the head of the file adds a float:right property to the DIV.tit element. Under both Chrome and Safari (webkit browsers), this JavaScript does not cause the page to redraw. Under both IE8 and FF3.6.8, the page does indeed redraw as expected.

You can find out more about the issue in this thread on our support forum: http://service.skybound.ca/discussions/problems/2136-float-is-not-shown-until-refreshed

Feel free to contact me with any more questions about my implementation or this problem.

Thanks,

Jonathan Fritz
Skybound Software

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