Closed
Bug 1256579
Opened 8 years ago
Closed 8 years ago
vh should be interpolatible with percentage for properties take <length-percentage>
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
INVALID
People
(Reporter: xidorn, Unassigned)
References
(Blocks 2 open bugs, )
Details
See the URL for testcase.
Updated•8 years ago
|
Keywords: dev-doc-needed
I think our implementation is fine here; this is just a bug in the test, which needs a rule: html, body { height: 100% }
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
I noted the issue at http://test.csswg.org/shepherd/testcase/vh-interpolate-pct/ , and I'll email François.
Updated•8 years ago
|
Keywords: dev-doc-needed
Comment 3•8 years ago
|
||
Hi, I was able to confirm the issue, and I think you are right here about the fact the body element does not need to fill the viewport in this case (though I am not sure whether a spec requires it or not). I'm happy to report I fixed that in the test, because this issue is not relevant to the test anyway. https://github.com/w3c/csswg-test/commit/c75f2b14733b277919542e464431731f32ba786d Microsoft Edge is now tracking the issue as #104867: <body> element sized to viewport, rather than zero height. I am not sure when we will be able to provide a fix for the issue, though. Since we match Chrome, it is likely this issue will never get fixed, so I would encourage you to log the issue on your end, too. If you could possibly look for a specification invalidating Edge and Chrome behavior, that could help fixing this issue. Otherwise, maybe you might want to match. I'll leave that up to you.
Reporter | ||
Comment 4•8 years ago
|
||
It doesn't seem to me you match Chrome. I just tested Chrome, and it seems to me it shows a whole page of red for the original test as well.
Comment 5•8 years ago
|
||
Interesting. The bug did include a test case where we matched Chrome on this. I should try to dig this deeper, thanks for mentioning it.
Comment 6•8 years ago
|
||
Ok, final comments here is that we match Chrome in Quirks mode, and Firefox matches Chrome in standards mode. - Edge: Body always fills up the viewport - Firefox: Body never fills up the viewport - Chrome: Body fills up the viewport only in quirks mode
You need to log in
before you can comment on or make changes to this bug.
Description
•