зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1435568 - Remove SVGUnitTypes values from elements r=jwatt r=bkelly (DOM Peer)
This commit is contained in:
Родитель
cfd968f58d
Коммит
c4391552bc
|
@ -83,7 +83,6 @@ skip-if = android_version == '18' # bug 1147994
|
|||
[test_SVGStyleElement.xhtml]
|
||||
[test_SVGTransformListAddition.xhtml]
|
||||
[test_SVGTransformList.xhtml]
|
||||
[test_SVGUnitTypes.html]
|
||||
[test_SVGxxxListIndexing.xhtml]
|
||||
[test_SVGxxxList.xhtml]
|
||||
[test_switch.xhtml]
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=366697
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 842201</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=842201">Mozilla Bug 842201</a>
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none"></div>
|
||||
|
||||
<pre id="test">
|
||||
<script class="testbody" type="application/javascript">
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
function runTest()
|
||||
{
|
||||
is(SVGPatternElement.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, 2,
|
||||
"Pattern should implement SVGUnitTypes values");
|
||||
is(SVGFilterElement.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, 2,
|
||||
"Filter should implement SVGUnitTypes values");
|
||||
is(SVGMaskElement.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, 2,
|
||||
"Mask should implement SVGUnitTypes values");
|
||||
is(SVGClipPathElement.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, 2,
|
||||
"ClipPath should implement SVGUnitTypes values");
|
||||
is(SVGLinearGradientElement.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, 2,
|
||||
"LinearGradient should implement SVGUnitTypes values");
|
||||
is(SVGRadialGradientElement.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX, 2,
|
||||
"RadialGradient should implement SVGUnitTypes values");
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
window.addEventListener("load", runTest);
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
|
@ -17,5 +17,3 @@ interface SVGClipPathElement : SVGElement {
|
|||
readonly attribute SVGAnimatedTransformList transform;
|
||||
};
|
||||
|
||||
SVGClipPathElement implements SVGUnitTypeValues;
|
||||
|
||||
|
|
|
@ -28,5 +28,4 @@ interface SVGFilterElement : SVGElement {
|
|||
};
|
||||
|
||||
SVGFilterElement implements SVGURIReference;
|
||||
SVGFilterElement implements SVGUnitTypeValues;
|
||||
|
||||
|
|
|
@ -27,4 +27,3 @@ interface SVGGradientElement : SVGElement {
|
|||
};
|
||||
|
||||
SVGGradientElement implements SVGURIReference;
|
||||
SVGGradientElement implements SVGUnitTypeValues;
|
||||
|
|
|
@ -30,5 +30,3 @@ interface SVGMaskElement : SVGElement {
|
|||
readonly attribute SVGAnimatedLength height;
|
||||
};
|
||||
|
||||
SVGMaskElement implements SVGUnitTypeValues;
|
||||
|
||||
|
|
|
@ -29,4 +29,3 @@ interface SVGPatternElement : SVGElement {
|
|||
|
||||
SVGPatternElement implements SVGFitToViewBox;
|
||||
SVGPatternElement implements SVGURIReference;
|
||||
SVGPatternElement implements SVGUnitTypeValues;
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* The origin of this IDL file is
|
||||
* https://svgwg.org/svg2-draft/
|
||||
*
|
||||
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
|
||||
* liability, trademark and document use rules apply.
|
||||
*/
|
||||
|
||||
[NoInterfaceObject]
|
||||
interface SVGUnitTypeValues {
|
||||
// Unit Types
|
||||
const unsigned short SVG_UNIT_TYPE_UNKNOWN = 0;
|
||||
const unsigned short SVG_UNIT_TYPE_USERSPACEONUSE = 1;
|
||||
const unsigned short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
|
||||
};
|
|
@ -11,6 +11,9 @@
|
|||
*/
|
||||
|
||||
interface SVGUnitTypes {
|
||||
// Unit Types
|
||||
const unsigned short SVG_UNIT_TYPE_UNKNOWN = 0;
|
||||
const unsigned short SVG_UNIT_TYPE_USERSPACEONUSE = 1;
|
||||
const unsigned short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
|
||||
};
|
||||
|
||||
SVGUnitTypes implements SVGUnitTypeValues;
|
||||
|
|
|
@ -883,7 +883,6 @@ WEBIDL_FILES = [
|
|||
'SVGTransformList.webidl',
|
||||
'SVGTSpanElement.webidl',
|
||||
'SVGUnitTypes.webidl',
|
||||
'SVGUnitTypeValues.webidl',
|
||||
'SVGURIReference.webidl',
|
||||
'SVGUseElement.webidl',
|
||||
'SVGViewElement.webidl',
|
||||
|
|
|
@ -23,21 +23,6 @@
|
|||
[SVGViewElement.prototype.viewTarget must be removed]
|
||||
expected: FAIL
|
||||
|
||||
[SVGClipPathElement must not implement SVGUnitTypes]
|
||||
expected: FAIL
|
||||
|
||||
[SVGFilterElement must not implement SVGUnitTypes]
|
||||
expected: FAIL
|
||||
|
||||
[SVGGradientElement must not implement SVGUnitTypes]
|
||||
expected: FAIL
|
||||
|
||||
[SVGMaskElement must not implement SVGUnitTypes]
|
||||
expected: FAIL
|
||||
|
||||
[SVGPatternElement must not implement SVGUnitTypes]
|
||||
expected: FAIL
|
||||
|
||||
[SVGSVGElement.prototype.pixelUnitToMillimeterX must be removed]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче