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

Unified Diff: third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-styled-after-onload.html

Issue 2450793002: Call invalidatePaintForTickmarks() in Internals::addTextMatchMarker() (Closed)
Patch Set: Add comment Created 4 years, 1 month 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/fast/scrolling/scrollbar-tickmarks-styled-after-onload.html
diff --git a/third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-styled.html b/third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-styled-after-onload.html
similarity index 86%
copy from third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-styled.html
copy to third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-styled-after-onload.html
index 298efe0c8a28ed3e0ef591854b3924fa2af43ebd..1e959c090eb628fa9c4f3423d408c5ba4297297d 100644
--- a/third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-styled.html
+++ b/third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-styled-after-onload.html
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<head>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
<script src="../../resources/ahem.js"></script>
<style>
html {
@@ -31,7 +32,7 @@ function highlight()
}
</script>
</head>
-<body onload="highlight();">
+<body onload="runAfterLayoutAndPaint(highlight, true)">
<div style="height:600px"></div>
<span id="elt" style="position:absolute; top:300px">&nbsp;</span>

Powered by Google App Engine
This is Rietveld 408576698