Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8388b64db456d5a4807bec59553056eb0dcf4d91
      
https://github.com/WebKit/WebKit/commit/8388b64db456d5a4807bec59553056eb0dcf4d91
  Author: Antti Koivisto <[email protected]>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-conditional/container-queries/style-query-document-element-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-conditional/container-queries/style-query-document-element.html
    M Source/WebCore/style/ContainerQueryEvaluator.cpp

  Log Message:
  -----------
  Styled container query does not work on body tag
https://bugs.webkit.org/show_bug.cgi?id=271040
rdar://124875999

Reviewed by Antoine Quint.

Document element can't currently be a style container.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-conditional/container-queries/style-query-document-element-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-conditional/container-queries/style-query-document-element.html:
 Added.
* Source/WebCore/style/ContainerQueryEvaluator.cpp:
(WebCore::Style::ContainerQueryEvaluator::featureEvaluationContextForQuery 
const):

In case of root element container, use its own style as parent style, similar 
to what is done in Style::Resolver.

Canonical link: https://commits.webkit.org/283480@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to