FF150 Relnote: CSSFontFaceDescriptors#43621
Conversation
|
Preview URLs (2 pages) External URLs (1)URL:
(comment last updated: 2026-03-31 05:20:20) |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
07532be to
c7c510a
Compare
chrisdavidmills
left a comment
There was a problem hiding this comment.
@hamishwillee couple of bits for you to look at.
| This example uses the CSS found as an example on the {{cssxref("@font-face")}} page. The first {{domxref("CSSRule")}} returned will be a `CSSFontFaceRule`. | ||
| ### Accessing @font-face properties | ||
|
|
||
| This example defines a {{cssxref("@font-face")}} rule and then iterates the rules on the page to the associated `CSSFontFaceRule`. |
There was a problem hiding this comment.
| This example defines a {{cssxref("@font-face")}} rule and then iterates the rules on the page to the associated `CSSFontFaceRule`. | |
| This example defines a {{cssxref("@font-face")}} rule and then iterates over the rules on the page until the associated `CSSFontFaceRule` is found. |
| #### Result | ||
|
|
||
| {{EmbedLiveSample("Accessing @font-face properties", "100%", "250px")}} | ||
|
|
There was a problem hiding this comment.
The live example looks fine. Just one thing — in the BCD table, what I assume is the enrty for this change is worded as "Type changed to CSSFontFaceDescriptors". It doesn't say supported by Fx150 yet, and the wording itself is a bit confusing because it implies that the interface's type property will return CSSFontFaceDescriptors, but actually it is the style property that will return that. It would be less confusing if it were phrased something like "style returns a CSSFontFaceDescriptors object."
I understand you are working on this, but I'm flagging it anyway just in case.
FF150 adds support for
CSSFontFaceRule.stylebeing aCSSFontFaceDescriptors. This adds a release note and minor updates to docs.Related docs work can be tracked in #43564