mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 01:47:31 +09:00
parent
c91730dc7b
commit
1c8e994b65
17 changed files with 6 additions and 319 deletions
|
|
@ -27,7 +27,6 @@ support-files =
|
|||
text-helper-selection.svg
|
||||
text-helper.svg
|
||||
viewport-helper.svg
|
||||
zoom-helper.svg
|
||||
|
||||
[test_a_href_01.xhtml]
|
||||
[test_a_href_02.xhtml]
|
||||
|
|
@ -105,5 +104,4 @@ support-files = use-with-hsts-helper.html use-with-hsts-helper.html^headers^
|
|||
[test_valueAsString.xhtml]
|
||||
[test_valueLeaks.xhtml]
|
||||
[test_viewport.html]
|
||||
[test_zoom.xhtml]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=547596
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 547596</title>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.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=547596">Mozilla Bug 547596</a>
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none"></div>
|
||||
|
||||
<iframe id="svg" src="zoom-helper.svg"></iframe>
|
||||
|
||||
<script>
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function runTests() {
|
||||
var doc = $("svg").contentWindow.document;
|
||||
var root = doc.getElementById("root");
|
||||
root.currentScale *= 2;
|
||||
}
|
||||
|
||||
function zoomHandler(evt) {
|
||||
ok(true, "zoom handler should be called on zoom");
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
window.addEventListener("load", runTests, false);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<svg id="root" version="1.1" xmlns="http://www.w3.org/2000/svg" onzoom="parent.zoomHandler(evt)">
|
||||
<rect x="10" y="10" width="10" height="10" fill="green" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 188 B |
Loading…
Add table
Add a link
Reference in a new issue