mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Backed out changeset 1d16baf1f90a (bug 687297)
This commit is contained in:
parent
0dfff6825d
commit
0427b3b9f0
@ -1,17 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<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_a(document.getElementById("test_content").clientHeight);
|
||||
window.location.href = "bug687297_b.html";
|
||||
};
|
||||
</script>
|
||||
</html>
|
@ -1,17 +0,0 @@
|
||||
<!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>
|
@ -1,17 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<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_c(document.getElementById("test_content").clientHeight);
|
||||
window.close();
|
||||
};
|
||||
</script>
|
||||
</html>
|
@ -453,8 +453,3 @@ skip-if = toolkit == "win"
|
||||
skip-if = toolkit == "win"
|
||||
[test_flush_on_paint.html]
|
||||
skip-if = true || (toolkit == 'android') || (toolkit == "cocoa") # Bug 688128, bug 539356
|
||||
[test_bug687297.html]
|
||||
support-files =
|
||||
bug687297_a.html
|
||||
bug687297_b.html
|
||||
bug687297_c.html
|
||||
|
@ -1,54 +0,0 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=687297
|
||||
-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for Bug 687297</title>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SpecialPowers.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=687297">Mozilla Bug 687297</a>
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
/** Test for Bug 687297 **/
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var size_a=0, size_b=0, size_c=0;
|
||||
|
||||
window.report_size_a = function(s) {
|
||||
size_a = s;
|
||||
};
|
||||
|
||||
window.report_size_b = function(s) {
|
||||
size_b = s;
|
||||
};
|
||||
|
||||
window.report_size_c = function(s) {
|
||||
size_c = s;
|
||||
|
||||
isnot(size_a, size_b, "Font sizes are changing with global language-specific minimum font size");
|
||||
is(size_c, size_a, "Font sizes are equal, propagating only the presentation-level base minimum font size");
|
||||
|
||||
SimpleTest.finish();
|
||||
};
|
||||
|
||||
SpecialPowers.pushPrefEnv(
|
||||
{'set':[["font.minimum-size.ja", 120]]},
|
||||
function() {
|
||||
window.open("bug687297_a.html", '_blank');
|
||||
}
|
||||
);
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user