mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
auto merge of #2062 : j3parker/servo/issue346-reftest, r=jdm
ref-test for #346
This commit is contained in:
commit
c02328bea1
3 changed files with 19 additions and 0 deletions
|
@ -65,3 +65,4 @@
|
|||
== background_repeat_y_a.html background_repeat_y_b.html
|
||||
== background_repeat_none_a.html background_repeat_none_b.html
|
||||
== background_repeat_both_a.html background_repeat_both_b.html
|
||||
== setattribute_id_restyle_a.html setattribute_id_restyle_b.html
|
||||
|
|
12
src/test/ref/setattribute_id_restyle_a.html
Normal file
12
src/test/ref/setattribute_id_restyle_a.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<style>
|
||||
#foo { background-color: #FF0000; }
|
||||
</style>
|
||||
|
||||
<div>hello</div>
|
||||
<div id="">world</div>
|
||||
|
||||
<script>
|
||||
var divs = document.getElementsByTagName('div');
|
||||
divs[0].setAttribute('id', 'foo');
|
||||
divs[1].setAttribute('id', 'foo');
|
||||
</script>
|
6
src/test/ref/setattribute_id_restyle_b.html
Normal file
6
src/test/ref/setattribute_id_restyle_b.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<style>
|
||||
#foo { background-color: #FF0000; }
|
||||
</style>
|
||||
|
||||
<div id="foo">hello</div>
|
||||
<div id="foo">world</div>
|
Loading…
Add table
Add a link
Reference in a new issue