Index: LayoutTests/fast/css/object-position-svg-expected.html |
diff --git a/LayoutTests/fast/css/object-position-svg-expected.html b/LayoutTests/fast/css/object-position-svg-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..58793190c59170f4042c4529ccb41aaf1071529b |
--- /dev/null |
+++ b/LayoutTests/fast/css/object-position-svg-expected.html |
@@ -0,0 +1,53 @@ |
+<!DOCTYPE html> |
+ |
+<html> |
+ <head> |
+ <title>object-position on SVG images</title> |
+ <style type="text/css"> |
+ .group > div { |
+ display: inline-block; |
+ overflow: hidden; |
+ width: 72px; |
+ height: 144px; |
+ margin: 2px 10px; |
+ border: 1px solid black; |
+ padding: 5px; |
+ background-color: gray; |
+ } |
+ |
+ .group > div > div { position:relative; overflow: hidden; height:100%; } |
+ .group > div > div > * { position: absolute; width:36px; height:36px; } |
+ |
+ .group > *:nth-child(1) > div > * { right: 0; } |
+ .group > *:nth-child(2) > div > * { left: 0; bottom: 0; } |
+ .group > *:nth-child(3) > div > * { left: 10px; bottom: -27px; } |
+ .group > *:nth-child(4) > div > * { left: 1000px; } |
+ .group > *:nth-child(5) > div > * { left: -1000px; } |
+ .group > *:nth-child(6) > div > * { left: -9px; top: -10px; } |
+ .group > *:nth-child(7) > div > * { left: 72px; } |
+ .group > *:nth-child(8) > div > * { top: 72px; } |
+ .group > *:nth-child(9) > div > * { left: -72px; } |
+ .group > *:nth-child(10) > div > * { top: -72px; } |
+ .group > *:nth-child(11) > div > * { left: 30px; top: 30px; } |
+ .group > *:nth-child(12) > div > * { left: 18px; top: 54px; } |
+ </style> |
+ </head> |
+ <body> |
+ |
+ <div class="group"> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ <div><div><img src="resources/circle-small.svg" type="image/svg+xml"></div></div> |
+ </div> |
+ |
+ </body> |
+</html> |