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>
20 lines
849 B
HTML
20 lines
849 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body { margin: 0; font-size: 16px; }
|
|
.positive { text-indent: 40px; width: 200px; background: #eee; margin-bottom: 10px; }
|
|
.negative { text-indent: -20px; width: 200px; background: #ddd; margin-bottom: 10px; padding-left: 30px; }
|
|
.percentage { text-indent: 10%; width: 400px; background: #ccc; margin-bottom: 10px; }
|
|
.inherited { text-indent: 25px; width: 300px; }
|
|
.inherited div { background: #bbb; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="positive">Positive indent on first line only, the rest wraps normally.</div>
|
|
<div class="negative">Negative indent creates a hanging indent effect for this text.</div>
|
|
<div class="percentage">Percentage indent resolves to 10% of containing block width.</div>
|
|
<div class="inherited"><div>Inherited indent from parent element.</div></div>
|
|
</body>
|
|
</html>
|