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: LayoutTests/fast/flexbox/stretch-align-svg.html

Issue 423133002: Ensure logical height is overridden for stretch-aligned flex-box children (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 2 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/fast/flexbox/stretch-align-svg-expected.html » ('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 <script src="../../resources/run-after-display.js"></script>
3 <style>
4 #main {
5 display: flex;
6 height: 100%;
7 }
8 #graph {
9 flex: 0 0 400px;
10 }
11 #spanner {
12 height: 400px;
13 }
14 </style>
15 <div id="main">
16 <svg id="graph" style="background-color: red">
17 <rect width="100%" height="0%" fill="green"/>
18 </svg>
19 <div id="spanner"></div>
20 </div>
21 <script>
22 if (window.testRunner)
23 testRunner.waitUntilDone();
24
25 runAfterDisplay(function() {
26 document.body.appendChild(document.createElement('div'));
27 document.body.offsetLeft;
28
29 var c = document.querySelector('rect');
30 c.setAttribute('height', '100%');
31 c.getScreenCTM();
32
33 if (window.testRunner)
34 testRunner.displayAsyncThen(function() { testRunner.notifyDone(); });
35 });
36 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/flexbox/stretch-align-svg-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698