mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move append_style_a.html to wpt reftests.
This commit is contained in:
parent
82183aebd7
commit
29feccd02e
4 changed files with 25 additions and 3 deletions
|
@ -211,6 +211,18 @@
|
|||
"url": "/_mozilla/css/anon_block_inherit_a.html"
|
||||
}
|
||||
],
|
||||
"css/append_style_a.html": [
|
||||
{
|
||||
"path": "css/append_style_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/append_style_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/append_style_a.html"
|
||||
}
|
||||
],
|
||||
"css/attr_exists_selector.html": [
|
||||
{
|
||||
"path": "css/attr_exists_selector.html",
|
||||
|
@ -6054,6 +6066,18 @@
|
|||
"url": "/_mozilla/css/anon_block_inherit_a.html"
|
||||
}
|
||||
],
|
||||
"css/append_style_a.html": [
|
||||
{
|
||||
"path": "css/append_style_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/append_style_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/append_style_a.html"
|
||||
}
|
||||
],
|
||||
"css/attr_exists_selector.html": [
|
||||
{
|
||||
"path": "css/attr_exists_selector.html",
|
||||
|
|
2
tests/wpt/mozilla/tests/css/append_style_a.html
Normal file
2
tests/wpt/mozilla/tests/css/append_style_a.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<link rel=match href=append_style_b.html>
|
||||
<div style="background-color: blue">this is the story of a girl</div>
|
6
tests/wpt/mozilla/tests/css/append_style_b.html
Normal file
6
tests/wpt/mozilla/tests/css/append_style_b.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div id="hello">this is the story of a girl</div>
|
||||
<script>
|
||||
var style = document.createElement('style');
|
||||
style.textContent = "#hello { background-color: blue; }"
|
||||
document.head.appendChild(style);
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue