layout/reftests/css-valuesandunits/unit-vh-vw-overflow-scroll-iframe.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-valuesandunits/unit-vh-vw-overflow-scroll-iframe.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<style>
     1.5 +  body { overflow: scroll }
     1.6 +  div {
     1.7 +    width: 10px;
     1.8 +    height: 10px;
     1.9 +    background-color: #d64203;
    1.10 +  }
    1.11 +</style>
    1.12 +
    1.13 +<body>
    1.14 +  <div style="width: 50vw"></div>
    1.15 +  <div style="height: 25vh"></div>
    1.16 +  <div style="width: 35vmin"></div>
    1.17 +  <div style="height: 25vmax"></div>
    1.18 +
    1.19 +  <!--
    1.20 +  Ensure that the scroller positioned the same way as it would be in the
    1.21 +  'overflow: auto' case. We'll have scrollbars either way, but we don't
    1.22 +  want the '!=' reftest to spuriously succeed because of the scrollers.
    1.23 +  -->
    1.24 +  <div style="width: 500px; height: 500px; background-color: black">
    1.25 +</body>

mercurial