Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-overflow/overflow-clip-margin-016.html
<!doctype html> <html class="reftest"> <meta charset="utf-8"> <title>overflow-clip-margin: keyword + negative length</title> <link rel="help" href="https://www.w3.org/TR/css-overflow-3/#propdef-overflow-clip-margin"> <link rel="author" title="Tab Atkins-Bittner" href="mailto:jackalmage@gmail.com"> <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> <style> .clip { width: 100px; height: 100px; padding: 10px; margin: -10px 0 0 -10px; overflow: clip; overflow-clip-margin: padding-box -10px; background: red; background-clip: content-box; } .big { width: 100px; height: 100px; border: 50px solid red; position: relative; top: -50px; left: -50px; z-index: 1; background: green; } </style> <p>Test passes if there is a filled green square.</p> <div class=clip> <div class=big></div> </div>
/css/reference/ref-filled-green-100px-square-only.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> <p>Test passes if there is a filled green square.</p> <div style="width:100px; height:100px; background:green;"></div>