| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>This tests that we don't try to use simple line layout for simple text but complex font path related properties.</title> |
| <style> |
| div { |
| color: white; |
| } |
| .common-ligatures-disabled { |
| font-variant-ligatures: no-common-ligatures; |
| } |
| |
| .common-ligatures-enabled { |
| font-variant-ligatures: common-ligatures; |
| } |
| </style> |
| <script> |
| if (window.internals) { |
| internals.settings.setLegacyLineLayoutVisualCoverageEnabled(true); |
| internals.settings.setSimpleLineLayoutEnabled(false); |
| } |
| </script> |
| </head> |
| <body> |
| <div> |
| <div class="common-ligatures-disabled">file</div> |
| <div class="common-ligatures-enabled">file</div> |
| </div> |
| <div style="text-rendering: optimizelegibility"> |
| <div class="common-ligatures-disabled">file</div> |
| <div class="common-ligatures-enabled">file</div> |
| </div> |
| </body> |
| </html> |