1<html>
2<head>
3<style>
4@host {
5 div { border: 1px solid blue; }
6}
7</style>
8<script src="../../http/tests/inspector/inspector-test.js"></script>
9<script src="../../http/tests/inspector/elements-test.js"></script>
10<script>
11
12function test()
13{
14 InspectorTest.selectNodeAndWaitForStylesWithComputed("foo", step1);
15
16 function step1()
17 {
18 InspectorTest.dumpSelectedElementStyles(false, false);
19 InspectorTest.completeTest();
20 }
21}
22
23</script>
24</head>
25
26<body onload="runTest()">
27<p>
28[bug 102116] - <a href="https://bugs.webkit.org/show_bug.cgi?id=102116">https://bugs.webkit.org/show_bug.cgi?id=102116</a> -
29ASSERT_NOT_REACHED() when building a CSSOM wrapper for StyleRuleHost.
30If this test passes, no crash occurs.
31</p>
32
33<div id="container">
34 <div id="foo">Foo</div>
35</div>
36
37</body>
38</html>