Skip to content

FF150 Relnote: CSSFontFaceDescriptors#43621

Open
hamishwillee wants to merge 2 commits intomdn:mainfrom
hamishwillee:ff150_cssfontfacedescriptors
Open

FF150 Relnote: CSSFontFaceDescriptors#43621
hamishwillee wants to merge 2 commits intomdn:mainfrom
hamishwillee:ff150_cssfontfacedescriptors

Conversation

@hamishwillee
Copy link
Copy Markdown
Collaborator

@hamishwillee hamishwillee commented Mar 30, 2026

FF150 adds support for CSSFontFaceRule.style being a CSSFontFaceDescriptors. This adds a release note and minor updates to docs.

  • Release note
  • CSSFontFaceRule - make into live example

Related docs work can be tracked in #43564

@github-actions github-actions bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Mar 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 30, 2026

Preview URLs (2 pages)

External URLs (1)

URL: /en-US/docs/Mozilla/Firefox/Releases/150
Title: Firefox 150 release notes for developers (Beta)

(comment last updated: 2026-03-31 05:20:20)

@github-actions
Copy link
Copy Markdown
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot added Content:Firefox Content in the Mozilla/Firefox subtree merge conflicts 🚧 [PR only] labels Mar 31, 2026
@hamishwillee hamishwillee force-pushed the ff150_cssfontfacedescriptors branch from 07532be to c7c510a Compare March 31, 2026 05:18
@github-actions github-actions bot removed the merge conflicts 🚧 [PR only] label Mar 31, 2026
@hamishwillee hamishwillee marked this pull request as ready for review March 31, 2026 05:19
@hamishwillee hamishwillee requested review from a team as code owners March 31, 2026 05:19
@hamishwillee hamishwillee requested review from chrisdavidmills and pepelsbey and removed request for a team March 31, 2026 05:19
@github-actions github-actions bot added size/m [PR only] 51-500 LoC changed and removed size/s [PR only] 6-50 LoC changed labels Mar 31, 2026
Copy link
Copy Markdown
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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")}}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@pepelsbey pepelsbey removed their request for review March 31, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Firefox Content in the Mozilla/Firefox subtree Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants