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

Unified Diff: third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-br.html

Issue 1407003002: Don't widen selection paint rect for linebreaks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More test expectations. Created 5 years, 2 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/paint/selection/text-selection-newline-br.html
diff --git a/third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-br.html b/third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-br.html
index 580cd4676f7d67f61b34c28c5ddb361bf78b98a3..c20ad731509ffaa52c52c8e23f1c80d8ed7a1753 100644
--- a/third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-br.html
+++ b/third_party/WebKit/LayoutTests/paint/selection/text-selection-newline-br.html
@@ -1,19 +1,12 @@
<!DOCTYPE html>
-<html>
-<head>
<script src="../../resources/ahem.js"></script>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script src="resources/selection.js"></script>
-<style>
-div {
- font-family: Ahem;
-}
-</style>
-</head>
-<body onload="selectRangeAfterLayoutAndPaint(container, 0, container, 3);">
<!-- Two lines in one block explicitly wrapped with a br which should
include space representing a newline at end of the first line. -->
-<div id="container">
+<div id="container" style="font-family: Ahem;">
a<br>b
</div>
-</body>
+<script>
+onload = selectRangeAfterLayoutAndPaint(container, 0, container, 3);
+</script>

Powered by Google App Engine
This is Rietveld 408576698