mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Patch proposed by Xidorn appears to work as expected. Added testcase to WPT. Differential Revision: https://phabricator.services.mozilla.com/D171445
23 lines
435 B
HTML
23 lines
435 B
HTML
<!DOCTYPE html>
|
|
<meta charset="UTF-8">
|
|
<title>CSS Ruby reference</title>
|
|
<style>
|
|
div { font-size: 50px; }
|
|
rb, rt, span { unicode-bidi: isolate; }
|
|
</style>
|
|
<p>All three examples should look the same:</p>
|
|
|
|
<div>
|
|
<p>
|
|
<ruby dir=rtl>۱ ۲ ۳<rt>1 2 3</rt></ruby>
|
|
</p>
|
|
|
|
<p>
|
|
<ruby dir=rtl>۱ ۲ ۳<rt>1 2 3</rt></ruby>
|
|
</p>
|
|
|
|
<p>
|
|
<ruby dir=rtl>۱ ۲ ۳<rt>1 2 3</rt></ruby>
|
|
</p>
|
|
</div>
|