author Neerja Pancholi <>
Wed, 17 Jan 2018 13:34:12 -0800
changeset 454252 6c200b73f15df4c1038ded120eafda67acf05b21
parent 413595 layout/reftests/w3c-css/received/css-values-3/ch-unit-003.html@7c9d96bbc400aa77f5310486162abf6b61344b74
permissions -rw-r--r--
Bug 1430939 - Part2:Rename directories in reftests/w3c/received/ to drop version number. r=dholbert MozReview-Commit-ID: ApxSiEnp7Tx

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Values and Units Test: support for the ch unit</title>
<link rel="author" title="Florian Rivoal" href="">
<link rel="help" href="">
<meta name="flags" content="">
<link rel="match" href="reference/ch-unit-001-ref.html">
<meta name="assert" content="In vertical mixed, The ch unit is equal to the used horizontal advance measure of the 0 (ZERO, U+0030) glyph found in the font used to render it.">
span {
    background: green;
    color: green;
    left: 0; right: 0;
    position: absolute;
div {
    background: red;
    color: red;
    position: relative;
    height: 5ch;
    width: 10ch;
    writing-mode: vertical-rl;
    text-orientation: mixed;

div + div {
    height: auto;

div + div span {
    height: 5ch;
    <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>