mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
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 <[email protected]> Commit-Queue: Ian Kilpatrick <[email protected]> Cr-Commit-Position: refs/heads/main@{#1046377} -- wpt-commits: e19fd3d174d2adbb228daf7718f5e57d8ae32ce6 wpt-pr: 35869
23 lines
426 B
HTML
23 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>
|