OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 p { overflow: hidden; } |
| 4 #test1 {overflow:hidden; display: inline-block;} |
| 5 #test2 {overflow:hidden; display: block;} |
| 6 </style> |
| 7 <p> crbug.com/724453: There should be only an outline on the right-hand side and
in the descent below the text.</p> |
| 8 <p><a href="" id="test1"><span>Text</span></a></p> |
| 9 <p> crbug.com/724453: There should be no outline below.</p> |
| 10 <p><a href="" id="test2"><span>Text</span></a></p> |
| 11 <script src="../../resources/run-after-layout-and-paint.js"></script> |
| 12 <script> |
| 13 runAfterLayoutAndPaint(function() { |
| 14 test1.style.outline = 'solid 10px black'; |
| 15 test2.style.outline = 'solid 10px black'; |
| 16 }, true); |
| 17 </script> |
OLD | NEW |