Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Side by Side Diff: LayoutTests/fast/dom/shadow/distributed-pseudo-element-no-match.html

Issue 212123002: Unship '::-webkit-distributed(...)' functional pseudo element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="resources/shadow-dom.js"></script>
5 </head>
6 <body>
7 <div id="sandbox"></div>
8 <script>
9 var shadowStyle = document.createElement('style');
10 shadowStyle.innerHTML = 'this-does-not-match::-webkit-distributed(div) { color: green; }'
11 + 'p::-webkit-distributed(div) { color: green; }'
12 + 'div::-webkit-distributed(div) { color: green; }';
13
14 var sandbox = document.getElementById('sandbox');
15 sandbox.appendChild(
16 createDOM('div', {'id': 'host'},
17 createShadowRoot(
18 shadowStyle,
19 createDOM('p', {},
20 document.createTextNode('normal')),
21 createDOM('div', {},
22 createDOM('content'))),
23 createDOM('div', {'id': 'host-child'},
24 document.createTextNode('normal'))));
25 </script>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698