Closed
Bug 126585
Opened 23 years ago
Closed 20 years ago
Mozilla ignores fixed stylesheet width rule of inline elements
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: luolong, Assigned: dbaron)
Details
Attachments
(1 file)
|
1009 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.8+) Gecko/20020219
BuildID: 2002021903
In the testcase I am about to add the span elements should both be 400px wide as
specified by styles (both inline and class-inherited) - instead Mozilla ignores
width of the elements as if they were not specified.
Reproducible: Always
Steps to Reproduce:
1. check the test case
Actual Results: If You can - open the testcase in IE (5+), to see what I mean.
The span element in the testcase should be (at least) 400px wide.
Comment 2•23 years ago
|
||
Sorry, but this is invalid...
http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-width says
"width does not apply to non-replaced inline-level elements."
Your testcase also tries to apply text-align to the span, but text-align applies
to block-level elements only.
See http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-align
"Applies to: block-level elements"
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 50626 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago → 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•