OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 .scrollingElement | |
4 { | |
5 width: 100px; | |
6 height: 100px; | |
7 background-color: green; | |
8 overflow: scroll; | |
9 display: block; | |
10 } | |
11 table | |
12 { | |
13 margin-bottom: 35px; | |
14 } | |
15 </style> | |
16 <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
| |
17 <tbody> | |
18 <tr><td></td></tr> | |
19 </tbody> | |
20 </table> | |
21 <table cellspacing=0> | |
22 <tbody class="scrollingElement"> | |
23 <tr><td></td></tr> | |
24 </tbody> | |
25 </table> | |
26 <table cellspacing=0> | |
27 <tbody> | |
28 <tr class="scrollingElement"><td></td></tr> | |
29 </tbody> | |
30 </table> | |
31 <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 |