Closed Bug 231649 Opened 21 years ago Closed 21 years ago

CSS layout property display:inline with scroll overflow ignores width and height

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 50626

People

(Reporter: dstrucko, Assigned: dbaron)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 CSS layout property display:inline ignores width and height of the enclosure, but display:block does not... Example: span { display:inline; position:relative; width:500px; height:180px; overflow:scroll; } Reproducible: Always Steps to Reproduce: Compare: span { display:inline; position:relative; width:500px; height:180px; overflow:scroll; } with: span { display:block; position:relative; width:500px; height:180px; overflow:scroll; } Actual Results: display:block produces the correct results, while placing the new item on a new line. display:inline ignores the width, height, and overflow features and simply writes the contents. Expected Results: display:inline should place contents within the appropriate width and height while including the overflow feature. Each new item should be inline with the former.
The 'overflow', 'width', and 'height' properties don't apply to inline elements.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Verified.
Status: RESOLVED → VERIFIED
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
*** This bug has been marked as a duplicate of 50626 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.