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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/border-outline-0.html

Issue 1457323004: Don't render border images when border-style is none (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, removed unnecessary border colors, etc. Created 5 years 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <style> 3 <style>
4 #border-image, 4 #border-image,
5 #border, 5 #border,
6 #outline { 6 #outline {
7 height: 100px; 7 height: 100px;
8 width: 100px; 8 width: 100px;
9 } 9 }
10 10
11 td { 11 td {
12 height: 50px; 12 height: 50px;
13 width: 50px; 13 width: 50px;
14 border-style: hidden; 14 border-style: hidden;
15 } 15 }
16 16
17 #border-image { 17 #border-image {
18 border-image: url(_example.png) 100% 100 100 round; 18 border-image: url(_example.png) 100% 100 100 round;
19 border-style: none; 19 border-style: none;
20 border-width: 50px; 20 border-width: 50px;
21 position: absolute; 21 position: absolute;
22 top: 10px; 22 top: 10px;
23 left: 10px; 23 left: 10px;
24 border-style: solid;
24 } 25 }
25 </style> 26 </style>
26 27
27 <script src="resources/text-based-repaint.js"></script> 28 <script src="resources/text-based-repaint.js"></script>
28 <script> 29 <script>
29 if (window.testRunner) 30 if (window.testRunner)
30 testRunner.dumpAsText(); 31 testRunner.dumpAsText();
31 32
32 function repaintTest() { 33 function repaintTest() {
33 var border = document.getElementById("border"); 34 var border = document.getElementById("border");
(...skipping 16 matching lines...) Expand all
50 <div id="border"></div> 51 <div id="border"></div>
51 <div id="outline"></div> 52 <div id="outline"></div>
52 <div id="border-image"></div> 53 <div id="border-image"></div>
53 54
54 <table> 55 <table>
55 <tr> 56 <tr>
56 <td id="cell"></td> 57 <td id="cell"></td>
57 <td></td> 58 <td></td>
58 </tr> 59 </tr>
59 </table> 60 </table>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698