diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-08-25 10:04:39 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-08-25 10:04:39 -0600 |
commit | f79220f1a8bcb47d8248356f303c7b3673322905 (patch) | |
tree | d763eda0f8b970503a0ce1286d7e7747c3e38f0d | |
parent | a109a333f1f95d4fc677b29e3613b2615514c080 (diff) | |
parent | 97f71bb2577c9e02971d4749bd5bdd9e3d3f8ad7 (diff) | |
download | servo-f79220f1a8bcb47d8248356f303c7b3673322905.tar.gz servo-f79220f1a8bcb47d8248356f303c7b3673322905.zip |
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 -->
-rw-r--r-- | tests/ref/basic.list | 2 | ||||
-rw-r--r-- | tests/ref/iframe/size_attributes_vertical_writing_mode.html | 4 | ||||
-rw-r--r-- | tests/ref/iframe/size_attributes_vertical_writing_mode_ref.html | 19 |
3 files changed, 21 insertions, 4 deletions
diff --git a/tests/ref/basic.list b/tests/ref/basic.list index 28ec8f3c90e..fb1d1867ab4 100644 --- a/tests/ref/basic.list +++ b/tests/ref/basic.list @@ -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 diff --git a/tests/ref/iframe/size_attributes_vertical_writing_mode.html b/tests/ref/iframe/size_attributes_vertical_writing_mode.html index 1c35036b6c5..c6b69388573 100644 --- a/tests/ref/iframe/size_attributes_vertical_writing_mode.html +++ b/tests/ref/iframe/size_attributes_vertical_writing_mode.html @@ -7,9 +7,7 @@ body { } iframe { - writing-mode: vertical-lr; - position: relative; - top: 104px; + writing-mode: vertical-rl; } </style> </head> diff --git a/tests/ref/iframe/size_attributes_vertical_writing_mode_ref.html b/tests/ref/iframe/size_attributes_vertical_writing_mode_ref.html new file mode 100644 index 00000000000..076b13ef2f4 --- /dev/null +++ b/tests/ref/iframe/size_attributes_vertical_writing_mode_ref.html @@ -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> + |