Title: [294799] trunk
Revision
294799
Author
obru...@igalia.com
Date
2022-05-25 08:18:07 -0700 (Wed, 25 May 2022)

Log Message

Don't index shorthands in computed styles
https://bugs.webkit.org/show_bug.cgi?id=240356

Reviewed by Tim Nguyen.

Most shorthands were already not indexed, but legacy shorthands with a
single longhand were indexed. This didn't make much sense, since they
are like aliases with a different syntax, and aliases are not indexed.

Tests: fast/css/getComputedStyle/computed-style.html
       fast/css/getComputedStyle/computed-style-without-renderer.html
       imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml.html
       imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer.html
       imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree.html
       svg/css/getComputedStyle-basic.xhtml

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

Modified Paths

Diff

Modified: trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt (294798 => 294799)


--- trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -38,6 +38,9 @@
 bottom: auto;
 box-shadow: none;
 box-sizing: content-box;
+break-after: auto;
+break-before: auto;
+break-inside: auto;
 buffered-rendering: auto;
 caption-side: top;
 clear: none;
@@ -144,9 +147,6 @@
 padding-left: 0px;
 padding-right: 0px;
 padding-top: 0px;
-page-break-after: auto;
-page-break-before: auto;
-page-break-inside: auto;
 paint-order: normal;
 perspective: none;
 perspective-origin: 392px 288px;
@@ -182,6 +182,7 @@
 text-emphasis-position: over right;
 text-emphasis-style: none;
 text-indent: 0px;
+text-orientation: mixed;
 text-overflow: clip;
 text-rendering: auto;
 text-shadow: none;
@@ -225,9 +226,6 @@
 -webkit-box-reflect: none;
 -webkit-box-shadow: none;
 -webkit-column-axis: auto;
--webkit-column-break-after: auto;
--webkit-column-break-before: auto;
--webkit-column-break-inside: auto;
 -webkit-font-smoothing: auto;
 -webkit-hyphenate-character: auto;
 -webkit-hyphenate-limit-after: auto;
@@ -251,7 +249,6 @@
 -webkit-nbsp-mode: normal;
 -webkit-rtl-ordering: logical;
 -webkit-text-fill-color: rgb(0, 0, 0);
--webkit-text-orientation: mixed;
 -webkit-text-security: none;
 -webkit-text-stroke-color: rgb(0, 0, 0);
 -webkit-text-stroke-width: 0px;

Modified: trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (294798 => 294799)


--- trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -37,6 +37,9 @@
 bottom: auto
 box-shadow: none
 box-sizing: content-box
+break-after: auto
+break-before: auto
+break-inside: auto
 buffered-rendering: auto
 caption-side: top
 clear: none
@@ -143,9 +146,6 @@
 padding-left: 0px
 padding-right: 0px
 padding-top: 0px
-page-break-after: auto
-page-break-before: auto
-page-break-inside: auto
 paint-order: normal
 perspective: none
 perspective-origin: 50% 50%
@@ -181,6 +181,7 @@
 text-emphasis-position: over right
 text-emphasis-style: none
 text-indent: 0px
+text-orientation: mixed
 text-overflow: clip
 text-rendering: auto
 text-shadow: none
@@ -224,9 +225,6 @@
 -webkit-box-reflect: none
 -webkit-box-shadow: none
 -webkit-column-axis: auto
--webkit-column-break-after: auto
--webkit-column-break-before: auto
--webkit-column-break-inside: auto
 -webkit-font-smoothing: auto
 -webkit-hyphenate-character: auto
 -webkit-hyphenate-limit-after: auto
@@ -250,7 +248,6 @@
 -webkit-nbsp-mode: normal
 -webkit-rtl-ordering: logical
 -webkit-text-fill-color: rgb(0, 0, 0)
--webkit-text-orientation: mixed
 -webkit-text-security: none
 -webkit-text-stroke-color: rgb(0, 0, 0)
 -webkit-text-stroke-width: 0px

