tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

flexbox_computedstyle_order-inherit.html (609B)


      1 <!DOCTYPE html>
      2 <title>flexbox | computed style | order: -1</title>
      3 <link rel="author" href="http://opera.com" title="Opera Software">
      4 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#order-property">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <meta name="flags" content="dom">
      8 <style>
      9 html {
     10 order: 666;
     11 }
     12 body {
     13 color: red;
     14 order: inherit;
     15 }
     16 </style>
     17 <div id="log"></div>
     18 <script>
     19 test(function() {
     20    var body = document.body;
     21 
     22    assert_equals(getComputedStyle(body).getPropertyValue("order"),
     23           "666");
     24 });
     25 </script>