Files
rust_browser/tests/goldens/fixtures/259-unicode-bidi.html
Zachary D. Rowitsch 0c082579ba Implement CSS 2.1 text properties with code review fixes (§16.1, §16.3, §16.4, §9.10)
Implement word-spacing, text-indent verification, text-decoration completeness,
direction, and unicode-bidi properties. Code review fixes include adding
TextAlign::Start variant for correct direction-dependent initial value and
consolidating duplicate layout_html() test helpers across 12 files into a
shared tests::common module.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 09:19:07 -04:00

20 lines
849 B
HTML

<!DOCTYPE html>
<!-- MVP: Tests unicode-bidi style system storage and block-level RTL alignment.
Uses LTR ASCII text so all three values produce similar right-aligned output.
Full BiDi character reordering is not yet implemented. -->
<html>
<head>
<style>
body { margin: 0; font-size: 16px; }
.normal { unicode-bidi: normal; direction: rtl; width: 400px; background: #eee; margin-bottom: 10px; }
.embed { unicode-bidi: embed; direction: rtl; width: 400px; background: #ddd; margin-bottom: 10px; }
.override { unicode-bidi: bidi-override; direction: rtl; width: 400px; background: #ccc; margin-bottom: 10px; }
</style>
</head>
<body>
<div class="normal">Normal bidi with RTL direction.</div>
<div class="embed">Embed bidi with RTL direction.</div>
<div class="override">Bidi override with RTL direction.</div>
</body>
</html>