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

Unified Diff: LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-007-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-007-expected.html
diff --git a/LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-007-expected.html b/LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-007-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..f7c7cc7e3bd15881215be129f9020f1ac7742c52
--- /dev/null
+++ b/LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-007-expected.html
@@ -0,0 +1,72 @@
+<!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: 260px;
+ height: 120px;
+ font-family: Ahem;
+ font-size: 20px;
+ line-height: 1.5em;
+ border: 1px solid black;
+ padding-left: 2px;
+ }
+ #margin-line {
+ position: absolute;
+ top: 100px;
+ width: 263px;
+ border-bottom: 1px solid black;
+ }
+ .bar {
+ position: absolute;
+ height: 20px;
+ background-color: green;
+ }
+ #bar-1 {
+ top: 5px;
+ width: 240px;
+ }
+ #bar-2 {
+ top: 35px;
+ width: 240px;
+ }
+ #bar-3 {
+ top: 65px;
+ left: 22px;
+ width: 220px;
+ }
+ #bar-4 {
+ top: 95px;
+ left: 52px;
+ width: 200px;
+ }
+ #triangle {
+ position: absolute;
+ top: 90px;
+ width: 100px;
+ height: 100px;
+ background-color: lightblue;
+ margin-left: 2px;
+ clip-path: polygon(0% 50%, 50% 100%, 0 100%);;
+ }
+ </style>
+</head>
+<body>
+ <p>
+ The test passes if one green bar is inside the top rectangle, three green bars
+ are in the bottom rectangle, and none intersect the triangle. There should be no red.
+ </p>
+ <div id="container">
+ <div id="bar-1" class="bar"></div>
+ <div id="bar-2" class="bar"></div>
+ <div id="bar-3" class="bar"></div>
+ <div id="bar-4" class="bar"></div>
+ </div>
+ <div id="margin-line"></div>
+ <div id="triangle"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698