Address review comments.

This commit is contained in:
Josh Matthews 2014-12-12 12:58:42 -05:00
parent 9d82e06e64
commit 3cfe8ab53e
10 changed files with 92 additions and 121 deletions

View file

@ -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);