Closed
Bug 586255
Opened 14 years ago
Closed 14 years ago
box-shadow on a 100% wide element is not clipped inside the window
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 446693
People
(Reporter: daniekatz, Unassigned)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4
Build Identifier: Mozilla/5.0 (Windows; Windows NT 6.1; WOW64; rv:2.0b2) Gecko/20100720 Firefox/4.0b2
box-shadow on a 100% wide element is not clipped inside the window and cousing a horizontal scrollbar to appear.
Reproducible: Always
Steps to Reproduce:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
body
{
margin: 0px;
}
#div_with_shadow
{
-moz-box-shadow: 0px 0px 5px black;
}
</style>
</head>
<body>
<div id="div_with_shadow">
The horizontal scroll bar should not appear, <br />
the shadow must be clipped on both sides as on WebKit.
</div>
</body>
</html>
Actual Results:
the shadow is not clipped by the window
Expected Results:
it should be clipped as on WebKit
Reporter | ||
Comment 1•14 years ago
|
||
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•