0

Expose CSSFontFeatureValuesRule to window scope

https: //groups.google.com/a/chromium.org/g/blink-dev/c/zqC2dYxKpQw/m/6kC6qKlYDAAJ
Bug: 385925149
Change-Id: I0f27ca45dcfefa4d2cf6930a698f8eee1e62a6ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6110469
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Rick Byers <rbyers@chromium.org>
Commit-Queue: Rick Byers <rbyers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1406737}
This commit is contained in:
tannal
2025-01-15 08:10:00 -08:00
committed by Chromium LUCI CQ
parent 6d379b9ad6
commit 9d821a1e08
8 changed files with 52 additions and 29 deletions
AUTHORS
android_webview/test/data/web_tests
third_party/blink

@ -977,6 +977,7 @@ Md Jobed Hossain <jobed.h@samsung.com>
Md Raiyan bin Sayeed <mrbsayee@uwaterloo.ca>
Md. Sadiqul Amin <sadiqul.amin@samsung.com>
Md Sami Uddin <md.sami@samsung.com>
Mego Tan <tannal2409@gmail.com>
Merajul Arefin <merajularefin@gmail.com>
Micha Hanselmann <micha.hanselmann@gmail.com>
Michael Cirone <mikecirone@gmail.com>

@ -469,6 +469,17 @@ interface CSSFontFaceRule : CSSRule
attribute @@toStringTag
getter style
method constructor
interface CSSFontFeatureValuesRule : CSSRule
attribute @@toStringTag
getter annotation
getter characterVariant
getter fontFamily
getter ornaments
getter styleset
getter stylistic
getter swash
method constructor
setter fontFamily
interface CSSFontPaletteValuesRule : CSSRule
attribute @@toStringTag
getter basePalette

@ -689,6 +689,17 @@ interface CSSFontFaceRule : CSSRule
attribute @@toStringTag
getter style
method constructor
interface CSSFontFeatureValuesRule : CSSRule
attribute @@toStringTag
getter annotation
getter characterVariant
getter fontFamily
getter ornaments
getter styleset
getter stylistic
getter swash
method constructor
setter fontFamily
interface CSSFontPaletteValuesRule : CSSRule
attribute @@toStringTag
getter basePalette

@ -3,7 +3,7 @@
// found in the LICENSE file.
// https://drafts.csswg.org/css-fonts-4/#om-fontfeaturevalues
[Exposed(Window ExposeCSSFontFeatureValuesRule)]
interface CSSFontFeatureValuesRule : CSSRule {
attribute CSSOMString fontFamily;

@ -1729,6 +1729,10 @@
name: "ExposeCoarsenedRenderTime",
status: "stable",
},
{
name: "ExposeCSSFontFeatureValuesRule",
status: "stable",
},
{
name: "ExposeRenderTimeNonTaoDelayedImage",
},

@ -1,5 +1,5 @@
This is a testharness.js-based test.
Found 58 FAIL, 0 TIMEOUT, 0 NOTRUN.
Found 45 FAIL, 0 TIMEOUT, 0 NOTRUN.
[FAIL] CSSFontFaceDescriptors interface: existence and properties of interface object
assert_own_property: self does not have own property "CSSFontFaceDescriptors" expected property "CSSFontFaceDescriptors" missing
[FAIL] CSSFontFaceDescriptors interface object length
@ -72,34 +72,8 @@ Found 58 FAIL, 0 TIMEOUT, 0 NOTRUN.
assert_own_property: self does not have own property "CSSFontFaceDescriptors" expected property "CSSFontFaceDescriptors" missing
[FAIL] CSSFontFaceRule interface: attribute style
assert_equals: setter must be function for PutForwards, Replaceable, or non-readonly attributes expected "function" but got "undefined"
[FAIL] CSSFontFeatureValuesRule interface: existence and properties of interface object
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface object length
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface object name
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: existence and properties of interface prototype object
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: existence and properties of interface prototype object's "constructor" property
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: existence and properties of interface prototype object's @@unscopables property
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: attribute fontFamily
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: attribute annotation
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: attribute ornaments
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: attribute stylistic
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: attribute swash
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: attribute characterVariant
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: attribute styleset
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
[FAIL] CSSFontFeatureValuesRule interface: attribute historicalForms
assert_own_property: self does not have own property "CSSFontFeatureValuesRule" expected property "CSSFontFeatureValuesRule" missing
assert_true: The prototype object must have a property "historicalForms" expected true got false
[FAIL] CSSFontFeatureValuesMap interface: existence and properties of interface object
assert_own_property: self does not have own property "CSSFontFeatureValuesMap" expected property "CSSFontFeatureValuesMap" missing
[FAIL] CSSFontFeatureValuesMap interface object length

@ -519,6 +519,17 @@ interface CSSFontFaceRule : CSSRule
attribute @@toStringTag
getter style
method constructor
interface CSSFontFeatureValuesRule : CSSRule
attribute @@toStringTag
getter annotation
getter characterVariant
getter fontFamily
getter ornaments
getter styleset
getter stylistic
getter swash
method constructor
setter fontFamily
interface CSSFontPaletteValuesRule : CSSRule
attribute @@toStringTag
getter basePalette

@ -739,6 +739,17 @@ interface CSSFontFaceRule : CSSRule
attribute @@toStringTag
getter style
method constructor
interface CSSFontFeatureValuesRule : CSSRule
attribute @@toStringTag
getter annotation
getter characterVariant
getter fontFamily
getter ornaments
getter styleset
getter stylistic
getter swash
method constructor
setter fontFamily
interface CSSFontPaletteValuesRule : CSSRule
attribute @@toStringTag
getter basePalette