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

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <style>
     2   body { overflow: auto }
     3   div {
     4     width: 10px;
     5     height: 10px;
     6     background-color: #d64203;
     7   }
     8 </style>
    10 <body>
    11   <div style="width: 50vw"></div>
    12   <div style="height: 25vh"></div>
    13   <div style="width: 35vmin"></div>
    14   <div style="height: 25vmax"></div>
    16   <!--
    17   Deliberately make the scrollbars appear to ensure that with 'overflow: auto'
    18   viewport units are calculated as if the scrollbars are _not_ there.
    19   -->
    20   <div style="width: 500px; height: 500px; background-color: black">
    21 </body>

mercurial