[Webkit-unassigned] [Bug 104872] New: Changing child from absolute to relative position does not recalculate style of inline-block parent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 12 18:43:46 PST 2012


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

           Summary: Changing child from absolute to relative position does
                    not recalculate style of inline-block parent
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://jsfiddle.net/CTdQd/2/
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dominicc at chromium.org


This was found by this Stack Overflow user http://stackoverflow.com/questions/13755929/chrome-doesnt-update-the-elements-width-at-some-condition-is-it-a-bug who provided a repro here http://jsfiddle.net/CTdQd/2/ . The problem can be demonstrated more clearly by changing which div is displayed (eg 2) and observing that #wrap's width does not change; but triggering a recalc on #wrap, eg by adding an inline style, causes #wrap's width to update.

I reproduced this in Chrome 25.0.1358.0 (Official Build 172524) canary OS Mac OS X WebKit 537.21 (@137323).

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