browser/devtools/styleinspector/test/doc_matched_selectors.html

Thu, 22 Jan 2015 13:21:57 +0100

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

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!-- Any copyright is dedicated to the Public Domain.
     2      http://creativecommons.org/publicdomain/zero/1.0/ -->
     3 <html>
     4   <head>
     5     <style>
     6       .matched1, .matched2, .matched3, .matched4, .matched5 {
     7         color: #000;
     8       }
    10       div {
    11         position: absolute;
    12         top: 40px;
    13         left: 20px;
    14         border: 1px solid #000;
    15         color: #111;
    16         width: 100px;
    17         height: 50px;
    18       }
    19     </style>
    20   </head>
    21   <body>
    22     inspectstyle($("test"));
    23     <div id="test" class="matched1 matched2 matched3 matched4 matched5">Test div</div>
    24     <div id="dummy">
    25       <div></div>
    26     </div>
    27   </body>
    28 </html>

mercurial