[css-font-loading-3] Relationship between FontFace and CSSFontFaceRule
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Read the CSS Font Loading Level 3 section on the FontFace/CSSFontFaceRule connection, then review the issue's questions about separate objects and future attributes. Consider the WebFonts WG's mentioned work on streamable fonts. Done means documenting or reaching a CSSWG direction on the relationship and its impact on the API.
Written by the indexing model from the issue text.
Description
The ship has probably sailed on this, but I still think it's worth discussing in the context of future direction.
Regarding the FontFace object and the @font-face rule, the spec says this:
There is a two-way connection between the two: any change made to a
@font-facedescriptor is immediately reflected in the correspondingFontFaceattribute, and vice versa.
So why have two separate objects? Why didn't we add a bunch of member attributes/methods on CSSFontFaceRule instead? In the future, should the CSSWG add new attributes to both objects?
This is relevant due to the work the WebFonts WG is doing on streamable fonts. That work will likely impact the CSS Font Loading API.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 24
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from w3c/csswg-drafts
-
Agenda+ css-sizing-4 css-values-5
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
w3c/csswg-drafts#14502 · 1 reaction ·
-
css-values-5 editorial Needs Edits
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
w3c/csswg-drafts#14498 · 2 comments ·
-
css-overflow-4 topic: line-clamp
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
w3c/csswg-drafts#14485 · 1 comment ·
-
Administrative Tracker css-values-4
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
w3c/csswg-drafts#14482 · 4 comments · 1 reaction ·
-
css-values-5 Needs Edits
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
w3c/csswg-drafts#14466 ·
All issues in w3c/csswg-drafts
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·