browser/devtools/styleinspector/test/doc_media_queries.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     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