Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-writing-modes/percentage-padding-in-shrink-to-fit.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<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>