Closed Bug 2019904 Opened 8 months ago Closed 8 months ago

Implement CSSFontFaceDescriptors (was: CSSFontFaceRule.style.fontFamily is undefined)

Categories

(Core :: DOM: CSS Object Model, defect, P3)

defect

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: saschanaz, Assigned: emilio, Mentored)

References

Details

(Keywords: dev-doc-complete, webcompat:platform-bug)

User Story

user-impact-score:160

Attachments

(1 file, 1 external file)

  1. Open data:text/html,<style>@font-face { font-family: "Foo" }></style><script>alert(document.styleSheets[0].cssRules[0].style.fontFamily)</script>

Expected: "Foo"
Actual: undefined

User Story: (updated)
Severity: -- → S3
Priority: -- → P3
Summary: CSSFontFaceRule.style.fontFamily is undefined → Implement CSSFontFaceDescriptors (was: CSSFontFaceRule.style.fontFamily is undefined)
Mentor: emilio

CSSFontFaceDescriptors is also not implemented on Chrome but nonetheless it works there. But maybe it's easier to implement it rather than fixing it? 🤔

Depends on: 2021942
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Attached file Generated WebIDL —
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5c882d99eda9 https://hg.mozilla.org/integration/autoland/rev/aa6f47127a98 Implement CSSFontFaceDescriptors. r=webidl,firefox-style-system-reviewers,smaug,dshin
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bcd1a28bab4b https://hg.mozilla.org/integration/autoland/rev/f89a666d0a70 Revert "Bug 2019904 - Implement CSSFontFaceDescriptors. r=webidl,firefox-style-system-reviewers,smaug,dshin" for causing mochitest failures @ test_stylesheet_clone_font_face.html

That test was just doing nothing before, fun...

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ce983b6403c6 https://hg.mozilla.org/integration/autoland/rev/29df0b4790bb Implement CSSFontFaceDescriptors. r=webidl,firefox-style-system-reviewers,smaug,dshin
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Keywords: dev-doc-needed
Regressions: 2025453

FF150 Docs work for this can be tracked in https://github.com/mdn/content/issues/43564

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: