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

Side by Side Diff: LayoutTests/fast/dom/shadow/custom-pseudo-scope.html

Issue 843773002: Only match style from element's TreeScope for normal rules. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed custom pseudo and ::cue regressions Created 5 years, 11 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 | LayoutTests/fast/dom/shadow/custom-pseudo-scope-expected.html » ('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 <style>
3 ::-webkit-meter-bar { background: green }
4 </style>
5 <p>You should see a green, a default styled, and a blue meter below.</p>
6 <div><meter></meter></div>
7 <div id="host1"></div>
8 <div id="host2"></div>
9 <script>
10 host1.createShadowRoot().innerHTML = "<meter></meter>";
11 host2.createShadowRoot().innerHTML = "<style>::-webkit-meter-bar { background: b lue }</style><meter></meter>";
12 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/custom-pseudo-scope-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698