layout/reftests/box-properties/width-special-values-cell-fixed-ref.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.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html lang="en-US">
michael@0 3 <head>
michael@0 4 <title>-moz-max-content, -moz-min-content, -moz-fit-content, and -moz-available values of CSS width property, on table cells with table-layout: fixed</title>
michael@0 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
michael@0 6 <meta http-equiv="Content-Style-Type" content="text/css">
michael@0 7 <style type="text/css">
michael@0 8
michael@0 9 body { font-size: 10px; line-height: 1; }
michael@0 10
michael@0 11 td table { width: 200px; }
michael@0 12 td td:first-child {
michael@0 13 border-left: 1px solid;
michael@0 14 padding-left: 2px;
michael@0 15 padding-right: 4px;
michael@0 16 border-right: 8px solid;
michael@0 17
michael@0 18 background: yellow;
michael@0 19 }
michael@0 20
michael@0 21 </style>
michael@0 22 </head>
michael@0 23 <body>
michael@0 24
michael@0 25 <table border><tr>
michael@0 26 <td>
michael@0 27 <!-- width -->
michael@0 28 <table border><tr><td width="1">A&nbsp;B</td><td></td></tr></table>
michael@0 29 <table border><tr><td width="1">A B</td><td></td></tr></table>
michael@0 30 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 31 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 32
michael@0 33 </td>
michael@0 34 <td>
michael@0 35 <!-- min-width -->
michael@0 36
michael@0 37 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 38 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 39 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 40 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 41
michael@0 42 <table border><tr><td width="1">A&nbsp;B</td><td></td></tr></table>
michael@0 43 <table border><tr><td width="1">A B</td><td></td></tr></table>
michael@0 44 <table border><tr><td width="1">A B</td><td></td></tr></table>
michael@0 45 <table border><tr><td width="1"><div style="width: 1px">A B</div></td><td></td></tr></table>
michael@0 46
michael@0 47 </td>
michael@0 48 <td>
michael@0 49 <!-- max-width -->
michael@0 50
michael@0 51 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 52 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 53 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 54 <table border><tr><td width="50%">A B</td><td width="50%"></td></tr></table>
michael@0 55
michael@0 56 <table border><tr><td width="1">A&nbsp;B</td><td></td></tr></table>
michael@0 57 <table border><tr><td width="1">A B</td><td></td></tr></table>
michael@0 58 <table border><tr><td width="1">A&nbsp;B</td><td></td></tr></table>
michael@0 59 <table border><tr><td width="150">A B</td><td></td></tr></table>
michael@0 60
michael@0 61 </td>
michael@0 62 </tr></table>
michael@0 63
michael@0 64
michael@0 65 </body>
michael@0 66 </html>

mercurial