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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <style>
     2   body { overflow-y: scroll }
     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   <!-- Deliberately make scrollbars appear. -->
    17   <div style="width: 500px; height: 500px; background-color: black">
    18 </body>

mercurial