Modified: trunk/LayoutTests/fast/css/getComputedStyle/resources/property-names.js (294798 => 294799)


--- trunk/LayoutTests/fast/css/getComputedStyle/resources/property-names.js	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/fast/css/getComputedStyle/resources/property-names.js	2022-05-25 15:18:07 UTC (rev 294799)
@@ -29,10 +29,10 @@
     "-webkit-box-pack": true,
     "-webkit-box-reflect": true,
     "-webkit-box-shadow": true,
+    "break-after": true,
+    "break-before": true,
+    "break-inside": true,
     "-webkit-column-axis": true,
-    "-webkit-column-break-after": true,
-    "-webkit-column-break-before": true,
-    "-webkit-column-break-inside": true,
     "column-count": true,
     "column-fill": true,
     "column-gap": true,
@@ -102,7 +102,7 @@
     "text-emphasis-position": true,
     "text-emphasis-style": true,
     "-webkit-text-fill-color": true,
-    "-webkit-text-orientation": true,
+    "text-orientation": true,
     "-webkit-text-security": true,
     "-webkit-text-stroke-color": true,
     "-webkit-text-stroke-width": true,
@@ -228,9 +228,6 @@
     "padding-left": true,
     "padding-right": true,
     "padding-top": true,
-    "page-break-after": true,
-    "page-break-before": true,
-    "page-break-inside": true,
     "paint-order": true,
     "pointer-events": true,
     "position": true,

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (294798 => 294799)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -234,9 +234,6 @@
 PASS padding-left
 PASS padding-right
 PASS padding-top
-PASS page-break-after
-PASS page-break-before
-PASS page-break-inside
 PASS paint-order
 PASS perspective
 PASS perspective-origin
@@ -294,10 +291,8 @@
 PASS text-align
 PASS text-anchor
 PASS text-combine-upright
-PASS text-decoration
 PASS text-decoration-color
 PASS text-decoration-line
-PASS text-decoration-skip
 PASS text-decoration-skip-ink
 PASS text-decoration-style
 PASS text-decoration-thickness
@@ -360,9 +355,6 @@
 PASS -webkit-box-reflect
 PASS -webkit-box-shadow
 PASS -webkit-column-axis
-PASS -webkit-column-break-after
-PASS -webkit-column-break-before
-PASS -webkit-column-break-inside
 PASS -webkit-column-progression
 PASS -webkit-cursor-visibility
 PASS -webkit-font-smoothing
@@ -390,12 +382,10 @@
 PASS -webkit-mask-position-y
 PASS -webkit-mask-source-type
 PASS -webkit-nbsp-mode
-PASS -webkit-perspective
 PASS -webkit-rtl-ordering
 PASS -webkit-ruby-position
 PASS -webkit-text-combine
 PASS -webkit-text-fill-color
-PASS -webkit-text-orientation
 PASS -webkit-text-security
 PASS -webkit-text-size-adjust
 PASS -webkit-text-stroke-color

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt (294798 => 294799)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -231,9 +231,6 @@
 PASS padding-left
 PASS padding-right
 PASS padding-top
-PASS page-break-after
-PASS page-break-before
-PASS page-break-inside
 PASS paint-order
 PASS perspective
 PASS perspective-origin
@@ -290,10 +287,8 @@
 PASS text-align
 PASS text-anchor
 PASS text-combine-upright
-PASS text-decoration
 PASS text-decoration-color
 PASS text-decoration-line
-PASS text-decoration-skip
 PASS text-decoration-skip-ink
 PASS text-decoration-style
 PASS text-decoration-thickness

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt (294798 => 294799)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -1,8 +1,8 @@
 
 PASS getComputedStyle returns no style for detached element
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 401
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 401
-FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 401
-FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 401
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 391
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 391
+FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 391
+FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 391
 PASS getComputedStyle returns no style for shadow tree outside of flattened tree
 

Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (294798 => 294799)


--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -234,9 +234,6 @@
 PASS padding-left
 PASS padding-right
 PASS padding-top
