4 <title>Insert an @viewport rule after an existing one (CSSOM)
</title>
11 if (window
.testRunner
) {
12 testRunner
.dumpAsText();
13 document
.styleSheets
[0].insertRule("@viewport {width: 1000px}", 1);
14 document
.body
.offsetWidth
; // Trigger style resolving
15 alert(internals
.viewportAsText(document
, 1, 320, 352));
20 <body onload=
"test()"></body>