browser/devtools/styleinspector/test/doc_media_queries.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 <html>
     2 <head>
     3   <title>test</title>
     4   <script type="application/javascript;version=1.7">
     6   </script>
     7   <style>
     8     div {
     9       width: 1000px;
    10       height: 100px;
    11       background-color: #f00;
    12     }
    14     @media screen and (min-width: 1px) {
    15       div {
    16         width: 200px;
    17       }
    18     }
    19   </style>
    20 </head>
    21 <body>
    22 <div></div>
    23 </body>
    24 </html>

mercurial