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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/outline-change-offset.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
(Empty)
1 <!-- Based on fast/repaint/outline-change-offset.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 function paintInvalidationTest() {
6 document.getElementById('target').style.outlineOffset = '10px';
7 }
8 onload = runPaintInvalidationTest;
9 </script>
10
11 <style>
12 div {
13 position: absolute;
14 top: 50px;
15 left: 50px;
16 width: 100px;
17 height: 100px;
18 }
19
20 #target {
21 outline: green solid 5px;
22 outline-offset: 5px;
23 }
24
25 #indicator {
26 outline: red solid 5px;
27 outline-offset: 10px;
28 }
29 </style>
30
31 Box should be repainted when outline-offset style changes. Passes if no red.
32 <div id="indicator"></div>
33 <div id="target"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698