1 description('This layouttest was initially there to test that' +
2 ' shorthand property value is correct even if' +
3 ' background-repeat property is declared before it in the ' +
4 ' style declaration. It used to test regression described in ' +
5 ' <a href="https://bugs.webkit.org/show_bug.cgi?id=28973">this bug</a>.' +
6 ' Now that access to non author stylesheet is blocked, we should instead' +
7 ' get null when accessing the css rules on that object.');
9 function iconMarginValue()
11 var iconDiv = document.getElementById('icon');
12 var rules = window.getMatchedCSSRules(iconDiv,'',false);
13 return rules[1] ? rules[1].style.getPropertyValue('margin') : 'null';
16 shouldBe('iconMarginValue()', '"null"');