Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-inline/text-box-trim/text-box-trim-half-leading-block-box-002.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>text-box-trim trims the block-start (not over) side of a line box</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="match" href="text-box-trim-half-leading-block-box-002-ref.html">
<style>
.div-parent {
outline: 1px solid orange;
font: 20px/3 Ahem;
writing-mode: vertical-lr;
text-box-trim: trim-start;
text-box-edge: text;
}
</style>
<div class="div-parent">Test</div>