Robert Longson
de99e463ac
Bug 1420492
- avoid division by zero when constructing an nsSVGArcConverter r=dholbert
2017-12-10 22:43:23 +00:00
Jonathan Watt
4130888dfd
Bug 1342951, part 4 - Add a version of SVGTextFrame::GetSubStringLength that can be used independantly of reflow, to avoid sync reflows. r=heycam
...
MozReview-Commit-ID: CJqUwF3rXP4
2017-09-02 22:22:54 +01:00
Sebastian Hengst
444f7c3600
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-08-31 14:39:13 +02:00
Jonathan Watt
f7d98d6559
Bug 1395512 - Make dom/svg/test/test_text_2.html produce useful and non-inverted error messages. r=jfkthame
...
MozReview-Commit-ID: KJHRBmbbuBq
2017-08-10 12:47:20 +01:00
cku
db228b8c69
Bug 1361639 - Part 2. Add test cases of calling getBBox on use element in test_bbox.xhtml. r=longsonr+218550
...
MozReview-Commit-ID: B2DetAVcQM6
--HG--
extra : rebase_source : 04d0eb757f22334def4389af5ffd9908af04d9d1
2017-08-30 11:22:43 +08:00
Robert Longson
f055bf18d2
Bug 1369904 - Bounding box should not include control points. r=lsalzman
2017-06-14 06:34:01 +01:00
Dan Banner
cdf987089d
Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
...
MozReview-Commit-ID: K5TLF92pHq4
--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Aryeh Gregor
b03daa975a
Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug
...
Some code in SVGSVGElement.cpp might be unnecessary now, but Robert said
to leave it for a followup.
MozReview-Commit-ID: 8PpRGeGrREJ
2017-04-04 15:36:22 +03:00
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
Masatoshi Kimura
7be7b11a1c
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
dmu@mozilla.com
8527839fee
Bug 1302341 - Part 1: SVGAElement focus checks tabIndex first and to be 0 by default; r=heycam
...
MozReview-Commit-ID: BjT03C3aYUK
--HG--
extra : rebase_source : 1d0af036b35665f9eb8e394ded829ceb02d24854
2016-09-28 02:21:50 +00:00
Mantaroh Yoshinaga
cbf08f5f05
Bug 1322970 - Use primary frame for checking throttle instead of using style context. r=dholbert,hiro
...
This changeset will skip finding the first SMIL animation function to affect the sandwich from multiple functions if element hasn't primary frame when composing attributes.
This mean that target element's animation don't need to animate in the following cases.
- ancestor elements has display:none attribute.
- target element have display:none attribute.
- ancestor element's tag produces a non-rendering subtree, by definition (like <desc>).
MozReview-Commit-ID: 253qTpBLc8L
--HG--
extra : rebase_source : c6f0eff440fa5448fc28e5283be68b6e33335b9e
2017-02-02 15:23:22 +09:00
Florian Quèze
be4dbae285
Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws.
2017-01-27 10:51:02 +01:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Daniel Holbert
71b36d73b5
Bug 1329045 part 2: Convert some global variables to local variables, in test_use_with_hsts.html. r=xidorn
...
(Before we introduced async/await in this test, some of these needed to be
global, because they were used in several callbacks.)
MozReview-Commit-ID: 7mDzmUx1jQ
--HG--
extra : rebase_source : 6f3a2f58c8abc643b09258b54141d93658183519
2017-01-06 13:03:22 -08:00
Daniel Holbert
09339cd3aa
Bug 1329045 part 1: Use async/await to simplify callbacks in mochitest test_use_with_hsts.html. r=xidorn
...
MozReview-Commit-ID: 3qMTOl3fQzg
--HG--
extra : rebase_source : 6492fe98a9888a3123fa902a14462ddbfeca1d1b
2017-01-06 13:03:21 -08:00
Olli Pettay
cb803253a5
bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm
...
--HG--
extra : rebase_source : 2ce6e06783e399e787d0445943f9f39bcef1cc22
2016-11-08 14:05:45 +02:00
Sebastian Hengst
95292d5468
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/svg. r=RyanVM
...
MozReview-Commit-ID: J5MM3O2rcwY
--HG--
extra : rebase_source : 022eb1a856d33e98d707cd12b42b73a9ddcf05ae
2016-11-05 11:29:18 +01:00
Ryan VanderMeulen
2020c660de
Bug 1241898 - Fix SVGFilteElement typo in test_SVGUnitTypes.html.
2016-10-23 18:25:43 -04:00
Robert Longson
a91673df2c
Bug 1241898 - Make SVGUnitTypes [NoInterfaceObject]. r=cam r=peterv
...
--HG--
rename : dom/webidl/SVGUnitTypes.webidl => dom/webidl/SVGUnitTypeValues.webidl
2016-10-23 22:20:11 +01:00
Robert Longson
7e51b6806f
Bug 1293786 - Part 0: Fix existing mochitest. r=heycam
...
MozReview-Commit-ID: 3MiiHMiCS2n
2016-09-29 09:29:34 +08:00
Phil Ringnalda
40fd25db11
Backed out 3 changesets (bug 1293786) for wpt unexpected passes and fails
...
Backed out changeset f8911c81ee9a (bug 1293786)
Backed out changeset 8cba8a0a730c (bug 1293786)
Backed out changeset 5c60775f445e (bug 1293786)
2016-09-28 20:39:16 -07:00
Robert Longson
8f8d3b19ac
Bug 1293786 - Part 0: Fix existing mochitest. r=heycam
...
MozReview-Commit-ID: 3MiiHMiCS2n
2016-09-29 09:29:34 +08:00
Daosheng Mu
6bafa12163
Bug 1299748 - Fix typo in test_tabindex.html. r=heycam
...
MozReview-Commit-ID: 6OT3jqbyJSx
--HG--
extra : rebase_source : b5e98c923e89e4da45f43408bc30345c8f0d6e9d
2016-09-01 16:53:18 +08:00
Aryeh Gregor
0c1d7143d1
Bug 984778 - Make hasFeature() and SVG requiredFeatures always return true; r=bz,longsonr
...
hasFeature() always returning true matches the current DOM spec. SVG 2
has removed requiredFeatures. Chrome has had both of these always
return true since 2014, and they seem to have had no problems.
Even requiredFeatures="" (empty string) now returns true, matching
Chrome.
MozReview-Commit-ID: 1LEu3iK4R94
2016-09-01 14:35:11 +03:00
Boris Chiou
1c88b1558a
Bug 1245751 - Part 15: Add tests for a, script, mpath, and animate elements. r=dholbert,heycam
...
Extend the original test for <a> element in dom/svg/ and add some mochitests in
svg/linking/scripted/.
MozReview-Commit-ID: G7lszyUVMiU
--HG--
extra : rebase_source : a8c51664d938a41cd625636af0633a0a97a7e6e3
2016-08-08 17:43:34 +08:00
Sumit Tiwari
823932d68c
Bug 1292999 - Replace Iterator() in dom/; r=arai
...
MozReview-Commit-ID: Ngh6bDGOEZ
--HG--
extra : rebase_source : 9619b7f1f7097b51e8444e62a02a6a39029c8ad8
2016-08-11 22:05:49 -04:00
Daosheng Mu
568669a06c
Bug 778654 - Add test files.r=heycam
...
MozReview-Commit-ID: FYPgBmgBwyr
--HG--
extra : transplant_source : C%7CC%88%A6%E8%88ymS%D5%7Fs%3B%A3%D4%3F%F1%A8b
2016-05-24 14:31:09 +08:00
Robert Longson
5d48332dcd
Bug 843480 - zoom on iframe is applied twice. r=jwatt
2016-08-03 07:37:35 +01:00
Daniel Holbert
6456eee1ba
Bug 1288228 part 3: Add regression mochitest for this bug. r=jwatt
...
MozReview-Commit-ID: DOqPoTLU1MZ
--HG--
extra : rebase_source : cae10215a12c362317c5d4751e15724807b8c272
2016-07-27 16:14:24 -07:00
Robert Longson
12c2a53662
Bug 1283539 - Make SVGLength.convertToSpecifiedUnits work for percentage units on outer svg elements. r=dholbert
2016-07-22 18:17:05 +01:00
Robert Longson
ea7cbbe858
Bug 1279690 Part 2 - switch should always allowReorder. r=cam, r=dholbert
2016-06-24 18:47:18 +01:00
Daisuke Akatsuka
3cfe98ecaf
Bug 1209405 - Part 1: Modify tests so as not use display:none. r=birtles
...
MozReview-Commit-ID: A38q97ejYSC
--HG--
extra : rebase_source : 3a090b1b72c2b6b4bd05d1be5c72cd7622139ae7
2016-05-23 10:45:10 +09:00
Robert Longson
4236a89dfc
Bug 1260032 - drop support for altGlyph as a tspan. r=cam r=peterv (DOM Peer)
2016-05-10 10:02:20 +01:00
Chris Manchester
52083635d3
Bug 1261456 - Combine support-files listed in [DEFAULT] with any listed per-test rather than overriding. r=gps
...
This requires a change to how we process test manifests in the build system:
now, whenever we see a support file mentioned in a manifest, we require that
file isn't already in that test's support files, but if we see a support file
that was already seen in some other test, the entry is ignored, but it is not
an error. As a result of this change, several duplicate support-files entries
needed to be removed.
MozReview-Commit-ID: G0juyxzcaB8
--HG--
rename : testing/mozbase/manifestparser/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_overrides.py
2016-04-11 11:21:20 -07:00
Daniel Holbert
79530e185f
Bug 1247733 part 3: Add mochitest to ensure that SVG <use> is rendered correctly in documents that have been upgraded using HSTS. r=valentin
2016-02-17 19:24:40 -08:00
Robert Longson
9b519b16c5
Bug 1239128 - Implement LinkStyle for SVGStyleElement interface. r=cam r=bzbarsky
2016-01-14 18:43:11 +00:00
Robert Longson
ebdab47988
Bug 1145195
part 2 - SVGFragmentIdentifier::ProcessSVGViewSpec() shouldn't actually let #svgView() affect attribute values r=dholbert
2015-12-14 00:58:01 +00:00
Tom Klein
df61b215e4
Bug 676001 - Fix for stroke hit testing on cairo. r=jrmuizel
...
The mochitest was mostly written by Jonathan Watt (bug 719385).
2015-11-18 11:20:02 -06:00
Tooru Fujisawa
24ab66bc98
Bug 1217093
- Remove for-each from dom/. r=smaug
...
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Tom Klein
d8f2add1c4
Bug 958160 - Compute bounds in transformed space instead of user space in GetCoveredRegion. r=longsonr
...
--HG--
extra : rebase_source : 021b5fe58b234b83eb792d832296c79fe0160c48
2015-09-22 10:31:00 +02:00
Tom Klein
e0e04eda42
Bug 1092125 - part 2 - add non-scaling-stroke support to SVGLineElement::GetGeometryBounds. r=jwatt
2015-09-02 20:10:00 +02:00
Tom Klein
5a29d8d9a1
Bug 1092125 - Part 1 - Add non-scaling-stroke support to nsSVGPathGeometryElement::GetGeometryBounds (except line). r=jwatt
2015-09-01 06:17:00 +02:00
Tom Klein
0784b1a1ba
Bug 892372 - update both orient type and angle when the svg marker orient attribute is changed. r=heycam
2015-07-13 08:08:00 +02:00
Ehsan Akhgari
1a03395848
Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger
2015-05-13 14:31:58 -04:00
Jonathan Watt
f73d9b5a0d
Bug 1159053
- Cache SVG getBBox and objectBoundingBox calculations for better performance. r=heycam
2015-04-27 11:15:36 +01:00
Robert Longson
0423fafd0c
Bug 1158551
- calling valueAsString on a length with an invalid string should throw. r=dholbert
2015-04-28 09:21:52 +01:00
Ms2ger
f1fc41b0e5
Bug 949614 - Use === for SimpleTest.is; r=Waldo
...
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.
This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Geoff Brown
53daff6584
Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor
2015-03-26 20:35:35 -06:00
Robert Longson
b83e878ed3
Bug 1119698 - ensure image elements take pointer-events into account r=jwatt
...
--HG--
rename : dom/svg/test/test_pointer-events-4.xhtml => dom/svg/test/test_pointer-events-7.xhtml
2015-01-19 15:06:01 +00:00