fune/testing/web-platform/tests/css/css-flexbox/reference/align-baseline-ref.html
Ian Kilpatrick 2d3b372894 Bug 1790510 [wpt PR 35869] - [baselines] Support baseline groups within flex layout., a=testonly
Automatic update from web-platform-tests
[baselines] Support baseline groups within flex layout.

Previously the flex layout code only supported one alignment baseline.
However there are potentially two baseline "groups" which we need to
support. (This occurs with vertical writing-modes in particular).

This updates the flex logic to support two baseline groups.

Change-Id: I4c441436f691de162069ce78baf22bff0f5f647c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3884540
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1046377}

--

wpt-commits: e19fd3d174d2adbb228daf7718f5e57d8ae32ce6
wpt-pr: 35869
2022-09-23 22:52:38 +00:00

22 lines
426 B
HTML

<!DOCTYPE html>
<html>
<link href="../support/flexbox.css" rel="stylesheet">
<style>
body {
margin: 0;
}
</style>
<body>
<div class='flexbox column align-items-flex-start'>
<h1>This text</h1>
<p>should be left aligned.</p>
</div>
<div style='margin-left: auto; width: max-content;' class='flexbox column align-items-flex-start'>
<h1>This text</h1>
<p>should be right aligned.</p>
</div>
</body>
</html>