Closed
Bug 420351
Opened 17 years ago
Closed 17 years ago
List item marker takes up room now with list-style-type: none in strict mode
Categories
(Core :: Layout, defect, P1)
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Assigned: roc)
References
()
Details
(Keywords: regression, testcase)
Attachments
(4 files)
444 bytes,
text/html
|
Details | |
334 bytes,
text/html
|
Details | |
9.55 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
1.42 KB,
patch
|
Details | Diff | Splinter Review |
Maybe this is intentional, but this is a change in rendering, causing a small layout problem at the mentioned site.
The problem doesn't show in quirks mode.
This regressed between 2008-02-13 and 2008-02-14:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2008-02-13+04&maxdate=2008-02-14+09&cvsroot=%2Fcvsroot
I guess a regression from bug 400813.
Here is the relevant spec text, afaict:
http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-type
http://www.w3.org/TR/css3-lists/#list-content
Reporter | ||
Comment 1•17 years ago
|
||
Assignee | ||
Comment 2•17 years ago
|
||
This is probably a real layout regression we should fix for 1.9. Probably just need to check for empty bullets in nsLineLayout::ReflowFrame's test for empty content.
Flags: blocking1.9?
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → roc
Assignee | ||
Updated•17 years ago
|
Flags: blocking1.9? → blocking1.9+
Priority: -- → P1
Assignee | ||
Comment 3•17 years ago
|
||
Simple enough. I got tired of hasNoncollapsedContent and changed it to isEmpty (reversing the sense). I also took out the default assignment so compiler warnings are more useful.
Attachment #308359 -
Flags: superreview?(dbaron)
Attachment #308359 -
Flags: review?(dbaron)
Assignee | ||
Updated•17 years ago
|
Whiteboard: [needs review]
Comment on attachment 308359 [details] [diff] [review]
fix
r+sr=dbaron
Attachment #308359 -
Flags: superreview?(dbaron)
Attachment #308359 -
Flags: superreview+
Attachment #308359 -
Flags: review?(dbaron)
Attachment #308359 -
Flags: review+
Assignee | ||
Comment 5•17 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [needs review]
Assignee | ||
Updated•17 years ago
|
Flags: in-testsuite+
Assignee | ||
Comment 6•17 years ago
|
||
Backed out because of Linux reftest failures
REFTEST UNEXPECTED FAIL: file:///builds/slave/trunk_centos5/mozilla/layout/reftests/bugs/347348-1.xhtml
REFTEST UNEXPECTED FAIL: file:///builds/slave/trunk_centos5/mozilla/layout/reftests/bugs/347496-1.xhtml
REFTEST UNEXPECTED FAIL: file:///builds/slave/trunk_centos5/mozilla/layout/reftests/bugs/355548-3.xml
Assignee | ||
Updated•17 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 7•17 years ago
|
||
These failures were because isEmpty is used uninitialized when frameType is null. That happens for MathML frames. Yay cross-platform testing!
Boo to gcc for not giving uninitialized variable warnings with -O0 :-(
Assignee | ||
Comment 8•17 years ago
|
||
Here's the additional fix. I'll reland with this.
Assignee | ||
Updated•17 years ago
|
Whiteboard: [needs landing]
Assignee | ||
Comment 9•17 years ago
|
||
Relanded
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing]
You need to log in
before you can comment on or make changes to this bug.
Description
•