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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/ttwf-reftest-flex-inline.html

Issue 2104493003: Import csswg-test@0589ea025a684e31742740ca3b599230bcc25e5d (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update TestExpectations, delete background 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>CSS Flexible Box Test: display proprety - inline-flex</title> 4 <title>CSS Flexible Box Test: display proprety - inline-flex</title>
5 <link rel="author" title="haosdent" href="mailto:haosdent@gmail.com"> 5 <link rel="author" title="haosdent" href="mailto:haosdent@gmail.com">
6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-display-in line-flex"> 6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-display-in line-flex">
7 <link rel="match" href="reference/ttwf-reftest-flex-inline-ref.html"> 7 <link rel="match" href="reference/ttwf-reftest-flex-inline-ref.html">
8 <meta name="assert" content="Statement describing what the test case is asse rting"> 8 <meta name="assert" content="Statement describing what the test case is asse rting">
9 <style type="text/css"> 9 <style type="text/css">
10 /* Positioned container allows for the self-describing statement to stil l 10 /* Positioned container allows for the self-describing statement to stil l
11 be visible in the case of failure */ 11 be visible in the case of failure */
12 .container { 12 .container {
13 position: relative; 13 position: relative;
14 } 14 }
15 .greenSquare { 15 .greenSquare {
16 display: inline-flex; 16 display: inline-flex;
17 margin-top: -200px; 17 margin-top: -200px;
18 background: green; 18 background: green;
19 } 19 }
20 </style> 20 </style>
21 </head> 21 </head>
22 <body> 22 <body>
23 <p>The test passed if you see a green block which its text is 'Success!'.</p > 23 <p>The test passed if you see a green block which its text is 'Success!'.</p >
24 <div class="container"> 24 <div class="container">
25 <!-- This is the square that should not be visible if the test passes -- > 25 <!-- This is the square that should not be visible if the test passes -->
26 <div class="greenSquare">Success!</div> 26 <div class="greenSquare">Success!</div>
27 </div> 27 </div>
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698