Changeset 293602 in webkit
- Timestamp:
- Apr 28, 2022 6:46:53 PM (3 months ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt (modified) (2 diffs)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/css/CSSProperties.json (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r293594 r293602 1 2022-04-28 Oriol Brufau <obrufau@igalia.com> 2 3 [css-cascade] Mark properties sharing a computed value as related 4 https://bugs.webkit.org/show_bug.cgi?id=239579 5 6 Reviewed by Tim Nguyen. 7 8 Some failures are now passing. 9 10 * platform/mac-wk1/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt: 11 1 12 2022-04-28 Karl Rackler <rackler@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/ChangeLog
r293587 r293602 1 2022-04-28 Oriol Brufau <obrufau@igalia.com> 2 3 [css-cascade] Mark properties sharing a computed value as related 4 https://bugs.webkit.org/show_bug.cgi?id=239579 5 6 Reviewed by Tim Nguyen. 7 8 Some failures are now passing. 9 10 * web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt: 11 1 12 2022-04-28 Arcady Goldmints-Orlov <agoldmints@igalia.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt
r293524 r293602 185 185 PASS marker-mid 186 186 PASS marker-start 187 FAIL mask-clip assert_not_equals: Should get a different computed value. got disallowed value "border-box" 188 FAIL mask-composite assert_not_equals: Should get a different computed value. got disallowed value "add" 187 PASS mask-clip 188 PASS mask-composite 189 189 PASS mask-image 190 FAIL mask-mode assert_not_equals: Should get a different computed value. got disallowed value "match-source" 190 PASS mask-mode 191 191 PASS mask-origin 192 192 PASS mask-repeat … … 285 285 PASS text-align 286 286 PASS text-anchor 287 FAIL text-combine-upright assert_not_equals: Should get a different computed value. got disallowed value "none" 287 PASS text-combine-upright 288 288 PASS text-decoration 289 289 PASS text-decoration-color -
trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer-expected.txt
r293524 r293602 185 185 PASS marker-mid 186 186 PASS marker-start 187 FAIL mask-clip assert_not_equals: Should get a different computed value. got disallowed value "border-box" 188 FAIL mask-composite assert_not_equals: Should get a different computed value. got disallowed value "add" 187 PASS mask-clip 188 PASS mask-composite 189 189 PASS mask-image 190 FAIL mask-mode assert_not_equals: Should get a different computed value. got disallowed value "match-source" 190 PASS mask-mode 191 191 PASS mask-origin 192 192 PASS mask-repeat … … 284 284 PASS text-align 285 285 PASS text-anchor 286 FAIL text-combine-upright assert_not_equals: Should get a different computed value. got disallowed value "none" 286 PASS text-combine-upright 287 287 PASS text-decoration 288 288 PASS text-decoration-color -
trunk/Source/WebCore/ChangeLog
r293601 r293602 1 2022-04-28 Oriol Brufau <obrufau@igalia.com> 2 3 [css-cascade] Mark properties sharing a computed value as related 4 https://bugs.webkit.org/show_bug.cgi?id=239579 5 6 Reviewed by Tim Nguyen. 7 8 Some longhand properties share a computed value with another property, 9 like a legacy -webkit- prefixed one. 10 11 In that case, when both properties are specified, the last one should 12 win. That is typically done by marking the properties as related, using 13 the "related-property" field. This defers the properties and makes 14 them cascade properly. 15 16 However, some properties weren't marked as related despite sharing a 17 computed value. So this patch marks these pairs: 18 - mask-clip and -webkit-mask-clip 19 - mask-composite and -webkit-mask-composite 20 - mask-mode and -webkit-mask-source-type 21 - text-combine-upright and -webkit-text-combine 22 23 Test: imported/w3c/web-platform-tests/css/css-cascade/all-prop-revert-layer.html 24 25 * css/CSSProperties.json: 26 1 27 2022-04-28 Yusuke Suzuki <ysuzuki@apple.com> 2 28 -
trunk/Source/WebCore/css/CSSProperties.json
r293524 r293602 3332 3332 "mask-clip": { 3333 3333 "codegen-properties": { 3334 "related-property": "-webkit-mask-clip", 3334 3335 "name-for-methods": "Clip", 3335 3336 "fill-layer-property": true … … 3342 3343 "mask-composite": { 3343 3344 "codegen-properties": { 3345 "related-property": "-webkit-mask-composite", 3344 3346 "name-for-methods": "Composite", 3345 3347 "fill-layer-property": true … … 3365 3367 "mask-mode": { 3366 3368 "codegen-properties": { 3369 "related-property": "-webkit-mask-source-type", 3367 3370 "name-for-methods": "MaskMode", 3368 3371 "fill-layer-property": true … … 6582 6585 "-webkit-mask-clip": { 6583 6586 "codegen-properties": { 6587 "related-property": "mask-clip", 6584 6588 "name-for-methods": "Clip", 6585 6589 "fill-layer-property": true … … 6595 6599 "-webkit-mask-composite": { 6596 6600 "codegen-properties": { 6601 "related-property": "mask-composite", 6597 6602 "name-for-methods": "Composite", 6598 6603 "fill-layer-property": true … … 6608 6613 "-webkit-mask-source-type": { 6609 6614 "codegen-properties": { 6615 "related-property": "mask-mode", 6610 6616 "synonym": "mask-mode", 6611 6617 "comment": "Deprecated alias for mask-mode, supports an 'auto' value, does not support 'match-source'" … … 6797 6803 ], 6798 6804 "codegen-properties": { 6805 "related-property": "text-combine-upright", 6799 6806 "aliases": [ 6800 6807 "-epub-text-combine" … … 6809 6816 "inherited": true, 6810 6817 "codegen-properties": { 6818 "related-property": "-webkit-text-combine", 6811 6819 "name-for-methods": "TextCombine" 6812 6820 },
Note: See TracChangeset
for help on using the changeset viewer.