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
Boris Chiou
a443d463c1
Bug 1245751 - Part 3: Allow href without xlink on SVG <image> elements. r=jwatt
...
MozReview-Commit-ID: 1DGZUcJsrDY
--HG--
extra : rebase_source : cc4d79388030d7ce2005f53cafe3cb57a2ce4065
2016-07-05 17:35:24 +08:00
Boris Chiou
31d2e935e7
Bug 1245751 - Part 2: Allow href without xlink on SVG <use> elements. r=jwatt
...
MozReview-Commit-ID: 28op2ZoRm6X
--HG--
extra : rebase_source : bbf7c129463009578f45560ebfe6ff94741761be
2016-07-05 16:37:17 +08:00
Boris Chiou
b03e0b689f
Bug 1245751 - Part 1: Allow href without xlink on SVG <a> elements. r=dholbert,jwatt
...
MozReview-Commit-ID: 6HwWv2Uxx5j
--HG--
extra : rebase_source : 3d52e687c875b4cde8525057b0840a7a5cd192b2
2016-06-28 17:22:30 +08:00
Boris Zbarsky
16d1de5631
Bug 1250725. Correctly flag the <svg:svg> we synthesize when <svg:use> references a <svg:symbol> as allowed to be reframed. r=dbaron
2016-08-25 14:36:45 -04:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Bobby Holley
412f98cac5
Bug 1296509 - Optimize GetFlattenedTreeParent. r=smaug
...
We need to call it on some hot paths in stylo, and this allows us to do
quick inline check before delegating to the slow path.
2016-08-19 14:43:53 -07:00
Manish Goregaokar
0b438b8b77
Bug 1295895 - Correctly capitalize StyleFillRule; r=heycam
...
MozReview-Commit-ID: ZfHrllA9QV
--HG--
extra : rebase_source : d9b9303d21b3fb5977247ae403caabfd54d666f8
2016-08-17 12:13:26 +05:30
Jonathan Chan
4b87f11bd9
Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
...
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):
hg stat -c \
| cut -c 3- \
| tr '\n' '\0' \
| xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''
Then:
hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h
... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.
MozReview-Commit-ID: ZV6jyvmLfA
--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-16 18:37:48 -07:00
Gregory Szorc
1794619188
Backed out changesets dcdb85fc5517, 702bca0deee2, 9cKX8gC1ATA (bug 1293739) for build bustage; a=bustage
...
The merge from inbound to central conflicted with the merge from
autoland to central, it appears. Per tree rules, the commit from the
autoland repo wins and the inbound commit gets backed out.
CLOSED TREE
--HG--
extra : amend_source : 927e1cdfa8e55ccbd873d404d905caf6871c8c4f
extra : histedit_source : 07095868c3f767258e1d7d2645193bf4811b13bb%2Ca49ae5a28bf6e67298b6208ee9254c25a2539712
2016-08-16 17:50:40 -07:00
Wes Kocher
48b8d407c8
Merge inbound to central, a=merge
...
a=release to get around the webidl hook for a comment-only change
--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Manish Goregaokar
6519960758
Bug 1295177 - Convert STYLE_FILL_RULE_* to an enum class; r=xidorn
...
MozReview-Commit-ID: HnNFNyD4oVJ
--HG--
extra : rebase_source : 12dcee0023ec66a49ea2db673bb5ac85cd006c1e
2016-08-15 21:47:04 +05:30
Jonathan Chan
9c62a2c11c
Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
...
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):
hg stat -c \
| cut -c 3- \
| tr '\n' '\0' \
| xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''
Then:
hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h
... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.
MozReview-Commit-ID: ZV6jyvmLfA
--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-09 16:28:19 -07: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
Nicholas Nethercote
bab6d17ebf
Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
...
This patch makes the following changes on many in-class methods.
- NS_IMETHODIMP F() override; --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final; --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...} --> NS_IMETHOD F() final {...}
Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.
--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10: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
Daosheng Mu
8083dbd7bd
Bug 778654 - Implement and move tabIndex functions to Element class to avoid duplicate work.r=peterv,heycam
...
MozReview-Commit-ID: uetkJztNcn
--HG--
extra : transplant_source : U%E7va%AE%E6%FE%BDN.%28%AA%8F%19%1D%FF%26%E6%B7t
2016-05-24 12:22:17 +08:00
Jonathan Kingston
556ed99119
Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug
...
If the mathml.disabled preference is true, treat <math> and other MathML
elements as generic XML elements.
This patch disables the rendering code of MathML however preserves the
namespace so to reduce the breakage.
Original patch by: Kathy Brade <brade@pearlcrescent.com>
MozReview-Commit-ID: A2f2Q2b4eqR
--HG--
extra : rebase_source : 3c8530816727c01b68a831d560bfe16e7b02bd9d
2016-06-28 15:24:48 +01:00
Robert Longson
5d48332dcd
Bug 843480 - zoom on iframe is applied twice. r=jwatt
2016-08-03 07:37:35 +01:00
Jonathan Watt
db80f397f6
Bug 1058040, part 2 - Rename gfxTextContextPaint to SVGContextPaint and add some code comments. r=dholbert
2016-07-22 14:56:09 +01:00
Jonathan Watt
c5d930fd27
Bug 1058040, part 1 - Move gfxTextContextPaint to a separate file to enable use in imagelib. r=dholbert
2016-07-22 12:07:39 +01:00
Boris Zbarsky
edcfc0d83d
Bug 824592 part 1. Get rid of nsStyledElementNotElementCSSInlineStyle, since quickstubs are long-since gone. r=peterv
2016-08-02 11:05:38 -07:00
Carsten "Tomcat" Book
37be51f16a
merge mozilla-inbound to mozilla-central a=merge
2016-07-28 17:43:03 +02: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
Daniel Holbert
9e983e1b6a
Bug 1288228 part 2: When a DOMSVGLength is CC'd, remove it from tearoff table and drop its weak ref to wrapped val. r=jwatt
...
MozReview-Commit-ID: 74YJfLnRYg0
--HG--
extra : rebase_source : 762d182c092f52f4ed433179fcf2de095187565b
2016-07-21 11:11:37 -07:00
Daniel Holbert
543ecd97c3
Bug 1288228 part 1: Move cleanup code from DOMSVGLength destructor into a helper-function. r=jwatt
...
MozReview-Commit-ID: 8CQCZZP8NUn
--HG--
extra : rebase_source : 48e1311053c477c18af5b45172504ada4f752671
2016-07-21 10:49:38 -07:00
Emilio Cobos Álvarez
11ac7c1d96
Bug 1288590: Rename nsAttrInfo to mozilla::dom::BorrowedAttrInfo. r=bholley
...
Unfortunately couldn't add all the debug checks that I'd want, since we can't
assert that is not safe to run script in quite a few places :(
MozReview-Commit-ID: 8m3Wm1WntZs
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez
1f021d7738
Bug 1288590: Use GetAttrInfoAt in SVGUseElement.cpp. r=bholley
...
MozReview-Commit-ID: BXdOCztAm2k
2016-07-27 11:18:33 -07:00
John Dai
0ff1457b76
Bug 1274505 - Remove SVG-based custom element support. r=wchen
...
--HG--
extra : rebase_source : a2caaa0fc1a49ca989dafc9e73c55ad752b83752
2016-07-26 00:35:00 -04:00
Nicolas Silva
48805c9b3e
Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond
2016-07-26 16:48:30 +02: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
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Decky Coss
930377928e
Bug 1286321 - always ignore language attribute when processing script element if type attribute is defined. r=bz
...
MozReview-Commit-ID: AQV9mkYzLL2
--HG--
extra : transplant_source : %92%96%BC2%0C%CA%C1%14%F4%A4%18B%0E%D5%28%A5NI%15T
2016-07-13 12:10:13 -04:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Gregory Szorc
a7c8e9f3cc
Merge autoland into mozilla-central; a=merge
...
--HG--
extra : amend_source : 8ffaee5cda76b1923f7ef1f5724473c8ed94fda3
2016-07-04 09:01:56 -07:00
Kevin Chen
96f6cecc6b
Bug 1264809 - (Part 1) Decouple SetImageOverridePreserveAspectRatio from mIsPaintingSVGImageElement setting. r=dholbert
2016-07-01 00:41:00 +02:00
Carsten "Tomcat" Book
fcff88e7a8
Merge mozilla-central to autoland
2016-07-01 11:20:25 +02:00
Fariskhi Vidyan
6a7ef6e422
Bug 1280425 part 2: Remove code associated with now-unsupported "defer" in SVG. r=dholbert
...
MozReview-Commit-ID: 8Naxc84aAES
--HG--
extra : rebase_source : 78d34a35dde95c10923c2aaa4660e0ed58e402b4
2016-06-30 17:28:56 -07:00
Fariskhi Vidyan
ccd59b67bf
Bug 1280425 part 1: Remove support for deprecated value "defer" in SVG preserveAspectRatio. r=dholbert
...
MozReview-Commit-ID: I74zfSuwsKH
--HG--
extra : rebase_source : 189fd634cc2c7a1bc99804e05c99b1e0fd3e3f9e
2016-06-30 17:28:33 -07:00
Olli Pettay
437d8cd427
bug 1282985, don't try to notify about page load of already stopped page, r=khuey
...
--HG--
extra : rebase_source : aa3369235aa3eb3e4f315ddb85f12791d10c021a
2016-06-30 13:04:01 +03:00
Robert Longson
ea7cbbe858
Bug 1279690 Part 2 - switch should always allowReorder. r=cam, r=dholbert
2016-06-24 18:47:18 +01:00
Cameron McCormack
7e0f01ceba
Bug 1280772 - Part 2: Rename eCSSDeclaration to eGeckoCSSDeclaration. r=bholley
2016-06-24 13:35:12 +10:00
Robert Longson
29a163da7d
Bug 1279690 Part 1 - switch allowReorder should choose the first possible match. r=dholbert
2016-06-23 05:53:35 +01:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Cameron McCormack
97ad9d5793
Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn
2016-06-03 17:16:39 +10:00
Wes Kocher
11d59fe446
Backed out changeset 14c8ec387dd2 (bug 1277154) because it seems like a good candidate for what broke reftests
...
--HG--
extra : rebase_source : 97d3f6df5465d848f3c5785eca7a01de8867e185
2016-06-03 14:11:05 -07:00
Cameron McCormack
832de75eca
Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn
...
--HG--
extra : rebase_source : 4f8bf468aff4b06e9c410f7197551baa254760f6
2016-06-03 17:16:39 +10:00
Jonathan Watt
2eb705bb3f
Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas
2016-05-25 17:01:18 +01:00
Phil Ringnalda
4ba56e35cf
Back out bb39628ebe69 (bug 1277154) for reftest bustage in svg-glyph-objectvalue.svg
...
CLOSED TREE
2016-06-02 20:06:13 -07:00
Cameron McCormack
e3581a9cba
Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn
2016-06-03 10:02:57 +10:00
Daniel Holbert
028104646a
Bug 1269885: Enforce that a (re)initialized nsSVGViewBox's mBaseValue represents "none". r=longsonr
...
MozReview-Commit-ID: LVZtimXYllo
2016-06-01 09:21:03 -07:00
Ting-Yu Lin
0dd7719112
Bug 1269175 - Convert nsStyleSVG::mStrokeDasharray to be nsTArray. r=heycam
...
MozReview-Commit-ID: 5TC8KBD5cO6
--HG--
extra : rebase_source : 5a1cc695279dc5c5f4d1799814613c3335a65196
2016-05-26 14:01:58 +08: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
Jeremy Chen
685cf4c3d8
Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
...
MozReview-Commit-ID: IIOT9jq8hOl
--HG--
extra : rebase_source : dfb3d874ce4419f32f13e662bd495e97ac9cac10
2016-05-23 11:26:03 +08:00
Jeremy Chen
1a607ceb9d
Bug 1273766 - part1: purge NS_CombineHint inline. r=heycam
...
MozReview-Commit-ID: CWlyjREgoEk
--HG--
extra : rebase_source : 452a425fe4c722d7d5e15118ecb0e59c54908f37
2016-05-23 11:26:03 +08:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07: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
Xidorn Quan
fa7ba2cb82
Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
...
MozReview-Commit-ID: 3KH5cqDFzUI
--HG--
extra : rebase_source : 3c8355f7807982152a16a913b31cbcdd6ef78030
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 18:44:05 +10:00
Ryan VanderMeulen
f514ed495c
Backed out 4 changesets (bug 1269975) for bustage.
...
Backed out changeset a55ecedea260 (bug 1269975)
Backed out changeset 5321545b938c (bug 1269975)
Backed out changeset 7e4a2ee61ef3 (bug 1269975)
Backed out changeset d181f8e7e4c3 (bug 1269975)
2016-05-10 00:08:54 -04:00
Xidorn Quan
30a6d76b26
Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
...
MozReview-Commit-ID: 3KH5cqDFzUI
--HG--
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 13:36:25 +10:00
Robert Longson
957d0f6704
Bug 1267272 - NULL pointer mozilla::dom::SVGSVGElement::GetIntrinsicHeight. r=seth
2016-05-08 11:17:46 +01:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Daniel Holbert
0892fa8f5a
Bug 1269174: Fix nsSVGViewBox::HasRect() to return false instead of using stale mBaseVal. r=longsonr
...
MozReview-Commit-ID: esNxaomT3D
2016-05-03 07:40:26 -07:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +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
Robert Longson
481a70b111
Bug 1158500 - make writing-mode a mapped CSS property. r=cam
2016-04-01 22:08:04 +01:00
Nicholas Nethercote
d376f9f82e
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Arata Furukawa
676913b9bb
Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
...
MozReview-Commit-ID: 7lBCEVkanvF
--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Jonathan Watt
fa6e6c3169
Bug 1253590, part 3 - Crashtest for long clipPath reference chains. r=longsonr
2016-03-12 18:22:33 +00:00
Xidorn Quan
60bcaa5c0b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Daniel Holbert
feb302c132
Bug 1255276 part 2: Make nsSVGAnimatedTransformList remember its previous HasTransform() value, so we can detect attr changes which are effectively creating the attr. r=longsonr
2016-03-14 17:37:36 -07:00
Daniel Holbert
501801e98d
Bug 1255276 part 1: Refactor existing SVGTransformableElement::GetAttributeChangeHint logic to use an "isAdditionOrRemoval" bool. r=longsonr
2016-03-14 17:37:32 -07:00
Robert O'Callahan
b643b26155
Bug 1250773. Ignore viewBoxes with negative width/height. r=heycam
...
MozReview-Commit-ID: Be5fxaDz85w
--HG--
extra : rebase_source : 10ebb9d0dd466be36888aa0f6593fb547020e28f
2016-02-24 17:29:14 +13:00
Cameron McCormack
89cac5abd1
Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
736a5f47e7
Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
0ecd5593cc
Bug 1244074
- Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert
2016-02-24 18:01:12 +11: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
Nathan Froyd
24979f464f
Bug 1247401 - remove nsISupports implementation from SVGTests; r=dholbert
...
SVGTests is purely a mixin class for classes that get their nsISupports
bits from someplace else. Having it implement nsISupports means that
the classes which inherit from it wind up with multiple refcount
members, which is a waste of space. By removing nsISupports
implementation from SVGTests, we save a bit of space and potential
confusion along the way.
2016-02-01 14:47:23 -05:00
Kyle Huey
3693241281
Bug 1244898: Suppress the exception from BeginElement. r=bz
...
--HG--
extra : rebase_source : 1893f94790c92519ffa21d1ef0ed53e3ada51075
2016-02-05 10:12:25 -08:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Nathan Froyd
ddc23df5df
Bug 1222475 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in dom/; r=baku,bz,terrence
2015-11-03 13:29:19 -05:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Tom Klein
41666e40fd
Bug 1242147 - Honor stroke-linecap on SVG circle and ellipse when stroke is dashed. r=longsonr
2016-01-26 12:30:36 -06:00
Chris Peterson
25feb9688d
Bug 1240260 - Annotate intentional switch fallthroughs in dom/smil/ and dom/svg/. r=dholbert
...
dom/smil/nsSMILParserUtils.cpp:191:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/svg/SVGPathSegListSMILType.cpp:356:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/svg/SVGPathSegListSMILType.cpp:364:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/svg/SVGTransformListParser.cpp:147:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/svg/SVGTransformListParser.cpp:175:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/svg/SVGTransformListParser.cpp:204:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2016-01-14 01:38:47 -08:00
Robert Longson
9b519b16c5
Bug 1239128 - Implement LinkStyle for SVGStyleElement interface. r=cam r=bzbarsky
2016-01-14 18:43:11 +00:00
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08: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
Bogdan Postelnicu
8701025836
Bug 1230106 - added assert on animVal. r=longsonr
2015-12-03 03:18:00 +01:00
Bogdan Postelnicu
148cc26c0a
Bug 1230135 - added assert on variable animVal. r=longsonr
2015-12-03 06:04:00 +01:00
Chris Peterson
46bb7c80dd
Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
...
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Robert Longson
e5adaf828f
Bug 1145195
part 1 - Create a helper function for PrependLocalTransformsTo in SVGContentUtils r=dholbert
2015-12-02 22:36:23 +00:00
Bobby Holley
b83cc03bd2
Bug 773429 - Remove dom.disable_image_src_set. r=khuey
2015-11-23 14:08:34 -08:00
Andrea Marchesini
c1671bb497
Bug 1213815 - Update URLSearchParams and URLUtils in webidl files, r=bz
2015-11-23 20:05:26 +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
L. David Baron
a3eadb1b86
Bug 1221436 patch 2 - For style attributes, only store a css::Declaration instead of a css::StyleRule. r=heycam
...
Now that Declaration implements nsIStyleRule, we don't need the memory
overhead of storing a StyleRule object for style attributes.
We also need to change this prior to patch 5, because the changes in
patch 5 that will allow rules to change (but declarations not) would
otherwise break due to style attribute object merging done by
nsAttrValue::ParseStyleAttribute.
--HG--
extra : commitid : Ij4yRdba7wa
2015-11-09 15:57:16 +08:00
Nathan Froyd
a29b448a54
Bug 1222172 - fix friend declaration in SVGSwitchElement; r=dholbert
...
clang-cl warns about this one, saying:
"unqualified friend declaration referring to type outside of the nearest
enclosing namespace is a Microsoft extension; add a nested name specifier"
It's not completely obvious to me how this is a Microsoft extension if
GCC and clang both manage to compile it, but explicit is better than
implicit, I suppose, so let's add the :: qualifier.
2015-11-05 14:47:28 -05:00