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

Unified Diff: LayoutTests/platform/chromium/fast/text/international/complex-text-rectangle.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: LayoutTests/platform/chromium/fast/text/international/complex-text-rectangle.html
diff --git a/LayoutTests/platform/chromium/fast/text/international/complex-text-rectangle.html b/LayoutTests/platform/chromium/fast/text/international/complex-text-rectangle.html
deleted file mode 100644
index b43fcd674646a769f9da6282e1db9ed3029fd5e7..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/fast/text/international/complex-text-rectangle.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<meta charset=utf-8>
-
-<span id="a">A&#x20d5;A&#xFE20;A&#x20d5;A&#x20d5;A&#x20d5;A&#x20d5;A&#x20d5;&#x20d5;A&#x034b;</span>
-
-This test passes if it doesn't crash or log a failure message to the console.
-
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-
-var textNode = document.getElementById('a').firstChild;
-var length = textNode.textContent.length;
-for (var start = 0; start < length; ++start) {
- for (var end = 0; end < length; ++end) {
- var range = document.createRange();
- range.setStart(textNode, start);
- range.setEnd(textNode, end);
- var rect = range.getBoundingClientRect();
- if (rect.width < 0 || rect.width > 200) {
- console.log('FAIL: rect.width is ' + rect.width);
- break;
- }
- }
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698