| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>This tests that we don't crash when the fixed positioned line break is selected.</title> |
| <style> |
| .positioned { |
| position: fixed; |
| } |
| .contentOpenQuote { |
| content: open-quote; |
| } |
| </style> |
| </head> |
| <body> |
| PASS if no crash or ASSERT. |
| <br id=foo class=contentOpenQuote> |
| <wbr id=wfoo class=contentOpenQuote> |
| <script> |
| document.execCommand("SelectAll", false, ""); |
| document.getElementById("foo").className = "positioned"; |
| document.getElementById("wfoo").className = "positioned"; |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| </script> |
| </body> |
| </html> |