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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/display_inline-flex_exist.html

Issue 2018883002: Fix testharness paths in imported/csswg-test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>CSS Flexible Box Test: display_inline-flex</title> 4 <title>CSS Flexible Box Test: display_inline-flex</title>
5 <link rel="author" title="Intel" href="http://www.intel.com" /> 5 <link rel="author" title="Intel" href="http://www.intel.com" />
6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-containers" /> 6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-containers" />
7 <meta name="flags" content="dom" /> 7 <meta name="flags" content="dom" />
8 <meta name="assert" content="Check if the web engine can identify the displa y value inline-flex." /> 8 <meta name="assert" content="Check if the web engine can identify the displa y value inline-flex." />
9 <style> 9 <style>
10 div#test{ 10 div#test{
11 display: inline-flex; 11 display: inline-flex;
12 } 12 }
13 </style> 13 </style>
14 <script src="../../../resources/testharness.js"></script> 14 <script src="/resources/testharness.js"></script>
15 <script src="../../../resources/testharnessreport.js"></script> 15 <script src="/resources/testharnessreport.js"></script>
16 </head> 16 </head>
17 <body> 17 <body>
18 <div id=log></div> 18 <div id=log></div>
19 <div id=test></div> 19 <div id=test></div>
20 <script type="text/javascript"> 20 <script type="text/javascript">
21 var t = async_test(document.title, {timeout:500}); 21 var t = async_test(document.title, {timeout:500});
22 t.step(function () { 22 t.step(function () {
23 assert_equals(window.getComputedStyle(document.querySelector('div#te st')).display, "inline-flex", "Display value is"); 23 assert_equals(window.getComputedStyle(document.querySelector('div#te st')).display, "inline-flex", "Display value is");
24 }); 24 });
25 t.done(); 25 t.done();
26 </script> 26 </script>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698