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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/multiple-backgrounds-style-change-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 .box { 3 .box {
4 height: 200px; 4 height: 200px;
5 width: 200px; 5 width: 200px;
6 border: 1px solid black; 6 border: 1px solid black;
7 background-repeat: no-repeat; 7 background-repeat: no-repeat;
8 background-size: 100px 100px; 8 background-size: 100px 100px;
9 background-position: 0 0, 100px 100px; 9 background-position: 0 0, 100px 100px;
10 background-image: url('../images/resources/green-256x256.jpg'), url('../ images/resources/dice.png'); 10 background-image: url('../images/resources/green-256x256.jpg'), url('../ images/resources/dice.png');
11 }
12
13 .composited {
14 transform: translate3d(0, 0, 0);
15 }
16
17 .composited.changed {
18 transform: translate3d(50px, 50px, 0); 11 transform: translate3d(50px, 50px, 0);
19 } 12 }
20 </style> 13 </style>
21 <script src="resources/text-based-repaint.js"></script> 14 <div id="test" class="box">
22 <script> 15 </div>
23 function repaintTest()
24 {
25 document.getElementById('test').classList.add('changed');
26 }
27
28 onload = runRepaintTest;
29 </script>
30 <div id="test" class="composited box">
31 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698