widget/reftests/meter-vertical-native-style.html
author Rob Wu <rob@robwu.nl>
Sat, 24 Sep 2016 11:16:32 +0200
changeset 320058 a41f871e2d1b37754bbd1001c36c075511b49342
parent 95955 0f2b9a6e36c7f48b40c2f0c1b734fe4c27724791
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

<html>
  <style>
    meter { -moz-orient: vertical; }
  </style>
  <body>
<!-- For some reasons, the ref has a small offset when there are spaces between meters.
     Given that we don't want to test -moz-transform and even a perfect match but just
     the general rendering, we are going to keep this dirty test.
     It's very similar to the non-vertical test with a difference, for the RTL: RTL
     does not apply for vertical meters. -->
<meter vaue=0></meter><meter min=0 low=0 high=10 optimum=10 max=10 value=10></meter><meter min=0 low=9 high=10 optimum=8 max=10 value=10></meter><meter min=0 low=8 high=9 optimum=0 max=10 value=10></meter><meter min=0 low=3 high=4 optimum=4 max=10 value=5></meter><meter min=0 low=9 high=10 optimum=10 max=10 value=5></meter><meter value=0.5 dir=rtl></meter>
  </body>
</html>