-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[last-baseline] Adjust fallback alignment group based on direction.
This implements the change described in: w3c/csswg-drafts#7775 TL;DR instead of falling back to VLR - allow falling back to a VRL writing-mode if the direction is RTL. The tests changed are primarily flexbox tests which assumed that no alignment was occuring in the VRL group. Bug: 885175 Change-Id: I7bec9a2cfdb53c17c724d762ac965808aafb8ad5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3927944 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1055573}
- Loading branch information
1 parent
0e5f85c
commit c7c8933
Showing
6 changed files
with
44 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!DOCTYPE html> | ||
<div style="display: grid; width: 100px; height: 100px; background: gray;"> | ||
<div style="writing-mode: vertical-rl; background: cyan; justify-self: start; direction: rtl;">one<br>two</div> | ||
<div style="writing-mode: vertical-lr; font-size: 30px; background: lime; justify-self: end; direction: rtl;">one<br>two</div> | ||
<div style="writing-mode: vertical-rl; background: cyan; justify-self: end; direction: rtl;">one<br>two</div> | ||
<div style="writing-mode: vertical-lr; font-size: 30px; background: lime; justify-self: start; direction: rtl;">one<br>two</div> | ||
</div> |