layout/reftests/css-mediaqueries/system-metrics-1.html

Thu, 15 Jan 2015 21:13:52 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:13:52 +0100
branch
TOR_BUG_9701
changeset 12
7540298fafa1
permissions
-rw-r--r--

Remove forgotten relic of ABI crash risk averse overloaded method change.

     1 <!DOCTYPE HTML>
     2 <title>test for system metric media queries</title>
     3 <style>
     5 p { color: red; }
     7 /* Exactly one of the next two should apply */
     9 @media all and (-moz-scrollbar-end-backward) {
    10   p:-moz-system-metric(scrollbar-end-backward) { color: green; }
    11 }
    13 @media not all and (-moz-scrollbar-end-backward) {
    14   p:not(:-moz-system-metric(scrollbar-end-backward)) { color: green; }
    15 }
    17 /* Neither of these should apply */
    19 @media not all and (-moz-scrollbar-end-backward) {
    20   p:-moz-system-metric(scrollbar-end-backward) { color: red; }
    21 }
    23 @media all and (-moz-scrollbar-end-backward) {
    24   p:not(:-moz-system-metric(scrollbar-end-backward)) { color: red; }
    25 }
    27 </style>
    28 <p>This text should be green.</p>

mercurial