Closed
Bug 58200
Opened 25 years ago
Closed 21 years ago
width style ignored on inline elements in M17
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
People
(Reporter: djw, Assigned: pierre)
Details
The following sample displays with a gap around "Fred" in IE 5.01, which is what
I'd expect, but M17 ignores the style. It appears that the CSS attribute width
is not honoured for inline elements.
<title>Test</title>
<p>
<span style="width:20em">Fred</span> was here.</p>
The following fragment validates OK against the W3C
stylesheet validator:
span {width:20em}
and this form works for IE but not M17, as well:
<title>Test</title>
<style>
span {width:20em}
</style>
<p>
<span>Fred</span> was here.</p>
(NS 4.75, gets confused and seems to treat Fred as being in block mode. The last
but one Amaya ignores the style.)
I was trying to demonstrate how to get a layout like a table, but using true
list constructs for a list of the form:
* label description
* label description
* label description
Where some labels are of non-standard lengths.
| Reporter | ||
Comment 1•25 years ago
|
||
Adding type="text/css" to the style tag, to make the HTML valid, except for
DOCTYPE, makes no difference.
Comment 2•25 years ago
|
||
Confirmed on Linux trunk build 2000102608
Comment 3•25 years ago
|
||
INVALID; 'width' doesn't apply to inline elements in CSS. See the spec. This is
a bug in Internet Explorer.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Comment 4•25 years ago
|
||
Netscape's standard compliance QA team reorganised itself once again, so taking
remaining non-tables style bugs. Sorry about the spam. I tried to get this done
directly at the database level, but apparently that is "not easy because of the
shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
Comment 5•25 years ago
|
||
reassigning QA to petersen since I resolved this bug
QA Contact: ian → petersen
Updated•21 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 6•21 years ago
|
||
*** This bug has been marked as a duplicate of 50626 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago → 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•