layout/reftests/text/444656.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.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
michael@0 5 <title>Test soft hyphen in rtl text</title>
michael@0 6 <style>
michael@0 7 div { width: -moz-min-content; position: relative; }
michael@0 8
michael@0 9 /*prevent the soft hyphens from contributing to the minimum content width*/
michael@0 10 div > p:nth-child(2) {
michael@0 11 position: absolute;
michael@0 12 top: auto;
michael@0 13 right: 0;
michael@0 14 margin-top: 0;
michael@0 15 width: 100%;
michael@0 16 }
michael@0 17 </style>
michael@0 18 </head>
michael@0 19 <body dir="rtl">
michael@0 20 <div>
michael@0 21 <!-- add a first paragraph with no soft hyphens to set minimum content width -->
michael@0 22 <p>אבגדהוזחטיכלמנסעפצקרשתאבגדהוזחטיכלמנסעפצקרשתאבגדהוזחטיכל</p>
michael@0 23 <p>אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת&shy;אבגדהוזחטיכלמנסעפצקרשת</p>
michael@0 24 </p>
michael@0 25 </div>
michael@0 26 </body>
michael@0 27 </html>

mercurial