NEW 104872
Changing child from absolute to relative position does not recalculate style of inline-block parent
https://bugs.webkit.org/show_bug.cgi?id=104872
Summary Changing child from absolute to relative position does not recalculate style ...
Dominic Cooney
Reported 2012-12-12 18:46:09 PST
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).
Attachments
Brent Fulgham
Comment 1 2022-07-13 11:58:49 PDT
This continues to be an issue in Safari 15.
Radar WebKit Bug Importer
Comment 2 2022-07-13 11:59:00 PDT
Ahmad Saleem
Comment 3 2023-03-23 17:19:57 PDT
(In reply to Brent Fulgham from comment #1) > This continues to be an issue in Safari 15. It seems to be fixed in Safari Technology Preview 166 and WebKit ToT. Although Safari 16.3 still shows an issue where e.g., 2 and 3 sometime does not do update properly. Can we mark this as "RESOLVED CONFIGURATION CHANGED" now?
Note You need to log in before you can comment on or make changes to this bug.