Skip to content

Commit fa52877

Browse files
committed
Add support for generating a consumer for CSS properties that require custom types for unordered groups
https://bugs.webkit.org/show_bug.cgi?id=289983 Reviewed by Antti Koivisto. - Adds support for custom types on "match one more any order" (||) groups. - Adds support for custom types on "match all any order" (&&) groups. - Adds support for the single item optimization for bounded repetition patterns. - Adds support for the settings flag annotation on "match one" groups. Removes CSSLineBoxContainValue CSSValue subclass. Uses CSSValueList instead, with the option set getting built at style building time. These allow the generation of: offset-rotate -webkit-line-box-contain text-underline-position scrollbar-gutter position-visibility @page size * Source/WebCore/CMakeLists.txt: * Source/WebCore/Headers.cmake: * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: - Remove no longer needed files. Add StyleLineBoxContain.h * Source/WebCore/css/CSSProperties.json: - Update grammar with annotations. * Source/WebCore/css/CSSValue.cpp: * Source/WebCore/css/CSSValue.h: * Source/WebCore/css/CSSLineBoxContainValue.cpp: Removed. * Source/WebCore/css/CSSLineBoxContainValue.h: Removed. * Source/WebCore/css/ComputedStyleExtractor.cpp: * Source/WebCore/style/values/inline/StyleLineBoxContain.h: Added. * Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h: * Source/WebCore/layout/formattingContexts/inline/InlineLevelBoxInlines.h: * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp: * Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp: * Source/WebCore/layout/formattingContexts/inline/InlineQuirks.cpp: * Source/WebCore/rendering/LegacyRootInlineBox.cpp: * Source/WebCore/rendering/RenderBlock.cpp: * Source/WebCore/rendering/style/RenderStyle.h: * Source/WebCore/rendering/style/RenderStyleInlines.h: * Source/WebCore/rendering/style/RenderStyleSetters.h: * Source/WebCore/rendering/style/StyleRareInheritedData.cpp: * Source/WebCore/rendering/style/StyleRareInheritedData.h: * Source/WebCore/rendering/updating/RenderTreeBuilderFirstLetter.cpp: * Source/WebCore/style/StyleBuilderConverter.h: - By replacing CSSLineBoxContainValue with a CSSValueList, the style representation had to move as well and now lives in style/values. Update users accordingly. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Overflow.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Overflow.h: Removed. - Remove empty file. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Page.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Page.h: Removed. - Remove no longer used consumeSize. File now empty so removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Anchor.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Anchor.h: - Remove no longer used consumePositionVisibility. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Inline.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Inline.h: - Remove no longer used consumeWebkitLineBoxContain. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Motion.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+Motion.h: - Remove no longer used consumeOffsetRotate. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Page.cpp: Removed. * Source/WebCore/css/parser/CSSPropertyParserConsumer+Page.h: Removed. - Remove no longer used consumeSize. * Source/WebCore/css/parser/CSSPropertyParserConsumer+TextDecoration.cpp: * Source/WebCore/css/parser/CSSPropertyParserConsumer+TextDecoration.h: - Remove no longer used consumeTextUnderlinePosition. * Source/WebCore/css/scripts/process-css-properties.py: - Add new support to parser generators. * Source/WebCore/css/scripts/test/TestCSSProperties.json: * 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/CSSStyleDeclaration+PropertyNames.idl: * Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleBuilderGenerated.cpp: * Source/WebCore/css/scripts/test/TestCSSPropertiesResults/StyleInterpolationWrapperMap.cpp: - Add new test cases and update results. Canonical link: https://commits.webkit.org/292558@main
1 parent b2323ec commit fa52877

49 files changed

