[Webkit-unassigned] [Bug 116994] New: When updating an inline element, webkit does not redraw the screen until a block-level change happens in the DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 29 13:48:49 PDT 2013


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

           Summary: When updating an inline element, webkit does not
                    redraw the screen until a block-level change happens
                    in the DOM
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: luis at debethencourt.com


Created an attachment (id=203271)
 --> (https://bugs.webkit.org/attachment.cgi?id=203271&action=review)
simple testcase

When updating an inline element, the browser does not redraw the screen until a block-level change happens in the DOM, frame is scrolled or window is resized. I have searched around online and seen many web developers having this problem and forcing a refresh to work around it. By changing the zoom level to 1.1 and back to 1.0, by using eloffsetHeight in the element, or with el.hide().show().

I have added a simple testcase to easily reproduce the bug.

This has been happening for some time, as can be seen in the following pages:
http://stackoverflow.com/questions/3485365/how-can-i-force-webkit-to-redraw-repaint-to-propagate-style-changes
http://mir.aculo.us/2009/09/25/force-redraw-dom-technique-for-webkit-based-browsers/
https://gist.github.com/madrobby/1362093

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