[Webkit-unassigned] [Bug 128173] New: [CSS Grid Layout] Percentages of indefinite sizes should compute to auto
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 4 04:36:12 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=128173
Summary: [CSS Grid Layout] Percentages of indefinite sizes
should compute to auto
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: svillar at igalia.com
Depends on: 127033
According to the spec, http://dev.w3.org/csswg/css-grid/#valuedef-percentage, that's what we have to do.
This will fix examples like the following one
.grid {
width: -webkit-min-content;
height: auto;
-webkit-grid-definition-columns:50%;
-webkit-grid-definition-rows:20%;
}
<div class="grid"></div>
If we ask for getComputedStyle() for the <div> element, we'll get a negative value, because the renderer will try to compute a percentage of an undefined size (which is internally represented as -1).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list