mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Add test for canvases without contexts.
This commit is contained in:
parent
b7e05b4a9d
commit
f97e6ab9ca
3 changed files with 53 additions and 0 deletions
|
@ -1212,6 +1212,18 @@
|
|||
"url": "/_mozilla/css/canvas_radial_gradient_a.html"
|
||||
}
|
||||
],
|
||||
"css/canvas_without_context_a.html": [
|
||||
{
|
||||
"path": "css/canvas_without_context_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/canvas_without_context_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/canvas_without_context_a.html"
|
||||
}
|
||||
],
|
||||
"css/case-insensitive-font-family.html": [
|
||||
{
|
||||
"path": "css/case-insensitive-font-family.html",
|
||||
|
@ -7940,6 +7952,18 @@
|
|||
"url": "/_mozilla/css/canvas_radial_gradient_a.html"
|
||||
}
|
||||
],
|
||||
"css/canvas_without_context_a.html": [
|
||||
{
|
||||
"path": "css/canvas_without_context_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/canvas_without_context_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/canvas_without_context_a.html"
|
||||
}
|
||||
],
|
||||
"css/case-insensitive-font-family.html": [
|
||||
{
|
||||
"path": "css/case-insensitive-font-family.html",
|
||||
|
|
15
tests/wpt/mozilla/tests/css/canvas_without_context_a.html
Normal file
15
tests/wpt/mozilla/tests/css/canvas_without_context_a.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<link rel="match" href="canvas_without_context_ref.html">
|
||||
<style>
|
||||
div {
|
||||
background-color: green;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div><canvas width="20" height="20"></canvas></div>
|
||||
</body>
|
||||
</html>
|
14
tests/wpt/mozilla/tests/css/canvas_without_context_ref.html
Normal file
14
tests/wpt/mozilla/tests/css/canvas_without_context_ref.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
div {
|
||||
background-color: green;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue