Files
servo/tests/wpt/css-tests/css-transforms-1_dev/html/transform-inline-001.htm

24 lines
947 B
HTML

<!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>