Changeset 283130 in webkit
- Timestamp:
- Sep 27, 2021 12:50:12 PM (10 months ago)
- Location:
- trunk
- Files:
-
- 10 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/idlharness-expected.txt (modified) (3 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-palette-values-invalid-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-palette-values-invalid.html (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-palette-values-valid.html (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/interfaces/css-fonts.idl (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/css/CSSRule.h (modified) (1 diff)
-
Source/WebCore/css/CSSRule.idl (modified) (1 diff)
-
Source/WebCore/css/StyleRuleType.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r283120 r283130 1 2021-09-27 Myles C. Maxfield <mmaxfield@apple.com> 2 3 The CSS Fonts spec has deleted CSSRule.FONT_PALETTE_VALUES_RULE 4 https://bugs.webkit.org/show_bug.cgi?id=230786 5 <rdar://problem/83528219> 6 7 Reviewed by Antti Koivisto. 8 9 The test is being upstreamed at https://github.com/web-platform-tests/wpt/pull/30959. 10 11 * web-platform-tests/css/css-fonts/idlharness-expected.txt: 12 * web-platform-tests/css/css-fonts/parsing/font-palette-values-invalid-expected.txt: 13 * web-platform-tests/css/css-fonts/parsing/font-palette-values-invalid.html: 14 * web-platform-tests/css/css-fonts/parsing/font-palette-values-valid.html: 15 * web-platform-tests/interfaces/css-fonts.idl: 16 1 17 2021-09-27 Antti Koivisto <antti@apple.com> 2 18 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/idlharness-expected.txt
r282806 r283130 4 4 PASS Partial interface CSSRule: original interface defined 5 5 PASS Partial interface CSSRule: member names are unique 6 PASS Partial interface CSSRule[2]: original interface defined7 PASS Partial interface CSSRule[2]: member names are unique8 6 PASS CSSFontFaceRule interface: existence and properties of interface object 9 7 PASS CSSFontFaceRule interface object length … … 17 15 PASS CSSFontFaceRule interface: cssFontFaceRule must inherit property "style" with the proper type 18 16 FAIL CSSRule interface: cssFontFaceRule must inherit property "FONT_FEATURE_VALUES_RULE" with the proper type assert_inherits: property "FONT_FEATURE_VALUES_RULE" not found in prototype chain 19 FAIL CSSRule interface: cssFontFaceRule must inherit property "FONT_PALETTE_VALUES_RULE" with the proper type assert_equals: expected 15 but got 1920 17 FAIL CSSFontFeatureValuesRule interface: existence and properties of interface object assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing 21 18 FAIL CSSFontFeatureValuesRule interface object length assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing … … 48 45 FAIL CSSRule interface: constant FONT_FEATURE_VALUES_RULE on interface object assert_own_property: expected property "FONT_FEATURE_VALUES_RULE" missing 49 46 FAIL CSSRule interface: constant FONT_FEATURE_VALUES_RULE on interface prototype object assert_own_property: expected property "FONT_FEATURE_VALUES_RULE" missing 50 FAIL CSSRule interface: constant FONT_PALETTE_VALUES_RULE on interface object assert_equals: property has wrong value expected 15 but got 1951 FAIL CSSRule interface: constant FONT_PALETTE_VALUES_RULE on interface prototype object assert_equals: property has wrong value expected 15 but got 1952 47 FAIL CSSRule interface: cssRule must inherit property "FONT_FEATURE_VALUES_RULE" with the proper type assert_inherits: property "FONT_FEATURE_VALUES_RULE" not found in prototype chain 53 FAIL CSSRule interface: cssRule must inherit property "FONT_PALETTE_VALUES_RULE" with the proper type assert_equals: expected 15 but got 1954 48 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-palette-values-invalid-expected.txt
r283076 r283130 18 18 PASS CSS Fonts Module Level 4: parsing @font-palette-values 16 19 19 PASS CSS Fonts Module Level 4: parsing @font-palette-values 17 20 PASS CSS Fonts Module Level 4: parsing @font-palette-values 18 20 21 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-palette-values-invalid.html
r283076 r283130 235 235 assert_equals(rule.basePalette, ""); 236 236 }); 237 238 test(function() { 239 assert_equals(CSSRule.FONT_PALETTE_VALUES_RULE, undefined); 240 }); 237 241 </script> 238 242 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-palette-values-valid.html
r283053 r283130 118 118 test(function() { 119 119 let rule = rules[0]; 120 assert_equals(rule.type, CSSRule.FONT_PALETTE_VALUES_RULE);121 120 assert_equals(rule.constructor.name, "CSSFontPaletteValuesRule"); 122 121 assert_equals(rule.fontFamily, ""); -
trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-fonts.idl
r269214 r283130 29 29 }; 30 30 31 partial interface CSSRule { const unsigned short FONT_PALETTE_VALUES_RULE = 15;32 };33 34 31 [Exposed=Window] 35 32 interface CSSFontPaletteValuesRule : CSSRule { -
trunk/Source/WebCore/ChangeLog
r283127 r283130 1 2021-09-27 Myles C. Maxfield <mmaxfield@apple.com> 2 3 The CSS Fonts spec has deleted CSSRule.FONT_PALETTE_VALUES_RULE 4 https://bugs.webkit.org/show_bug.cgi?id=230786 5 <rdar://problem/83528219> 6 7 Reviewed by Antti Koivisto. 8 9 Update WebKit according to 10 https://github.com/w3c/csswg-drafts/commit/45bda92646e0438c1fcd44497144aa86f0df1b61. 11 12 Test: web-platform-tests/css/css-fonts/parsing/font-palette-values-invalid.html 13 14 * css/CSSRule.h: 15 * css/CSSRule.idl: 16 * css/StyleRuleType.h: 17 1 18 2021-09-27 Andres Gonzalez <andresg_22@apple.com> 2 19 -
trunk/Source/WebCore/css/CSSRule.h
r282806 r283130 52 52 COUNTER_STYLE_RULE = 11, 53 53 SUPPORTS_RULE = 12, 54 FONT_PALETTE_VALUES_RULE = 19 // https://github.com/w3c/csswg-drafts/issues/662354 FONT_PALETTE_VALUES_RULE = 19 55 55 }; 56 56 -
trunk/Source/WebCore/css/CSSRule.idl
r282806 r283130 45 45 [EnabledBySetting=CSSCounterStyleAtRules] const unsigned short COUNTER_STYLE_RULE = 11; 46 46 const unsigned short SUPPORTS_RULE = 12; 47 const unsigned short FONT_PALETTE_VALUES_RULE = 19; /* https://github.com/w3c/csswg-drafts/issues/6623 */48 47 49 48 // Legacy synonyms for the above, kept to avoid breaking existing content. -
trunk/Source/WebCore/css/StyleRuleType.h
r282806 r283130 42 42 CounterStyle = 11, 43 43 Supports = 12, 44 FontPaletteValues = 19, // https://github.com/w3c/csswg-drafts/issues/662344 FontPaletteValues = 19, 45 45 Layer = 20 46 46 };
Note: See TracChangeset
for help on using the changeset viewer.