Open Bug 1495868 Opened 6 years ago Updated 2 years ago

Unprefix -moz-fit-content and -moz-available keywords

Categories

(Core :: Layout, task, P3)

task

Tracking

()

Webcompat Priority P2
Tracking Status
firefox64 --- affected
firefox82 --- affected

People

(Reporter: boris, Unassigned)

References

(Depends on 1 open bug, Blocks 5 open bugs, )

Details

(Keywords: dev-doc-needed, site-compat, Whiteboard: [webcompat])

We'd like to unprefix -moz-max-content and -moz-min-content in Bug 1322780. For -moz-fit-content and -moz-available, we should also unprefix them after the css sizing level 4 addresses them. This bug should also include renaming "-moz-available" to "stretch" [1]. [1] https://drafts.csswg.org/css-sizing/#sizing-values
From Bug 1322780 Comment 3 There are two test files for image fill: 1. attachment 8820716 [details] 2. attachment 8820886 [details] It seems Gecko only support -moz-available in the inline-direction though. We should probably not unprefix -moz-available before we support it in both.
Depends on: 567039
Blocks: 1514264

The lack of unprefixed fit-content is causing cosmetic layout issues on dns.google.com (which only specifies the unprefixed variant).

Flags: webcompat?
Whiteboard: [webcompat]

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Webcompat Priority: ? → P2
Flags: webcompat?
Type: enhancement → task

Instead of unprefixing -moz-available, It would be probably better to have an alias for -webkit-fill-available.
And even before that it would be better to check if there is any attempt at using available as a term.

Philip,

I don't see any counters on Chromium for -webkit-fill-available
https://www.chromestatus.com/features#fill-available

And no specific issue about its future, apart issues such as
https://bugs.chromium.org/p/chromium/issues/detail?id=807708
I didn't find a bug for implementing stretch keyword too.

Flags: needinfo?(philip)
Blocks: 1724308
Severity: normal → S3

I can confirm there's no use counter for this in Chrome, since it's a property value, and we only generate use counters automatically for properties.

Flags: needinfo?(philip)
You need to log in before you can comment on or make changes to this bug.