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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/grammar-markers-hidpi.html

Issue 2736823002: Move tests in editing/spelling for marker appearance to paint/spellmarkers (Closed)
Patch Set: Created 3 years, 9 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/editing/spelling/grammar-markers-hidpi.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/grammar-markers-hidpi.html b/third_party/WebKit/LayoutTests/editing/spelling/grammar-markers-hidpi.html
deleted file mode 100644
index ade96e57fda84b9a43219d07b923766609dabfa7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/spelling/grammar-markers-hidpi.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<div id="warning">
-This test requires window.internals. If you use content_shell,
-"--expose-internals-for-testing" command flag enables it.
-</div>
-<div id="div" contenteditable>You has the right.</div>
-<script>
-jsTestIsAsync = true;
-if (window.testRunner) {
- testRunner.setBackingScaleFactor(
- 2,
- () => setTimeout(() => testRunner.notifyDone(), 0));
-}
-
-// This tests the appearance of the grammar markers rendered by Blink.
-
-const div = document.getElementById('div');
-const text = div.firstChild;
-
-// Mark 'has' with grammar marker.
-const range = document.createRange();
-range.setStart(text, 4);
-range.setEnd(text, 7);
-if (window.internals) {
- document.getElementById('warning').style.display = 'none';
- internals.setMarker(document, range, 'grammar');
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698