summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/percentage-padding-in-shrink-to-fit.html
blob: 240a66c9c6b81ba57addbebd456b5c497dcd4d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#dimension-mapping">
<link rel="help" href="https://www.w3.org/TR/CSS22/box.html#propdef-padding-top">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=966795">
<link rel="match" href="../reference/nothing.html">
<meta name="assert" content="Percentage-padding is always resolved against the inline-size of the containing block, even if it's about block padding.">
<p>There should be nothing below.</p>
<div style="float:left;">
  <div style="display:flex; writing-mode:vertical-rl; padding:1000%; background:red;"></div>
</div>