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

Unified Diff: LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-006-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/spec-examples/shape-outside-006-expected.html
diff --git a/LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-006-expected.html b/LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-006-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..50f604e865d9a73b8ca705db7901ab9c1b8a9331
--- /dev/null
+++ b/LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-006-expected.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>CSS Reference File</title>
+<link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
+ <style type="text/css">
+ #container {
+ position: absolute;
+ top: 70px;
+ width: 250px;
+ height: 105px;
+ border: 1px solid black;
+ }
+ .bar {
+ position: absolute;
+ height: 20px;
+ background-color: green;
+ }
+ #line-1 {
+ top: 10px;
+ left: 65px;
+ width: 160px;
+ }
+ #line-2 {
+ top: 40px;
+ left: 80px;
+ width: 140px;
+ }
+ #line-3 {
+ top: 70px;
+ left: 95px;
+ width: 120px;
+ }
+ #triangle {
+ position: absolute;
+ top: 70px;
+ width: 100px;
+ height: 100px;
+ background-color: lightblue;
+ clip-path: polygon(50px 0px, 100px 100px, 0px 100px);
+ }
+ </style>
+</head>
+<body>
+ <p>
+ The test passes if all there are three green horizontal bars to the right of the
+ triangle that are all inside the rectangle and there should be no green to the left
+ of the triangle. There should be no red.
+ </p>
+ <div id="container">
+ <div id="line-1" class="bar"></div>
+ <div id="line-2" class="bar"></div>
+ <div id="line-3" class="bar"></div>
+ </div>
+ <div id="triangle"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698