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-input-007.html
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Input (type=password)</title>
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-property">
    <link rel="reviewer" title="Apple Inc." href="http://www.apple.com">
    <meta name="assert" content='The input element is an atomic inline element,
    so it falls under the definition of transformable and should be affected by
    transformations as usual.  This is one in a series of tests that verify
    that a few simple transforms have the expected effect on various types of
    inputs.  (They only test a few very specific transforms because it would be
    difficult to construct a correct reference file for more complex
    transforms.)'>
    <link rel="match" href="transform-input-007-ref.html">
    <style>
      input {
        /* Margin to avoid overlap of translated inputs */
        margin: 10px;
      }
      p + input {
        transform: rotate(360deg);
      }
      p + input + input {
        transform: translateX(-10px);
      }
      p + input + input + input {
        transform: translateX(10px);
      }
      p + input + input + input + input {
        transform: translateY(-10px);
      }
      p + input + input + input + input + input {
        transform: translateY(10px);
      }
    </style>
  </head>
  <body>
    <p>type=password</p>
    <input value="abc" type="password">
    <input value="abc" type="password">
    <input value="abc" type="password">
    <input value="abc" type="password">
    <input value="abc" type="password">
  </body>
</html>
back to top