blob: 26f57804109b384b3662fbaaf54f16afb311f142 (
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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><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 "transformable element"
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.xht" rel="match" />
<link href="reference/transform-inline-notref.xht" 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>
|