1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text/fallback-01.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<?xml version="1.0" encoding="utf-8" ?> 1.5 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 1.6 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 1.7 + [<!ENTITY first "!"><!ENTITY fallback "æ">]> 1.8 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.9 +<!-- U+00E6 is expected to be found in Arial and DejaVu Sans, but not 1.10 + Devanagari MT, FrankRuehl, nor Standard Symbols L. 1.11 + "!" is chosen as it is expected to be found in the first font found. --> 1.12 + <head> 1.13 + <style> 1.14 + p { font-size: 16.6px; 1.15 + font-family: Devanagari MT, FrankRuehl, Standard Symbols L, Arial, DejaVu Sans; serif } 1.16 + .fallback { font-family: Arial, DejaVu Sans, serif; } 1.17 + </style> 1.18 + </head> 1.19 + <body> 1.20 + <p>&fallback;&fallback;&first;&fallback;&first;&fallback;&first;<span class="fallback">&fallback;</span></p> 1.21 + </body> 1.22 +</html>