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)
Tracking
()
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.
| Assignee | ||
Comment 1•21 years ago
|
||
The 'overflow', 'width', and 'height' properties don't apply to inline elements.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Updated•21 years ago
|
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
Comment 3•21 years ago
|
||
*** This bug has been marked as a duplicate of 50626 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•