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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/inline-relative-positioned.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!-- Based on fast/repaint/inline-relative-positioned.html -->
2 <script src="resources/paint-invalidation-test.js"></script>
3 <script src="../../../fast/repaint/../../resources/ahem.js"></script>
4 <body onload="runPaintInvalidationTest()">
5 <span style="position: relative; top: 80px;">
6 <div id="target" style="display: inline-block; width: 100px; height: 100px; overflow: hidden; font-family: Ahem; font-size: 100px; background: red; color: g reen;">p</div>
7 </span>
8 <script>
9 window.expectedPaintInvalidationObjects = [
10 "InlineTextBox ''",
11 "RootInlineBox",
12 "LayoutBlockFlow DIV id='target'",
13 "LayoutText #text",
14 "InlineTextBox 'a'",
15 ];
16 function paintInvalidationTest()
17 {
18 document.getElementById("target").firstChild.data = "a";
19 }
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698