https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 149c83d77d05dafea4a5a4dadf6670bfadc8e360 authored by moz-wptsync-bot on 16 March 2018, 13:38:52 UTC
Port XHR to WorkerRef,
Tip revision: 149c83d
transform-scale-percent-001.html
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): scale(50%, 50%)</title>
    <link rel="author" title="Clint Talbert" href="mailto:ctalbert@mozilla.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#funcdef-scale">
    <meta name="assert" content='This tests that scale(50%, 50%) does nothing,
    because scale() is defined to take numbers and not percentages.'>
    <link rel="match" href="transform-scale-percent-ref.html">
    <style>
      div {
        background: green;
        width: 100px;
        height: 100px;
        transform: scale(50%, 50%);
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>
back to top