aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/transform-inline-001.htm
blob: 0082b989990e90cbbbc9a09f9afe6128e3f3760f (plain) (blame)
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): Transformed Inline</title>
    <link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
    <link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help">
    <meta content="The definition of &quot;transformable element&quot;
    includes atomic inline-level elements, such as images, but not regular
    inline-level elements, such as spans.  The 'transform' property
    only applies to transformable elements, so it should have no effect on a
    span." name="assert">
    <link href="reference/transform-inline-ref.htm" rel="match">
    <link href="reference/transform-inline-notref.htm" rel="mismatch">
    <style>
      span, p + p {
        transform: rotate(180deg);
      }
    </style>
  </head>
  <body>
    <p>This is some <span>text<br>that is</span> not transformed</p>
    <p>This is some text that is transformed</p>
  

</body></html>