layout/reftests/font-inflation/consecutive-inline.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <style>
michael@0 3 div {
michael@0 4 width: 450px;
michael@0 5 font-size: 12px;
michael@0 6 }
michael@0 7
michael@0 8 a {
michael@0 9 font-weight: bold;
michael@0 10 line-height: 1.1em;
michael@0 11 color: blue;
michael@0 12 }
michael@0 13
michael@0 14 a#first {
michael@0 15 font-size: 12px;
michael@0 16 font-style: italic;
michael@0 17 }
michael@0 18
michael@0 19 a#second {
michael@0 20 font-size: 30px;
michael@0 21 }
michael@0 22
michael@0 23 </style>
michael@0 24 <!--
michael@0 25 In a 450 px container, the minimum font size at 15em per line is 30px. This
michael@0 26 means we map 0px-45px into 30px-45px, so 12px gets mapped to 34px and 30px
michael@0 27 gets mapped to 40px.
michael@0 28 -->
michael@0 29 <div>
michael@0 30 <a id="first" href="">Hello</a><a id="second" href="">Worldz</a>
michael@0 31 </div>

mercurial