OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/run-after-layout-and-paint.js"></script> |
| 3 <script> |
| 4 onload = function() { |
| 5 runAfterLayoutAndPaint(function() { |
| 6 container.style.width = '200px'; |
| 7 }, true); |
| 8 }; |
| 9 </script> |
| 10 Tests repaint of subsequences when a non-stacking-context ancestor's clip change
s. |
| 11 Passes if the text is clipped at the yellow background. |
| 12 <div id="container" style="overflow: hidden; background-color: yellow"> |
| 13 <div style="display: inline-block;"> |
| 14 <div style="width: 500px"> |
| 15 <div style="z-index: 2; position: relative"> |
| 16 <span style="display: inline-block; visibility: hidden; opacity: .6; wid
th: 10px"></span> |
| 17 Should be clipped: ABCDEFGHIJKLMNOPQRSTUVWXYZ |
| 18 </div> |
| 19 </div> |
| 20 </div> |
| 21 </div> |
OLD | NEW |