Commit Graph

294 Commits

Author SHA1 Message Date
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
Cameron McCormack
babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Olli Pettay
0364dbc792 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Boris Zbarsky
66519f68ee Bug 1326388 part 2. Switch nsSVGElement from storing an nsStyleRule to storing a DeclarationBlock to represent its SMIL mapped attributes. r=dbaron 2016-12-31 01:11:05 -08:00
Boris Zbarsky
ebb78498d2 Bug 1326388 part 1. Switch nsSVGElement from storing a StyleRule to storing a DeclarationBlock to represent its mapped attributes. r=dbaron
The current setup complicates things by causing the existence of StyleRule
instances that have a null GetDOMRule(), which
inDOMUtils::GetCSSStyleRulesrelies on to not return the relevant rules.  Since
we want to get rid of GetDOMRule(), better to not have a StyleRule there in the
first place.
2016-12-31 01:10:45 -08:00
Robert Longson
89c77adf8e Bug 1325487 - Improve SVGContentUtils::ComputeNormalizedHypotenuse and use it more r=dholbert 2016-12-23 17:28:13 +00:00
Cameron McCormack
d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Robert Longson
1bae76206e Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 11:11:47 +00:00
Sebastian Hengst
cdeb642a1b Backed out changeset 0b44e8715bf5 (bug 1239100) for build bustage (SVGGeometryElement.webidl missing). r=backout
--HG--
rename : dom/svg/SVGGeometryElement.cpp => dom/svg/nsSVGPathGeometryElement.cpp
rename : dom/svg/SVGGeometryElement.h => dom/svg/nsSVGPathGeometryElement.h
rename : dom/svg/SVGPolyElement.cpp => dom/svg/nsSVGPolyElement.cpp
rename : dom/svg/SVGPolyElement.h => dom/svg/nsSVGPolyElement.h
rename : layout/svg/SVGGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/SVGGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
2016-12-18 11:42:51 +01:00
Robert Longson
783bfbb1e4 Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 09:54:02 +00:00
cku
478ffe5cd0 Bug 1322286 - Part 2. Crash test. r=mstange
MozReview-Commit-ID: 88V7hi8DoMv

--HG--
extra : rebase_source : ba60693de0628f051af21fedd3cae93ab9bb4282
2016-12-06 16:13:22 -10:00
Xidorn Quan
92e0c75164 Bug 1323153 - Not include ElementInlines in headers. r=smaug
MozReview-Commit-ID: Gusow6LTiJI

--HG--
extra : rebase_source : 89f6c2b02dda7d216dfe6ff4ed27e8d70cd064f3
2016-12-13 18:11:04 +11:00
Timothy Nikkel
501b1c2574 Bug 1317562. Allow flags to be passed to StartDecoding for the sole purpose of allowing async notifications to be requested. r=aosmond 2016-11-26 01:56:26 -06:00
Timothy Nikkel
884381079d Bug 1317556. Make SVGFEImageElement use async image notifications when painting. r=aosmond 2016-11-22 19:32:03 -06:00
Phil Ringnalda
ae361307c7 Merge m-c to autoland 2016-11-17 20:11:25 -08:00
Ajit
59924733b3 Bug 1316511 - Remove friend class nsSVGPathFrame declaration in SVGPathElement as it does not exist anymore r=Ehsan
MozReview-Commit-ID: 9TzvFucJVXK

--HG--
extra : rebase_source : daeef86a65fe9bb5be27b82616875c090045c30a
2016-11-16 21:20:27 +00:00
Stone Shih
1ed10ff082 Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: FM3vDUyLOCb

--HG--
extra : rebase_source : 5a513af84718a6d591f77437a0704984c8fc2b67
2016-10-21 10:11:07 +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
Xidorn Quan
05ef8466c6 Bug 1309109 part 5 - Store ServoDeclarationBlock rather than RawServoDeclarationBlock in nsAttrValue. r=heycam
MozReview-Commit-ID: HWqgjwif1qF

--HG--
extra : source : cf3b1baff3d1d6233c72e32cf01cd28a2b344ebf
2016-10-18 15:29:03 +11:00
Edgar Chen
64cc70e197 Bug 1308069 - Clear pending error event fired by src="" case if src changed before it fired. r=bz
MozReview-Commit-ID: B8f975mZNN9

--HG--
extra : rebase_source : b44b969c733160a9e96139b6b55ac60fb140e478
2016-10-06 12:30:35 +08:00
cku
818c1c0974 Bug 1302779 - Part 1. Resolve a local fragment against the current document that relative URLs are resolved against. r=heycam
MozReview-Commit-ID: 2vJDnfzoPiC

--HG--
extra : rebase_source : 3c43bd335caa918ac32f3ba1979f822db5319b11
2016-09-20 14:13:13 +08:00
Robert Longson
22f105c045 Bug 1293786 - Part 1: Remove SVGDocument interface. r=heycam,smaug
MozReview-Commit-ID: 6AOtRtB7Tvl
2016-09-29 09:30:49 +08: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
baaeeaf6ca Bug 1293786 - Part 1: Remove SVGDocument interface. r=heycam,smaug
MozReview-Commit-ID: 6AOtRtB7Tvl
2016-09-29 09:30:49 +08: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
Xidorn Quan
2f49a48a09 Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
This commit is generated by the following commands with some minor
manual adjustment:

find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
  -e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
  -e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
  -e 's/StyleSheetHandle()/nullptr/g' \
  -e 's/->AsStyleSheet()//g' \
  -e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp

MozReview-Commit-ID: 7abdvlKHukd

--HG--
extra : source : e5682242db07203b5a91810fe1e243c955310588
2016-09-26 22:03:25 +10:00
cku
8fc664c532 Bug 1304706 - Replace nsSVGUseElement by SVGUseElement in comment. r=dholbert; DONTBUILD
MozReview-Commit-ID: 4rfjuQ9M3PB

