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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/border-outline-0.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/border-outline-0.html -->
2 <!DOCTYPE html>
3
4 <style>
5 #border-image,
6 #border,
7 #outline {
8 height: 100px;
9 width: 100px;
10 }
11
12 td {
13 height: 50px;
14 width: 50px;
15 border-style: hidden;
16 }
17
18 #border-image {
19 border-image: url(../../../fast/repaint/_example.png) 100% 100 100 round;
20 border-style: none;
21 border-width: 50px;
22 position: absolute;
23 top: 10px;
24 left: 10px;
25 }
26 </style>
27
28 <script src="resources/paint-invalidation-test.js"></script>
29 <script>
30 function paintInvalidationTest() {
31 var border = document.getElementById("border");
32 border.style.border = "0";
33
34 var outline = document.getElementById("outline");
35 outline.style.outline = "0";
36
37 var outline = document.getElementById("cell");
38 outline.style.borderWidth = "0";
39
40 var borderImage = document.getElementById("border-image");
41 borderImage.style.borderWidth = "0";
42 }
43 onload = runPaintInvalidationTest;
44 </script>
45
46 <p>Tests that setting an outline or a border of 0 on an element without a border or outline doesn't repaint.</p>
47
48 <div id="border"></div>
49 <div id="outline"></div>
50 <div id="border-image"></div>
51
52 <table>
53 <tr>
54 <td id="cell"></td>
55 <td></td>
56 </tr>
57 </table>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698