mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
12
tests/ref/setattribute_id_restyle_a.html
Normal file
12
tests/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>
|
Loading…
Add table
Add a link
Reference in a new issue