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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/slots-api-in-v0.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/slots-api-in-v0.html
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/slots-api-in-v0.html b/third_party/WebKit/LayoutTests/shadow-dom/slots-api-in-v0.html
index d51fae72a887f047dedee5449d437fae02be90b5..af765bde74faea4c6523b2afb66fb729e588ffb8 100644
--- a/third_party/WebKit/LayoutTests/shadow-dom/slots-api-in-v0.html
+++ b/third_party/WebKit/LayoutTests/shadow-dom/slots-api-in-v0.html
@@ -20,7 +20,6 @@
'use strict';
convertTemplatesToShadowRootsWithin(host);
removeWhiteSpaceOnlyTextNodes(host);
-document.body.offsetLeft;
const slot1 = host.shadowRoot.querySelector('[name=slot1]');
const slot2 = host.shadowRoot.querySelector('[name=slot2]');

Powered by Google App Engine
This is Rietveld 408576698