forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1227216. Part 2: Fallback to blur destination rect if a large sha…
…dow offset occurs. r=mstange
- Loading branch information
Mason Chang
committed
Dec 4, 2015
1 parent
380d965
commit 4300e45
Showing
5 changed files
with
135 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
layout/reftests/box-shadow/boxshadow-large-offset-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<style> | ||
.top { | ||
background-color: red; | ||
width: 800px; | ||
height: 400px; | ||
} | ||
|
||
.bottom { | ||
background-color: #fec; | ||
width: 800px; | ||
height: 400px; | ||
} | ||
|
||
.leftCut { | ||
position: absolute; | ||
margin-left: 0px; | ||
margin-top: 0px; | ||
width: 10px; | ||
height: 800px; | ||
background-color: black; | ||
} | ||
|
||
.rightCut { | ||
position: absolute; | ||
margin-left: 790px; | ||
margin-top: 0px; | ||
width: 10px; | ||
height: 800px; | ||
background-color: black; | ||
} | ||
|
||
.centerCut { | ||
position: absolute; | ||
margin-top: 395px; | ||
width: 800px; | ||
height: 20px; | ||
background-color: black; | ||
} | ||
</style> | ||
|
||
<body> | ||
<div class="leftCut"></div> | ||
<div class="rightCut"></div> | ||
<div class="centerCut"></div> | ||
<div class="top"></div> | ||
<div class="bottom"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<style> | ||
.test { | ||
background-color: #fec; | ||
display: inline-block; | ||
width: 800px; | ||
height: 800px; | ||
} | ||
|
||
.second { | ||
box-shadow: inset 0 400px 1px 0px red; | ||
} | ||
|
||
.leftCut { | ||
position: absolute; | ||
margin-left: 0px; | ||
margin-top: 0px; | ||
width: 10px; | ||
height: 800px; | ||
background-color: black; | ||
} | ||
|
||
.rightCut { | ||
position: absolute; | ||
margin-left: 790px; | ||
margin-top: 0px; | ||
width: 10px; | ||
height: 800px; | ||
background-color: black; | ||
} | ||
|
||
.centerCut { | ||
position: absolute; | ||
margin-top: 395px; | ||
width: 800px; | ||
height: 20px; | ||
background-color: black; | ||
} | ||
|
||
</style> | ||
|
||
<body> | ||
<div class="leftCut"></div> | ||
<div class="rightCut"></div> | ||
<div class="centerCut"></div> | ||
<div class="test second"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters