[Webkit-unassigned] [Bug 106611] New: getComputedStyle().width wrong after text changed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 10 15:30:20 PST 2013


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

           Summary: getComputedStyle().width wrong after text changed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bill at dojotoolkit.org


Created an attachment (id=182219)
 --> (https://bugs.webkit.org/attachment.cgi?id=182219&action=review)
see console; final getComputedStyle() call should width=50 but returns width=0

With certain font-family's, adjusting a node's innerHTML and CSS will make getComputedStyle() return a width of 0px (as though the text isn't there), rather than the correct value.   See attached reduced.html example file.

Alternately, see http://bill.dojotoolkit.org/1.8/vertical_tooltip.html.   Hovering the input the second time displays the problem; the incorrect width reporting from getComputedStyle() breaks the display of the tooltip.

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