[webkit-changes] [WebKit/WebKit] 5ae444: Rework feature flags for CSS white-space longhands
Tim Nguyen
noreply at github.com
Tue Jun 20 18:06:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5ae444becdfd912aa5aeae6ea80cd5f5eae30a55
https://github.com/WebKit/WebKit/commit/5ae444becdfd912aa5aeae6ea80cd5f5eae30a55
Author: Tim Nguyen <ntim at apple.com>
Date: 2023-06-20 (Tue, 20 Jun 2023)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/parser/CSSParserContext.cpp
M Source/WebCore/css/parser/CSSParserContext.h
Log Message:
-----------
Rework feature flags for CSS white-space longhands
https://bugs.webkit.org/show_bug.cgi?id=258234
rdar://110937144
Reviewed by Brent Fulgham.
We want to be able to enable white-space-collapse & text-wrap separately from text-wrap: balance/pretty/stable support.
To do so, re-work the preferences so they can be implemented independently.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::CSSParserContext::CSSParserContext):
(WebCore::operator==):
(WebCore::add):
* Source/WebCore/css/parser/CSSParserContext.h:
Canonical link: https://commits.webkit.org/265341@main
More information about the webkit-changes
mailing list