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

Unified Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-sizing-horiz-001.xhtml

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, 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: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-sizing-horiz-001.xhtml
diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-sizing-horiz-001.xhtml b/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-sizing-horiz-001.xhtml
index 85c54b4a72b0bc757bcea0738973cf0d32de510f..0f9b5846de892a857916996662409e620586cae1 100644
--- a/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-sizing-horiz-001.xhtml
+++ b/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-sizing-horiz-001.xhtml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
+<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
- -->
-<!--
+-->
+<!--
This testcase checks how "min-width" and "max-width" affect the sizing
of horizontal flex containers that have no explicit "width" property.
- -->
+-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Testing sizing of an auto-sized horizontal flex container with min-width and max-width constraints</title>
@@ -41,41 +41,41 @@
</style>
</head>
<body>
- <!-- auto-sized horizontal flexbox should occupy the available width. -->
+ <!-- auto-sized horizontal flexbox should occupy the available width. -->
<div class="flexbox">
<div class="a"/><div class="b"/><div class="c"/>
</div>
- <!-- Adding a small min-size shouldn't affect that. -->
+ <!-- Adding a small min-size shouldn't affect that. -->
<div class="flexbox" style="min-width: 10px">
<div class="a"/><div class="b"/><div class="c"/>
</div>
- <!-- ...but a (large) max-size will limit us to that size, instead of
- our available size. -->
+ <!-- ...but a (large) max-size will limit us to that size, instead of
+ our available size.-->
<div class="flexbox" style="max-width: 300px">
<div class="a"/><div class="b"/><div class="c"/>
</div>
- <!-- If we set a maximum size that's even smaller, it'll limit our
- size and compress our children. -->
+ <!-- If we set a maximum size that's even smaller, it'll limit our
+ size and compress our children. -->
<div class="flexbox" style="max-width: 70px">
<div class="a"/><div class="b"/><div class="c"/>
</div>
- <!-- The max-size may be small enough that our items will overflow. -->
+ <!-- The max-size may be small enough that our items will overflow. -->
<div class="flexbox" style="max-width: 20px">
<div class="a"/><div class="b"/><div class="c"/>
</div>
- <!-- But if we add a min-size, it beats the max-size. Here, we use a
- min-size smaller than the sum of the items' base sizes... -->
+ <!-- But if we add a min-size, it beats the max-size. Here, we use a
+ min-size smaller than the sum of the items' base sizes... -->
<div class="flexbox" style="min-width: 58px; max-width: 20px">
<div class="a"/><div class="b"/><div class="c"/>
</div>
- <!-- ...and here we use a min-size larger than the sum of the items'
- base sizes. -->
+ <!-- ...and here we use a min-size larger than the sum of the items'
+ base sizes. -->
<div class="flexbox" style="min-width: 140px; max-width: 20px">
<div class="a"/><div class="b"/><div class="c"/>
</div>

Powered by Google App Engine
This is Rietveld 408576698