Move opacity_stacking_context_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 20:23:35 -04:00
parent bdedeb3aa5
commit 1f0b6daaa9
4 changed files with 25 additions and 1 deletions

View file

@ -215,7 +215,6 @@ flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
!= ol_japanese_iroha_bullet_styles.html ol_japanese_iroha_ref.html
== ol_simple_a.html ol_simple_ref.html
== only_child_pseudo_a.html only_child_pseudo_b.html
== opacity_stacking_context_a.html opacity_stacking_context_ref.html
== outline_offset_a.html outline_offset_ref.html
!= outset_blackborder.html blackborder_ref.html
# Should be == with expected failure. See #2797

View file

@ -1,48 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `opacity` causes a new stacking context to be formed. -->
<style>
section {
position: absolute;
width: 100px;
height: 100px;
}
#a {
background: red;
top: 0;
left: 0;
z-index: 1;
}
#b {
background: #00ff00;
top: 25px;
left: 25px;
z-index: 2;
}
#c {
background: blue;
top: 50px;
left: 50px;
z-index: 3;
}
#container {
opacity: 0.5;
width: 200px;
height: 200px;
}
</style>
</head>
<body>
<section id=a></section>
<section id=c></section>
<div id=container>
<section id=b></section>
</div>
</body>
</html>

View file

@ -1,48 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `opacity` causes a new stacking context to be formed. -->
<style>
section {
position: absolute;
width: 100px;
height: 100px;
}
#a {
background: red;
top: 0;
left: 0;
z-index: 2;
}
#b {
background: #00ff00;
top: 25px;
left: 25px;
z-index: 1;
opacity: 0.5;
}
#c {
background: blue;
top: 50px;
left: 50px;
z-index: 3;
}
#container {
width: 200px;
height: 200px;
}
</style>
</head>
<body>
<section id=a></section>
<section id=c></section>
<div id=container>
<section id=b></section>
</div>
</body>
</html>