mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Address review comments.
This commit is contained in:
parent
9d82e06e64
commit
3cfe8ab53e
10 changed files with 92 additions and 121 deletions
|
@ -1,9 +1,9 @@
|
|||
<div id="test" style="display: block; background-color: black; background-position: top left; font-style: italic">test text!</div>
|
||||
<script>
|
||||
var id = document.getElementById('test');
|
||||
/*alert(id.style.display);
|
||||
alert(id.style.display);
|
||||
id.style.display = 'none';
|
||||
alert(id.style.display);*/
|
||||
alert(id.style.display);
|
||||
alert(id.style.fontStyle + ' ' + id.style['font-style']);
|
||||
id.style.background = "black";
|
||||
alert(document.getElementById('test').style.background);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue