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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-not-last.html

Issue 1749713002: Allow simple selectors after ::content for compat. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-not-last-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <div id="host">
4 <span id="distributed">This text should be green</span>
5 </div>
6 <script>
7 description("Accept simple selectors after ::content For Polymer 0.5 compat" );
8
9 var root = host.createShadowRoot();
10 root.innerHTML = '<style>[select]::content.x span { color: green }</style><c ontent class="x" select="span"></content>';
11
12 shouldBeEqualToString("getComputedStyle(distributed).color", "rgb(0, 128, 0) ");
13 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-not-last-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698