Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / elements / reveal-whitespace-text-node.html
blob583328f87ba8baaa9ce7e7e9e427287a554c9b05
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 <script>
7 function whitespaceChild()
9 return document.getElementById("test").firstChild;
12 function test()
14 InspectorTest.evaluateInPage("whitespaceChild()", childCallback);
16 function childCallback(childObject)
18 InspectorTest.firstElementsTreeOutline().addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, selectedNodeChanged);
19 WebInspector.Revealer.reveal(childObject);
22 function selectedNodeChanged(event) {
23 var node = event.data;
24 InspectorTest.addResult("SelectedNodeChanged: " + node.localName());
25 InspectorTest.completeTest();
28 </script>
29 </head>
31 <body onload="runTest()">
33 <p id="description">This test verifies that revealing a whitespace text node RemoteObject reveals its parentElement DIV.</p>
35 <div id="test">
36 </div>
38 </body>
39 </html>