Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -0,0 +1,52 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
CSS Values and Units Test:
Viewports units are supported in transform properties (iframe)
</title>
<meta name="assert" content="
Viewports units are supported in transform properties (translate)
" />
<link
rel="author"
title="François REMY"
href="mailto:fremycompany.developer@yahoo.fr"
/ >
<link rel="help" href="http://www.w3.org/TR/css3-values/#viewport-relative-lengths">
<link rel="help" href="http://www.w3.org/TR/css3-2d-transforms/#css-values">
<style type="text/css">
html, body { margin: 0px; padding: 0px; overflow: hidden; }
html { background: green; }
#target, #over-target {
position: absolute; top: 0px; left: 0px;
width: 100px; height: 100px;
transform: scale(0.5);
}
#target {
background: red;
transform-origin: 200px 200px;
}
#over-target {
background: green;
transform-origin: 50vw 50vh;
}
</style>
</head>
<body>
<div id="target"></div>
<div id="over-target"></div>
</body>
</html>

View file

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
CSS Values and Units Test:
Viewports units are supported in transform properties (iframe)
</title>
<meta name="assert" content="
Viewports units are supported in transform properties (translate)
" />
<link
rel="author"
title="François REMY"
href="mailto:fremycompany.developer@yahoo.fr"
/ >
<link rel="help" href="http://www.w3.org/TR/css3-values/#viewport-relative-lengths">
<link rel="help" href="http://www.w3.org/TR/css3-2d-transforms/#css-values">
<style type="text/css">
html, body { margin: 0px; padding: 0px; overflow: hidden; }
html { background: green; }
#target, #over-target {
position: absolute; top: 0px; left: 0px;
width: 100px; height: 100px;
}
#target {
background: red;
transform: translate(200px, 200px);
}
#over-target {
background: green;
transform: translate(50vw, 50vh);
}
</style>
</head>
<body>
<div id="target"></div>
<div id="over-target"></div>
</body>
</html>