layout/reftests/bugs/402950-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/402950-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html><head>
     1.6 +<style>
     1.7 +p { width: 13em; border: 1px solid black; }
     1.8 +p span { white-space: nowrap; }
     1.9 +a { color:pink; }
    1.10 +</style>
    1.11 +</head>
    1.12 +<body>
    1.13 +<!-- We should be able to break even when the only break opportunity is within a span
    1.14 +that overflows the line width (the break opportunity after the whitespace is treated
    1.15 +as a break before the first character of the second span) -->
    1.16 +<p><span>mmmmmmmmmm</span>
    1.17 +<span>mmmmm<a>mmmmm</a></span></p>
    1.18 +<!-- A span that overflows the line width should be allowed to fit, it might have a break
    1.19 +opportunity inside it (the break opportunity after the whitespace is treated
    1.20 +as a break before the first character of the second span) -->
    1.21 +<p>m <span>mmmmmmmmmm</span>
    1.22 +<span>m<a>mmmmmmmmm</a></span></p>
    1.23 +</body>
    1.24 +</html>

mercurial