mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
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:
parent
842112c0f3
commit
97f71bb257
3 changed files with 21 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -7,9 +7,7 @@ body {
|
|||
}
|
||||
|
||||
iframe {
|
||||
writing-mode: vertical-lr;
|
||||
position: relative;
|
||||
top: 104px;
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
|
@ -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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue