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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/flexbox/canvas-dynamic-change.html

Issue 2111623002: Canvas objects did not mark themselves for layout when they're a flex item (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.cpp » ('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 <link href="resources/flexbox.css" rel="stylesheet">
3 <style>
4 .red {
5 height: 400px;
6 background: red;
7 }
8 canvas {
9 background: green;
10 }
11 </style>
12 <script src="../../resources/testharness.js"></script>
13 <script src="../../resources/testharnessreport.js"></script>
14 <script src="../../resources/check-layout-th.js"></script>
15 <div id=log></div>
16
17 <div class="red">
18 <div class="flexbox column">
19 <canvas id="canvas" data-expected-height="400"></canvas>
20 </div>
21 </div>
22
23 <script>
24 var canvas = document.getElementById('canvas');
25
26 requestAnimationFrame(function() {
27 canvas.height = 400;
28 checkLayout('.flexbox');
29 });
30
31 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698