Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 82db23e607b394de2ecf2ca89fb24740675847b9
https://github.com/WebKit/WebKit/commit/82db23e607b394de2ecf2ca89fb24740675847b9
Author: Sam Weinig <[email protected]>
Date: 2025-05-01 (Thu, 01 May 2025)
Changed paths:
M Source/WebCore/css/CSSProperty.h
M Source/WebCore/css/scripts/process-css-properties.py
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/CSSPropertyNames.gperf
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/CSSPropertyNames.h
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/CSSPropertyParsing.cpp
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleBuilderGenerated.cpp
M
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleInterpolationWrapperMap.cpp
Log Message:
-----------
Bucket the physical and logical properties of logical property groups
separately for more efficient classification
https://bugs.webkit.org/show_bug.cgi?id=292374
Reviewed by Antti Koivisto.
Re-orders the CSSPropertyID enum so that there are separate buckets for
the physical and logical properties of logical property groups. This allows
us to simplify the check `isDirectionAwareProperty` to just two comparisons
and makes resolving said direction aware properties more efficient as now
the switch statement is on a contiguous range of values.
CSSPropertyID is now sorted into the following buckets:
- Invalid
- Custom
- Top
- High
- Low
- Physical
- Logical
- Shorthand
* Source/WebCore/css/CSSProperty.h:
* Source/WebCore/css/scripts/process-css-properties.py:
*
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/CSSPropertyNames.gperf:
* Source/WebCore/css/scripts/test/TestCSSPropertiesResults/CSSPropertyNames.h:
*
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/CSSPropertyParsing.cpp:
*
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleBuilderGenerated.cpp:
*
Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleInterpolationWrapperMap.cpp:
Canonical link: https://commits.webkit.org/294394@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