-PASS page-break-after
-PASS page-break-before
-PASS page-break-inside
 PASS paint-order
 PASS perspective
 PASS perspective-origin
@@ -294,10 +291,8 @@
 PASS text-align
 PASS text-anchor
 PASS text-combine-upright
-PASS text-decoration
 PASS text-decoration-color
 PASS text-decoration-line
-PASS text-decoration-skip
 PASS text-decoration-skip-ink
 PASS text-decoration-style
 PASS text-decoration-thickness
@@ -358,9 +353,6 @@
 PASS -webkit-box-reflect
 PASS -webkit-box-shadow
 PASS -webkit-column-axis
-PASS -webkit-column-break-after
-PASS -webkit-column-break-before
-PASS -webkit-column-break-inside
 PASS -webkit-column-progression
 PASS -webkit-cursor-visibility
 PASS -webkit-font-smoothing
@@ -388,13 +380,11 @@
 PASS -webkit-mask-position-y
 PASS -webkit-mask-source-type
 PASS -webkit-nbsp-mode
-PASS -webkit-perspective
 PASS -webkit-rtl-ordering
 PASS -webkit-ruby-position
 PASS -webkit-tap-highlight-color
 PASS -webkit-text-combine
 PASS -webkit-text-fill-color
-PASS -webkit-text-orientation
 PASS -webkit-text-security
 PASS -webkit-text-stroke-color
 PASS -webkit-text-stroke-width

Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt (294798 => 294799)


--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -1,8 +1,8 @@
 
 PASS getComputedStyle returns no style for detached element
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 399
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 399
-FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 399
-FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 399
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 389
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 389
+FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 389
+FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 389
 PASS getComputedStyle returns no style for shadow tree outside of flattened tree
 

Modified: trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt (294798 => 294799)


--- trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -1,8 +1,8 @@
 
 PASS getComputedStyle returns no style for detached element
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 403
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 403
-FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 403
-FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 403
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 393
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 393
+FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 393
+FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 393
 PASS getComputedStyle returns no style for shadow tree outside of flattened tree
 

Modified: trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt (294798 => 294799)


--- trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -231,9 +231,6 @@
 PASS padding-left
 PASS padding-right
 PASS padding-top
-PASS page-break-after
-PASS page-break-before
-PASS page-break-inside
 PASS paint-order
 PASS perspective
 PASS perspective-origin
@@ -289,10 +286,8 @@
 PASS text-align
 PASS text-anchor
 PASS text-combine-upright
-PASS text-decoration
 PASS text-decoration-color
 PASS text-decoration-line
-PASS text-decoration-skip
 PASS text-decoration-skip-ink
 PASS text-decoration-style
 PASS text-decoration-thickness

Modified: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (294798 => 294799)


--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -234,9 +234,6 @@
 PASS padding-left
 PASS padding-right
 PASS padding-top
-PASS page-break-after
-PASS page-break-before
-PASS page-break-inside
 PASS paint-order
 PASS perspective
 PASS perspective-origin
@@ -294,10 +291,8 @@
 PASS text-align
 PASS text-anchor
 PASS text-combine-upright
-PASS text-decoration
 PASS text-decoration-color
 PASS text-decoration-line
-PASS text-decoration-skip
 PASS text-decoration-skip-ink
 PASS text-decoration-style
 PASS text-decoration-thickness
@@ -358,9 +353,6 @@
 PASS -webkit-box-reflect
 PASS -webkit-box-shadow
 PASS -webkit-column-axis
-PASS -webkit-column-break-after
-PASS -webkit-column-break-before
-PASS -webkit-column-break-inside
 PASS -webkit-column-progression
 PASS -webkit-font-smoothing
 PASS -webkit-hyphenate-character
@@ -387,13 +379,11 @@
 PASS -webkit-mask-position-y
 PASS -webkit-mask-source-type
 PASS -webkit-nbsp-mode
