layout/reftests/bugs/402950-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE HTML>
     2 <html><head>
     3 <style>
     4 p { width: 13em; border: 1px solid black; }
     5 p span { white-space: nowrap; }
     6 a { color:pink; }
     7 </style>
     8 </head>
     9 <body>
    10 <!-- We should be able to break even when the only break opportunity is within a span
    11 that overflows the line width (the break opportunity after the whitespace is treated
    12 as a break before the first character of the second span) -->
    13 <p><span>mmmmmmmmmm</span>
    14 <span>mmmmm<a>mmmmm</a></span></p>
    15 <!-- A span that overflows the line width should be allowed to fit, it might have a break
    16 opportunity inside it (the break opportunity after the whitespace is treated
    17 as a break before the first character of the second span) -->
    18 <p>m <span>mmmmmmmmmm</span>
    19 <span>m<a>mmmmmmmmm</a></span></p>
    20 </body>
    21 </html>

mercurial