gecko/layout/base/tests/bug687297_b.html
Kearwood (Kip) Gilbert f6a584b358 Bug 687297 - Added Mochitest to verify that the per-presentation base minimum font size is propagated without being influenced by the language-specific global preference. r=dbaron
This test applies a large value to the font.minimum-size.ja preference, opens a new window, advances the url through an iso-8859-1 page, a Shift-JIS page, and back to an iso-8859-1 page.  If the height of a div containing text on the first iso-8859-1 page and last iso-8859-1 page do not match, then the test is failed.

This test has been excluded from B2G Desktop Client tests due to bug 948948.
2014-02-26 16:01:38 -08:00

18 lines
562 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<title>Test companion for Bug 687297</title>
<style type="text/css"> * { font-size:9px; } </style>
</head>
<body>
<div id="test_content">ABCDEFG 0123456</div>
</body>
<script type="application/javascript">
window.onload = function() {
opener.report_size_b(document.getElementById("test_content").clientHeight);
window.location.href = "bug687297_c.html";
};
</script>
</html>