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

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
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>intrinsic widths for -moz-max-content, -moz-min-content, -moz-fit-content, and -moz-available values of CSS width property, on blocks</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 div { float: left; clear: left; }
michael@0 10
michael@0 11 </style>
michael@0 12 </head>
michael@0 13 <body>
michael@0 14
michael@0 15 <table border><tr><td>
michael@0 16 <div style="width: -moz-max-content">AA B</div>
michael@0 17 </td></tr></table>
michael@0 18
michael@0 19 <table border width="1"><tr><td>
michael@0 20 <div style="width: -moz-max-content">AA B</div>
michael@0 21 </td></tr></table>
michael@0 22
michael@0 23 <table border><tr><td>
michael@0 24 <div style="width: -moz-min-content">AA B</div>
michael@0 25 </td></tr></table>
michael@0 26
michael@0 27 <table border width="1"><tr><td>
michael@0 28 <div style="width: -moz-min-content">AA B</div>
michael@0 29 </td></tr></table>
michael@0 30
michael@0 31 <table border><tr><td>
michael@0 32 <div style="width: -moz-fit-content">AA B</div>
michael@0 33 </td></tr></table>
michael@0 34
michael@0 35 <table border width="1"><tr><td>
michael@0 36 <div style="width: -moz-fit-content">AA B</div>
michael@0 37 </td></tr></table>
michael@0 38
michael@0 39 <table border><tr><td>
michael@0 40 <div style="width: -moz-available">AA B</div>
michael@0 41 </td></tr></table>
michael@0 42
michael@0 43 <table border width="1"><tr><td>
michael@0 44 <div style="width: -moz-available">AA B</div>
michael@0 45 </td></tr></table>
michael@0 46
michael@0 47 </body>
michael@0 48 </html>

mercurial