Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 #scroller { | |
| 4 position: fixed; | |
| 5 left: 0; | |
| 6 top: 0; | |
| 7 width: 100px; | |
| 8 height: 100px; | |
| 9 overflow: scroll; | |
| 10 } | |
| 11 | |
| 12 #bloat { | |
| 13 height: 1000px; | |
| 14 } | |
| 15 | |
| 16 #fixed { | |
| 17 position: fixed; | |
| 18 left: 200px; | |
| 19 top: 200px; | |
| 20 width: 100px; | |
| 21 height: 100px; | |
| 22 background: green; | |
| 23 } | |
| 24 </style> | |
| 25 <div id="scroller"> | |
| 26 <div id="bloat"></div> | |
| 27 </div> | |
| 28 <div id="fixed"></div> | |
| 29 The test passes if a green box is visible on the screen. The purpose of this tes t is to verify fixed-position elements are not clipped by an ancestor fixed-posi tion overflow clip. | |
| OLD | NEW |