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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/custom-elements.html

Issue 2843883002: Remove, or rewrite if necessary, tests which use /deep/ or ::shadow (Closed)
Patch Set: rev Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/svg/dom/custom-elements.html
diff --git a/third_party/WebKit/LayoutTests/svg/dom/custom-elements.html b/third_party/WebKit/LayoutTests/svg/dom/custom-elements.html
index f1eae7fbf69825bc8e1c551d3b7a1724d5bbb4ba..c3040eada8c5365b5419d2b94487cd474950cd87 100644
--- a/third_party/WebKit/LayoutTests/svg/dom/custom-elements.html
+++ b/third_party/WebKit/LayoutTests/svg/dom/custom-elements.html
@@ -17,7 +17,7 @@ document.registerElement("x-green", { extends: "g", prototype: {
createdCallback: function() {
var shadow = this.createShadowRoot();
var style = document.createElement('style');
- style.appendChild(document.createTextNode(':host::shadow * { fill: green; }'));
+ style.appendChild(document.createTextNode('* { fill: green; }'));
shadow.appendChild(style);
var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');
rect.setAttribute('width', '20');

Powered by Google App Engine
This is Rietveld 408576698