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)

x86
Windows NT
defect

Tracking

()

RESOLVED DUPLICATE of bug 50626

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.
Adding type="text/css" to the style tag, to make the HTML valid, except for DOCTYPE, makes no difference.
Confirmed on Linux trunk build 2000102608
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
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
reassigning QA to petersen since I resolved this bug
QA Contact: ian → petersen
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
*** This bug has been marked as a duplicate of 50626 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.