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>
17 lines
562 B
HTML
17 lines
562 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body { margin: 0; font-size: 16px; }
|
|
.ltr { direction: ltr; width: 400px; background: #eee; margin-bottom: 10px; }
|
|
.rtl { direction: rtl; width: 400px; background: #ddd; margin-bottom: 10px; }
|
|
.rtl-center { direction: rtl; text-align: center; width: 400px; background: #ccc; margin-bottom: 10px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="ltr">Left-to-right text alignment.</div>
|
|
<div class="rtl">Right-to-left text alignment.</div>
|
|
<div class="rtl-center">RTL with explicit center alignment.</div>
|
|
</body>
|
|
</html>
|