| Summary: | [ContentChangeObserver] Check if max-height change triggers visible content change. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bfulgham, commit-queue, simon.fraser, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
zalan
2019-03-07 10:37:28 PST
Created attachment 363897 [details]
Patch
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. Created attachment 363985 [details]
Patch
Comment on attachment 363985 [details] Patch Clearing flags on attachment: 363985 Committed r242634: <https://trac.webkit.org/changeset/242634> All reviewed patches have been landed. Closing bug. |