tor-browser

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

flexbox_computedstyle_order.html (578B)


      1 <!DOCTYPE html>
      2 <title>flexbox | computed style | order: 0</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 body {
     10 color: red;
     11 order: 0;
     12 }
     13 </style>
     14 <div id="log"></div>
     15 <script>
     16 test(function() {
     17    var body = document.body;
     18 
     19    assert_equals(getComputedStyle(body).getPropertyValue("order"),
     20           "0");
     21 });
     22 </script>