1
0
Fork 0
firefox/testing/web-platform/tests/css/css-ui/outline-022.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

30 lines
780 B
HTML

<!DOCTYPE html>
<title>CSS-UI test: outline works on nested spans</title>
<link rel="author" href="mailto:atotic@google.com">
<link rel="help" href="https://drafts.csswg.org/css-ui/#outline-props">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
body {
--outline-width: 10px;
--square-width: 80px;
}
#container {
width: var(--square-width);
padding: var(--outline-width);
}
#target {
font-family: Ahem;
font-size: var(--square-width);
outline: solid var(--outline-width) green;
color: green;
}
</style>
<p>Test passes if there is a filled green square.</p>
<div id="container">
<span>
<span>
<span id="target">x</span>
</span>
</span>
</div>