Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / inspector-support / matchedrules.html
blob31a5ff4661c6ac70084d3fea43c8d0caa91e7928
1 <html>
2 <style>
3 div {
4 color: red;
7 div::selection {
8 background-color: lime;
10 </style>
12 <div id="foo">Hello world</div>
14 <script>
15 document.write('<p>The number of matched rules is: ' +
16 document.defaultView.getMatchedCSSRules(document.getElementById('foo'), '').length);
17 </script>