mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 455105 - IsSolidBorderEdge in nsCSSRendering.cpp ignores foreground borders; r=vladimir, sr=roc (tests)
This commit is contained in:
parent
679447bf82
commit
c68fc626ab
28
layout/reftests/bugs/455105-1.html
Normal file
28
layout/reftests/bugs/455105-1.html
Normal file
@ -0,0 +1,28 @@
|
||||
<!doctype html>
|
||||
<html><head><title>455105-1</title>
|
||||
<style>
|
||||
div#below {
|
||||
position: absolute;
|
||||
top: 10px; left: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 10px solid red;
|
||||
background-color: red;
|
||||
}
|
||||
div#above {
|
||||
position: absolute;
|
||||
top: 10px; left: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-width: 10px;
|
||||
border-style: solid;
|
||||
border-color: -moz-initial;
|
||||
color: rgba(0,0,0,0);
|
||||
background-image: url("data:image/gif;base64,\
|
||||
R0lGODlhAQABAPAAAACAAAAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==");
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<div id="below"></div>
|
||||
<div id="above"></div>
|
||||
</body></html>
|
31
layout/reftests/bugs/455105-2.html
Normal file
31
layout/reftests/bugs/455105-2.html
Normal file
@ -0,0 +1,31 @@
|
||||
<!doctype html>
|
||||
<html><head><title>455105-2</title>
|
||||
<style>
|
||||
div#below {
|
||||
position: absolute;
|
||||
top: 10px; left: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 10px solid red;
|
||||
background-color: red;
|
||||
}
|
||||
div#above {
|
||||
position: absolute;
|
||||
top: 10px; left: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-width: 10px;
|
||||
border-style: solid;
|
||||
border-color: green;
|
||||
/* one pixel green */
|
||||
background-image: url("data:image/gif;base64,\
|
||||
R0lGODlhAQABAPAAAACAAAAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==");
|
||||
/* three by three pixel transparent - drawn *instead of* regular border */
|
||||
-moz-border-image: url("data:image/gif;base64,\
|
||||
R0lGODlhAwADAPAAAAAAAAAAACH5BAEAAAAALAAAAAADAAMAAAIDhH8FADs=") 1 1;
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<div id="below"></div>
|
||||
<div id="above"></div>
|
||||
</body></html>
|
17
layout/reftests/bugs/455105-ref.html
Normal file
17
layout/reftests/bugs/455105-ref.html
Normal file
@ -0,0 +1,17 @@
|
||||
<!doctype html>
|
||||
<html><head><title>455105 ref</title>
|
||||
<style>
|
||||
div {
|
||||
position: absolute;
|
||||
top: 10px; left: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-width: 10px;
|
||||
border-style: solid;
|
||||
border-color: green;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<div></div>
|
||||
</body></html>
|
Loading…
Reference in New Issue
Block a user