--HG--
extra : amend_source : 6b9ddbb294c4333add9b1063da1c1aaa3248d3a2
2016-09-22 22:33:42 +08:00
Nicolas Silva
56e5119c61 Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
Boris Zbarsky
e664d8bcd3 Bug 1299373. Scripts with an empty src attribute should not execute. r=bkelly 2016-09-07 14:21:36 -04:00
cku
52058e0fbc Bug 1289011 - Part 3. Handle view-box. r=heycam
MozReview-Commit-ID: 3GsivsTYPYK

--HG--
extra : rebase_source : 814a758605418893de60c2cb677ff4ee06671fe8
2016-08-30 10:27:30 +08:00
Phil Ringnalda
51211ec1af Backed out 9 changesets (bug 1289011) for Android failures in select-fieldset-legend-4.html
Backed out changeset 296f8c0b77e1 (bug 1289011)
Backed out changeset 869997798534 (bug 1289011)
Backed out changeset 3f1f0bc8c878 (bug 1289011)
Backed out changeset b3da5e487c2c (bug 1289011)
Backed out changeset fd404df10eed (bug 1289011)
Backed out changeset 8e3fc6d5237f (bug 1289011)
Backed out changeset 062cae507676 (bug 1289011)
Backed out changeset 43daa18916ce (bug 1289011)
Backed out changeset 632cf28211de (bug 1289011)
2016-09-03 13:32:40 -07:00
cku
bb5d15f610 Bug 1289011 - Part 3. Handle view-box. r=heycam
MozReview-Commit-ID: 3GsivsTYPYK

--HG--
extra : rebase_source : 450c93da72439c8332ec1892f81fbb3bf31ff3d7
2016-08-30 10:27:30 +08:00
Phil Ringnalda
c3de252482 Backed out 9 changesets (bug 1289011) for Win8 clip-path-* reftest failures
CLOSED TREE

Backed out changeset dea9d3f8bfe0 (bug 1289011)
Backed out changeset 03572962add4 (bug 1289011)
Backed out changeset 4b8d3be7bdf8 (bug 1289011)
Backed out changeset d1b4d0b38cdb (bug 1289011)
Backed out changeset aa59aca85397 (bug 1289011)
Backed out changeset 43d1ec007a49 (bug 1289011)
Backed out changeset a623cab8e4a7 (bug 1289011)
Backed out changeset 34e7dd6acb4c (bug 1289011)
Backed out changeset 900800f54055 (bug 1289011)
2016-09-02 19:46:39 -07:00
cku
235e174b8f Bug 1289011 - Part 3. Handle view-box. r=heycam
MozReview-Commit-ID: 3GsivsTYPYK

--HG--
extra : rebase_source : da1fff2bb43f85b8d6e55ce4d490f1d872ddea45
2016-08-30 10:27:30 +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
Boris Chiou
a96f44bfd1 Bug 1245751 - Part 11: Allow href without xlink on SVG Animation elements. r=dholbert,jwatt
MozReview-Commit-ID: LJnJgHipDMP

--HG--
extra : rebase_source : 627198828d137c7ed97d4745c6f5ce0e930c9442
2016-07-07 15:43:37 +08:00
Boris Chiou
443fceb6e7 Bug 1245751 - Part 10: Allow href without xlink on SVG Gradient elements. r=jwatt
MozReview-Commit-ID: IjLtYNb7bZp

--HG--
extra : rebase_source : 8cebeff6a2dea1276a891bca68275eff8a6c60cc
2016-07-07 14:26:57 +08:00
Boris Chiou
3cccdceddb Bug 1245751 - Part 9: Allow href without xlink on SVG <script> elements. r=jwatt
MozReview-Commit-ID: KS41J1RAPIk

--HG--
extra : rebase_source : e3568c45bae2755b5151ef51c73d285e97e890b9
2016-08-26 18:06:04 +08:00
Boris Chiou
e7eb14fbe6 Bug 1245751 - Part 8: Allow href without xlink on SVG <textPath> elements. r=jwatt
MozReview-Commit-ID: KObkvkctP4L

--HG--
extra : rebase_source : 0a91f7826814e944c9ab440ff80d2d4fdc35dd10
2016-07-07 11:44:25 +08:00
Boris Chiou
5555a786b4 Bug 1245751 - Part 7: Allow href without xlink on SVG <mpath> elements. r=dholbert,jwatt
MozReview-Commit-ID: JkW57NTAMPu

--HG--
extra : rebase_source : 4c6a920c368b91bbd8e5058bf7e8e1d55974b65b
2016-07-06 16:40:30 +08:00
Boris Chiou
002563a07c Bug 1245751 - Part 6: Allow href without xlink on SVG <pattern> elements. r=jwatt
MozReview-Commit-ID: 4oODGIKEnE2

--HG--
extra : rebase_source : 3a8d49e4d5d29cadf99e590acd4a4807d2fbc1d5
2016-07-06 17:00:41 +08:00
Boris Chiou
d55ec37cf9 Bug 1245751 - Part 5: Allow href without xlink on SVG <feImage> elements. r=jwatt
MozReview-Commit-ID: 4h3mdwU4wwp

--HG--
extra : rebase_source : 2f2b8d74e80a1b5f1b011bf06ca8ab51d6934195
2016-07-07 14:22:57 +08:00
Boris Chiou
83c0774fd1 Bug 1245751 - Part 4: Allow href without xlink on SVG <filter> elements. r=jwatt
MozReview-Commit-ID: Idloqv5h2PT

--HG--
extra : rebase_source : 930cf5afa36d7e9e963873e87e30fea77283ee0b
2016-07-05 18:18:51 +08:00