<!doctype html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<meta charset="utf-8">
<title>CSS Lists Test - check baseline alignment of vertical writing-mode text ::markers</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-lists-3/#text-markers">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1156996">
<link rel="match" href="list-style-type-decimal-vertical-lr-ref.html">
<html>
<style>
html { writing-mode: vertical-lr; }
ol {
  list-style-position: inside;
  padding: 0;
  margin: 0;
}
.content::marker { content: "1. "; }
.sz1 { font-size: 40px; }
.sz1::marker { font-size: 20px; }
.sz2 { font-size: 20px; }
.sz2::marker { font-size: 40px; }
</style>

<ol><li>1.</li></ol>
<ol><li class="content">1.</li></ol>
<ol><li class="sz1">1.</li></ol>
<ol><li class="content sz1">1.</li></ol>
<ol><li class="sz2">1.</li></ol>
<ol><li class="content sz2">1.</li></ol>
