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

Side by Side Diff: LayoutTests/fast/css/deprecated-flex-box-zero-width-intrinsic-max-width.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <head> 1 <head>
2 <title>Test case for bug https://bugs.webkit.org/show_bug.cgi?id=85991</title> 2 <title>Test case for bug https://bugs.webkit.org/show_bug.cgi?id=85991</title>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <style> 5 <style>
6 #outer { 6 #outer {
7 display: -webkit-box; 7 display: -webkit-box;
8 } 8 }
9 #inner { 9 #inner {
10 overflow: hidden; 10 overflow: hidden;
11 max-width: intrinsic; 11 max-width: intrinsic;
12 width: 0px; 12 width: 0px;
13 -webkit-box-flex: 60; 13 -webkit-box-flex: 60;
14 } 14 }
15 </style> 15 </style>
16 16
17 <div id="outer"> 17 <div id="outer">
18 <div id="inner">PASS</div> 18 <div id="inner">PASS</div>
19 </div> 19 </div>
20 <script> 20 <script>
21 description("Tests if the Deprecated Flex boxes with max-width: intrinsic and wi dth:0 has non-zero calculated width"); 21 description("Tests if the Deprecated Flex boxes with max-width: intrinsic and wi dth:0 has non-zero calculated width");
22 var x = document.getElementById('inner'); 22 var x = document.getElementById('inner');
23 var flexBoxDiv = x.getClientRects()[0]; 23 var flexBoxDiv = x.getClientRects()[0];
24 shouldBeNonZero("flexBoxDiv.width"); 24 shouldBeNonZero("flexBoxDiv.width");
25 25
26 //cleanup 26 //cleanup
27 var node = document.getElementById('inner'); 27 var node = document.getElementById('inner');
28 node.parentNode.removeChild(node); 28 node.parentNode.removeChild(node);
29 </script> 29 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/default-bidi-css-rules.html ('k') | LayoutTests/fast/css/device-aspect-ratio.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698