summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/transforms/transform-on-inline.html
blob: 5aa1b9bfb73c3e4a2c5a99701e05ea42239127c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<style>
  .transparent {
    opacity: 0.5;
  }

  .transformed {
    transform: rotate(10deg);
  }
</style>
</head>
<body>

<p>The <span class="transformed">span in this paragraph</span> has a transform, which has no effect on inlines.</p>

<p>The <span class="transparent transformed">span in this paragraph</span> has a transform, which has no effect on inlines. It also has opacity to throw it into a Layer.</p>

<p>The <span class="transparent transformed" style="display: inline-block;">span in this paragraph</span> has a transform and opacity, and is an inline-block. So it should respect the transform.</p>

</div>