summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/editing/input
diff options
context:
space:
mode:
authorwkorman@chromium.org <wkorman@chromium.org>2015-08-12 04:05:30 +0000
committerwkorman@chromium.org <wkorman@chromium.org>2015-08-12 04:05:30 +0000
commit1ba6619d9c03f5de3a311304826b195cb2e8554f (patch)
tree5f50d289a4d9721ff50902c8760b1d96a5654134 /third_party/WebKit/LayoutTests/editing/input
parent593644f3c57b6bd708ed6c2c6378eadce5df0788 (diff)
downloadchromium_src-1ba6619d9c03f5de3a311304826b195cb2e8554f.zip
chromium_src-1ba6619d9c03f5de3a311304826b195cb2e8554f.tar.gz
chromium_src-1ba6619d9c03f5de3a311304826b195cb2e8554f.tar.bz2
Remove obsolete LTR scrollbar padding hack.
BUG=474759 Review URL: https://codereview.chromium.org/1284783003 git-svn-id: svn://svn.chromium.org/blink/trunk@200378 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/editing/input')
-rw-r--r--third_party/WebKit/LayoutTests/editing/input/editable-container-with-word-wrap-normal.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/WebKit/LayoutTests/editing/input/editable-container-with-word-wrap-normal.html b/third_party/WebKit/LayoutTests/editing/input/editable-container-with-word-wrap-normal.html
index 21a5ce1..cd22d46 100644
--- a/third_party/WebKit/LayoutTests/editing/input/editable-container-with-word-wrap-normal.html
+++ b/third_party/WebKit/LayoutTests/editing/input/editable-container-with-word-wrap-normal.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
<html>
<head>
<title> Testcase for bug https://bugs.webkit.org/show_bug.cgi?id=89649 </title>
@@ -16,7 +16,7 @@
<script>
function runTest() {
description('Testcase for bug <a href="http://www.webkit.org/b/89649">http://www.webkit.org/b/89649</a>. \
-The test case checks if caret is drawn properly(especially scrolls properly) inside a editable container having word-wrap:normal.');
+The test case checks if caret is drawn properly (especially scrolls properly) inside a editable container having word-wrap:normal.');
editableContainer = document.getElementById('test');
editableContainer.focus();
@@ -38,9 +38,9 @@ The test case checks if caret is drawn properly(especially scrolls properly) ins
debug('<br>Final caret rect is calculated by following constraints');
debug('1) ScrollWidth = text content width + caret width');
- debug('2) Caret rect is always within container bounding box (thus substracting the scroll left)');
- shouldBe("startCaretRect.left + editableContainer.scrollWidth - editableContainer.scrollLeft - caretWidth", "finalCaretRect.right");
-
+ debug('2) Caret rect is always within container bounding box (thus subtracting the scroll left)');
+ shouldBe("startCaretRect.left + editableContainer.scrollWidth - editableContainer.scrollLeft", "finalCaretRect.right");
+
document.body.removeChild(editableContainer);
isSuccessfullyParsed();
}