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

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: Patch for landing (added comment) 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
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/repaint-opacity-change-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 var targetElement = document.getElementById('target');
10 targetElement.style.opacity = '0.5';
11 document.body.offsetTop;
12 targetElement.style.opacity = '1';
13 document.body.offsetTop;
14 }
15 }
16 </script>
17 <style>
18 .item {
19 margin: 10px;
20 padding: 10px;
21 opacity: 1;
22 }
23 .flex {
24 display: flex;
25 flex-direction: column;
26 }
27 </style>
28 </head>
29 <body onload="runRepaintTest()">
30 <div class="flex">
31 <div class="item" id="target"></div>
32 <div class="item"></div>
33 </div>
34 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/repaint-opacity-change-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698