OLD | NEW |
| (Empty) |
1 <script> | |
2 if (window.testRunner) { | |
3 testRunner.dumpAsText(); | |
4 testRunner.dumpChildFramesAsText(); | |
5 testRunner.waitUntilDone(); | |
6 } | |
7 </script> | |
8 <style> | |
9 .a { width: 0px; } | |
10 .a { width: 100px; } | |
11 .a { width: 50%; } | |
12 .a { width: 1; } | |
13 .a { color: red; } | |
14 .a { color: rgb(0,0,0); } | |
15 .a { color: rgb(255,255,255); } | |
16 .a { color: rgba(0,0,0,255); } | |
17 .a { color: rgba(0,0,0,0); } | |
18 .a { color: inherit; } | |
19 .a { color: initial; } | |
20 </style> | |
21 <script> | |
22 values = new Array(); | |
23 var rules = document.getElementsByTagName('style')[0].sheet.cssRules; | |
24 for(i = 0 ; i < rules.length; ++i) { | |
25 var val = rules[i].style.getPropertyCSSValue('color'); | |
26 if (!val) | |
27 val = rules[i].style.getPropertyCSSValue('width'); | |
28 values.push(val); | |
29 val.foo = 1; | |
30 } | |
31 </script> | |
32 Test that primitive value wrappers are not shared accross documents.<br> | |
33 <iframe height=300 src="http://localhost:8000/security/resources/cross-origin-cs
s-primitive-iframe.html"></iframe> | |
34 | |
OLD | NEW |