Simplify and move ref test

This commit is contained in:
Stuart Nelson 2017-10-05 20:48:55 +02:00
parent 3b4deb4388
commit 1977352bff
6 changed files with 38 additions and 44 deletions

View file

@ -98313,6 +98313,18 @@
{} {}
] ]
], ],
"css/css-backgrounds-3/body-bgcolor-attribute-change.html": [
[
"/css/css-backgrounds-3/body-bgcolor-attribute-change.html",
[
[
"/css/css-backgrounds-3/body-bgcolor-attribute-change-ref.html",
"=="
]
],
{}
]
],
"css/css-backgrounds-3/border-bottom-left-radius-001.xht": [ "css/css-backgrounds-3/border-bottom-left-radius-001.xht": [
[ [
"/css/css-backgrounds-3/border-bottom-left-radius-001.xht", "/css/css-backgrounds-3/border-bottom-left-radius-001.xht",
@ -224647,6 +224659,11 @@
{} {}
] ]
], ],
"css/css-backgrounds-3/body-bgcolor-attribute-change-ref.html": [
[
{}
]
],
"css/css-backgrounds-3/border-radius-001-ref.xht": [ "css/css-backgrounds-3/border-radius-001-ref.xht": [
[ [
{} {}
@ -492855,6 +492872,14 @@
"fe327831e6eeea20a7d7da4b295d272e20ed0821", "fe327831e6eeea20a7d7da4b295d272e20ed0821",
"visual" "visual"
], ],
"css/css-backgrounds-3/body-bgcolor-attribute-change-ref.html": [
"cf3216e8cfecff2c7d22aae9470f9be79c69c1e9",
"support"
],
"css/css-backgrounds-3/body-bgcolor-attribute-change.html": [
"cdf516f9a9b61ca4b93e3ac9d6127d342d534c12",
"reftest"
],
"css/css-backgrounds-3/border-bottom-left-radius-001.xht": [ "css/css-backgrounds-3/border-bottom-left-radius-001.xht": [
"44d36841a6b0aa58daab9c66cb5cf3b62eeb26d7", "44d36841a6b0aa58daab9c66cb5cf3b62eeb26d7",
"reftest" "reftest"

View file

@ -755,18 +755,6 @@
{} {}
] ]
], ],
"css/body_bgcolor_attribute_change.html": [
[
"/_mozilla/css/body_bgcolor_attribute_change.html",
[
[
"/_mozilla/css/body_bgcolor_attribute_change_ref.html",
"=="
]
],
{}
]
],
"css/border-image-linear-gradient.html": [ "css/border-image-linear-gradient.html": [
[ [
"/_mozilla/css/border-image-linear-gradient.html", "/_mozilla/css/border-image-linear-gradient.html",
@ -8198,11 +8186,6 @@
{} {}
] ]
], ],
"css/body_bgcolor_attribute_change_ref.html": [
[
{}
]
],
"css/border-image-linear-gradient-ref.html": [ "css/border-image-linear-gradient-ref.html": [
[ [
{} {}
@ -23084,14 +23067,6 @@
"d0bf8fafec5ff2c0cfde8f0d47083ca23b745588", "d0bf8fafec5ff2c0cfde8f0d47083ca23b745588",
"support" "support"
], ],
"css/body_bgcolor_attribute_change.html": [
"87ac2d974938dccdec21b522af13ecd2ae9b1ab1",
"reftest"
],
"css/body_bgcolor_attribute_change_ref.html": [
"aa8be9d8b11635dc87f287530ef76ccf529a7ed9",
"support"
],
"css/border-image-linear-gradient-ref.html": [ "css/border-image-linear-gradient-ref.html": [
"3c1b61477c8a3cb7befc3ab81b80a128b142e3f1", "3c1b61477c8a3cb7befc3ab81b80a128b142e3f1",
"support" "support"

View file

@ -1,13 +0,0 @@
<!doctype html>
<html>
<head>
<link rel="match" href="body_bgcolor_attribute_change_ref.html">
</head>
<body bgcolor="yellow" onclick="this.setAttribute('bgcolor', 'green');">
Click me, I should become green.
</body>
<script>
document.body.offsetTop;
document.querySelector("body").setAttribute("bgcolor", "green");
</script>
</html>

View file

@ -1,6 +0,0 @@
<!doctype html>
<html>
<body bgcolor="green" onclick="this.setAttribute('bgcolor', 'green');">
Click me, I should become green.
</body>
</html>

View file

@ -0,0 +1,4 @@
<!doctype html>
<body bgcolor="green">
Click me, I should become green.
</body>

View file

@ -0,0 +1,9 @@
<!doctype html>
<link rel="match" href="body-bgcolor-attribute-change-ref.html" />
<body bgcolor="yellow">
Click me, I should become green.
</body>
<script>
document.body.offsetTop;
document.body.setAttribute("bgcolor", "green");
</script>