Lines changed: 1894 additions & 789 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Source/WebCore/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ set(WebCore_PRIVATE_INCLUDE_DIRECTORIES
200200
"${WEBCORE_DIR}/style/values/easing"
201201
"${WEBCORE_DIR}/style/values/filter-effects"
202202
"${WEBCORE_DIR}/style/values/images"
203+
"${WEBCORE_DIR}/style/values/inline"
203204
"${WEBCORE_DIR}/style/values/motion"
204205
"${WEBCORE_DIR}/style/values/primitives"
205206
"${WEBCORE_DIR}/style/values/scroll-snap"

Source/WebCore/Headers.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,6 @@ set(WebCore_PRIVATE_FRAMEWORK_HEADERS
907907
css/CSSGridIntegerRepeatValue.h
908908
css/CSSGroupingRule.h
909909
css/CSSImportRule.h
910-
css/CSSLineBoxContainValue.h
911910
css/CSSMediaRule.h
912911
css/CSSPageRule.h
913912
css/CSSPrimitiveValue.h
@@ -2714,6 +2713,8 @@ set(WebCore_PRIVATE_FRAMEWORK_HEADERS
27142713

27152714
style/values/images/StyleGradient.h
27162715

2716+
style/values/inline/StyleLineBoxContain.h
2717+
27172718
style/values/motion/StyleRayFunction.h
27182719

27192720
style/values/primitives/StylePosition.h

Source/WebCore/SaferCPPExpectations/RefCntblBaseVirtualDtorExpectations

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ css/CSSImageSetValue.h
3636
css/CSSImageValue.h
3737
css/CSSKeyframeRule.h
3838
css/CSSKeyframesRule.h
39-
css/CSSLineBoxContainValue.h
4039
css/CSSNamedImageValue.h
4140
css/CSSOffsetRotateValue.h
4241
css/CSSPaintImageValue.h

Source/WebCore/Sources.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,6 @@ css/CSSKeyframeRule.cpp
913913
css/CSSKeyframesRule.cpp
914914
css/CSSLayerBlockRule.cpp
915915
css/CSSLayerStatementRule.cpp
916-
css/CSSLineBoxContainValue.cpp
917916
css/CSSMarkup.cpp
918917
css/CSSMediaRule.cpp
919918
css/CSSNamedImageValue.cpp
@@ -1055,8 +1054,6 @@ css/parser/CSSPropertyParserConsumer+Lists.cpp
10551054
css/parser/CSSPropertyParserConsumer+Masking.cpp
10561055
css/parser/CSSPropertyParserConsumer+Motion.cpp
10571056
css/parser/CSSPropertyParserConsumer+Number.cpp
1058-
css/parser/CSSPropertyParserConsumer+Overflow.cpp
1059-
css/parser/CSSPropertyParserConsumer+Page.cpp
10601057
css/parser/CSSPropertyParserConsumer+Percentage.cpp
10611058
css/parser/CSSPropertyParserConsumer+Position.cpp
10621059
css/parser/CSSPropertyParserConsumer+PositionTry.cpp

Source/WebCore/WebCore.xcodeproj/project.pbxproj

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4847,6 +4847,7 @@
48474847
BC22747B0E8366E200E7F975 /* SVGRenderStyleDefs.h in Headers */ = {isa = PBXBuildFile; fileRef = BC2274770E8366E200E7F975 /* SVGRenderStyleDefs.h */; settings = {ATTRIBUTES = (Private, ); }; };
48484848
BC23875B2D84982100698102 /* CSSRatio.h in Headers */ = {isa = PBXBuildFile; fileRef = BC23875A2D84982100698102 /* CSSRatio.h */; settings = {ATTRIBUTES = (Private, ); }; };
48494849
BC2387602D84A59400698102 /* StyleRatio.h in Headers */ = {isa = PBXBuildFile; fileRef = BC23875F2D84A59400698102 /* StyleRatio.h */; settings = {ATTRIBUTES = (Private, ); }; };
4850+
BC2387AC2D8744E100698102 /* StyleLineBoxContain.h in Headers */ = {isa = PBXBuildFile; fileRef = BC2387AB2D8742B100698102 /* StyleLineBoxContain.h */; settings = {ATTRIBUTES = (Private, ); }; };
48504851
BC2387EB2D88D3BA00698102 /* CSSStyleProperties.h in Headers */ = {isa = PBXBuildFile; fileRef = BC2387E92D88D3BA00698102 /* CSSStyleProperties.h */; settings = {ATTRIBUTES = (Private, ); }; };
48514852
BC2388132D89D94800698102 /* CSSFontFaceDescriptors.h in Headers */ = {isa = PBXBuildFile; fileRef = BC23880B2D88EFDA00698102 /* CSSFontFaceDescriptors.h */; settings = {ATTRIBUTES = (Private, ); }; };
48524853
BC23BAB12D6E38870069A80B /* StyleCornerShapeValue.h in Headers */ = {isa = PBXBuildFile; fileRef = BC23BAB02D6E38870069A80B /* StyleCornerShapeValue.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -4968,7 +4969,6 @@
49684969
BC709DE0266323CF00B9A21C /* CSSCalcSymbolTable.h in Headers */ = {isa = PBXBuildFile; fileRef = BC709DDE266323CE00B9A21C /* CSSCalcSymbolTable.h */; settings = {ATTRIBUTES = (Private, ); }; };
49694970
BC772C470C4EB2C60083285F /* XMLHttpRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = BC772C450C4EB2C60083285F /* XMLHttpRequest.h */; };
49704971
BC772C4F0C4EB3040083285F /* MIMETypeRegistry.h in Headers */ = {isa = PBXBuildFile; fileRef = BC772C4D0C4EB3040083285F /* MIMETypeRegistry.h */; settings = {ATTRIBUTES = (Private, ); }; };
4971-
BC772E131331620C001EC9CE /* CSSLineBoxContainValue.h in Headers */ = {isa = PBXBuildFile; fileRef = BC772E121331620C001EC9CE /* CSSLineBoxContainValue.h */; settings = {ATTRIBUTES = (Private, ); }; };
49724972
BC779E141BB215BB00CAA8BF /* CSSCustomPropertyValue.h in Headers */ = {isa = PBXBuildFile; fileRef = BC779E131BB215BB00CAA8BF /* CSSCustomPropertyValue.h */; settings = {ATTRIBUTES = (Private, ); }; };
49734973
BC779E171BB227CA00CAA8BF /* StyleCustomPropertyData.h in Headers */ = {isa = PBXBuildFile; fileRef = BC779E151BB226A200CAA8BF /* StyleCustomPropertyData.h */; settings = {ATTRIBUTES = (Private, ); }; };
49744974
BC7F44A80B9E324E00A9D081 /* ImageObserver.h in Headers */ = {isa = PBXBuildFile; fileRef = BC7F44A70B9E324E00A9D081 /* ImageObserver.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -17899,6 +17899,7 @@
1789917899
BC23875D2D849E6E00698102 /* CSSPropertyParserConsumer+Ratio.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CSSPropertyParserConsumer+Ratio.h"; sourceTree = "<group>"; };
1790017900
BC23875E2D849E7400698102 /* CSSPropertyParserConsumer+Ratio.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "CSSPropertyParserConsumer+Ratio.cpp"; sourceTree = "<group>"; };
1790117901
BC23875F2D84A59400698102 /* StyleRatio.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StyleRatio.h; sourceTree = "<group>"; };
17902+
BC2387AB2D8742B100698102 /* StyleLineBoxContain.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = StyleLineBoxContain.h; sourceTree = "<group>"; };
1790217903
BC2387E82D88D3BA00698102 /* CSSStyleProperties.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = CSSStyleProperties.cpp; sourceTree = "<group>"; };
1790317904
BC2387E92D88D3BA00698102 /* CSSStyleProperties.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSSStyleProperties.h; sourceTree = "<group>"; };
1790417905
BC2387EA2D88D3BA00698102 /* CSSStyleProperties.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = CSSStyleProperties.idl; sourceTree = "<group>"; };
@@ -18245,8 +18246,6 @@
1824518246
BC772C450C4EB2C60083285F /* XMLHttpRequest.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = XMLHttpRequest.h; sourceTree = "<group>"; };
1824618247
BC772C4C0C4EB3040083285F /* MIMETypeRegistry.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = MIMETypeRegistry.cpp; sourceTree = "<group>"; };
1824718248
BC772C4D0C4EB3040083285F /* MIMETypeRegistry.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = MIMETypeRegistry.h; sourceTree = "<group>"; };
18248-
BC772E121331620C001EC9CE /* CSSLineBoxContainValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSLineBoxContainValue.h; sourceTree = "<group>"; };
18249-
BC772E15133162C2001EC9CE /* CSSLineBoxContainValue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CSSLineBoxContainValue.cpp; sourceTree = "<group>"; };
1825018249
BC779E131BB215BB00CAA8BF /* CSSCustomPropertyValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSCustomPropertyValue.h; sourceTree = "<group>"; };
1825118250
BC779E151BB226A200CAA8BF /* StyleCustomPropertyData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StyleCustomPropertyData.h; sourceTree = "<group>"; };
1825218251
BC78B57B2BF06BBB00ACC677 /* CSSAbsoluteColorResolver.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CSSAbsoluteColorResolver.h; sourceTree = "<group>"; };
@@ -18651,8 +18650,6 @@
1865118650
BCE411CA2CF2534D00731E47 /* CSSPropertyParserConsumer+Content.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "CSSPropertyParserConsumer+Content.cpp"; sourceTree = "<group>"; };
1865218651
BCE411CB2CF2560400731E47 /* CSSPropertyParserConsumer+Attr.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CSSPropertyParserConsumer+Attr.h"; sourceTree = "<group>"; };
1865318652
BCE411CC2CF2560400731E47 /* CSSPropertyParserConsumer+Attr.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "CSSPropertyParserConsumer+Attr.cpp"; sourceTree = "<group>"; };
18654-
BCE411CD2CF258C000731E47 /* CSSPropertyParserConsumer+Page.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CSSPropertyParserConsumer+Page.h"; sourceTree = "<group>"; };
18655-
BCE411CE2CF258C000731E47 /* CSSPropertyParserConsumer+Page.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "CSSPropertyParserConsumer+Page.cpp"; sourceTree = "<group>"; };
1865618653
BCE411CF2CF258D700731E47 /* CSSPropertyParserConsumer+Animations.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CSSPropertyParserConsumer+Animations.h"; sourceTree = "<group>"; };
1865718654
BCE411D02CF258D700731E47 /* CSSPropertyParserConsumer+Animations.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "CSSPropertyParserConsumer+Animations.cpp"; sourceTree = "<group>"; };
1865818655
BCE411D12CF258F200731E47 /* CSSPropertyParserConsumer+Transitions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CSSPropertyParserConsumer+Transitions.h"; sourceTree = "<group>"; };
@@ -18667,8 +18664,6 @@
1866718664
BCE411E02CF2B6F000731E47 /* CSSPropertyParserConsumer+Scrollbars.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "CSSPropertyParserConsumer+Scrollbars.cpp"; sourceTree = "<group>"; };
1866818665
BCE411E12CF2B70300731E47 /* CSSPropertyParserConsumer+Display.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CSSPropertyParserConsumer+Display.h"; sourceTree = "<group>"; };
1866918666
BCE411E22CF2B70300731E47 /* CSSPropertyParserConsumer+Display.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "CSSPropertyParserConsumer+Display.cpp"; sourceTree = "<group>"; };
18670-
BCE411E32CF2B86300731E47 /* CSSPropertyParserConsumer+Overflow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CSSPropertyParserConsumer+Overflow.h"; sourceTree = "<group>"; };
18671-
BCE411E42CF2B86300731E47 /* CSSPropertyParserConsumer+Overflow.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "CSSPropertyParserConsumer+Overflow.cpp"; sourceTree = "<group>"; };
1867218667
BCE411E72CF2B86300731E47 /* CSSPropertyParserConsumer+UI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CSSPropertyParserConsumer+UI.h"; sourceTree = "<group>"; };
1867318668
BCE411E82CF2B86300731E47 /* CSSPropertyParserConsumer+UI.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = "CSSPropertyParserConsumer+UI.cpp"; sourceTree = "<group>"; };
1867418669
BCE411EF2CF2BCDF00731E47 /* CSSPropertyParserConsumer+Syntax.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CSSPropertyParserConsumer+Syntax.h"; sourceTree = "<group>"; };
@@ -31021,10 +31016,6 @@
3102131016
BC7C5E732BE2A8FB00AE645C /* CSSPropertyParserConsumer+Number.cpp */,
3102231017
BC7C5E742BE2A8FB00AE645C /* CSSPropertyParserConsumer+Number.h */,
3102331018
BC7C5E752BE2A8FB00AE645C /* CSSPropertyParserConsumer+NumberDefinitions.h */,
31024-
BCE411E42CF2B86300731E47 /* CSSPropertyParserConsumer+Overflow.cpp */,
31025-
BCE411E32CF2B86300731E47 /* CSSPropertyParserConsumer+Overflow.h */,
31026-
BCE411CE2CF258C000731E47 /* CSSPropertyParserConsumer+Page.cpp */,
31027-
BCE411CD2CF258C000731E47 /* CSSPropertyParserConsumer+Page.h */,
3102831019
BC7C5E762BE2A8FB00AE645C /* CSSPropertyParserConsumer+Percentage.cpp */,
3102931020
BC7C5E772BE2A8FB00AE645C /* CSSPropertyParserConsumer+Percentage.h */,
3103031021
BC7C5E782BE2A8FB00AE645C /* CSSPropertyParserConsumer+PercentageDefinitions.h */,
@@ -34627,6 +34618,14 @@
3462734618
path = js;
3462834619
sourceTree = "<group>";
3462934620
};
34621+
BC2387AA2D8742AB00698102 /* inline */ = {
34622+
isa = PBXGroup;
34623+
children = (
34624+
BC2387AB2D8742B100698102 /* StyleLineBoxContain.h */,
34625+
);
34626+
path = inline;
34627+
sourceTree = "<group>";
34628+
};
3463034629
BC23BAAD2D6E345B0069A80B /* borders */ = {
3463134630
isa = PBXGroup;
3463234631
children = (
@@ -35098,6 +35097,7 @@
3509835097
BCD2C6F42D0F4CE400F77591 /* easing */,
3509935098
BC3078BC2D020FA000630D75 /* filter-effects */,
3510035099
BCB271B52CBD7D6B00265123 /* images */,
35100+
BC2387AA2D8742AB00698102 /* inline */,
3510135101
BCEA07322CC5EBBA000AC148 /* motion */,
3510235102
BCB271F22CC0156E00265123 /* primitives */,
3510335103
BC2C0C262D2C5D2B00FCFBA0 /* scroll-snap */,
@@ -37862,8 +37862,6 @@
3786237862
E4FFCEB92760AC0000A68B03 /* CSSLayerStatementRule.cpp */,
3786337863
E4FFCEB82760AC0000A68B03 /* CSSLayerStatementRule.h */,
3786437864
E4FFCEBA2760AC0100A68B03 /* CSSLayerStatementRule.idl */,
37865-
BC772E15133162C2001EC9CE /* CSSLineBoxContainValue.cpp */,
37866-
BC772E121331620C001EC9CE /* CSSLineBoxContainValue.h */,
3786737865
946D37471D6D060C0077084F /* CSSMarkup.cpp */,
3786837866
946D37481D6D060C0077084F /* CSSMarkup.h */,
3786937867
A80E6CD20A1989CA007FB8C5 /* CSSMediaRule.cpp */,
@@ -40697,7 +40695,6 @@
4069740695
2A4107A426CB66F8003BF797 /* CSSKeywordValue.h in Headers */,
4069840696
E4FFCEBE2760AC1600A68B03 /* CSSLayerBlockRule.h in Headers */,
4069940697
E4FFCEBB2760AC0100A68B03 /* CSSLayerStatementRule.h in Headers */,
40700-
BC772E131331620C001EC9CE /* CSSLineBoxContainValue.h in Headers */,
4070140698
946D374A1D6D06280077084F /* CSSMarkup.h in Headers */,
4070240699
2AEF6FD326E7ECA500326D02 /* CSSMathInvert.h in Headers */,
4070340700
2AEF6FD426E7ECAA00326D02 /* CSSMathMax.h in Headers */,
@@ -44501,6 +44498,7 @@
4450144498
713171341FBE78DB00F758DE /* StyleInterpolationClient.h in Headers */,
4450244499
E46C794B1F13E82B00F371E1 /* StyleInvalidationFunctions.h in Headers */,
4450344500
E47127CB163438AE00ED6F5A /* StyleInvalidator.h in Headers */,
44501+
BC2387AC2D8744E100698102 /* StyleLineBoxContain.h in Headers */,
4450444502
BC5EB72A0E81DE8100B25965 /* StyleMarqueeData.h in Headers */,
4450544503
0FF50272102BA96A0066F39A /* StyleMedia.h in Headers */,
4450644504
32488D27299458D400934627 /* StyleMiscNonInheritedData.h in Headers */,

Source/WebCore/css/CSSLineBoxContainValue.cpp

Lines changed: 0 additions & 59 deletions
This file was deleted.

Source/WebCore/css/CSSLineBoxContainValue.h

Lines changed: 0 additions & 66 deletions
This file was deleted.

Source/WebCore/css/CSSOffsetRotateValue.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ namespace WebCore {
3232

3333
class CSSOffsetRotateValue final : public CSSValue {
3434
public:
35-
static Ref<CSSOffsetRotateValue> create(RefPtr<CSSPrimitiveValue>&& modifier, RefPtr<CSSPrimitiveValue>&& angle)
35+
static Ref<CSSOffsetRotateValue> create(RefPtr<CSSValue>&& modifier, RefPtr<CSSValue>&& angle)
3636
{
37-
return adoptRef(*new CSSOffsetRotateValue(WTFMove(modifier), WTFMove(angle)));
37+
return adoptRef(*new CSSOffsetRotateValue(downcast<CSSPrimitiveValue>(WTFMove(modifier)), downcast<CSSPrimitiveValue>(WTFMove(angle))));
3838
}
3939

4040
String customCSSText(const CSS::SerializationContext&) const;

0 commit comments

Comments
 (0)