Closed
Bug 449013
Opened 16 years ago
Closed 16 years ago
When a box-shadow overflows the body element, a scrollbar should not appear
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 446693
People
(Reporter: jhsoby, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a1) Gecko/2008072310 Shiretoko/3.1a1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; nb; rv:1.9.1a1) Gecko/2008072306 Shiretoko/3.1a1
In Shiretoko, when you have a box with a shadow (-moz-box-shadow) that is positioned to the right edge of the screen, and the shadow falls outside the boundaries of the screen, a horizontal scroll bar appears. Try the following code in your favourite browser to see yourself:
<div style="position:absolute;top:20%;right:0;width:100px;-moz-border-shadow:#888 5px 5px 5px -2px;">Lorem ipsum</div>
Solution: border-shadow should not trigger the overflowing mechanism.
Reproducible: Always
Steps to Reproduce:
1. Add the code from the details to an empty .html and see for yourself.
Actual Results:
A horizontal scrollbar appears; I guess (assumption) that a vertical scrollbar would appear if the box is position to the very bottom of the screen.
Expected Results:
Not show a scrollbar.
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•