widget/reftests/meter-fallback-default-style.html
author Rob Wu <rob@robwu.nl>
Sat, 24 Sep 2016 11:16:32 +0200
changeset 320058 a41f871e2d1b37754bbd1001c36c075511b49342
parent 95953 34bc8e3d549fc84c2ef41eec9ed98e9654e483d5
permissions -rw-r--r--
Bug 1299411 - Decouple Port implementation from API r=aswan Decoupled the API from the implementation. From now on it is possible to create Port instances without generating an API. This allows us to internally use Ports to pass around messages with minimal overhead (in the form of unnecessary clones of messages). This will be used by native messaging. This commit has no behavioral change, it is mostly moving around some code and storing the internal message listener in a set. MozReview-Commit-ID: 4h0LNJvTH9R

<!DOCTYPE html>
<html>
  <style>
    meter { padding: 5px }
    body > meter:nth-child(1) { -moz-appearance: none; }
    body > meter:nth-child(2)::-moz-meter-bar { -moz-appearance: none; }
    body > meter:nth-child(3) { background: red; }
    body > meter:nth-child(4)::-moz-meter-bar { background: red; }
    body > meter:nth-child(5) { border: 2px solid red; }
    body > meter:nth-child(6)::-moz-meter-bar { border: 5px solid red; }
  </style>
  <body>
    <meter value=1></meter>
    <meter value=1></meter>
    <meter value=1></meter>
    <meter value=1></meter>
    <meter value=1></meter>
    <meter value=1></meter>
  </body>
</html>