зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1151306 - Add a reftest. r=roc
--HG-- extra : rebase_source : 34bdc440825d8d44446ab47f6a5601a4524af359
This commit is contained in:
Родитель
ab28a4f0c8
Коммит
d793667adb
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>The div should have a white filling.</title>
|
||||
|
||||
<style>
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
div {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div></div>
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>The div shouldn't pull the html element's background color through the body background. There should be no red on this page.</title>
|
||||
|
||||
<style>
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
html {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
body {
|
||||
transform: translateX(0.1px);
|
||||
background-color: white;
|
||||
box-sizing: border-box;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
div {
|
||||
position: relative;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid black;
|
||||
animation: leftFrom0To100 steps(1,end) 20000s alternate infinite;
|
||||
}
|
||||
|
||||
@keyframes leftFrom0To100 {
|
||||
from { left: 0px; }
|
||||
to { left: 100px; }
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div></div>
|
|
@ -1871,3 +1871,4 @@ skip-if(Mulet) == 1120431-2.html 1120431-2-ref.html # TC: Bug 1144079 - Re-enabl
|
|||
== 1128354-1.html 1128354-1-ref.html
|
||||
== 1130231-1-button-padding-rtl.html 1130231-1-button-padding-rtl-ref.html
|
||||
== 1130231-2-button-padding-rtl.html 1130231-2-button-padding-rtl-ref.html
|
||||
== 1151306-1.html 1151306-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче