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

Side by Side Diff: LayoutTests/fast/flexbox/relayout-children-when-switching-direction.html

Issue 655053002: Fix incorrect assumption about children's flexBasis (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <style>
4 #flex {
5 display: flex;
6 width: 100px;
7 }
8 #flex > div {
9 height: 30px;
10 }
11 .column {
12 flex-direction: column;
13 }
14 </style>
15 <body>
16 <div id="flex">
17 <div>Foo</div>
18 <div id="target" data-offset-y=38>Bar</div>
19 </div>
20 <script src="../../resources/check-layout.js"></script>
21 <script>
22 var flexbox = document.getElementById('flex');
23 flexbox.offsetTop;
24 flexbox.classList.add('column');
25 checkLayout('#target');
26 </script>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/flexbox/relayout-children-when-switching-direction-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698