blob: 694b427028b77919319a717fd1116f42016de2a8 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
}
</script>
<style>
.a { width: 0px; }
.a { width: 100px; }
.a { width: 50%; }
.a { width: 1; }
.a { color: red; }
.a { color: rgb(0,0,0); }
.a { color: rgb(255,255,255); }
.a { color: rgba(0,0,0,255); }
.a { color: rgba(0,0,0,0); }
.a { color: inherit; }
.a { color: initial; }
</style>
<script>
values = new Array();
var rules = document.getElementsByTagName('style')[0].sheet.cssRules;
for(i = 0 ; i < rules.length; ++i) {
var val = rules[i].style.getPropertyCSSValue('color');
if (!val)
val = rules[i].style.getPropertyCSSValue('width');
values.push(val);
val.foo = 1;
}
</script>
Test that primitive value wrappers are not shared accross documents.<br>
<iframe height=300 src="http://localhost:8000/security/resources/cross-origin-css-primitive-iframe.html"></iframe>