Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Unified Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-010-expected.html

Issue 816533002: Import CSSWG Shapes tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more test expectations update Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-010-expected.html
diff --git a/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-010-expected.html b/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-010-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..e1a1f578c12a6876700056cdeb31bbe40c371774
--- /dev/null
+++ b/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/shape-image/shape-image-010-expected.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Reference File</title>
+ <link rel="author" title="Rebecca Hauck" href="rhauck@adobe.com"/>
+ <style type="text/css">
+ body {
+ margin: 0;
+ }
+ .green, .blue {
+ position: absolute;
+ top: 70px;
+ }
+ .left-rect {
+ left: 10px;
+ }
+ .right-rect {
+ width: 50px;
+ height: 100px;
+ left: 70px;
+ background: rgb(0,100,0);
+ }
+ .blue {
+ width: 2px;
+ height: 100px;
+ background-color: blue;
+ }
+ .left-line { left: 65px; }
+ .right-line { left: 125px }
+ </style>
+</head>
+<body>
+ <p>
+ The test passes if the green rectangle on the right is completely between the two blue lines.
+ There should be no red.
+ </p>
+ <div class="green left-rect">
+ <img src="support/left-half-rectangle.png">
+ </div>
+ <div class="green right-rect"></div>
+ <div class="blue left-line"></div>
+ <div class="blue right-line"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698