LibWeb: Use reverse direction on flex containers with rtl direction

If a flex container has `direction: rtl` set, reverse the row direction.
This commit is contained in:
BenJilks 2024-08-10 23:13:26 +01:00 committed by Sam Atkins
commit 82989554ab
Notes: github-actions[bot] 2024-08-13 14:20:49 +00:00
10 changed files with 92 additions and 4 deletions

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<html dir="rtl">
<div style="display: flex; flex-direction: row"><div>aaa</div><div>bbb</div><div>ccc</div></div>
<div style="display: flex; flex-direction: row-reverse"><div>aaa</div><div>bbb</div><div>ccc</div></div>
</html>