Closed
Bug 882975
Opened 11 years ago
Closed 11 years ago
Fix duplicate "max-height" declaration in flexbox-sizing-vert-1.xhtml
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: dholbert, Assigned: dholbert)
Details
Attachments
(1 file)
3.56 KB,
patch
|
Details | Diff | Splinter Review |
biesi pointed out that flexbox-sizing-vert-1.xhtml has two max-heights specified: 37 div.c { 38 flex: 1 40px; 39 max-height: 10px; 40 max-height: 60px; 41 background: orange; 42 } http://mxr.mozilla.org/mozilla-central/source/layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-vert-1.xhtml#37 Filing this bug to clean that up. (Either converting the smaller one to min-height, or just dropping one. I forget what I originally intended. Need to take a closer look.)
Assignee | ||
Comment 1•11 years ago
|
||
This affects flexbox-sizing-horiz-1.xhtml , too (with s/height/width/): 35 div.c { 36 flex: 1 40px; 37 max-width: 10px; 38 max-width: 60px; 39 background: orange; 40 } http://mxr.mozilla.org/mozilla-central/source/layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-horiz-1.xhtml#37
Assignee | ||
Comment 2•11 years ago
|
||
Here's a patch to fix this (with s/max/min/ on the lower value) & tweak the reference cases accordingly. Reftest still passes locally. Try run to be sure it passes elsewhere, too: https://tbpl.mozilla.org/?tree=Try&rev=1cf939ac7d47
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/52c16e7e867c
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/52c16e7e867c
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Assignee | ||
Comment 5•11 years ago
|
||
dbaron, would you mind re-syncing the w3c-css reftest directory, to get this fixed in the w3c copy of these tests?
Flags: needinfo?(dbaron)
http://hg.csswg.org/test/rev/c88a96071aac
Flags: needinfo?(dbaron)
You need to log in
before you can comment on or make changes to this bug.
Description
•