Граф коммитов

275 Коммитов

Автор SHA1 Сообщение Дата
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