[webkit-changes] [WebKit/WebKit] 83fdcf: [content-visibility] Property should not apply to ...

Alan Baradlay noreply at github.com
Tue Nov 19 13:30:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 83fdcf4a58d046240c9c529d404e7d7343998d39
      https://github.com/WebKit/WebKit/commit/83fdcf4a58d046240c9c529d404e7d7343998d39
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-on-ruby-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-on-ruby-ref.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-on-ruby.html
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleInlines.h
    M Source/WebCore/style/StyleAdjuster.cpp

  Log Message:
  -----------
  [content-visibility] Property should not apply to ruby
https://bugs.webkit.org/show_bug.cgi?id=283358

Reviewed by Antti Koivisto.

1. content-visibility applies to elements for which size containment can apply.
2. size containment does not apply to ruby.

Let's make sure that isSkippedContentRoot reflects these rules.

* LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-on-ruby-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-on-ruby-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-on-ruby.html: Added.
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleInlines.h:
(WebCore::RenderStyle::isInternalTableBox const):
(WebCore::RenderStyle::isInternalTableBox):
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjust const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list