[Webkit-unassigned] [Bug 194509] New: [css-grid] Indefinite percentage in fit-content track size is treated as 0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 11 11:28:37 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=194509
Bug ID: 194509
Summary: [css-grid] Indefinite percentage in fit-content track
size is treated as 0
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: ASSIGNED
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: obrufau at igalia.com
CC: jfernandez at igalia.com, rego at igalia.com
Created attachment 361698
--> https://bugs.webkit.org/attachment.cgi?id=361698&action=review
testcase
What steps will reproduce the problem?
(1) Create a css grid sized under a max-content constraint, with a fit-content(100%) column size.
(2) Place a grid item inside it, with a min-content contribution of 50px and a max-content contribution of 100px.
What is the expected result?
The grid is 100px wide.
What happens instead?
The grid is 50px wide.
According to https://github.com/w3c/csswg-drafts/issues/3585, fit-content() with an indefinite percentage should be treated as minmax(auto,max-content) instead of resolving the percentage against 0.
Firefox and Edge already did this, and Blink has been fixed in https://crbug.com/927865
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190211/ae3fb42c/attachment.html>
More information about the webkit-unassigned
mailing list