Revision 9dcebcba39eba001a6f4a525646712021b55a685 authored by Robert Ma on 22 March 2018, 19:02:06 UTC, committed by Robert Ma on 22 March 2018, 20:18:25 UTC
1 parent f94a28a
ic-unit-001.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Values and Units Test: support for the ic unit</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
<link rel="help" href="https://drafts.csswg.org/css-values-4/#font-relative-lengths">
<link rel="match" href="reference/ic-unit-001-ref.html">
<meta name="assert" content="The ic unit is equal to the used advance measure of the 水 (CJK water ideograph, U+6C34) glyph found in the font used to render it.">
<style>
span {
background: green;
color: green;
top: 0; bottom: 0;
position: absolute;
}
div {
background: red;
color: red;
position: relative;
height: 10ic;
width: 5ic;
float: left;
}
div + div {
width: auto;
}
div + div span {
width: 5ic;
}
</style>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div><span>水水水水水</span></div>
<div><span></span>水水水水水</div>
</body>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...