layout/reftests/box-properties/width-special-values-float-intrinsic.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE html>
     2 <html lang="en-US">
     3 <head>
     4   <title>intrinsic widths for -moz-max-content, -moz-min-content, -moz-fit-content, and -moz-available values of CSS width property, on blocks</title>
     5   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     6   <meta http-equiv="Content-Style-Type" content="text/css">
     7   <style type="text/css">
     9   div { float: left; clear: left; }
    11   </style>
    12 </head>
    13 <body>
    15 <table border><tr><td>
    16   <div style="width: -moz-max-content">AA B</div>
    17 </td></tr></table>
    19 <table border width="1"><tr><td>
    20   <div style="width: -moz-max-content">AA B</div>
    21 </td></tr></table>
    23 <table border><tr><td>
    24   <div style="width: -moz-min-content">AA B</div>
    25 </td></tr></table>
    27 <table border width="1"><tr><td>
    28   <div style="width: -moz-min-content">AA B</div>
    29 </td></tr></table>
    31 <table border><tr><td>
    32   <div style="width: -moz-fit-content">AA B</div>
    33 </td></tr></table>
    35 <table border width="1"><tr><td>
    36   <div style="width: -moz-fit-content">AA B</div>
    37 </td></tr></table>
    39 <table border><tr><td>
    40   <div style="width: -moz-available">AA B</div>
    41 </td></tr></table>
    43 <table border width="1"><tr><td>
    44   <div style="width: -moz-available">AA B</div>
    45 </td></tr></table>
    47 </body>
    48 </html>

mercurial