layout/reftests/flexbox/flexbox-basic-video-horiz-2-ref.xhtml

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 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3      Any copyright is dedicated to the Public Domain.
     4      http://creativecommons.org/publicdomain/zero/1.0/
     5 -->
     6 <html xmlns="http://www.w3.org/1999/xhtml">
     7   <head>
     8     <style>
     9       div.flexbox {
    10         height: 50px;
    11         width: 50px;
    12         border: 2px dotted black;
    13         display: flex;
    14       }
    15       video {
    16         width: 50px;
    17         height: 50px;
    18         background: purple;
    19         min-width: -moz-min-content;
    20       }
    21     </style>
    22   </head>
    23   <body>
    24     <div class="flexbox">
    25       <video/>
    26     </div>
    27   </body>
    28 </html>

mercurial