gecko-dev/testing/web-platform/tests/css/css-ui/outline-022.html
Sam Sneddon 352cdf3eac Bug 1558809 [wpt PR 17292] - Add ahem.css to many more tests, a=testonly
Automatic update from web-platform-tests
Merge pull request #17292 from gsnedders/ahem-part2b

Add ahem.css to many more tests
--

wpt-commits: daf75e3bc7829fc4de06bff7136009210aafe3e5
wpt-pr: 17292
2019-07-24 13:31:10 +01:00

31 lines
811 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">
<meta name="flags" content="">
<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>