summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/367247-s-hidden.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/367247-s-hidden.html')
-rw-r--r--layout/reftests/bugs/367247-s-hidden.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/bugs/367247-s-hidden.html b/layout/reftests/bugs/367247-s-hidden.html
new file mode 100644
index 000000000..8d320c594
--- /dev/null
+++ b/layout/reftests/bugs/367247-s-hidden.html
@@ -0,0 +1,28 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Testcase, 'overflow' on elements with 'display:inline-block'</title>
+<style type="text/css">
+
+body > span {
+ display: inline-block;
+ vertical-align: text-bottom;
+ overflow: hidden;
+ width: 100px;
+ height: 100px;
+ border: thin solid;
+}
+
+body > span > span {
+ display: block;
+ background: blue;
+ width: 20px;
+ height: 20px;
+}
+
+</style>
+</head>
+<body>
+<span><span></span></span>
+</body>
+</html>