Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make dir=auto fall back to the parent's directionality rather than ltr. #42202

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions html/dom/elements/global-attributes/dir_auto-N-EN-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="assert" content="
When dir='auto', the direction is set according to the first strong character
of the text, ignoring neutrals and numbers.
If there is no strong character, as in this test, the direction defaults to LTR." />
If there is no strong character, as in this test, the direction defaults to the parent." />
<style>
input, textarea {
font-size:1em;
Expand All @@ -35,15 +35,15 @@
<p dir="ltr">@123!</p>
</div>
<div dir="rtl">
<p dir="ltr">@123!</p>
<p dir="rtl">@123!</p>
</div>
</div>
<div class="ref">
<div dir="ltr">
<p dir="ltr">@123!</p>
</div>
<div dir="rtl">
<p dir="ltr">@123!</p>
<p dir="rtl">@123!</p>
</div>
</div>
</body>
Expand Down
4 changes: 2 additions & 2 deletions html/dom/elements/global-attributes/dir_auto-N-EN.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta name="assert" content="
When dir='auto', the direction is set according to the first strong character
of the text, ignoring neutrals and numbers.
If there is no strong character, as in this test, the direction defaults to LTR." />
If there is no strong character, as in this test, the direction defaults to the parent." />
<style>
input, textarea {
font-size:1em;
Expand Down Expand Up @@ -44,7 +44,7 @@
<p dir="ltr">@123!</p>
</div>
<div dir="rtl">
<p dir="ltr">@123!</p>
<p dir="rtl">@123!</p>
</div>
</div>
</body>
Expand Down