Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b8670f8cdf8e4bc2c211b2ea4c5b8dbf59284a8b
https://github.com/WebKit/WebKit/commit/b8670f8cdf8e4bc2c211b2ea4c5b8dbf59284a8b
Author: Sam Weinig <[email protected]>
Date: 2026-02-21 (Sat, 21 Feb 2026)
Changed paths:
A LayoutTests/fast/ruby/ruby-display-types-expected.txt
A LayoutTests/fast/ruby/ruby-display-types.html
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/css/CSSValueKeywords.in
M Source/WebCore/css/parser/CSSParserContext.cpp
M Source/WebCore/css/parser/CSSParserContext.h
M Source/WebCore/css/parser/CSSPropertyParserConsumer+Display.cpp
M Source/WebCore/css/parser/CSSPropertyParserConsumer+Display.h
M Source/WebCore/style/StyleAdjuster.cpp
M Source/WebCore/style/values/display/StyleDisplay.cpp
M Source/WebCore/style/values/display/StyleDisplay.h
Log Message:
-----------
Remove non-standard `display: block-ruby`
https://bugs.webkit.org/show_bug.cgi?id=308317
Reviewed by Tim Nguyen.
Remove support for parsing and serializing display: `block-ruby`. It should
always be represented as the space separated pair `block ruby`.
Also added more conservative support for `display` CSSValueConversion, so
any valid pair that might make its way in from the CSS typedom gets handled
correctly.
To test this, a new off by default setting,
CSSRubyDisplayTypesInAuthorStylesEnabled,
was added to enable use of ruby display types outside of UA style sheets.
Test: fast/ruby/ruby-display-types.html
* LayoutTests/fast/ruby/ruby-display-types-expected.txt: Added.
* LayoutTests/fast/ruby/ruby-display-types.html: Added.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/parser/CSSParserContext.cpp:
* Source/WebCore/css/parser/CSSParserContext.h:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Display.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Display.h:
* Source/WebCore/style/StyleAdjuster.cpp:
* Source/WebCore/style/values/display/StyleDisplay.cpp:
* Source/WebCore/style/values/display/StyleDisplay.h:
Canonical link: https://commits.webkit.org/308000@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications