layout/reftests/bidi/bidi-006-ref.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <!DOCTYPE html>
michael@0 2 <!-- Bidi reftest 006: rtl text with diacritics. This is hard to reftest
michael@0 3 because if there is a bug it will typically be exhibited in the reference
michael@0 4 rendering as well as in the test. The approach adopted here is to
michael@0 5 position boxes around the edges of the character without a diacritic and
michael@0 6 make sure that the character with the diacritic displays in the same
michael@0 7 space, so that if the diacritic is shifted to the right or left it will
michael@0 8 be cut off in the test rendering and be visible (in the wrong place) in
michael@0 9 the reference rendering.
michael@0 10
michael@0 11 Relevant bugs:
michael@0 12 378351 (Windows)
michael@0 13 386573 (Mac)
michael@0 14 387653 (Linux)
michael@0 15 395676 (Windows)
michael@0 16 -->
michael@0 17 <html>
michael@0 18 <head>
michael@0 19 <meta http-equiv="content-type" content="text/html; charset=utf-8">
michael@0 20 </head>
michael@0 21 <style type="text/css">
michael@0 22 body { background: white; color: black; }
michael@0 23 p {
michael@0 24 font-family: sans-serif;
michael@0 25 font-size: 36px;
michael@0 26 margin: 0;
michael@0 27 }
michael@0 28 span {
michael@0 29 display: inline-block;
michael@0 30 width: 3em;
michael@0 31 height: 3em;
michael@0 32 margin-top: -2em;
michael@0 33 vertical-align: bottom;
michael@0 34 }
michael@0 35 p#test { margin: 0 3em; }
michael@0 36 </style>
michael@0 37 <body>
michael@0 38 <p id="test">&#x5e0;&#x5b8;</p>
michael@0 39 <p id="overhang"><span></span>&#x5e0;<span></span></p>
michael@0 40 </body>
michael@0 41 </html>

mercurial