Index: LayoutTests/fast/table/overflowScroll-display-block.html |
diff --git a/LayoutTests/fast/table/overflowScroll-display-block.html b/LayoutTests/fast/table/overflowScroll-display-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3f9b00a823285964dc360c60c41a88d23989e5fa |
--- /dev/null |
+++ b/LayoutTests/fast/table/overflowScroll-display-block.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<style> |
+.scrollingElement |
+{ |
+ width: 100px; |
+ height: 100px; |
+ background-color: green; |
+ overflow: scroll; |
+ display: block; |
+} |
+table |
+{ |
+ margin-bottom: 35px; |
+} |
+</style> |
+<table class="scrollingElement" cellspacing=0> |
+ <tbody> |
+ <tr><td></td></tr> |
+ </tbody> |
+</table> |
+<table cellspacing=0> |
+ <tbody class="scrollingElement"> |
+ <tr><td></td></tr> |
+ </tbody> |
+</table> |
+<table cellspacing=0> |
+ <tbody> |
+ <tr class="scrollingElement"><td></td></tr> |
+ </tbody> |
+</table> |
+<p> crbug.com/368699: When table elements have display: block, they should be allowed to have overflow:scroll. The exception is the table element, which doesn't permit anything other than visible per http://dev.w3.org/csswg/css2/visufx.html#overflow.</p> |