mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move pixel_snapping_border_a.html to wpt reftests.
This commit is contained in:
parent
198ee0f2c6
commit
3b9d165ee8
4 changed files with 31 additions and 1 deletions
|
@ -3511,6 +3511,20 @@
|
|||
"url": "/_mozilla/css/percentage_width_inline_block_a.html"
|
||||
}
|
||||
],
|
||||
"css/pixel_snapping_border_a.html": [
|
||||
{
|
||||
"dpi": "2",
|
||||
"path": "css/pixel_snapping_border_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/pixel_snapping_border_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/pixel_snapping_border_a.html",
|
||||
"viewport_size": "300x300"
|
||||
}
|
||||
],
|
||||
"css/png_rgba_colorspace_a.html": [
|
||||
{
|
||||
"path": "css/png_rgba_colorspace_a.html",
|
||||
|
@ -9526,6 +9540,20 @@
|
|||
"url": "/_mozilla/css/percentage_width_inline_block_a.html"
|
||||
}
|
||||
],
|
||||
"css/pixel_snapping_border_a.html": [
|
||||
{
|
||||
"dpi": "2",
|
||||
"path": "css/pixel_snapping_border_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/pixel_snapping_border_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/pixel_snapping_border_a.html",
|
||||
"viewport_size": "300x300"
|
||||
}
|
||||
],
|
||||
"css/png_rgba_colorspace_a.html": [
|
||||
{
|
||||
"path": "css/png_rgba_colorspace_a.html",
|
||||
|
|
21
tests/wpt/mozilla/tests/css/pixel_snapping_border_a.html
Normal file
21
tests/wpt/mozilla/tests/css/pixel_snapping_border_a.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Pixel snapping border test</title>
|
||||
<meta name=device-pixel-ratio content=2>
|
||||
<meta name=viewport-size content=300x300>
|
||||
<link rel=mismatch href=pixel_snapping_border_ref.html>
|
||||
<style>
|
||||
div {
|
||||
height: 101px;
|
||||
width: 101px;
|
||||
border: 0.5px solid black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
||||
|
18
tests/wpt/mozilla/tests/css/pixel_snapping_border_ref.html
Normal file
18
tests/wpt/mozilla/tests/css/pixel_snapping_border_ref.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Pixel snapping border reference</title>
|
||||
<style>
|
||||
div {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue