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)
Core
DOM: CSS Object Model
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)
|
2.60 KB,
text/plain
|
Details |
- 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
Updated•8 months ago
|
Keywords: webcompat:platform-bug
Updated•8 months ago
|
User Story: (updated)
| Assignee | ||
Comment 1•8 months ago
|
||
https://drafts.csswg.org/css-fonts-5/#cssfontfacedescriptors is not implemented...
Severity: -- → S3
Priority: -- → P3
Summary: CSSFontFaceRule.style.fontFamily is undefined → Implement CSSFontFaceDescriptors (was: CSSFontFaceRule.style.fontFamily is undefined)
| Assignee | ||
Updated•8 months ago
|
Mentor: emilio
| Reporter | ||
Comment 2•8 months ago
|
||
CSSFontFaceDescriptors is also not implemented on Chrome but nonetheless it works there. But maybe it's easier to implement it rather than fixing it? 🤔
| Assignee | ||
Comment 3•8 months ago
|
||
Keep them read-only for now, bug 443978
Updated•8 months ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•8 months ago
|
||
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
Comment 7•8 months ago
|
||
Backed out for causing mochitest failures @ test_stylesheet_clone_font_face.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/f89a666d0a70475e91ba4dcfeee5cc652b1b68ba
Failure log -> TEST-UNEXPECTED-FAIL | layout/style/test/test_stylesheet_clone_font_face.html
Flags: needinfo?(emilio)
| Assignee | ||
Comment 8•8 months ago
|
||
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
Comment 10•8 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Keywords: dev-doc-needed
Comment 11•7 months ago
|
||
FF150 Docs work for this can be tracked in https://github.com/mdn/content/issues/43564
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•