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)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 50626

People

(Reporter: luolong, Assigned: dbaron)

Details

Attachments

(1 file)

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.
Attached file applying the testcase
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
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
*** This bug has been marked as a duplicate of 50626 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: