Changeset 287712 in webkit
- Timestamp:
- Jan 6, 2022 12:21:02 PM (6 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 2 deleted
- 22 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt (modified) (2 diffs)
-
LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (modified) (2 diffs)
-
LayoutTests/fast/css/getComputedStyle/resources/property-names.js (modified) (1 diff)
-
LayoutTests/fast/css/print-color-adjust-expected.txt (added)
-
LayoutTests/fast/css/print-color-adjust.html (added)
-
LayoutTests/fast/css/webkit-color-adjust-expected.txt (deleted)
-
LayoutTests/fast/css/webkit-color-adjust.html (deleted)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/glib/fast/css/getComputedStyle/computed-style-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/glib/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/glib/svg/css/getComputedStyle-basic-expected.txt (modified) (4 diffs)
-
LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/ios/svg/css/getComputedStyle-basic-expected.txt (modified) (4 diffs)
-
LayoutTests/svg/css/getComputedStyle-basic-expected.txt (modified) (4 diffs)
-
LayoutTests/webgl/webgl-oom-paint-document-no-crash.html (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/animation/CSSPropertyAnimation.cpp (modified) (1 diff)
-
Source/WebCore/css/CSSComputedStyleDeclaration.cpp (modified) (1 diff)
-
Source/WebCore/css/CSSProperties.json (modified) (4 diffs)
-
Source/WebCore/css/parser/CSSParserFastPaths.cpp (modified) (2 diffs)
-
Source/WebInspectorUI/ChangeLog (modified) (1 diff)
-
Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r287711 r287712 1 2022-01-06 Tim Nguyen <ntim@apple.com> 2 3 Unprefix -webkit-print-color-adjust CSS property 4 https://bugs.webkit.org/show_bug.cgi?id=201098 5 6 Reviewed by Darin Adler. 7 8 color-adjust is also a deprecated shorthand that just contains print-color-adjust. 9 10 * fast/css/getComputedStyle/computed-style-expected.txt: 11 * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 12 * fast/css/getComputedStyle/resources/property-names.js: 13 * fast/css/print-color-adjust-expected.txt: Added. 14 * fast/css/print-color-adjust.html: Added. 15 * fast/css/webkit-color-adjust-expected.txt: Removed. 16 * fast/css/webkit-color-adjust.html: Removed. 17 * platform/glib/fast/css/getComputedStyle/computed-style-expected.txt: 18 * platform/glib/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 19 * platform/glib/svg/css/getComputedStyle-basic-expected.txt: 20 * platform/ios/fast/css/getComputedStyle/computed-style-expected.txt: 21 * platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 22 * platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: 23 * platform/ios/svg/css/getComputedStyle-basic-expected.txt: 24 * svg/css/getComputedStyle-basic-expected.txt: 25 * webgl/webgl-oom-paint-document-no-crash.html: 26 1 27 2022-01-06 Youenn Fablet <youenn@apple.com> 2 28 -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt
r287487 r287712 152 152 pointer-events: auto; 153 153 position: static; 154 print-color-adjust: economy; 154 155 resize: none; 155 156 right: auto; … … 245 246 -webkit-mask-composite: source-over; 246 247 -webkit-nbsp-mode: normal; 247 -webkit-print-color-adjust: economy;248 248 -webkit-rtl-ordering: logical; 249 249 -webkit-text-fill-color: rgb(0, 0, 0); -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r287487 r287712 151 151 pointer-events: auto 152 152 position: static 153 print-color-adjust: economy 153 154 resize: none 154 155 right: auto … … 244 245 -webkit-mask-composite: source-over 245 246 -webkit-nbsp-mode: normal 246 -webkit-print-color-adjust: economy247 247 -webkit-rtl-ordering: logical 248 248 -webkit-text-fill-color: rgb(0, 0, 0) -
trunk/LayoutTests/fast/css/getComputedStyle/resources/property-names.js
r287487 r287712 96 96 "perspective": true, 97 97 "perspective-origin": true, 98 " -webkit-print-color-adjust": true,98 "print-color-adjust": true, 99 99 "-webkit-rtl-ordering": true, 100 100 "text-combine-upright": true, -
trunk/LayoutTests/imported/w3c/ChangeLog
r287707 r287712 1 2022-01-06 Tim Nguyen <ntim@apple.com> 2 3 Unprefix -webkit-print-color-adjust CSS property 4 https://bugs.webkit.org/show_bug.cgi?id=201098 5 6 Reviewed by Darin Adler. 7 8 color-adjust is also a deprecated shorthand that just contains print-color-adjust. 9 10 * web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: 11 1 12 2022-01-06 Antoine Quint <graouts@webkit.org> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
r287487 r287712 236 236 PASS pointer-events 237 237 PASS position 238 PASS print-color-adjust 238 239 PASS quotes 239 240 PASS r … … 383 384 PASS -webkit-mask-source-type 384 385 PASS -webkit-nbsp-mode 385 PASS -webkit-print-color-adjust386 386 PASS -webkit-rtl-ordering 387 387 PASS -webkit-ruby-position -
trunk/LayoutTests/platform/glib/fast/css/getComputedStyle/computed-style-expected.txt
r287487 r287712 152 152 pointer-events: auto; 153 153 position: static; 154 print-color-adjust: economy; 154 155 resize: none; 155 156 right: auto; … … 245 246 -webkit-mask-composite: source-over; 246 247 -webkit-nbsp-mode: normal; 247 -webkit-print-color-adjust: economy;248 248 -webkit-rtl-ordering: logical; 249 249 -webkit-text-fill-color: rgb(0, 0, 0); -
trunk/LayoutTests/platform/glib/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r287487 r287712 151 151 pointer-events: auto 152 152 position: static 153 print-color-adjust: economy 153 154 resize: none 154 155 right: auto … … 244 245 -webkit-mask-composite: source-over 245 246 -webkit-nbsp-mode: normal 246 -webkit-print-color-adjust: economy247 247 -webkit-rtl-ordering: logical 248 248 -webkit-text-fill-color: rgb(0, 0, 0) -
trunk/LayoutTests/platform/glib/svg/css/getComputedStyle-basic-expected.txt
r287487 r287712 301 301 rect: style.getPropertyValue(position) : static 302 302 rect: style.getPropertyCSSValue(position) : [object CSSPrimitiveValue] 303 rect: style.getPropertyValue(print-color-adjust) : economy 304 rect: style.getPropertyCSSValue(print-color-adjust) : [object CSSPrimitiveValue] 303 305 rect: style.getPropertyValue(resize) : none 304 306 rect: style.getPropertyCSSValue(resize) : [object CSSPrimitiveValue] … … 487 489 rect: style.getPropertyValue(-webkit-nbsp-mode) : normal 488 490 rect: style.getPropertyCSSValue(-webkit-nbsp-mode) : [object CSSPrimitiveValue] 489 rect: style.getPropertyValue(-webkit-print-color-adjust) : economy490 rect: style.getPropertyCSSValue(-webkit-print-color-adjust) : [object CSSPrimitiveValue]491 491 rect: style.getPropertyValue(-webkit-rtl-ordering) : logical 492 492 rect: style.getPropertyCSSValue(-webkit-rtl-ordering) : [object CSSPrimitiveValue] … … 811 811 g: style.getPropertyValue(position) : static 812 812 g: style.getPropertyCSSValue(position) : [object CSSPrimitiveValue] 813 g: style.getPropertyValue(print-color-adjust) : economy 814 g: style.getPropertyCSSValue(print-color-adjust) : [object CSSPrimitiveValue] 813 815 g: style.getPropertyValue(resize) : none 814 816 g: style.getPropertyCSSValue(resize) : [object CSSPrimitiveValue] … … 997 999 g: style.getPropertyValue(-webkit-nbsp-mode) : normal 998 1000 g: style.getPropertyCSSValue(-webkit-nbsp-mode) : [object CSSPrimitiveValue] 999 g: style.getPropertyValue(-webkit-print-color-adjust) : economy1000 g: style.getPropertyCSSValue(-webkit-print-color-adjust) : [object CSSPrimitiveValue]1001 1001 g: style.getPropertyValue(-webkit-rtl-ordering) : logical 1002 1002 g: style.getPropertyCSSValue(-webkit-rtl-ordering) : [object CSSPrimitiveValue] -
trunk/LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-expected.txt
r287487 r287712 152 152 pointer-events: auto; 153 153 position: static; 154 print-color-adjust: economy; 154 155 resize: none; 155 156 right: auto; … … 245 246 -webkit-mask-composite: source-over; 246 247 -webkit-nbsp-mode: normal; 247 -webkit-print-color-adjust: economy;248 248 -webkit-rtl-ordering: logical; 249 249 -webkit-text-fill-color: rgb(0, 0, 0); -
trunk/LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r287487 r287712 151 151 pointer-events: auto 152 152 position: static 153 print-color-adjust: economy 153 154 resize: none 154 155 right: auto … … 244 245 -webkit-mask-composite: source-over 245 246 -webkit-nbsp-mode: normal 246 -webkit-print-color-adjust: economy247 247 -webkit-rtl-ordering: logical 248 248 -webkit-text-fill-color: rgb(0, 0, 0) -
trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
r287487 r287712 215 215 PASS pointer-events 216 216 PASS position 217 PASS print-color-adjust 217 218 PASS quotes 218 219 PASS r … … 360 361 PASS -webkit-nbsp-mode 361 362 PASS -webkit-overflow-scrolling 362 PASS -webkit-print-color-adjust363 363 PASS -webkit-rtl-ordering 364 364 PASS -webkit-ruby-position -
trunk/LayoutTests/platform/ios/svg/css/getComputedStyle-basic-expected.txt
r287487 r287712 301 301 rect: style.getPropertyValue(position) : static 302 302 rect: style.getPropertyCSSValue(position) : [object CSSPrimitiveValue] 303 rect: style.getPropertyValue(print-color-adjust) : economy 304 rect: style.getPropertyCSSValue(print-color-adjust) : [object CSSPrimitiveValue] 303 305 rect: style.getPropertyValue(resize) : none 304 306 rect: style.getPropertyCSSValue(resize) : [object CSSPrimitiveValue] … … 487 489 rect: style.getPropertyValue(-webkit-nbsp-mode) : normal 488 490 rect: style.getPropertyCSSValue(-webkit-nbsp-mode) : [object CSSPrimitiveValue] 489 rect: style.getPropertyValue(-webkit-print-color-adjust) : economy490 rect: style.getPropertyCSSValue(-webkit-print-color-adjust) : [object CSSPrimitiveValue]491 491 rect: style.getPropertyValue(-webkit-rtl-ordering) : logical 492 492 rect: style.getPropertyCSSValue(-webkit-rtl-ordering) : [object CSSPrimitiveValue] … … 811 811 g: style.getPropertyValue(position) : static 812 812 g: style.getPropertyCSSValue(position) : [object CSSPrimitiveValue] 813 g: style.getPropertyValue(print-color-adjust) : economy 814 g: style.getPropertyCSSValue(print-color-adjust) : [object CSSPrimitiveValue] 813 815 g: style.getPropertyValue(resize) : none 814 816 g: style.getPropertyCSSValue(resize) : [object CSSPrimitiveValue] … … 997 999 g: style.getPropertyValue(-webkit-nbsp-mode) : normal 998 1000 g: style.getPropertyCSSValue(-webkit-nbsp-mode) : [object CSSPrimitiveValue] 999 g: style.getPropertyValue(-webkit-print-color-adjust) : economy1000 g: style.getPropertyCSSValue(-webkit-print-color-adjust) : [object CSSPrimitiveValue]1001 1001 g: style.getPropertyValue(-webkit-rtl-ordering) : logical 1002 1002 g: style.getPropertyCSSValue(-webkit-rtl-ordering) : [object CSSPrimitiveValue] -
trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt
r287487 r287712 301 301 rect: style.getPropertyValue(position) : static 302 302 rect: style.getPropertyCSSValue(position) : [object CSSPrimitiveValue] 303 rect: style.getPropertyValue(print-color-adjust) : economy 304 rect: style.getPropertyCSSValue(print-color-adjust) : [object CSSPrimitiveValue] 303 305 rect: style.getPropertyValue(resize) : none 304 306 rect: style.getPropertyCSSValue(resize) : [object CSSPrimitiveValue] … … 487 489 rect: style.getPropertyValue(-webkit-nbsp-mode) : normal 488 490 rect: style.getPropertyCSSValue(-webkit-nbsp-mode) : [object CSSPrimitiveValue] 489 rect: style.getPropertyValue(-webkit-print-color-adjust) : economy490 rect: style.getPropertyCSSValue(-webkit-print-color-adjust) : [object CSSPrimitiveValue]491 491 rect: style.getPropertyValue(-webkit-rtl-ordering) : logical 492 492 rect: style.getPropertyCSSValue(-webkit-rtl-ordering) : [object CSSPrimitiveValue] … … 811 811 g: style.getPropertyValue(position) : static 812 812 g: style.getPropertyCSSValue(position) : [object CSSPrimitiveValue] 813 g: style.getPropertyValue(print-color-adjust) : economy 814 g: style.getPropertyCSSValue(print-color-adjust) : [object CSSPrimitiveValue] 813 815 g: style.getPropertyValue(resize) : none 814 816 g: style.getPropertyCSSValue(resize) : [object CSSPrimitiveValue] … … 997 999 g: style.getPropertyValue(-webkit-nbsp-mode) : normal 998 1000 g: style.getPropertyCSSValue(-webkit-nbsp-mode) : [object CSSPrimitiveValue] 999 g: style.getPropertyValue(-webkit-print-color-adjust) : economy1000 g: style.getPropertyCSSValue(-webkit-print-color-adjust) : [object CSSPrimitiveValue]1001 1001 g: style.getPropertyValue(-webkit-rtl-ordering) : logical 1002 1002 g: style.getPropertyCSSValue(-webkit-rtl-ordering) : [object CSSPrimitiveValue] -
trunk/LayoutTests/webgl/webgl-oom-paint-document-no-crash.html
r280601 r287712 11 11 To ensure expected behavior, e.g. to observe the failure, the canvas should not be visible. 12 12 To assert this, use div with border as indicator. Background cannot be used as printing 13 disables the backgrounds and -webkit-print-color-adjust: exact is not respected in13 disables the backgrounds and print-color-adjust: exact is not respected in 14 14 WTR printing mode. 15 15 --> -
trunk/Source/WebCore/ChangeLog
r287711 r287712 1 2022-01-06 Tim Nguyen <ntim@apple.com> 2 3 Unprefix -webkit-print-color-adjust CSS property 4 https://bugs.webkit.org/show_bug.cgi?id=201098 5 6 Reviewed by Darin Adler. 7 8 color-adjust is also a deprecated shorthand that just contains print-color-adjust. 9 10 * animation/CSSPropertyAnimation.cpp: 11 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 12 * css/CSSComputedStyleDeclaration.cpp: 13 (WebCore::ComputedStyleExtractor::valueForPropertyInStyle): 14 * css/CSSProperties.json: 15 * css/parser/CSSParserFastPaths.cpp: 16 (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): 17 (WebCore::CSSParserFastPaths::isKeywordPropertyID): 18 1 19 2022-01-06 Youenn Fablet <youenn@apple.com> 2 20 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r287356 r287712 2722 2722 new DiscretePropertyWrapper<CaptionSide>(CSSPropertyCaptionSide, &RenderStyle::captionSide, &RenderStyle::setCaptionSide), 2723 2723 new DiscretePropertyWrapper<Clear>(CSSPropertyClear, &RenderStyle::clear, &RenderStyle::setClear), 2724 new DiscretePropertyWrapper<PrintColorAdjust>(CSSProperty WebkitPrintColorAdjust, &RenderStyle::printColorAdjust, &RenderStyle::setPrintColorAdjust),2724 new DiscretePropertyWrapper<PrintColorAdjust>(CSSPropertyPrintColorAdjust, &RenderStyle::printColorAdjust, &RenderStyle::setPrintColorAdjust), 2725 2725 new DiscretePropertyWrapper<ColumnFill>(CSSPropertyColumnFill, &RenderStyle::columnFill, &RenderStyle::setColumnFill), 2726 2726 new DiscretePropertyWrapper<BorderStyle>(CSSPropertyColumnRuleStyle, &RenderStyle::columnRuleStyle, &RenderStyle::setColumnRuleStyle), -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r287678 r287712 3000 3000 case CSSPropertyColor: 3001 3001 return cssValuePool.createColorValue(m_allowVisitedStyle ? style.visitedDependentColor(CSSPropertyColor) : style.color()); 3002 case CSSProperty WebkitPrintColorAdjust:3002 case CSSPropertyPrintColorAdjust: 3003 3003 return cssValuePool.createValue(style.printColorAdjust()); 3004 3004 case CSSPropertyWebkitColumnAxis: -
trunk/Source/WebCore/css/CSSProperties.json
r287663 r287712 6494 6494 "high-priority": true 6495 6495 }, 6496 "specification": { 6497 "category": "css-color-adjust", 6498 "url": "https://www.w3.org/TR/css-color-adjust/#color-scheme-prop" 6499 }, 6496 6500 "status": { 6497 "status": " in development",6501 "status": "supported", 6498 6502 "enabled-by-default": true 6499 6503 } … … 6572 6576 } 6573 6577 }, 6574 "-webkit-print-color-adjust": { 6578 "print-color-adjust": { 6579 "codegen-properties": { 6580 "aliases": [ 6581 "-webkit-print-color-adjust", 6582 "color-adjust" 6583 ] 6584 }, 6575 6585 "inherited": true, 6576 6586 "values": [ … … 6578 6588 "economy" 6579 6589 ], 6580 "status": "non-standard" 6590 "specification": { 6591 "category": "css-color-adjust", 6592 "url": "https://www.w3.org/TR/css-color-adjust/#print-color-adjust" 6593 } 6581 6594 }, 6582 6595 "range": { … … 7674 7687 "shortname": "CSS Color", 7675 7688 "longname": "CSS Color Module", 7676 "url": "https://www.w3.org/TR/css3-color/" 7689 "url": "https://www.w3.org/TR/css-color/" 7690 }, 7691 "css-color-adjust": { 7692 "shortname": "CSS Color Adjustment", 7693 "longname": "CSS Color Adjustment Module", 7694 "url": "https://www.w3.org/TR/css-color-adjust/" 7677 7695 }, 7678 7696 "css-compositing": { -
trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp
r287487 r287712 803 803 case CSSPropertyWebkitLineSnap: 804 804 return valueID == CSSValueNone || valueID == CSSValueBaseline || valueID == CSSValueContain; 805 case CSSProperty WebkitPrintColorAdjust:805 case CSSPropertyPrintColorAdjust: 806 806 return valueID == CSSValueExact || valueID == CSSValueEconomy; 807 807 case CSSPropertyWebkitRtlOrdering: … … 975 975 case CSSPropertyWebkitMarqueeStyle: 976 976 case CSSPropertyWebkitNbspMode: 977 case CSSProperty WebkitPrintColorAdjust:977 case CSSPropertyPrintColorAdjust: 978 978 case CSSPropertyWebkitRtlOrdering: 979 979 case CSSPropertyWebkitRubyPosition: -
trunk/Source/WebInspectorUI/ChangeLog
r287698 r287712 1 2022-01-06 Tim Nguyen <ntim@apple.com> 2 3 Unprefix -webkit-print-color-adjust CSS property 4 https://bugs.webkit.org/show_bug.cgi?id=201098 5 6 Reviewed by Darin Adler. 7 8 color-adjust is also a deprecated shorthand that just contains print-color-adjust. 9 10 * UserInterface/Models/CSSKeywordCompletions.js: 11 1 12 2022-01-06 Alex Christensen <achristensen@webkit.org> 2 13 -
trunk/Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js
r287636 r287712 304 304 "-webkit-nbsp-mode", 305 305 "-webkit-overflow-scrolling", 306 "-webkit-print-color-adjust",307 306 "-webkit-rtl-ordering", 308 307 "-webkit-ruby-position", … … 380 379 "orphans", 381 380 "pointer-events", 381 "print-color-adjust", 382 382 "quotes", 383 383 "resize", … … 1112 1112 "auto", "touch", 1113 1113 ], 1114 " -webkit-print-color-adjust": [1114 "print-color-adjust": [ 1115 1115 "economy", "exact", 1116 1116 ],
Note: See TracChangeset
for help on using the changeset viewer.