Auto merge of #7355 - servo:iframe_size_attributes_vertical_writing_mode, r=pcwalton

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.

See discussion in #7313.

r? @pcwalton

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7355)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-25 10:04:39 -06:00
commit f79220f1a8
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_height.html iframe/simple_inline_width_height_ref.html
== iframe/simple_inline_width_percentage.html iframe/simple_inline_width_percentage_ref.html == iframe/simple_inline_width_percentage.html iframe/simple_inline_width_percentage_ref.html
== iframe/size_attributes.html iframe/size_attributes_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 == iframe/stacking_context.html iframe/stacking_context_ref.html
!= image_rendering_auto_a.html image_rendering_pixelated_a.html != image_rendering_auto_a.html image_rendering_pixelated_a.html

View file

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