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

Side by Side Diff: LayoutTests/css3/flexbox/repaint-opacity-change.html

Issue 138683005: Avoid forcing layout on children with orthogonal flow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Now with expected results! Created 6 years, 11 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 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/java script"></script>
5 <script>
6 function repaintTest()
7 {
8 if (window.testRunner) {
9 document.getElementById('one').style.opacity = '0.5';
10 document.body.offsetTop;
11 document.getElementById('one').style.opacity = '1';
12 document.body.offsetTop;
13 }
14 }
15 </script>
16 <style>
17 .exp {
18 margin: 10px;
19 padding: 10px;
20 opacity: 1;
21 }
22 .btn {
ojan 2014/01/14 22:05:02 Wat?
23 background-color: cyan;
24 padding: 10px;
25 margin: 10px;
26 }
27 .flex {
28 display: flex;
29 flex-direction: column;
30 }
31 </style>
32 </head>
33 <body onload="runRepaintTest()">
34 <div class="flex">
35 <div class="exp" id="one"></div>
36 <div class="exp" id="two"></div>
37 </div>
38 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698