blob: b70cc2deb47d29822a80869b4e0f923800785078 [file] [log] [blame]
<html lang="en">
<style type="text/css">
div.test { width: 200px; height: 120px; border: 1px solid blue; padding: 10px; }
<script src="resources/text-based-repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest()
document.getElementById('stacked').innerText = "";
<body onload="runRepaintAndPixelTest();">
<p><b>BUG ID:</b> <a href=""> Bugzilla bug 6274</a>Text repainting does not account for glyphs which draw outside the typographic bounds of the font.</p>
<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
The text will entirely disappear.
<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
Most of the text will be gone, but some artifacts will be left behind at the top of the page.
<div class="test">
<div style="font-size: 36px;" id="stacked">&#x1EA6;&#x1EA4;&#x1EAA;&#x1EA8;&#x1EB0;</div>