mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
25 lines
1.1 KiB
HTML
25 lines
1.1 KiB
HTML
<!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): scale(-1) on Root Element With Background On Body</title>
|
|
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
|
|
<link href="http://www.w3.org/TR/css-transforms-1/#transform-rendering" rel="help" />
|
|
<meta content="Identical to transform-root-bg-001.html,
|
|
except that the background property is put on the body rather than the root
|
|
element. This should make no difference, because the body's background
|
|
propagates up to the canvas if there's no root element background." name="assert" />
|
|
<link href="reference/transform-root-bg-001-ref.xht" rel="match" />
|
|
<style>
|
|
html {
|
|
transform: scale(-1);
|
|
}
|
|
body {
|
|
background: url(support/transform-triangle-left.svg);
|
|
/* The default 8px margin makes the background not line up exactly */
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
</body></html> |