This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update query container layout unconditionally when ancestor style cha…
…nges https://bugs.webkit.org/show_bug.cgi?id=241302 Reviewed by Alan Bujtas. In some cases we incorrectly optimize away the layout. * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/display-none-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/pseudo-elements-004-expected.txt: * Source/WebCore/style/StyleTreeResolver.cpp: (WebCore::Style::TreeResolver::resolveComposedTree): Do the query container update even when shouldIterateChildren is false. While there is no reason to iterate children now there may be after the query container layout has been updated. Canonical link: https://commits.webkit.org/251310@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 3 changed files with 9 additions and 11 deletions.