Chromium Code Reviews| 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..13ed8ad9feaf6d216422bef31434aa4ad125ed65 |
| --- /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> |
|
mstensho (USE GERRIT)
2015/07/27 21:13:10
This will become a regular block, not a table, sin
rhogan
2015/07/28 18:40:10
Right. It's to show that that happens - we're depe
|
| + <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> |