blob: 357ea4fcafac5e1f9cc48a37f35d4de594ffb83f (
plain)
1
2
3
4
5
6
7
8
9
10
|
<!DOCTYPE html>
<title>contain:inline-size on element with vertical writing-mode</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-contain/#contain-property">
<link rel="help" href="https://drafts.csswg.org/css-contain-3/#containment-inline-size">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="writing-mode:vertical-rl; contain:inline-size; width:fit-content; border:solid green; border-width:50px 0; background:red;">
<div style="width:100px; height:100px;"></div>
</div>
|