4 <link rel="stylesheet" href="resources/get-set-stylesheet-text.css">
6 <script src="../../http/tests/inspector/inspector-test.js"></script>
7 <script src="../../http/tests/inspector/elements-test.js"></script>
12 WebInspector.showPanel("elements");
13 testNewElementStyles();
15 function testNewElementStyles()
17 function callback(error, matchedCSSRules)
20 InspectorTest.addResult("error: " + error);
24 InspectorTest.addResult("=== Rules for <marquee> ===");
25 InspectorTest.dumpSelectedElementStyles(true, true);
26 InspectorTest.completeTest();
29 function nodeCallback(node)
31 CSSAgent.getInlineStylesForNode(node.id, callback);
34 InspectorTest.selectNodeWithId("inspected", nodeCallback);
40 <body onload="runTest()">
41 <p>Tests that querying -internal-* presentation attribute from the inspector works as expected.</p>
42 <marquee scrollamount="1" scrolldelay="50" direction="up" id="inspected">Inspect Me</marquee>