1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bidi/bidi-006-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +<!DOCTYPE html> 1.5 +<!-- Bidi reftest 006: rtl text with diacritics. This is hard to reftest 1.6 + because if there is a bug it will typically be exhibited in the reference 1.7 + rendering as well as in the test. The approach adopted here is to 1.8 + position boxes around the edges of the character without a diacritic and 1.9 + make sure that the character with the diacritic displays in the same 1.10 + space, so that if the diacritic is shifted to the right or left it will 1.11 + be cut off in the test rendering and be visible (in the wrong place) in 1.12 + the reference rendering. 1.13 + 1.14 + Relevant bugs: 1.15 + 378351 (Windows) 1.16 + 386573 (Mac) 1.17 + 387653 (Linux) 1.18 + 395676 (Windows) 1.19 + --> 1.20 +<html> 1.21 + <head> 1.22 + <meta http-equiv="content-type" content="text/html; charset=utf-8"> 1.23 + </head> 1.24 + <style type="text/css"> 1.25 +body { background: white; color: black; } 1.26 +p { 1.27 + font-family: sans-serif; 1.28 + font-size: 36px; 1.29 + margin: 0; 1.30 +} 1.31 +span { 1.32 + display: inline-block; 1.33 + width: 3em; 1.34 + height: 3em; 1.35 + margin-top: -2em; 1.36 + vertical-align: bottom; 1.37 +} 1.38 +p#test { margin: 0 3em; } 1.39 + </style> 1.40 + <body> 1.41 + <p id="test">נָ</p> 1.42 + <p id="overhang"><span></span>נ<span></span></p> 1.43 + </body> 1.44 +</html>