summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-generated-002.html
blob: 60c4932d15e523ecd2537771f904d22e650ddb76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Generated Content (inline)</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-rendering">
    <meta name="assert" content="Transforms need to work on boxes of generated
    content just as on any other boxes.  This file tests a generated inline
    box.">
    <link rel="match" href="transform-generated-002-ref.html">
    <link rel="mismatch" href="transform-generated-002-notref.html">
    <style>
      span::before {
        transform: rotate(180deg);
        transform-origin: left;
        display: block;
        content: 'abc';
      }
    </style>
  </head>
  <body>
    <span>def</span>
  </body>
</html>