Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-generated-content / shadow-host-context-pseudo-class.html
blob6d8a2e6def0d30b079d35cd54c96a1448edcf31e
1 <!DOCTYPE html>
2 <body class=shadow>
3 <div id="host">HOST</div>
4 </body>
5 <script>
6 var host = document.getElementById('host');
7 var root = host.createShadowRoot();
8 root.innerHTML = '\
9 <style>\
10 :host-context(body.shadow)::before { content: "before shadow root:"; }\
11 :host-context(body.light)::before { content: "this should not appear:"; }\
12 </style>\
13 <span>SHADOW</span>';
14 </script>