mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
3c2870571f
--HG-- rename : content/test/reftest/bug427779-ref.xml => dom/tests/reftest/bug427779-ref.xml rename : content/test/reftest/bug427779.xml => dom/tests/reftest/bug427779.xml rename : content/test/reftest/bug439965-ref.html => dom/tests/reftest/bug439965-ref.html rename : content/test/reftest/bug439965.html => dom/tests/reftest/bug439965.html rename : content/test/reftest/bug453105-ref.html => dom/tests/reftest/bug453105-ref.html rename : content/test/reftest/bug453105.html => dom/tests/reftest/bug453105.html rename : content/test/reftest/bug456008-ref.html => dom/tests/reftest/bug456008-ref.html rename : content/test/reftest/bug456008.xhtml => dom/tests/reftest/bug456008.xhtml rename : content/test/reftest/bug559996-iframe.html => dom/tests/reftest/bug559996-iframe.html rename : content/test/reftest/bug559996-ref-iframe.html => dom/tests/reftest/bug559996-ref-iframe.html rename : content/test/reftest/bug559996-ref.html => dom/tests/reftest/bug559996-ref.html rename : content/test/reftest/bug559996.html => dom/tests/reftest/bug559996.html rename : content/test/reftest/bug591981-1.html => dom/tests/reftest/bug591981-1.html rename : content/test/reftest/bug591981-2.html => dom/tests/reftest/bug591981-2.html rename : content/test/reftest/bug591981-ref.html => dom/tests/reftest/bug591981-ref.html rename : content/test/reftest/bug591981-script.js => dom/tests/reftest/bug591981-script.js rename : content/test/reftest/bug592366-1.html => dom/tests/reftest/bug592366-1.html rename : content/test/reftest/bug592366-1.xhtml => dom/tests/reftest/bug592366-1.xhtml rename : content/test/reftest/bug592366-2.html => dom/tests/reftest/bug592366-2.html rename : content/test/reftest/bug592366-2.xhtml => dom/tests/reftest/bug592366-2.xhtml rename : content/test/reftest/bug592366-ref.html => dom/tests/reftest/bug592366-ref.html rename : content/test/reftest/bug592366-ref.xhtml => dom/tests/reftest/bug592366-ref.xhtml rename : content/test/reftest/bug798068-ref.xhtml => dom/tests/reftest/bug798068-ref.xhtml rename : content/test/reftest/bug798068.xhtml => dom/tests/reftest/bug798068.xhtml rename : content/test/reftest/child592366-1.html => dom/tests/reftest/child592366-1.html rename : content/test/reftest/child592366-1.xhtml => dom/tests/reftest/child592366-1.xhtml rename : content/test/reftest/child592366-2.html => dom/tests/reftest/child592366-2.html rename : content/test/reftest/child592366-2.xhtml => dom/tests/reftest/child592366-2.xhtml rename : content/test/reftest/optiontext-ref.html => dom/tests/reftest/optiontext-ref.html rename : content/test/reftest/optiontext.html => dom/tests/reftest/optiontext.html rename : content/test/reftest/reftest.list => dom/tests/reftest/reftest.list rename : content/test/reftest/script592366-2.js => dom/tests/reftest/script592366-2.js rename : content/test/reftest/xml-stylesheet/css_relative_href.xml => dom/tests/reftest/xml-stylesheet/css_relative_href.xml rename : content/test/reftest/xml-stylesheet/css_relative_href_also_external.xml => dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml rename : content/test/reftest/xml-stylesheet/css_relative_href_also_external.xml^headers^ => dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml^headers^ rename : content/test/reftest/xml-stylesheet/css_relative_href_also_external_override.xml => dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml rename : content/test/reftest/xml-stylesheet/css_relative_href_also_external_override.xml^headers^ => dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml^headers^ rename : content/test/reftest/xml-stylesheet/embedded_dtd_id.svg => dom/tests/reftest/xml-stylesheet/embedded_dtd_id.svg rename : content/test/reftest/xml-stylesheet/error_no_href.svg => dom/tests/reftest/xml-stylesheet/error_no_href.svg rename : content/test/reftest/xml-stylesheet/fail.svg => dom/tests/reftest/xml-stylesheet/fail.svg rename : content/test/reftest/xml-stylesheet/failer.css => dom/tests/reftest/xml-stylesheet/failer.css rename : content/test/reftest/xml-stylesheet/lreas_selflink_dtd_id.svg => dom/tests/reftest/xml-stylesheet/lreas_selflink_dtd_id.svg rename : content/test/reftest/xml-stylesheet/lreas_selflink_empty_href.svg => dom/tests/reftest/xml-stylesheet/lreas_selflink_empty_href.svg rename : content/test/reftest/xml-stylesheet/lreas_selflink_relative_href.svg => dom/tests/reftest/xml-stylesheet/lreas_selflink_relative_href.svg rename : content/test/reftest/xml-stylesheet/pass.svg => dom/tests/reftest/xml-stylesheet/pass.svg rename : content/test/reftest/xml-stylesheet/passer.css => dom/tests/reftest/xml-stylesheet/passer.css rename : content/test/reftest/xml-stylesheet/passer_override.css => dom/tests/reftest/xml-stylesheet/passer_override.css rename : content/test/reftest/xml-stylesheet/reftest.list => dom/tests/reftest/xml-stylesheet/reftest.list rename : content/test/reftest/xml-stylesheet/svg_passer.xslt => dom/tests/reftest/xml-stylesheet/svg_passer.xslt rename : content/test/reftest/xml-stylesheet/xslt_relative_href.svg => dom/tests/reftest/xml-stylesheet/xslt_relative_href.svg rename : content/test/reftest/xml-stylesheet/xslt_selflink_dtd_id.xml => dom/tests/reftest/xml-stylesheet/xslt_selflink_dtd_id.xml rename : content/test/reftest/xml-stylesheet/xslt_selflink_empty_href.xml => dom/tests/reftest/xml-stylesheet/xslt_selflink_empty_href.xml rename : content/test/reftest/xml-stylesheet/xslt_selflink_relative_href.xml => dom/tests/reftest/xml-stylesheet/xslt_selflink_relative_href.xml
21 lines
952 B
HTML
21 lines
952 B
HTML
<?xml version = '1.0' encoding = 'utf-8'?>
|
|
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<script>
|
|
function doTest() {
|
|
var Ci = Components.interfaces;
|
|
var defaultZoom = {}, allowZoom = {}, minZoom = {}, maxZoom ={}, width = {}, height = {}, autoSize = {};
|
|
var windowUtils = window.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils);
|
|
windowUtils.getViewportInfo(1, 1, defaultZoom, allowZoom, minZoom, maxZoom, width, height, autoSize);
|
|
document.getElementById("minZoom").innerHTML = minZoom.value.toPrecision(10);
|
|
document.getElementById("maxZoom").innerHTML = maxZoom.value.toPrecision(10);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="doTest();">
|
|
MinZoom: <span id="minZoom"></span><br />
|
|
MaxZoom: <span id="maxZoom"></span>
|
|
</body>
|
|
</html>
|