Move size_attributes_vertical_writing_mode.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-11-26 09:08:11 +01:00
parent e2c5143ec7
commit b0243d66a6
5 changed files with 28 additions and 1 deletions

View file

@ -1771,6 +1771,18 @@
"url": "/_mozilla/css/iframe/size_attributes.html"
}
],
"css/iframe/size_attributes_vertical_writing_mode.html": [
{
"path": "css/iframe/size_attributes_vertical_writing_mode.html",
"references": [
[
"/_mozilla/css/iframe/size_attributes_vertical_writing_mode_ref.html",
"=="
]
],
"url": "/_mozilla/css/iframe/size_attributes_vertical_writing_mode.html"
}
],
"css/image_rendering_auto_a.html": [
{
"path": "css/image_rendering_auto_a.html",
@ -7422,6 +7434,18 @@
"url": "/_mozilla/css/iframe/size_attributes.html"
}
],
"css/iframe/size_attributes_vertical_writing_mode.html": [
{
"path": "css/iframe/size_attributes_vertical_writing_mode.html",
"references": [
[
"/_mozilla/css/iframe/size_attributes_vertical_writing_mode_ref.html",
"=="
]
],
"url": "/_mozilla/css/iframe/size_attributes_vertical_writing_mode.html"
}
],
"css/image_rendering_auto_a.html": [
{
"path": "css/image_rendering_auto_a.html",

View file

@ -0,0 +1,3 @@
prefs: [layout.writing-mode.enabled:true]
[viewport_meta.html]
type: reftest

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<link rel=match href=size_attributes_vertical_writing_mode_ref.html>
<style>
body {
background: purple;
}
iframe {
writing-mode: vertical-rl;
}
</style>
</head>
<body>
<iframe src="about:blank" width=200 height=100></iframe>
</body>
</html>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<style>
body {
background: purple;
text-align: right;
}
iframe {
width: 200px;
height: 100px;
}
</style>
</head>
<body>
<iframe src="about:blank"></iframe>
</body>
</html>