layout/reftests/first-line/font-styles-nooverflow.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Simple first-line test</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     8 html { overflow: hidden; }
     9 body {
    10   margin: 20px;
    11   font-family: serif;
    12   font-size: 200%;
    13   line-height: 1.5;
    14   width: 400px;
    15 }
    17 div:first-line {
    18   font-family: sans-serif;
    19 }
    21 .floatright {
    22   float: right;
    23 }
    25 </style>
    27 </head>
    28 <body><div>sans-serif<br>serif <strong>bold serif <em>italic</em></strong><em><br>just italic<span class="floatright">italic too</span></em></div></body>
    29 </html>

mercurial