RESOLVED FIXED 195417
[ContentChangeObserver] Check if max-height change triggers visible content change.
https://bugs.webkit.org/show_bug.cgi?id=195417
Summary [ContentChangeObserver] Check if max-height change triggers visible content c...
zalan
Reported 2019-03-07 10:37:28 PST
going from fixed max-height: 0px; to max-height: non-zero
Attachments
Patch (8.93 KB, patch)
2019-03-07 10:45 PST, zalan
no flags
Patch (9.07 KB, patch)
2019-03-07 21:22 PST, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2019-03-07 10:40:58 PST
zalan
Comment 2 2019-03-07 10:45:24 PST
Simon Fraser (smfr)
Comment 3 2019-03-07 11:40:43 PST
Comment on attachment 363897 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=363897&action=review > Source/WebCore/page/ios/ContentChangeObserver.cpp:299 > if (left.isFixed() && width.isFixed() && -left.value() >= width.value()) This is stupid and you should add a comment to explain how stupid it is. > Source/WebCore/page/ios/ContentChangeObserver.cpp:305 > + auto maxHeight = style.maxHeight(); Maybe comment to say that height + overflow:hidden should also be checked at some point.
zalan
Comment 4 2019-03-07 21:22:38 PST
WebKit Commit Bot
Comment 5 2019-03-07 22:09:04 PST
Comment on attachment 363985 [details] Patch Clearing flags on attachment: 363985 Committed r242634: <https://trac.webkit.org/changeset/242634>
WebKit Commit Bot
Comment 6 2019-03-07 22:09:06 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.