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

Unified Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-empty-001b.html

Issue 2595173004: Import csswg-test@75a3f186b64787c9b7cb292a22d1f6e9237ff1bc (Closed)
Patch Set: Add caret-color failures to TestExpectations Created 4 years 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-baseline-empty-001b.html
diff --git a/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-empty-001b.html b/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-empty-001b.html
index 476018f2878a159cdebc3a231c4098c508836ecc..74f13fbba05245e074c62e357a46566d34e9d071 100644
--- a/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-empty-001b.html
+++ b/third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-empty-001b.html
@@ -6,11 +6,12 @@
<!-- Testcase for how we compute the baseline of a vertical flex container
with no flex items. This is the cross-axis baseline. The spec says this
about this case:
+ https://drafts.csswg.org/css-flexbox/#flex-baselines
+ "Otherwise, the flex container has no first/last main-axis baseline set,
+ and one is synthesized if needed according to the rules of its alignment context."
- ...the flex container's cross-axis baseline is synthesized
- from ... the flex container's content box.
-
- I'm taking that to mean the baseline is the bottom of the content box.
+ The alignment context in this case is inline-level so the margin-box
+ should be used to synthesize the baseline.
-->
<html>
<head>
@@ -42,5 +43,6 @@
<div class="flexContainer" style="padding: 10px"></div>
<div class="flexContainer" style="border-width: 3px"></div>
<div class="flexContainer" style="border-bottom-width: 4px"></div>
+ <div class="flexContainer" style="border-bottom-width: 4px; margin: 2px"></div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698