Move link_style_dynamic_addition.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-11-28 18:00:33 +01:00
parent 27e3ca61ec
commit facee849c2
4 changed files with 27 additions and 3 deletions

View file

@ -2731,6 +2731,18 @@
"url": "/_mozilla/css/linebreak_simple_a.html"
}
],
"css/link_style_dynamic_addition.html": [
{
"path": "css/link_style_dynamic_addition.html",
"references": [
[
"/_mozilla/css/link_style_dynamic_addition_ref.html",
"=="
]
],
"url": "/_mozilla/css/link_style_dynamic_addition.html"
}
],
"css/link_style_order.html": [
{
"path": "css/link_style_order.html",
@ -8430,6 +8442,18 @@
"url": "/_mozilla/css/linebreak_simple_a.html"
}
],
"css/link_style_dynamic_addition.html": [
{
"path": "css/link_style_dynamic_addition.html",
"references": [
[
"/_mozilla/css/link_style_dynamic_addition_ref.html",
"=="
]
],
"url": "/_mozilla/css/link_style_dynamic_addition.html"
}
],
"css/link_style_order.html": [
{
"path": "css/link_style_order.html",

View file

@ -0,0 +1,13 @@
<html>
<head>
<link rel=match href=link_style_dynamic_addition_ref.html>
</head>
<body>
<script>
var link = document.createElement("link");
document.head.appendChild(link);
link.setAttribute("rel", "stylesheet");
link.setAttribute("href", "data:text/css,body{background:green}");
</script>
</body>
</html>

View file

@ -0,0 +1,7 @@
<html>
<head>
<link rel="stylesheet" href="data:text/css,body{background:green}">
</head>
<body>
</body>
</html>