-PASS -webkit-perspective
 PASS -webkit-rtl-ordering
 PASS -webkit-ruby-position
 PASS -webkit-tap-highlight-color
 PASS -webkit-text-combine
 PASS -webkit-text-fill-color
-PASS -webkit-text-orientation
 PASS -webkit-text-security
 PASS -webkit-text-stroke-color
 PASS -webkit-text-stroke-width

Modified: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt (294798 => 294799)


--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-detached-subtree-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -1,8 +1,8 @@
 
 PASS getComputedStyle returns no style for detached element
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 398
-FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 398
-FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 398
-FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 398
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) assert_equals: expected 0 but got 388
+FAIL getComputedStyle returns no style for element in non-rendered iframe (display: none) from iframe's window assert_equals: expected 0 but got 388
+FAIL getComputedStyle returns no style for element outside the flat tree assert_equals: expected 0 but got 388
+FAIL getComputedStyle returns no style for descendant outside the flat tree assert_equals: expected 0 but got 388
 PASS getComputedStyle returns no style for shadow tree outside of flattened tree
 

Modified: trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt (294798 => 294799)


--- trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt	2022-05-25 15:18:07 UTC (rev 294799)
@@ -74,6 +74,12 @@
 rect: style.getPropertyCSSValue(box-shadow) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(box-sizing) : content-box
 rect: style.getPropertyCSSValue(box-sizing) : [object CSSPrimitiveValue]
+rect: style.getPropertyValue(break-after) : auto
+rect: style.getPropertyCSSValue(break-after) : [object CSSPrimitiveValue]
+rect: style.getPropertyValue(break-before) : auto
+rect: style.getPropertyCSSValue(break-before) : [object CSSPrimitiveValue]
+rect: style.getPropertyValue(break-inside) : auto
+rect: style.getPropertyCSSValue(break-inside) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(buffered-rendering) : auto
 rect: style.getPropertyCSSValue(buffered-rendering) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(caption-side) : top
@@ -286,12 +292,6 @@
 rect: style.getPropertyCSSValue(padding-right) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(padding-top) : 0px
 rect: style.getPropertyCSSValue(padding-top) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(page-break-after) : auto
-rect: style.getPropertyCSSValue(page-break-after) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(page-break-before) : auto
-rect: style.getPropertyCSSValue(page-break-before) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(page-break-inside) : auto
-rect: style.getPropertyCSSValue(page-break-inside) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(paint-order) : normal
 rect: style.getPropertyCSSValue(paint-order) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(perspective) : none
@@ -362,6 +362,8 @@
 rect: style.getPropertyCSSValue(text-emphasis-style) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(text-indent) : 0px
 rect: style.getPropertyCSSValue(text-indent) : [object CSSPrimitiveValue]
+rect: style.getPropertyValue(text-orientation) : mixed
+rect: style.getPropertyCSSValue(text-orientation) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(text-overflow) : clip
 rect: style.getPropertyCSSValue(text-overflow) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(text-rendering) : auto
@@ -448,12 +450,6 @@
 rect: style.getPropertyCSSValue(-webkit-box-shadow) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-column-axis) : auto
 rect: style.getPropertyCSSValue(-webkit-column-axis) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-column-break-after) : auto
-rect: style.getPropertyCSSValue(-webkit-column-break-after) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-column-break-before) : auto
-rect: style.getPropertyCSSValue(-webkit-column-break-before) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-column-break-inside) : auto
-rect: style.getPropertyCSSValue(-webkit-column-break-inside) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-font-smoothing) : auto
 rect: style.getPropertyCSSValue(-webkit-font-smoothing) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-hyphenate-character) : auto
@@ -500,8 +496,6 @@
 rect: style.getPropertyCSSValue(-webkit-rtl-ordering) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-text-fill-color) : rgb(0, 0, 0)
 rect: style.getPropertyCSSValue(-webkit-text-fill-color) : [object CSSPrimitiveValue]
-rect: style.getPropertyValue(-webkit-text-orientation) : mixed
-rect: style.getPropertyCSSValue(-webkit-text-orientation) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-text-security) : none
 rect: style.getPropertyCSSValue(-webkit-text-security) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(-webkit-text-stroke-color) : rgb(0, 0, 0)
