Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/font-face/reftest.list
<!DOCTYPE html>
<html>
<head>
<title>test @font-face reflow sanity</title>
<meta charset="utf-8">
<style>
body { margin: 20px }
@font-face {
font-family: reflow1data;
src: url(data:font/opentype;base64,AAEAAAANAIAAAwBQRkZUTY6cdRkAAAYEAAAAHE9TLzJYu2JLAAABWAAAAGBjbWFwAHcGwgAAAcwAAAFKY3Z0IAAhAnkAAAMYAAAABGdhc3D//wADAAAF/AAAAAhnbHlmCC6aTwAAAygAAACMaGVhZBlhukkAAADcAAAANmhoZWEIkAV+AAABFAAAACRobXR4DH0AhQAAAbgAAAAUbG9jYQBUAJoAAAMcAAAADG1heHAASgA9AAABOAAAACBuYW1lUb1dGwAAA7QAAAIZcG9zdP/AAFgAAAXQAAAALAABAAAAAQAAsygR718PPPUACwPoAAAAANpUu4YAAAAA2lS7hgAh/5wFeAK8AAAACAACAAAAAAAAAAEAAAK8/5wAWgXcAAAAAAV4AAEAAAAAAAAAAAAAAAAAAAAFAAEAAAAFAAwAAwAAAAAAAgAAAAEAAQAAAEAALgAAAAAABATiAZAABQAAAooCvAAAAIwCigK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAABAAAAAAAAAAAAAAAAUGZFZACAACAAQQMg/zgAWgK8AGQAAAABAAAAAAAAArwAAAAgAAEBbAAhAAAAAAFNAAAD6AAABdwAZAAAAAMAAAADAAAAHAABAAAAAABEAAMAAQAAABwABAAoAAAABgAEAAEAAgAgAEH//wAAACAAQf///+P/wwABAAAAAAAAAAABBgAAAQAAAAAAAAABAgAAAAIAAAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAABQAAAAEAAgADACQAAAAB//8AAgAAAAEAAAAA2fL+DAAAAADaVLuGAAAAANpUu4Y=);
}
@font-face {
font-family: reflow1data;
src: url(data:font/opentype;base64,AAEAAAANAIAAAwBQRkZUTY6cdRkAAAYEAAAAHE9TLzJYu2JMAAABWAAAAGBjbWFwBHkGvQAAAcwAAAFKY3Z0IAAhAnkAAAMYAAAABGdhc3D//wADAAAF/AAAAAhnbHlmCC6aTwAAAygAAACMaGVhZBlhukkAAADcAAAANmhoZWEIkAV+AAABFAAAACRobXR4DH0AhQAAAbgAAAAUbG9jYQBUAJoAAAMcAAAADG1heHAASgA9AAABOAAAACBuYW1lU75fHgAAA7QAAAIZcG9zdP/AAFkAAAXQAAAALAABAAAAAQAApyIN718PPPUACwPoAAAAANpUu4YAAAAA2lS7hgAh/5wFeAK8AAAACAACAAAAAAAAAAEAAAK8/5wAWgXcAAAAAAV4AAEAAAAAAAAAAAAAAAAAAAAFAAEAAAAFAAwAAwAAAAAAAgAAAAEAAQAAAEAALgAAAAAABATiAZAABQAAAooCvAAAAIwCigK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAABAAAAAAAAAAAAAAAAUGZFZACAACAAQgMg/zgAWgK8AGQAAAABAAAAAAAAArwAAAAgAAEBbAAhAAAAAAFNAAAD6AAABdwAZAAAAAMAAAADAAAAHAABAAAAAABEAAMAAQAAABwABAAoAAAABgAEAAEAAgAgAEL//wAAACAAQv///+P/wgABAAAAAAAAAAABBgAAAQAAAAAAAAABAgAAAAIAAAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAADaVLuGAAAAANpUu4Y=);
font-weight: bold;
}
@font-face {
font-family: reflow1data;
src: url(data:font/opentype;base64,AAEAAAANAIAAAwBQRkZUTY6cdRkAAAYEAAAAHE9TLzJYu2JNAAABWAAAAGBjbWFwAH8GvAAAAcwAAAFKY3Z0IAAhAnkAAAMYAAAABGdhc3D//wADAAAF/AAAAAhnbHlmCC6aTwAAAygAAACMaGVhZBlhukkAAADcAAAANmhoZWEIkAV+AAABFAAAACRobXR4DH0AhQAAAbgAAAAUbG9jYQBUAJoAAAMcAAAADG1heHAASgA9AAABOAAAACBuYW1lVb9hIQAAA7QAAAIZcG9zdP/AAFoAAAXQAAAALAABAAAAAQAAqxQJ518PPPUACwPoAAAAANpUu4YAAAAA2lS7hgAh/5wFeAK8AAAACAACAAAAAAAAAAEAAAK8/5wAWgXcAAAAAAV4AAEAAAAAAAAAAAAAAAAAAAAFAAEAAAAFAAwAAwAAAAAAAgAAAAEAAQAAAEAALgAAAAAABATiAZAABQAAAooCvAAAAIwCigK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAABAAAAAAAAAAAAAAAAUGZFZACAACAAQwMg/zgAWgK8AGQAAAABAAAAAAAAArwAAAAgAAEBbAAhAAAAAAFNAAAD6AAABdwAZAAAAAMAAAADAAAAHAABAAAAAABEAAMAAQAAABwABAAoAAAABgAEAAEAAgAgAEP//wAAACAAQ////+P/wQABAAAAAAAAAAABBgAAAQAAAAAAAAABAgAAAAIAAAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAACECeQAAACoAKgAqACoARgACACEAAAEqApoAAwAHAC6xAQAvPLIHBADtMrEGBdw8sgMCAO0yALEDAC88sgUEAO0ysgcGAfw8sgECAO0yMxEhESczESMhAQnox8cCmv1mIQJYAAADAGT/nAV4ArwAAwAHAAsAAAE1IRUBNSEVATUhFQH0AfT9RAOE+7QFFAH0yMj+1MjI/tTIyAAAAAAADgCuAAEAAAAAAAAAKwBYAAEAAAAAAAEABQCQAAEAAAAAAAIABwCmAAEAAAAAAAMAIQDyAAEAAAAAAAQABQEgAAEAAAAAAAUAEAFIAAEAAAAAAAYABQFlAAMAAQQJAAAAVgAAAAMAAQQJAAEACgCEAAMAAQQJAAIADgCWAAMAAQQJAAMAQgCuAAMAAQQJAAQACgEUAAMAAQQJAAUAIAEmAAMAAQQJAAYACgFZAEMAbwBwAHkAcgBpAGcAaAB0ACAAKABjACkAIAAyADAAMAA4AC0AMgAwADIAMAAgAE0AbwB6AGkAbABsAGEAIABDAG8AcgBwAG8AcgBhAHQAaQBvAG4AAENvcHlyaWdodCAoYykgMjAwOC0yMDIwIE1vemlsbGEgQ29ycG9yYXRpb24AAE0AYQByAGsARAAATWFya0QAAFIAZQBnAHUAbABhAHIAAFJlZ3VsYXIAAEYAbwBuAHQARgBvAHIAZwBlACAAMgAuADAAIAA6ACAATQBhAHIAawBEACAAOgAgADIANwAtADEALQAyADAAMgAwAABGb250Rm9yZ2UgMi4wIDogTWFya0QgOiAyNy0xLTIwMjAAAE0AYQByAGsARAAATWFya0QAAFYAZQByAHMAaQBvAG4AIAAwADAAMQAuADAAMAAwACAAAFZlcnNpb24gMDAxLjAwMCAAAE0AYQByAGsARAAATWFya0QAAAAAAAIAAAAAAAD/tQAyAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAEAAgADACcAAAAB//8AAgAAAAEAAAAA2fL+DAAAAADaVLuGAAAAANpUu4Y=);
font-weight: bold;
font-style: italic;
}
div#test {
font-family: reflow1data;
font-size: 400%;
line-height: 1em;
}
div#test p {
margin: 0;
display: inline-block;
}
</style>
</head>
<body>
<div id=test>
<p>A</p>
<p style="font-weight: bold">B</p>
<p style="font-style: italic">C</p>
<p style="font-style: italic; font-weight: bold">D</p>
</div>
</body>
</html>