mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
add empty svg element with sizes test
This commit is contained in:
parent
a1fd802d65
commit
1f0b9ab3b7
4 changed files with 61 additions and 0 deletions
|
@ -6270,6 +6270,18 @@
|
|||
"url": "/_mozilla/mozilla/sslfail.html"
|
||||
}
|
||||
],
|
||||
"mozilla/svg/svg.html": [
|
||||
{
|
||||
"path": "mozilla/svg/svg.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/mozilla/svg/svg_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/mozilla/svg/svg.html"
|
||||
}
|
||||
],
|
||||
"mozilla/table_valign_bottom.html": [
|
||||
{
|
||||
"path": "mozilla/table_valign_bottom.html",
|
||||
|
@ -19992,6 +20004,18 @@
|
|||
"url": "/_mozilla/mozilla/sslfail.html"
|
||||
}
|
||||
],
|
||||
"mozilla/svg/svg.html": [
|
||||
{
|
||||
"path": "mozilla/svg/svg.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/mozilla/svg/svg_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/mozilla/svg/svg.html"
|
||||
}
|
||||
],
|
||||
"mozilla/table_valign_bottom.html": [
|
||||
{
|
||||
"path": "mozilla/table_valign_bottom.html",
|
||||
|
|
3
tests/wpt/mozilla/meta/mozilla/svg/svg.html.ini
Normal file
3
tests/wpt/mozilla/meta/mozilla/svg/svg.html.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[svg.html]
|
||||
type: reftest
|
||||
prefs: [dom.svg.enabled:true]
|
15
tests/wpt/mozilla/tests/mozilla/svg/svg.html
Normal file
15
tests/wpt/mozilla/tests/mozilla/svg/svg.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>SVG embedded inline</title>
|
||||
<link rel="match" href="svg_ref.html">
|
||||
</head>
|
||||
<body>
|
||||
top<br>
|
||||
a
|
||||
<svg width="100px" height="100px">
|
||||
</svg>
|
||||
b<br>
|
||||
bottom
|
||||
</body>
|
||||
</html>
|
19
tests/wpt/mozilla/tests/mozilla/svg/svg_ref.html
Normal file
19
tests/wpt/mozilla/tests/mozilla/svg/svg_ref.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>SVG embedded inline</title>
|
||||
<style>
|
||||
img {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
top<br>
|
||||
a
|
||||
<img>
|
||||
b<br>
|
||||
bottom
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue