add empty svg element with sizes test

This commit is contained in:
Alexandrov Sergey 2016-10-06 00:02:46 +03:00
parent a1fd802d65
commit 1f0b9ab3b7
4 changed files with 61 additions and 0 deletions

View file

@ -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",

View file

@ -0,0 +1,3 @@
[svg.html]
type: reftest
prefs: [dom.svg.enabled:true]

View 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>

View 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>