Index: LayoutTests/paint/selection/text-selection-newline-span.html |
diff --git a/LayoutTests/paint/selection/text-selection-newline-span.html b/LayoutTests/paint/selection/text-selection-newline-span.html |
index 0c622accbc1021772dc6627dbac0ae5f9d8b322e..f0b9296bf445bf07de57d4cc82b633bff0b67a3a 100644 |
--- a/LayoutTests/paint/selection/text-selection-newline-span.html |
+++ b/LayoutTests/paint/selection/text-selection-newline-span.html |
@@ -11,7 +11,7 @@ div { |
} |
</style> |
</head> |
-<body onload="selectRange(container, 0, container, 3);"> |
+<body onload="selectRangeAfterLayoutAndPaint(container, 0, container, 3);"> |
<!-- Two lines in one block with a span on the first line. Should wrap and |
include space representing a newline only at end of the first line. --> |
<div id="container"> |