Closed
Bug 10052
Opened 25 years ago
Closed 20 years ago
{css1} widths not applied with display:inline
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: supersamat, Assigned: peterl-retired)
References
()
Details
(Keywords: css1)
Attachments
(1 file)
1003 bytes,
text/html
|
Details |
The mentioned URL testcases this bug. When using display:block, the "buttons" display as blocks stacked vertically. When using display:inline, the buttons SHOULD display as blocks going horizontally. Instead, they display without their set style sheet widths in a haphazard looking fashion that cannot be anything else but wrong. Mangled by Nav4.x, displayed properly in MSIE5 (properly for IE anyway). This is my first bug, I have more or less no idea what I am doing.
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
Doh, this was found via in a pre-M7 nightly build, and I verified it still existing in the milestone 8 release.
Reporter | ||
Updated•25 years ago
|
Severity: major → normal
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Component: Style System → Layout
Resolution: --- → INVALID
Assignee | ||
Comment 3•25 years ago
|
||
According to the CSS2 spec section 10.3.1: "Inline, non-replaced elements The 'width' property does not apply. A specified value of 'auto' for 'left', 'right', 'margin-left' or 'margin-right' becomes a computed value of '0'." IE is wrong to respect the width for an inline element. The effect you really want can be achieved via the CSS3 display type 'inline-block' in which you create a block box that is placed inline. This will be implemented soon.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
Verified Invalid
Comment 5•25 years ago
|
||
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz} radars should now be considered deprecated in favour of keywords. I am *really* sorry about the spam...
Updated•20 years ago
|
Status: VERIFIED → REOPENED
Resolution: INVALID → ---
Comment 6•20 years ago
|
||
*** This bug has been marked as a duplicate of 50626 ***
Status: REOPENED → RESOLVED
Closed: 25 years ago → 20 years ago
Resolution: --- → DUPLICATE
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•