aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSangeun Kim <sammy.kim@samsung.com>2013-11-18 15:07:41 +0900
committerJosh Matthews <josh@joshmatthews.net>2013-11-29 19:57:03 -0500
commit34418ec9574fdaa2160e28be9a6427a1eb8adbe7 (patch)
treedb03e0a6cd1dfef0c5bfdab3f43424f4eab1bebd
parent7dbabdd9e4d71fc2768a5c47cd49f0e7045d5c13 (diff)
downloadservo-34418ec9574fdaa2160e28be9a6427a1eb8adbe7.tar.gz
servo-34418ec9574fdaa2160e28be9a6427a1eb8adbe7.zip
Add diamond test code
-rwxr-xr-xsrc/test/html/test_border.html19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/test/html/test_border.html b/src/test/html/test_border.html
index db8bc8beecd..3f55048679f 100755
--- a/src/test/html/test_border.html
+++ b/src/test/html/test_border.html
@@ -26,16 +26,31 @@
border-width: 10px;
border-color: green red yellow black;
}
+#diamond1{
+ width: 0;
+ height: 0;
+ border: 50px solid transparent;
+ border-bottom-color: red;
+ position: relative;
+}
+#diamond2{
+ width: 0;
+ height: 0;
+ border: 50px solid transparent;
+ border-top-color: red;
+ position: relative;
+}
</style>
</head>
<body>
<div id="none"> none test.</div>
<div id="hidden"> hidden test.</div>
-<!-- It doesn't work well yet. -->
<div id="solid"> solid test</div>
-<!-- It shows almost same result with firefox. -->
<div id="dashed"> dashed test</div>
<!-- It doesn't show anything yet. -->
<div id="dotted"> dotted test. (dotted isn't supported yet)</div>
+<!-- It's a Diamond -->
+<div id="diamond1"></div>
+<div id="diamond2"></div>
</body>
</HTML>