mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests
Fix transform-scale-{001,002}.html and transform-scaley-001.html . (#30932)
This fixes this set of tests to account for margin collapsing in the
reference, by removing the default margin on body in both test and
reference.
Prior to this change, the tests failed identically in Chromium, Gecko,
and WebKit.
--
wpt-commits: 74023a71f02bed1595c158c6334fc5aebef4f30d
wpt-pr: 30932
29 lines
832 B
HTML
29 lines
832 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CSS Test (Transforms): scale(0.5)</title>
|
|
<link rel="author" title="Clint Talbert" href="mailto:[email protected]">
|
|
<link rel="author" title="Aryeh Gregor" href="mailto:[email protected]">
|
|
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions">
|
|
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#funcdef-transform-scale">
|
|
<meta name="assert" content='This tests that scale(0.5) scales down a box
|
|
by a factor of one-half.'>
|
|
<link rel="match" href="transform-scale-ref.html">
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
div {
|
|
background: green;
|
|
width: 100px;
|
|
height: 100px;
|
|
transform: scale(0.5);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div></div>
|
|
</body>
|
|
</html>
|