Refactor tests/ref/iframe/size_attributes_vertical_writing_mode.html

… to not use an arbitrary 104px offset that just happens to match the reference
and relies on incorrect behavior.
This commit is contained in:
Simon Sapin 2015-08-25 12:39:49 +02:00
parent 842112c0f3
commit 97f71bb257
3 changed files with 21 additions and 4 deletions

View file

@ -138,7 +138,7 @@ experimental == flex_row_direction.html flex_row_direction_ref.html
== iframe/simple_inline_width_height.html iframe/simple_inline_width_height_ref.html
== iframe/simple_inline_width_percentage.html iframe/simple_inline_width_percentage_ref.html
== iframe/size_attributes.html iframe/size_attributes_ref.html
experimental == iframe/size_attributes_vertical_writing_mode.html iframe/size_attributes_ref.html
experimental == iframe/size_attributes_vertical_writing_mode.html iframe/size_attributes_vertical_writing_mode_ref.html
== iframe/stacking_context.html iframe/stacking_context_ref.html
!= image_rendering_auto_a.html image_rendering_pixelated_a.html

View file

@ -7,9 +7,7 @@ body {
}
iframe {
writing-mode: vertical-lr;
position: relative;
top: 104px;
writing-mode: vertical-rl;
}
</style>
</head>

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>