Revision fced01876b48e034b64d9dad6de14d1bdeba3cc0 authored by Daniel Cheng on 12 April 2018, 12:08:45 UTC, committed by Chromium WPT Sync on 12 April 2018, 12:08:45 UTC
Change-Id: I1e66f2cdc50be889b697b54401be6352607fa649
Reviewed-on: https://chromium-review.googlesource.com/1006528
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550152}
1 parent 19a42b9
Raw File
transform-origin-013.html
<!DOCTYPE html>
<html>
 <head>
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Jaffe Worley" href="mailto:jaffe75@gmail.com">
  <link rel="reviewer" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
  <link rel="help" href="https://drafts.csswg.org/css-transforms-1/#transform-origin-property">
  <link rel="match" href="transform-origin-013-ref.html">
  <style type="text/css">
    div {
      width: 100px;
      height: 100px;
    }
    .gradient{
      background-image: linear-gradient(orange 50%, fuchsia 50%);
      transform: rotate(90deg);
      transform-origin: top right;
    }

    .red {
      width: 98px;
      height: 98px;
      background: red;
    }
  </style>
 </head>
 <body>
   <p>The test passes if there is a vertical fuchsia stripe to the left of an orange stripe. You should see no red.</p>
    <div class="red"></div>
    <div class="gradient"></div>
 </body>
</html>
back to top