Closed Bug 285589 Opened 19 years ago Closed 19 years ago

margin-left value incorrectly rendered in <ul> and <ol> elements

Categories

(Core :: CSS Parsing and Computation, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 27851

People

(Reporter: rttlebox, Assigned: dbaron)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1

Firefox1 and Netscape7 both seem to render tags of the form:
<ul style="margin-left:3ex;"><li>Item</li></ul> 
the same as tags of the form: 
<ul><li style="margin-left:3ex;">Item</li></ul>

I'm not sure if this is technically correct, but it is both different from what
IE6 and Opera7 do, and less flexible than what they do.


Reproducible: Always

Steps to Reproduce:
1.Look at the page above in IE or Opera, and compare the rendering differences
with Firefox's rendering.
2.
3.

Actual Results:  
<ul> left-margin adjustments offset from the default indentation of the list.

Expected Results:  
<ul> left-margin adjustments should overide the default indentation of the list.
Assignee: firefox → dbaron
Component: General → Style System (CSS)
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.7 Branch

*** This bug has been marked as a duplicate of 27851 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.