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

Unified Diff: LayoutTests/css3/flexbox/flexitem.html

Issue 15758002: Unprefix Flexbox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/css3/flexbox/flexitem.html
diff --git a/LayoutTests/css3/flexbox/flexitem.html b/LayoutTests/css3/flexbox/flexitem.html
index cd1f2da7f793dbb76670ad7fe776260102f45466..e7d65aa8dae259163f9b47bb501ab9530e82d68e 100644
--- a/LayoutTests/css3/flexbox/flexitem.html
+++ b/LayoutTests/css3/flexbox/flexitem.html
@@ -1,24 +1,21 @@
<!DOCTYPE html>
<html>
+<link href="resources/flexbox.css" rel="stylesheet">
<style>
.flexbox {
width: 600px;
- display: -webkit-flex;
background-color: #aaa;
position: relative;
min-height: 10px;
}
.flexbox > * {
- -webkit-flex: 1 0 0;
+ flex: 1 0 0;
margin: 0;
border: 0;
padding: 0;
font-size: 12px;
min-width: 0;
}
-.column {
- -webkit-flex-direction: column;
-}
</style>
<script src="../../resources/check-layout.js"></script>
<body onload="checkLayout('.flexbox')">
@@ -46,32 +43,32 @@
</div>
<div class="flexbox">
- <img data-expected-display="block" data-expected-width="200" style="-webkit-flex: 1 0 auto;" src="../images/resources/blue-100.png">
- <img data-expected-display="block" data-expected-width="200" data-expected-height="100" style="-webkit-flex: 2 0 0;" src="doesnotexist.png">
- <img data-expected-display="block" data-expected-width="200" data-expected-height="100" style="-webkit-flex: 2 0 0;" src="doesnotexist.png" alt="placeholder text">
+ <img data-expected-display="block" data-expected-width="200" style="flex: 1 0 auto;" src="../images/resources/blue-100.png">
+ <img data-expected-display="block" data-expected-width="200" data-expected-height="100" style="flex: 2 0 0;" src="doesnotexist.png">
+ <img data-expected-display="block" data-expected-width="200" data-expected-height="100" style="flex: 2 0 0;" src="doesnotexist.png" alt="placeholder text">
</div>
<div class="flexbox">
- <svg data-expected-display="block" data-expected-width="100" style="-webkit-flex: 1 0 auto; width: 100px; height: 100px">
+ <svg data-expected-display="block" data-expected-width="100" style="flex: 1 0 auto; width: 100px; height: 100px">
<circle cx="50" cy="50" r="50" fill="blue">
</circle>
</svg>
- <svg data-expected-display="block" data-expected-width="500" style="-webkit-flex: 1 1 auto; height: 100px">
+ <svg data-expected-display="block" data-expected-width="500" style="flex: 1 1 auto; height: 100px">
<circle cx="50" cy="50" r="50" fill="green">
</circle>
</svg>
</div>
<div class="flexbox">
- <span data-expected-display="block" data-expected-width="200" style="-webkit-flex: 2 0 0"></span>
- <button data-expected-display="block" data-expected-width="100" style="-webkit-flex: 1 0 0">button</button>
- <span data-expected-display="block" data-expected-width="300" style="-webkit-flex: 2 2 100px"></span>
+ <span data-expected-display="block" data-expected-width="200" style="flex: 2 0 0"></span>
+ <button data-expected-display="block" data-expected-width="100" style="flex: 1 0 0">button</button>
+ <span data-expected-display="block" data-expected-width="300" style="flex: 2 2 100px"></span>
</div>
<div class="flexbox" style="width: 700px">
<div data-expected-display="block" data-expected-width="100" style="display: inline-block;"></div>
<div data-expected-display="-webkit-box" data-expected-width="100" style="display: -webkit-inline-box;"></div>
- <div data-expected-display="-webkit-flex" data-expected-width="100" style="display: -webkit-inline-flex;"></div>
+ <div data-expected-display="flex" data-expected-width="100" style="display: inline-flex;"></div>
<div data-expected-display="block" data-expected-width="100" style="display: table-cell"></div>
<div data-expected-display="block" data-expected-width="100" style="display: compact"></div>
<div data-expected-display="block" data-expected-width="100" style="display: run-in"></div>
« no previous file with comments | « LayoutTests/css3/flexbox/display-flexbox-set-get-expected.txt ('k') | LayoutTests/fast/css-grid-layout/grid-item-display.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698