Skip to content

[css-fonts-4] Create proper types for <absolute-size> and <relative-size>#13321

Merged
SebastianZ merged 1 commit into
w3c:mainfrom
tidoust:css-fonts-4-absolute-size
Jan 10, 2026
Merged

[css-fonts-4] Create proper types for <absolute-size> and <relative-size>#13321
SebastianZ merged 1 commit into
w3c:mainfrom
tidoust:css-fonts-4-absolute-size

Conversation

@tidoust

@tidoust tidoust commented Jan 9, 2026

Copy link
Copy Markdown
Member

Both <absolute-size> and <relative-size> were defined as values for font-size, but that made Bikeshed link the terms to the underlying type definitions in CSS2.

That's confusing for readers following links because the definition of <absolute-size> in CSS2 does not have xxx-large. That also confuses other spec processing tools, see w3c/webref#1794

This update turns the value definitions into proper type definitions, which will override those defined in CSS2, and make links to <absolute-size> and <relative-size> target the local definitions.

…e-size>`

Both `<absolute-size>` and `<relative-size>` were defined as values for
`font-size`, but that made Bikeshed link the terms to the underlying type
definitions in CSS2.

That's confusing for readers following links because the definition of
`<absolute-size>` in CSS2 does not have `xxx-large`. That also confuses other
spec processing tools, see w3c/webref#1794

This update turns the value definitions into proper type definitions, which
will override those defined in CSS2, and make links to `<absolute-size>` and
`<relative-size>` target the local definitions.
@SebastianZ SebastianZ merged commit 2f214c1 into w3c:main Jan 10, 2026
1 check passed
@SebastianZ

Copy link
Copy Markdown
Contributor

@tidoust Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants