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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/inherit-into-slotted.html

Issue 2039813008: Remove unnecessary calling offset{Top,Left} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean-tests
Patch Set: Created 4 years, 6 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/shadow-dom/inherit-into-slotted.html
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/inherit-into-slotted.html b/third_party/WebKit/LayoutTests/shadow-dom/inherit-into-slotted.html
index 84f519b83d1cf1c58e49ccc7b56ed688299cf6d9..ec3fc1c4ee57e242d9cd8e8ef54916561af0b4a3 100644
--- a/third_party/WebKit/LayoutTests/shadow-dom/inherit-into-slotted.html
+++ b/third_party/WebKit/LayoutTests/shadow-dom/inherit-into-slotted.html
@@ -10,7 +10,6 @@
root.innerHTML = '<style>.p1 { color: green }</style><div id="p1"><slot name="s1"></slot></div>';
var p1 = root.querySelector("#p1");
var s1 = host.querySelector("[slot]");
- host.offsetTop;
shouldBeEqualToString("getComputedStyle(s1).color", "rgb(0, 0, 0)");
p1.className = "p1";
shouldBeEqualToString("getComputedStyle(s1).color", "rgb(0, 128, 0)");

Powered by Google App Engine
This is Rietveld 408576698