Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <style> | |
| 2 .scrollingElement | |
| 3 { | |
| 4 width: 100px; | |
| 5 height: 100px; | |
| 6 background-color: green; | |
| 7 overflow: scroll; | |
| 8 display: block; | |
| 9 } | |
| 10 table | |
| 11 { | |
| 12 margin-bottom: 35px; | |
| 13 } | |
| 14 </style> | |
| 15 <table class="scrollingElement" cellspacing=0> | |
| 16 <tbody> | |
| 17 <tr><td></td></tr> | |
| 18 </tbody> | |
| 19 </table> | |
| 20 <table cellspacing=0> | |
| 21 <tbody class="scrollingElement"> | |
| 22 <tr><td></td></tr> | |
| 23 </tbody> | |
| 24 </table> | |
| 25 <table cellspacing=0> | |
| 26 <tbody> | |
| 27 <tr class="scrollingElement"><td></td></tr> | |
| 28 </tbody> | |
| 29 </table> | |
| 30 <p> crbug.com/368699: When table elements have display: block, they should be al lowed 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> | |
| OLD | NEW |