zalan@apple.com | 99603d1 | 2017-01-27 19:24:26 +0000 | [diff] [blame] | 1 | <!doctype html> |
2 | <html> | ||||
3 | <head> | ||||
4 | <title>This tests that we don't use simple line layout when webkit-line-box-contain: glyphs is set and the glyphs overflow the line vertically.</title> | ||||
5 | <style> | ||||
6 | div { | ||||
7 | -webkit-line-box-contain: glyphs; | ||||
8 | line-height: 10px; | ||||
9 | } | ||||
10 | </style> | ||||
11 | <script> | ||||
12 | if (window.internals) | ||||
13 | internals.settings.setSimpleLineLayoutDebugBordersEnabled(false); | ||||
14 | </script> | ||||
15 | </head> | ||||
16 | <body> | ||||
17 | <div>foobar</div> | ||||
18 | </body> | ||||
19 | </html> |