@@ -588,6 +582,12 @@
 g: style.getPropertyCSSValue(box-shadow) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(box-sizing) : content-box
 g: style.getPropertyCSSValue(box-sizing) : [object CSSPrimitiveValue]
+g: style.getPropertyValue(break-after) : auto
+g: style.getPropertyCSSValue(break-after) : [object CSSPrimitiveValue]
+g: style.getPropertyValue(break-before) : auto
+g: style.getPropertyCSSValue(break-before) : [object CSSPrimitiveValue]
+g: style.getPropertyValue(break-inside) : auto
+g: style.getPropertyCSSValue(break-inside) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(buffered-rendering) : auto
 g: style.getPropertyCSSValue(buffered-rendering) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(caption-side) : top
@@ -800,12 +800,6 @@
 g: style.getPropertyCSSValue(padding-right) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(padding-top) : 0px
 g: style.getPropertyCSSValue(padding-top) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(page-break-after) : auto
-g: style.getPropertyCSSValue(page-break-after) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(page-break-before) : auto
-g: style.getPropertyCSSValue(page-break-before) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(page-break-inside) : auto
-g: style.getPropertyCSSValue(page-break-inside) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(paint-order) : normal
 g: style.getPropertyCSSValue(paint-order) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(perspective) : none
@@ -876,6 +870,8 @@
 g: style.getPropertyCSSValue(text-emphasis-style) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(text-indent) : 0px
 g: style.getPropertyCSSValue(text-indent) : [object CSSPrimitiveValue]
+g: style.getPropertyValue(text-orientation) : mixed
+g: style.getPropertyCSSValue(text-orientation) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(text-overflow) : clip
 g: style.getPropertyCSSValue(text-overflow) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(text-rendering) : auto
@@ -962,12 +958,6 @@
 g: style.getPropertyCSSValue(-webkit-box-shadow) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-column-axis) : auto
 g: style.getPropertyCSSValue(-webkit-column-axis) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-column-break-after) : auto
-g: style.getPropertyCSSValue(-webkit-column-break-after) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-column-break-before) : auto
-g: style.getPropertyCSSValue(-webkit-column-break-before) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-column-break-inside) : auto
-g: style.getPropertyCSSValue(-webkit-column-break-inside) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-font-smoothing) : auto
 g: style.getPropertyCSSValue(-webkit-font-smoothing) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-hyphenate-character) : auto
@@ -1014,8 +1004,6 @@
 g: style.getPropertyCSSValue(-webkit-rtl-ordering) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-text-fill-color) : rgb(0, 0, 0)
 g: style.getPropertyCSSValue(-webkit-text-fill-color) : [object CSSPrimitiveValue]
-g: style.getPropertyValue(-webkit-text-orientation) : mixed
-g: style.getPropertyCSSValue(-webkit-text-orientation) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-text-security) : none
 g: style.getPropertyCSSValue(-webkit-text-security) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(-webkit-text-stroke-color) : rgb(0, 0, 0)

Modified: trunk/Source/WebCore/css/makeprop.pl (294798 => 294799)


--- trunk/Source/WebCore/css/makeprop.pl	2022-05-25 15:03:55 UTC (rev 294798)
+++ trunk/Source/WebCore/css/makeprop.pl	2022-05-25 15:18:07 UTC (rev 294799)
@@ -212,11 +212,9 @@
 
   if (exists($options->{"longhands"})) {
     my @longhands = @{$options->{"longhands"}};
-    if (scalar @longhands != 1) {
-      # Skip properties if they have a non-internal longhand property.
-      foreach my $longhand (@longhands) {
-        return 1 if !skippedFromComputedStyle($longhand);
-      }
+    # Skip properties if they have a non-internal longhand property.
+    foreach my $longhand (@longhands) {
+      return 1 if !skippedFromComputedStyle($longhand);
     }
   }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to