layout/reftests/backgrounds/background-size-each-box.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4   <title>background-break: each-box</title>
     5   <style type="text/css">
     6 @font-face
     7 {
     8   font-family: Ahem;
     9   src: url(../fonts/Ahem.ttf);
    10 }
    12 #outer
    13 {
    14   border: 1px solid black;
    15   width: 10em;
    16 }
    17 #ahem-lines
    18 {
    19   font-family: Ahem;
    20   font-size: 32px;
    21   white-space: pre;
    22   background-image: url(blue-8x20-green-8x20.png);
    23   background-repeat: no-repeat;
    24   -moz-background-inline-policy: each-box;
    25 }
    26 </style>
    27 </head>
    28 <body>
    29 <div id="outer">
    30 <span id="ahem-lines">      <!-- EOL -->
    31         <!-- mix it up for each-box and bounding-box --><!-- EOL -->
    32       <!-- EOL -->
    33       <!-- EOL -->
    34       </span></div>
    35 </body>
    36 </html>

mercurial