| <!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> |