mirror of
https://github.com/servo/servo.git
synced 2025-10-01 17:19:16 +01:00
Move pixel_snapping_position_a.html to wpt reftests.
This commit is contained in:
parent
3b9d165ee8
commit
bfec0f7274
4 changed files with 31 additions and 2 deletions
|
@ -3525,6 +3525,20 @@
|
|||
"viewport_size": "300x300"
|
||||
}
|
||||
],
|
||||
"css/pixel_snapping_position_a.html": [
|
||||
{
|
||||
"dpi": "2",
|
||||
"path": "css/pixel_snapping_position_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/pixel_snapping_position_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/pixel_snapping_position_a.html",
|
||||
"viewport_size": "300x300"
|
||||
}
|
||||
],
|
||||
"css/png_rgba_colorspace_a.html": [
|
||||
{
|
||||
"path": "css/png_rgba_colorspace_a.html",
|
||||
|
@ -9554,6 +9568,20 @@
|
|||
"viewport_size": "300x300"
|
||||
}
|
||||
],
|
||||
"css/pixel_snapping_position_a.html": [
|
||||
{
|
||||
"dpi": "2",
|
||||
"path": "css/pixel_snapping_position_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/pixel_snapping_position_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/pixel_snapping_position_a.html",
|
||||
"viewport_size": "300x300"
|
||||
}
|
||||
],
|
||||
"css/png_rgba_colorspace_a.html": [
|
||||
{
|
||||
"path": "css/png_rgba_colorspace_a.html",
|
||||
|
|
23
tests/wpt/mozilla/tests/css/pixel_snapping_position_a.html
Normal file
23
tests/wpt/mozilla/tests/css/pixel_snapping_position_a.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Pixel snapping position test</title>
|
||||
<meta name=device-pixel-ratio content=2>
|
||||
<meta name=viewport-size content=300x300>
|
||||
<link rel=mismatch href=pixel_snapping_position_ref.html>
|
||||
<style>
|
||||
div {
|
||||
position: absolute;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
top: 11.5px;
|
||||
background: red;
|
||||
transform: scale(1);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
19
tests/wpt/mozilla/tests/css/pixel_snapping_position_ref.html
Normal file
19
tests/wpt/mozilla/tests/css/pixel_snapping_position_ref.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Pixel snapping position reference</title>
|
||||
<style>
|
||||
div {
|
||||
position: absolute;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
top: 12px;
|
||||
background: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue