Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-ui/outline-offset-inset-004.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="outline-offset-inset-004-ref.html">
<meta name="assert" content="outline-offset: inset renders the same as a negative outline-offset when CSS zoom is applied">
<style>
div {
display: inline-block;
width: 80px;
height: 80px;
background: lightblue;
outline: 5px solid blue;
outline-offset: inset;
margin: 20px;
}
</style>
<div></div>
<div style="zoom: 2"></div>