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

Unified Diff: LayoutTests/fast/dom/shadow/elementfrompoint.html

Issue 812173002: Make elementFromPoint() arguments non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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: LayoutTests/fast/dom/shadow/elementfrompoint.html
diff --git a/LayoutTests/fast/dom/shadow/elementfrompoint.html b/LayoutTests/fast/dom/shadow/elementfrompoint.html
index 6be0623c62e67675530abe02be2f46ed678139d7..a52972e7e9f61b1ed70d5a973b3bc1e0de48c3a8 100644
--- a/LayoutTests/fast/dom/shadow/elementfrompoint.html
+++ b/LayoutTests/fast/dom/shadow/elementfrompoint.html
@@ -52,6 +52,9 @@ var y12 = centerY(box12);
var x22 = centerX(box22);
var y22 = centerY(box22);
+shouldThrow('shadowRoot.elementFromPoint()');
+shouldThrow('shadowRoot.elementFromPoint(0)');
+
shouldBe('shadowRoot.elementFromPoint(x12, y12)', 'box12');
shouldBe('nestedShadowRoot.elementFromPoint(x22, y22)', 'box22');

Powered by Google App Engine
This is Rietveld 408576698