mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
25 lines
570 B
HTML
25 lines
570 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<title>Changing CSS object-view-box should trigger relayout : ref</title>
|
|
<link rel="author" href="mailto:khushalsagar@chromium.org">
|
|
<link rel="help" href="https://drafts.csswg.org/css-images-4/#the-object-view-box">
|
|
|
|
<style>
|
|
div {
|
|
margin: 5px;
|
|
}
|
|
|
|
.container_view_box_subset {
|
|
width: 50px;
|
|
height: 50px;
|
|
overflow: clip;
|
|
display: inline-block;
|
|
}
|
|
.view_box_subset {
|
|
position: relative;
|
|
top: -50px;
|
|
}
|
|
</style>
|
|
<div class="container_view_box_subset">
|
|
<img class="view_box_subset" src="support/exif-orientation-6-ru.jpg"></img>
|
|
</div>
|