Csswg-drafts: [css-fonts] font-size:-webkit-xxx-large

Created on 10 May 2019  路  3Comments  路  Source: w3c/csswg-drafts

We have x-large and xx-large but no xxx-large.

-webkit-xxx-large has been around so long it used to be called -konq-xxx-large.

Is there interest in wider adoption of such a font size? We'd like to drop the prefix.

Needs Edits css-fonts-4

Most helpful comment

(So it seems reasonable to just not make it magic and unprefix to me)

All 3 comments

FWIW Gecko has xxx-large to represent values for legacy font-sizes greater than 7, we just don't parse or serialize that, and only set that from the attribute mapping code. But you can see its effect in:

data:text/html,<font size="7">Foo

(So it seems reasonable to just not make it magic and unprefix to me)

The CSS Working Group just discussed font-size:-webkit-xxx-large, and agreed to the following:

  • RESOLVED: Add `font-size: xxx-large` to Fonts level 4

The full IRC log of that discussion
<AmeliaBR> Topic: font-size:-webkit-xxx-large

<AmeliaBR> github: https://github.com/w3c/csswg-drafts/issues/3907

<AmeliaBR> Myles: We have various semantic size keywords in the spec. Webkit has a prefixed version, since the beginning of Webkit, for xxx-large. It'd be nice to remove the prefix.

<AmeliaBR> florian: Do you think this is useful? Or is it a compat issue?

<AmeliaBR> myles: It's useful.

<AmeliaBR> florian: But there's no need to preserve the prefix?

<AmeliaBR> myles: We'd keep it in webkit, but I don't think we need to standardize the prefix.

<AmeliaBR> Rossen_: And worth mentioning that Gecko has a similar prefix & emilio says it sounds reasonable.

<AmeliaBR> fantasai: We should add it to Fonts 4.

<AmeliaBR> Rossen_: Any objections?

<AmeliaBR> RESOLVED: Add font-size: xxx-large to Fonts level 4

Was this page helpful?
0 / 5 - 0 ratings