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

51654 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
cku 6750574f34 Bug 1288812 - (follow-up) Part 3. Correct test_transitions_per_property.html. r=me
MozReview-Commit-ID: JRnqQINxmwv

--HG--
extra : amend_source : 5dffedf487f6584d3491020611ca3b663c466403
2016-08-12 02:03:07 +08:00
Iris Hsiao 277d6d625e Backed out changeset 0d754bde37ab (bug 1288812) for CJKu's request 2016-08-12 11:48:46 +08:00
cku 0064b635b5 Bug 1288812 - (follow-up) Part 3. Correct test_transitions_per_property.html.
MozReview-Commit-ID: JRnqQINxmwv

--HG--
extra : source : 2e72d551bfb64bf4d00b8a26aa7873c5d89beec3
extra : amend_source : 89ae68fd9907196b1f65f47eaff8a8fc8e00d6da
2016-08-12 02:03:07 +08:00
Michael Layzell aa89e8fd55 Bug 1293001 - Part 1: Change the BinaryName of nsIFrameLoaderOwner::frameLoader (which overloaded another virtual method) to FrameLoaderXPCOM, r=froydnj
MozReview-Commit-ID: Db3z2DP5qba
2016-08-11 15:49:39 -04:00
cku 4162f0f8ff Bug 1293929 - Fix wrong link rel="match" in mask reftests. r=me
MozReview-Commit-ID: 6m9DPDZzvz7

--HG--
extra : source : d428f05ef1588effb8d9f9122e42dc7fc8e8f503
2016-08-12 00:49:30 +08:00
Neil Deakin 5cb9bd82d8 Bug 52106, open menulist popup with selection over cursor, r=mstange 2016-08-11 10:37:25 -04:00
Neil Deakin 92a3bbb5e7 Bug 1246089, don't rollup a menulist popup when alt is pressed, r=tn 2016-08-11 10:36:20 -04:00
Jonathan Kew 40d2863267 Bug 1291016 - Track source-string position of possible prefix. r=heycam 2016-08-11 09:08:22 +01:00
Timothy Nikkel 036fc88239 Bug 1294133. Null check animated geometry root. r=mattwoodrow 2016-08-11 00:52:56 -05:00
Benoit Girard f9f95c59d4 Bug 1264530 - Hold on to Plugin Instance to survive frame poisoning. r=jimm
MozReview-Commit-ID: JHbce46rDBN
2016-08-10 16:21:01 -04:00
Emilio Cobos Álvarez b09bf7a6b6 Bug 1292930: stylo: Make change hint processing more straight-forward. r=heycam
MozReview-Commit-ID: 4ZcCMKSc6Tv
2016-08-10 22:02:00 -07:00
Emilio Cobos Álvarez 48d2ee6a9e Bug 1292930: stylo: Remove expected warning. r=heycam
This should actually have been a followup for bug 1290335.

MozReview-Commit-ID: GIl67fSMRQg
2016-08-10 22:01:49 -07:00
Emilio Cobos Álvarez 9faca13ea4 Bug 1292930: stylo: Store the change hint generated by non-elements in their parent element. r=heycam
Otherwise, the parent style context doesn't have some inherited structs in the
cache, so it avoids comparing them entirely.

For example, the following example:

<p>Hey</p>

p { color: blue }
p:hover { color: red }

Wouldn't work as intended, because when calculating the change hint the
nsStyleColor struct in the element hasn't been accessed by layout (only the
child text frame's has), so it will report a change hint of 0 when hovering over
the paragraph, and we would ignore the nsChangeHint_ReconstructFrame generated
by the text node.

MozReview-Commit-ID: FW7Thhuh7LG
2016-08-10 22:01:35 -07:00
Emilio Cobos Álvarez ace33150af Bug 1292930: stylo: Fix handling of eRestyle_LaterSiblings when not combined with other change hints. r=heycam
MozReview-Commit-ID: AeLLm64d5aP
2016-08-10 22:01:06 -07:00
Emilio Cobos Álvarez ffa9466398 Bug 1292930: Hoist ChangeHintToString to RestyleManagerBase. r=heycam
MozReview-Commit-ID: BLW40PYhc0o
2016-08-10 22:00:49 -07:00
Emilio Cobos Álvarez 3f8ce6d753 Bug 1292930: stylo: Reuse RestyleManager::PostRestyleEventInternal. r=heycam
MozReview-Commit-ID: J6rw1feAYWh
2016-08-10 22:00:33 -07:00
Nicholas Nethercote 8f51d02c97 Bug 1293117 (part 5) - Change many NS_METHOD occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_METHOD F() override;      --> NS_IMETHOD F() override;
- NS_METHOD F() override {...} --> NS_IMETHOD F() override {...}
- NS_METHOD F() final;         --> NS_IMETHOD F() final;
- NS_METHOD 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 : 3010fade82a170eab7f13d81bf61b02cd693f3cf
2016-08-08 10:54:50 +10: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
James Graham 8bdb6331c6 Bug 1293250 - Make reftest log generation less magical, r=ahal
Ensure that the first line of the log for failing tests is identical to
one that would be produced by the tbplformatter from mozlog. This means
that treeherder will be able to sucessfully cross-match error lines.

Also make the data structures used for storing screenshots identical
between reftests and web-platform-tests so that we can start to move
toward removing the reftest-specific codepath here.

MozReview-Commit-ID: FZQXLjj9Ejv

--HG--
extra : rebase_source : 3e9bf70ff7915817b8c02032c8da0d0a659e4661
2016-08-08 17:48:39 +01:00
Masayuki Nakano 925390facb Bug 1286464 part.11 nsTextFrame::GetCharacterRectsInRange() shouldn't compute character rect at the first character in next nsTextFrame r=jfkthame
nsTextFrame::GetCharacterRectsInRange() handles a character at the end offset of its content as in it. However, it causes odd result when the caller wants first text rect in the next nsTextFrame. E.g., if end of query range is at the next nsTextFrame's first character, currently, it returns the last character as in same line.

So, it should stop handling next frame's first character as in it.

MozReview-Commit-ID: 7WteerisrZp

--HG--
extra : rebase_source : 97653f1ed04a6a03373cd53613d92aba45fbe38b
2016-07-21 16:24:37 +09:00
Wes Kocher 88bc8189f9 Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
Wei-Cheng Pan 192781cb4a Bug 1046166 - Send userContent.css URL to content processes. r=dbaron
MozReview-Commit-ID: 4NTxwYeFGSU

--HG--
extra : rebase_source : 2e6b1c147acd9f38ffe3d8867bc2b98c2e1f6c33
2016-07-21 18:57:35 +08:00
Masayuki Nakano e2ec5e1e8a Bug 1257446 part.3 nsTextFrame::GetCharacterRectsInRange() shouldn't call gfxSkipCharsIterator::AdvanceOriginal() before checking if the current offset has already been reached to the end for avoiding assertions r=jfkthame
New eQueryTextRectArray causes a lot of assertions in various automated tests. The cause is that nsTextFrame::GetCharacterRectsInRange() calls gfxSkipCharsIterator::AdvanceOriginal(1) at the end of the |for| loop *without* checking if the iterator has already reached to the end.

MozReview-Commit-ID: 3KFxA11uOUc

--HG--
extra : rebase_source : 407c47897cad8c2e4929ed1226073302faaecee2
2016-07-14 22:02:15 +09:00
Brian Birtles eac25e3163 Bug 1286476 part 2 - Respect the playback rate when calculating phase boundaries; r=hiro
This implements the spec change in 21de090dac

The spec change refers to a binary 'animation direction' flag. Instead of that,
however, we just pass the playback rate along and use it inside
GetComputedTimingAt since this seems simpler.

Also, this patch moves the implementation of
KeyframeEffectReadOnly::GetComputedTiming from the header file into the .cpp
file. This is because with this change, GetComputedTiming needs to call
mAnimation->PlaybackRate() and so mozilla::dom::Animation needs to be a complete
type. However, simply including Animation.h doesn't work because of a cyclic
dependency between KeyframeEffect.h and Animation.h. We might be able to fix
this later but since yet-to-land bug 1049975 moves this code around a lot, I'd
rather not touch it too much just now.

MozReview-Commit-ID: 1h6XRh4xmfI
2016-08-17 08:28:41 +09:00
Emilio Cobos Álvarez 7024baef71 Bug 1292930: Handle the case of having unresolved URIs in nsStyleDisplay::mBinding. r=heycam
This handles the case of the URIs not being resolved during stylo's parallel
traversal.

MozReview-Commit-ID: ExYsFbeaYWo
2016-08-16 16:10:16 -07:00
Randall Barker 9a3fae864f Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp 2016-08-16 14:33:43 -07:00
Mason Chang e21abc7248 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Stone Shih 0936be8e70 Bug 1293175 - [Pointer Event] Add Element.hasPointerCapture API. r=smaug
--HG--
extra : rebase_source : 25dcafa70e5260259fd7703134b376c3351595c0
2016-08-10 15:31:43 +08:00
L. David Baron fab87ed192 Bug 720531 followup - Modify reftest.list so that it matches the link rel=match in the tests. No review.
This makes it so check-for-references.sh won't complain about the tests.

It's equivalent since this is a set of three tests that need to be
compared for equality, and this just tests A==B and B==C instead of A==B
and A==C.

MozReview-Commit-ID: 37VzOKVfR9W

--HG--
extra : transplant_source : %3A%DA/%999k%E0%DEFP9t%C9%5DD%AF%82Y%A3%84
2016-08-15 13:30:12 -07:00
Pranaydeep Singh 650f2fa5b3 Bug 1293738 - Remove unneeded aWM arg from some FlexboxAxisTracker methods. r=dholbert, r=emilio
--HG--
extra : rebase_source : 526edb1d41155c8fd70abe45473d0bacefd80975
2016-08-12 05:43:06 +05:30
Stone Shih 728f58c68b Bug 1258804 - Part 3: Update related test case for PE spec changes. r=smaug
--HG--
extra : rebase_source : 920401957f69e334323ef7ab4548b9f98437b59f
2016-08-01 15:41:42 +08:00
Stone Shih 6a29290e1b Bug 1258804 - Part 2: Attributes of gotpointercapture and lostpointercapture should be the same as the pointer event that causes them. r=smaug
--HG--
extra : rebase_source : 8f72d77e100e50c8a4d0354e82733cca900282ea
2016-08-01 15:12:11 +08:00
Stone Shih ae0a4d32bf Bug 1258804 - Part 1: Process pending pointer capture when firing pointer events. r=smaug
--HG--
extra : rebase_source : 0fae1842c3080c45ff65af83bd6f282f20cb5777
2016-08-01 09:16:27 +08:00
Joel Maher c89f909079 backout 4e8a67e61102 (bug 1289829) for performance regression
MozReview-Commit-ID: HELRLZmHY7n
2016-08-15 11:54:43 -04:00
Jimmy Wang 6d8584507f Bug 1261299 - Only update nsClipboard::sSelectionCache in nsSelection.cpp when the selection listener is on the same process as the focused window where the selection occured or became active. r=smaug
MozReview-Commit-ID: KARKdc8G0nI

--HG--
extra : rebase_source : 1a5bc0fcb4ea607c46916df04199fda5161d64ab
2016-08-03 19:08:33 -04:00
Jimmy Wang a2bf6b970a Bug 1261299 - Update the selection cache on repaint to handle when a pre-existing selection becomes active aka the current selection. r=smaug
MozReview-Commit-ID: HrTQnHd12rg

--HG--
extra : rebase_source : bd727de70576a39da3cd3fab1754330c41add768
2016-07-27 16:05:37 -04:00
Jonathan Kew 76f40e7bdc Bug 1280887 - patch 1 - Declare a bunch of gfxTextRun* variables as const pointers, for clarity. r=mats 2016-07-07 13:51:24 +01:00
Wes Kocher a742ff6791 Merge m-c to inbound, a=merge 2016-08-10 16:55:15 -07:00
Wes Kocher fa1a1180c4 Merge autoland to central, a=merge 2016-08-10 16:29:26 -07:00
Wes Kocher bd62f08814 Merge inbound to central, a=merge 2016-08-10 16:15:17 -07:00
Wes Kocher 46da1ae628 Backed out changeset cc88b920a387 (bug 1278957) for making browser_notifications.js permafail on linux64 debug a=backout CLOSED TREE 2016-08-10 15:36:45 -07:00
Carsten "Tomcat" Book 553a2da922 merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
cku c493fc33a4 Bug 1277788 - Part 2. Correct mochitest. r=dbaron.
MozReview-Commit-ID: CI7W7rPwirf

--HG--
extra : rebase_source : 8e9d78e537a5af4f51294de701faa97b35c15b66
2016-08-10 20:32:08 +08:00
Sebastian Hengst 6ed5110691 Backed out changeset ff84b85aa1cb (bug 1291667) for asserting at nsRuleNode.cpp:1322 and failing mochitests and reftests. r=backout 2016-08-10 12:59:15 +02:00
Sebastian Hengst e0e540f8a9 Backed out changeset 4453b10529a2 (bug 1291667) 2016-08-10 12:58:24 +02:00
cku ed7978775a Bug 1277788 - Part 1. Set initial value of mask-position as center. r=dbaron.
MozReview-Commit-ID: BflQ6tz8ZjM

--HG--
extra : rebase_source : 01b05533f5c791da0987af81d5cca276ec36e3f0
2016-08-10 16:10:45 +08:00
Ravi Shankar 7d175e35ed Bug 1291667 - Removed unused variant 'MozNone' from StyleUserSelect enum class; r=heycam
MozReview-Commit-ID: 7VxjNbunHC8
2016-08-10 13:57:32 +08:00
Ravi Shankar 049a72eb4c Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=Manishearth,heycam
MozReview-Commit-ID: 2qBMmQrtuR9
2016-08-10 13:57:32 +08:00
cku 389791dcf1 Bug 1293929 - Part 2. add reftest. r=mstange
MozReview-Commit-ID: HcxfyVlyAkE

--HG--
extra : rebase_source : 406d607744c842070732cfa877a7f9d0b822bee8
2016-08-10 16:36:27 +08:00
cku b901e4d14a Bug 1293929 - Part 1. Treat unresolvable mask in svg frame as no-mask. r=mstange
MozReview-Commit-ID: IdiV5w9OrNF

--HG--
extra : rebase_source : 52ed8e68782685054207078a3bc1599398aba5c5
2016-08-10 15:52:38 +08:00
Carsten "Tomcat" Book 781af68024 Merge mozilla-central to autoland 2016-08-10 16:05:21 +02:00
Sylvestre Ledru 9b809e028f Bug 1294015 - Identical code for different branches in nsCSSRenderingBorders.cpp r=arai
MozReview-Commit-ID: DNwiCkUhWt6

--HG--
extra : rebase_source : b5bd7dcc59e7b57fc90e4c8557f6bcfd6382e433
2016-08-10 14:46:25 +02:00
Andrew Magdy ea762cae5a Bug 1293000 - Replace Iterator() with Object.entries() in layout/. r=bz
--HG--
extra : rebase_source : c0c04c2fcb0ddb8b6e36e12c993da4003c0e0f50
2016-08-09 16:40:28 +02:00
Jamie Nicol a2741d30bf Bug 1292856 - Don't cast scale to int in nsDisplayTransform::ShouldPrerenderTransformedContent; r=mstange
Casting the scale components to integers before multiplying meant that
nsDisplayTransform::ShouldPrerenderTransformedContent was incorrectly
calculating the scaled frame size. This was especially bad when scale <
(1.0, 1.0), as it would calculate a size of (0, 0), leading us to
prerender the frame even if it was too large.

Calculate the frame's size using floating point scale components so as
to avoid this problem.

MozReview-Commit-ID: KhbP8tJ8qYx

--HG--
extra : transplant_source : %E6%BD%80l%D9O%CE%B0%12%D8%94R%AB%C0%13%A0%E7%B9%01E
2016-08-09 14:55:45 +01:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Matt Woodrow 193414f9a8 Bug 1237102 - Make sure we don't generate invalidations for children of opacity:0 frames, even when plugins are present. r=tnikkel 2016-08-10 15:15:28 +12:00
Matt Woodrow 5c967cf2fc Bug 1237097 - Don't invalidate opacity:0 nsDisplayOpacity items. r=tnikkel 2016-08-10 15:12:27 +12:00
Bobby Holley cbb507cc3e Bug 1292278 - Zero-index the namespace manager URIs. r=bz
The current setup here tries to "save" an entry in the list by checking
for the "None" namespace everywhere and special-casing it. We can simplify
this a lot by just adding the empty atom to the beginning of the array,
which is the value that servo uses to represent "namespace none" anyway.
2016-08-09 15:28:41 -07:00
Lee Salzman dfa9fefa78 Bug 1278957 - enable Skia content for Linux and Android. r=mchang
MozReview-Commit-ID: KFb81rVM0ik
2016-08-09 15:56:28 -04:00
Wes Kocher e4976889e3 Backed out changeset 05bc24cabedf (bug 1278957) for pgo m(oth) failures 2016-08-09 11:44:12 -07:00
Ting-Yu Lin 6346d9e755 Bug 1293950 - Update mozilla wiki link in AccessibleCaret headers. r=mtseng
Change only comments so DONTBUILD (NPOTB).

MozReview-Commit-ID: 3UOtYyOxg3

--HG--
extra : rebase_source : 242ed41c006ce13c3f148a4d165f5c64f43b7cbb
2016-08-10 15:46:27 +08:00
cku 5ed26abff3 Bug 1269990 -Refuse to interpolate when animating between clip-path shape values that have different reference boxes. r=dholbert
MozReview-Commit-ID: JzWestyfGoT

--HG--
extra : rebase_source : 5507c15e8ea2488362f571fc63303d3003233a05
2016-08-08 18:13:42 +08:00
Ting-Yu Lin b8899e7e16 Bug 1293604 - Replace NS_STYLE_FLOAT_* with StyleFloat enum class. r=dbaron
MozReview-Commit-ID: 4K6TyIm6cs3

--HG--
extra : rebase_source : b6210815b7c03d5634fdddf8080a3da4e090d194
2016-08-09 17:32:54 +08:00
Emilio Cobos Álvarez 326d957c01 Bug 1000957: Reftests for flexbox single-line size clamping. r=dholbert
MozReview-Commit-ID: 9R7ooFmdrVe
2016-08-10 15:46:46 -07:00
Emilio Cobos Álvarez ddbd14670c Bug 1000957: For single-line flex containers, clamp the flex line to container's min/max cross size. r=dholbert
MozReview-Commit-ID: 9Kqg0lPnkv0
2016-08-10 15:46:35 -07:00
Emilio Cobos Álvarez 15e65891fc Bug 1000957: Whitespace cleanup in nsFlexContainerFrame::Reflow. r=dholbert
MozReview-Commit-ID: 1kGrL6Ji0Rp
2016-08-10 15:46:30 -07:00
Emilio Cobos Álvarez e456bd1f3c Bug 1000957: Uncomment some flexbox warnings referencing fixed bugs. r=dholbert
MozReview-Commit-ID: COy0I1nm3DU
2016-08-10 15:46:21 -07:00
Sebastian Hengst d3e41806b5 Backed out changeset 40e95a2eb907 (bug 1291528) for many animation related crashes. r=backout 2016-08-09 16:56:30 +02:00
Sebastian Hengst f887eec24a Backed out changeset adc1960091eb (bug 1291528) 2016-08-09 16:55:59 +02:00
Carsten "Tomcat" Book c4b39a49eb Merge mozilla-central to mozilla-inbound 2016-08-09 15:47:44 +02:00
Carsten "Tomcat" Book d9e0b4c565 merge mozilla-inbound to mozilla-central a=merge 2016-08-09 15:44:51 +02:00
Edwin Flores 8289246c56 Bug 1291528 - Fix gradient scaling in nsCSSRendering::PaintGradient - r=mstange 2016-08-09 12:58:00 +01:00
Edwin Flores cb82279d40 Bug 1291528 - Add reftest to ensure that linear gradient drawing paths agree - r=mstange 2016-08-09 12:57:59 +01:00
Carsten "Tomcat" Book 1315140dfb Backed out changeset 33b8617a7233 (bug 1278957) for linux pgo reftest failures 2016-08-09 09:15:40 +02:00
Yura Zenevich 7d6abb5975 Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Wes Kocher 78ec753b6f Merge m-c to inbound, a=merge 2016-08-08 16:29:21 -07:00
Carsten "Tomcat" Book d83f1528db Merge mozilla-central to autoland 2016-08-08 12:04:33 +02:00
Wes Kocher d418284da4 Backed out 8 changesets (bug 1288626) for conflicting with bug 1291280, which merged to m-c first a=backout
Backed out changeset caee616ea09c (bug 1288626)
Backed out changeset eebda25d85cd (bug 1288626)
Backed out changeset 07e9cb8a46fd (bug 1288626)
Backed out changeset c5e4865819ff (bug 1288626)
Backed out changeset 74633b2735e0 (bug 1288626)
Backed out changeset 17f63bb7be11 (bug 1288626)
Backed out changeset 654556e45f5a (bug 1288626)
Backed out changeset be2c56decd65 (bug 1288626)
2016-08-08 16:19:30 -07:00
Hiroyuki Ikezoe acc70a71bd Bug 1292441 - Part 2: Reftest for backround-position-x animation. r=mstange
MozReview-Commit-ID: q7m7szmavl

--HG--
extra : rebase_source : 3dc0785fad4693dbe0cf9eb6ab70d8ab691b1f53
2016-08-08 12:54:05 +09:00
Hiroyuki Ikezoe c4cce17f20 Bug 1292441 - Part 1: Avoid crashes when 'reftest-opaque-layer' is specified against an element having an display item which is not assigned to a PaintedLayer. r=mstange
MozReview-Commit-ID: HISvrzIwUZ2

--HG--
extra : rebase_source : da0c2e25d529ce6bf82d38f434301eb0f0f62503
2016-08-08 09:41:50 +09:00
cku e32ee56058 Bug 1291280 - Part 3. Create mask local-ref test cases. r=heycam
MozReview-Commit-ID: H9frrUaTFKx

--HG--
extra : rebase_source : c584be44c021f84a44309e039317ce6c65175b04
2016-08-06 16:47:36 +08:00
cku e39570c057 Bug 1291280 - Part 2. Declare nsStyleImageLayers::Layer::mSourceURI as FragmentOrURI r=heycam
MozReview-Commit-ID: 6KFb7MjlLqj

--HG--
extra : rebase_source : 24ac046807f12e3bea6717baab962de94d8fafc5
2016-08-06 06:38:44 +08:00
cku 6fc952395d Bug 1291280 - Part 1. Move the definition of FragmentOrURL up. r=heycam
MozReview-Commit-ID: 3TtUtnE2ZBh

--HG--
extra : rebase_source : dd22cfab1da88550bb3c6fa8459827c53d6e5bd0
2016-08-06 06:16:50 +08:00
Lee Salzman bf9dba5653 Bug 1278957 - enable Skia content for Linux and Android. r=mchang
MozReview-Commit-ID: KFb81rVM0ik
2016-08-09 05:33:15 -04:00
Mantaroh Yoshinaga ae2e808431 Bug 911987 part 4 - Add onwebkitanimation** and onwebkittransitionend event handlers. r=smaug
Add the onwebkit prefixed event handler attributes of CSS-Animation
and CSS-Transition.

We need to support both content attributes and IDL attributes like
onanimation** attributes.

We should support attribute of lower-case and mixed-case. But currently
Gecko defined as mixed-case only. [1][2]

[1] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsContentUtils.cpp#747
[2] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/events/EventNameList.h#977

So we can't find the related Atom when we set content attributes as lower-case. [3]

[3] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsGlobalWindow.h#818

In this patch, I add two Atoms in order to support mixed and lower case.

MozReview-Commit-ID: 8nOfVGQ8h7R

--HG--
extra : rebase_source : fe954eb5c79d305660bdc3ef95b14e55cdb34534
2016-08-05 14:12:38 +09:00
Mantaroh Yoshinaga 1dca1eac31 Bug 911987 part 3 - Add onwebkit prefixed event handler tests. r=birtles
MozReview-Commit-ID: B9SmsyXjLil

--HG--
extra : rebase_source : 8abbd729c099668d32d7c256a4d7435edc02fa40
2016-08-05 14:03:51 +09:00
Mantaroh Yoshinaga 8ca50a27e0 Bug 911987 part 2 - Add the onanimation** and ontransition end tests. r=birtles
MozReview-Commit-ID: 7n5d4c01T8p

--HG--
extra : rebase_source : 8c57dc62b499c0c54de8b98c1f87fadf50b1a01b
2016-08-05 08:12:15 +09:00
Phil Ringnalda d88f9174f3 Merge m-i to m-c, a=merge 2016-08-06 23:34:37 -07:00
Markus Stange ecd527362a Bug 1259872 - Don't cull all layers under an opaque layer that covers the container if that layer has a scrolled clip. r=mattwoodrow
MozReview-Commit-ID: Abmm28HiLqR

--HG--
rename : layout/reftests/async-scrolling/bg-fixed-child-no-culling-ref.html => layout/reftests/async-scrolling/bg-fixed-child-no-culling-1-ref.html
rename : layout/reftests/async-scrolling/bg-fixed-child-no-culling.html => layout/reftests/async-scrolling/bg-fixed-child-no-culling-1.html
extra : rebase_source : e8008f9011459d0c28b6b914a9a0e23a953f1469
2016-08-04 22:40:56 -04:00
Wes Kocher e62bb051c9 Merge inbound to central, a=merge 2016-08-05 14:01:56 -07:00
Cameron McCormack bddd447666 Bug 1290013 - Add a pref to disable stylo. r=bholley
MozReview-Commit-ID: DG9Q61OYlvl
2016-08-05 17:45:58 +08:00
Carsten "Tomcat" Book 0cd188453a Merge mozilla-central to autoland 2016-08-05 12:15:20 +02:00
cku 91b64119c1 Bug 1291283 - Use URLValueData::GetLocalURLFlag() to identify local-ref URI. r=dholbert
MozReview-Commit-ID: 2tXEGMhPCkn

--HG--
extra : rebase_source : 56dc684f75623e7f66d001945b41efccd65bf9ce
2016-08-04 23:50:22 +08:00
Jonathan Watt 9f767c7d64 Bug 1058040, part 5 - Move the code from nsSVGUtils::SetupContextPaint and nsSVGUtils::GetContextPaint into SVGContextPaint. r=dholbert
--HG--
extra : rebase_source : 00c5ef270ff9591a16727a2e35405177f063c8e6
2016-07-25 17:34:18 +01:00
Jonathan Watt 17c835c445 Bug 1058040, part 4 - Rename SVGTextContextPaint to SVGContextPaintImpl. r=dholbert
--HG--
extra : rebase_source : aeb52029a8060fcedaefd69b1d0120d22a2c6741
2016-07-25 16:04:20 +01:00
Jonathan Watt a6f638eeec Bug 1058040, part 3 - Move SVGTextContextPaint into SVGContextPaint.h/.cpp. r=dholbert
--HG--
extra : rebase_source : 716c7586dcf6cd7c55df2cd6d0df40287a1b1374
2016-07-25 13:27:00 +01:00
Matt Woodrow bf8a0ba830 Bug 1287122 - Make sure we build nsDisplayOpacity if we need it, since useOpacity already takes svg effects into account. r=dbaron
--HG--
extra : rebase_source : 7a9952fe0ed3a579083bd324002d44ab735d0735
2016-08-05 10:37:46 +12:00
David Anderson 456bcd0248 Move TileSize from gfxPlatform to gfxVars. (bug 1288259 part 3, r=jrmuizel)
--HG--
extra : rebase_source : 5a48bb72b10c8d9c1c5c96b8d2076a6d33cabc24
2016-08-04 11:33:43 -07:00
David Anderson 9e49bc37bb Introduce gfxVars for sharing graphics variables across processes. (bug 1288259 part 2, r=jrmuizel,billm)
--HG--
extra : rebase_source : cbac742f7165a2fbdec3e4d1179c9ed49324579f
2016-08-04 11:33:42 -07:00
Decky Coss b69450d2ea Bug 1287655 - place textarea/input cursor at end of text when initialized; r=smaug
MozReview-Commit-ID: 2srGXFmla07

--HG--
extra : transplant_source : %3Cn%D30%86%24%82%90%29%191%9C%8A%EB%0D%5D%E2%20%22%E5
2016-07-21 14:52:49 -04:00
Markus Stange ebb461c874 Bug 1012752 - Snap scrolled area to layer pixels. r=tnikkel
We want the maximum scroll position to be aligned with layer pixels. That way
we don't have to re-rasterize the scrolled contents once scrolling hits the
edge of the scrollable area.

Here's how we determine the maximum scroll position: We get the scroll port
rect, snapped to layer pixels. Then we get the scrolled rect and also snap
that to layer pixels. The maximum scroll position is set to the difference
between right/bottom edges of these rectangles.
Now the scrollable area is computed by adding this maximum scroll position
to the unsnapped scroll port size.
The underlying idea here is: Pretend we have overflow:visible so that the
scrolled contents start at (0, 0) relative to the scroll port and spill over
the scroll port edges. When these contents are rendered, their rendering is
snapped to layer pixels. We want those exact pixels to be accessible by
scrolling.

This way of computing the snapped scrollable area ensures that, if you scroll
to the maximum scroll position, the right/bottom edges of the rendered
scrolled contents line up exactly with the right/bottom edges of the scroll
port. The scrolled contents are neither cut off nor are they moved too far.
(This is something that no other browser engine gets completely right, see the
testcase in bug 1012752.)

There are also a few disadvantages to this solution. We snap to layer pixels,
and the size of a layer pixel can depend on the zoom level, the document
resolution, the current screen's scale factor, and CSS transforms. The snap
origin is the position of the reference frame. So a change to any of these
things can influence the scrollable area and the maximum scroll position.
This patch does not make us adjust the current scroll position in the event
that the maximum scroll position changes such that the current scroll position
would be out of range, unless there's a reflow of the scrolled contents. This
means that we can sometimes render a slightly inconsistent state where the
current scroll position exceeds the maximum scroll position. We can fix this
once it turns out to be a problem; I doubt that it will be a problem because
none of the other browsers seems to prevent this problem either.

The size of the scrollable area is exposed through the DOM properties
scrollWidth and scrollHeight. At the moment, these are integer properties, so
their value is rounded to the nearest CSS pixel. Before this patch, the
returned value would always be within 0.5 CSS pixels of the value that layout
computed for the content's scrollable overflow based on the CSS styles of the
contents.
Now that scrollWidth and scrollHeight also depend on pixel snapping, their
values can deviate by up to one layer pixel from what the page might expect
based on the styles of the contents. This change requires a few changes to
existing tests.
The fact that scrollWidth and scrollHeight can change based on the position of
the scrollable element and the zoom level / resolution may surprise some web
pages. However, this also seems to happen in Edge. Edge seems to always round
scrollWidth and scrollHeight upwards, possibly to their equivalent of layout
device pixels.

MozReview-Commit-ID: 3LFV7Lio4tG

--HG--
extra : rebase_source : 3e4e0b60493397e61283aa1d7fd93d7c197dec29
extra : source : d43c2d5e87f31ff47d7f3ada66c3f5f27cef84a9
2016-08-04 23:51:58 -04:00
Markus Stange 840bf3bfdb Bug 1292395 - Tweak this assertion message. r=mattwoodrow
MozReview-Commit-ID: AARqrxI1Qwn

--HG--
extra : rebase_source : 0524667582af2a4a972ecf51ad912eef8a722ddc
2016-08-04 22:00:04 -04:00
cku c219b1530b Bug 1258623 - Correct mochitest r=dbaron
MozReview-Commit-ID: Iu8j2HlimwP

--HG--
extra : rebase_source : e8a48c2722cbca33e8d5bdbaa99ab9c25256bc69
2016-07-18 17:05:28 +08:00
cku cddd3b562b Bug 1258623 - Set initial value of mask-repeat as no-repeat. r=dbaron
MozReview-Commit-ID: 4VgvRXdVL2F

--HG--
extra : rebase_source : 80416c1d6a4fa8b3d4f022f879db50d31c79699b
2016-07-18 17:02:58 +08:00
Ting-Yu Lin 3e0b364f59 Bug 1288626 Part 8 - Add shape-outside support to style system. r=heycam
I have to move the definition of StyleBasicShape and StyleShapeSource prior to
where nsStyleDisplay::mShapeOutside is defined since the template struct need to
be fully defined before using as a member variable.

Use SetIdent() in CreatePrimitiveValueForBasicShapeOrURL() in
nsComputedDOMStyle.cpp per bug 1288626 comment 6.

MozReview-Commit-ID: 1KZS299CFul

--HG--
extra : rebase_source : d96276a1d514e1e42e1daf6f23e6bbfcb92d3bec
2016-07-22 15:40:01 +08:00
Ting-Yu Lin 213646c667 Bug 1288626 Part 7 - Rename StyleClipShapeSizing to StyleClipPathGeometryBox. r=heycam
Change to geometry box to match the name in the spec.
https://drafts.fxtf.org/css-masking-1/#the-clip-path

MozReview-Commit-ID: 8jDTynCkJ4A

--HG--
extra : rebase_source : c2e165e320c1341012b32b48bfb03b3c9b4f56c5
2016-07-28 13:45:43 +08:00
Ting-Yu Lin 9ccd71a0c4 Bug 1288626 Part 6 - Generalize StyleClipPath to be template struct StyleShapeSource. r=heycam
The only difference between clip-path and shape-outside is the reference box
enum, so I generalize StyleClipPath to be a template struct StyleShapeSource to
accommodate both. I'll have to move all the method definition to the header to
make the linker happy.

The only logic change is calling operator==() instead of EqualURIs to compare
urls in StyleShapeSource::operator==().

MozReview-Commit-ID: LOBGVVpnnB

--HG--
extra : rebase_source : eca561500f8f8529cf6e7b5c04372a51c1b62862
2016-08-04 13:43:08 +08:00
Ting-Yu Lin 4ad0c1bbe3 Bug 1288626 Part 5 - Rename StyleClipPathType to StyleShapeSourceType. r=heycam
StyleClipPathType will be generalized to StyleShapeSourceType to match this
change.

MozReview-Commit-ID: Igaad2EoSSt

--HG--
extra : rebase_source : 517d7b968e90f8f83e1223d33bd9d59000e034fd
2016-08-04 11:51:20 +08:00
Ting-Yu Lin e8946e534d Bug 1288626 Part 4 - Rename nsStyleClipPath to StyleClipPath. r=heycam
MozReview-Commit-ID: 2iT4elvtTGd

--HG--
extra : rebase_source : 7a7cb977e288c7fab33e7bb83ad97e30e53844d9
2016-07-28 10:29:33 +08:00
Ting-Yu Lin 74392a7dec Bug 1288626 Part 3 - Rename nsStyleBasicShape to StyleBasicShape. r=heycam
MozReview-Commit-ID: 9NUKpZ4s4kG

--HG--
extra : rebase_source : 52f688a06e9af2733f128a874147276c735db2f1
2016-07-27 18:14:36 +08:00
Ting-Yu Lin d5b06eeac7 Bug 1288626 Part 2 - Use basic shape enum class defined in nsStyleConsts.h. r=heycam
Rename StyleBasicShape to StyleBasicShapeType in nsStyleConsts.h, and
replace the old enum nsStyleBasicShape::Type by the enum class
StyleBasicShapeType.

Also, replace NS_ASSERTION() by MOZ_ASSERT().

MozReview-Commit-ID: EuS4ZtYKsk6

--HG--
extra : rebase_source : b6cb68f91c545cef283c97de222111d3acb64b02
2016-07-27 17:59:33 +08:00
Ting-Yu Lin 30bb6dcff2 Bug 1288626 Part 1 - Move nsBasicShape and nsStyleClipPath into mozilla namespace. r=heycam
MozReview-Commit-ID: D9wwa1rLUNa

--HG--
extra : rebase_source : 763c529a933e1a13a6a16a2d6a6d0439646bf012
2016-07-27 17:38:26 +08:00
Andrew Halberstadt 16c7acfe05 Bug 1292660 - Fix |mach mochitest| kwargs['app'] is None error on android, r=gbrown
This fixes a regression from bug 1288827. It happened because I moved the logic that finds
the application path a little later on in the test harness. But there was an instance where
it was being used in the android mach command before that point.

As it turned out, we don't really *need* that value there. This patch grabs the same value
from build_obj.substs which is already an argument to the function.

MozReview-Commit-ID: 3IsI4VzEIIF

--HG--
extra : rebase_source : ceb718b265c7886b831e0378436baebf2b4e7598
2016-08-05 16:40:08 -04:00
cku 6aaf11c433 Bug 1288812 - Part 2. Correct test cases. r=heycam
MozReview-Commit-ID: 3Bdv2Lmg9kQ

--HG--
extra : rebase_source : 41bc2ee77a6768dcb358aa6b820336a0436c53de
2016-08-06 06:07:50 +08:00
cku 338774e2a3 Bug 1288812 - Part 1. Serialize just the fragment for local urls. r=heycam
MozReview-Commit-ID: 7FQ5hXgG3gg

--HG--
extra : rebase_source : cdb880b2cbfdd839d5eae47bd32a45ac48f060e5
2016-08-06 06:51:44 +08:00
Marcos Caceres 4b42312a6f Bug 1160200 - APNG can't be used with type switching. r=mcaceres, r=jrmuizel, r=johns 2016-08-09 22:15:00 +02:00
Thomas Wisniewski 1fbaa831cc Bug 826619 - Remove Canvas mozFillRule. r=mrbkap r=bas 2016-08-04 15:05:50 -04:00
Carsten "Tomcat" Book 4f6b9572f5 Merge mozilla-central to mozilla-inbound 2016-08-10 16:02:57 +02:00
cku 946629d6d2 Bug 1291280 - Part 4. Fix compile error after enable-mask-as-shorthand. r=me
MozReview-Commit-ID: Edy8CiMGCfK

--HG--
extra : rebase_source : d71674ac41d063f85d4658d683cdf315283643ea
extra : amend_source : e897c5cd5e7db049abfb4c9657038f7d820e2913
2016-08-10 19:37:55 +08:00
Andrew Comminos 33536ce603 Bug 594876 - Fuzz reftests with noise from enabling layers acceleration on Linux. r=nical
MozReview-Commit-ID: CECoqhgrhmS

--HG--
extra : rebase_source : 2023611ada1ff3e7f6124c74214aa5440ef1b742
2016-06-17 15:02:04 +01:00
Lee Salzman ca87957544 Bug 1200684 - revise Skia row blits to preserve color when blended against itself. r=mchang
MozReview-Commit-ID: Enz05s8vGuI
2016-08-05 19:50:49 -04:00
Wes Kocher 83c7e63697 Merge m-c to inbound, a=merge 2016-08-05 14:06:00 -07:00
Cameron McCormack 152dfe9371 RuleNodeCacheConditions comment fix; no bug. (DONTBUILD)
MozReview-Commit-ID: A5V5mVbOB6T
2016-08-06 01:02:06 +10:00
Manish Goregaokar f5ec6f7282 Bug 1290864 - Standardize serialization of <position> values in <basic-shape>; r=xidorn
MozReview-Commit-ID: KooW1OqtTUb
2016-08-05 19:48:13 +05:30
Manish Goregaokar 446ac79054 Bug 1290864 - Omit the default closest-side when serializing circle() and ellipse(); r=xidorn
MozReview-Commit-ID: HKwOL0YAK5E
2016-08-05 19:48:13 +05:30
Jimmy Wang 271a7cfaa2 Bug 1261299 - Add method nsCopySupport::ClearSelectionTransferable() to clear the nsClipboard::sSelectionTransferable when you have no content selection. r=mstange
MozReview-Commit-ID: AjUe94N0Iiw

--HG--
extra : rebase_source : bf1bf642212add9227c185a6cfa3f8f94a7f0248
2016-06-08 14:11:39 -04:00
Jimmy Wang 6c6d5a3ec1 Bug 1261299 - Add new clipboard kSelectionCache to cache the current selection for OSX service menu. Add a constructor to nsAutoCopyListener which sets the clipboard to copy to. Pass in kSelectionCache for OSX or kSelectionClipboard for linux. r=mstange
MozReview-Commit-ID: B9mzVnJxUjl

--HG--
extra : rebase_source : 5329f87a958dcb372d552b6aa17442ea7f9b9762
2016-06-03 12:04:22 -04:00
cku 631a8b1efe Bug 1235015 - A mochitest to verify the return value of mask shorthand. r=dbaron
MozReview-Commit-ID: BH2jy3U8Yvh

--HG--
extra : rebase_source : 904db7ecdd6bc85fc29061b3af308a0b6cc7da4c
2016-06-03 19:28:05 +08:00
cku 7454a40dfc Bug 1295062 - Fix mask-position initial value in nsRuleNode::ComputeSVGResetData. r=astley,heycam
MozReview-Commit-ID: EvbSdG0xLtV

--HG--
extra : rebase_source : b5922cd9576564d7abbbf5f285aa7970de109f45
2016-08-15 15:33:03 +08: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
Wes Kocher 45575a7f86 Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change

--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -07:00
Phil Ringnalda cd4986a6d0 Bug 1207914 - Skip test_bug632379.xul on Linux for constant timeouts 2016-08-07 15:26:35 -07:00
Xidorn Quan 4111be24e9 Bug 1200469 part 2 - Discard cursor image urgently. r=tnikkel
Given that script may change cursor image in a high frequency, and it
is usually small, it is probably better discarding it urgently.

MozReview-Commit-ID: J6tqIODXykg
2016-08-19 23:43:11 +10:00
Xidorn Quan a154442a7e Bug 1200469 part 1 - Avoid using fallback cursor if from the same frame. r=tnikkel,smaug
MozReview-Commit-ID: A2Ku0TND66L

--HG--
extra : amend_source : 186b672b7e55affaf2f30a737346da5fde4aa343
2016-08-19 23:37:14 +10:00
cku afd0aaac37 Bug 1277788 - (follow-up) Part 4. Correct the initial value of mask-position-x/y in property_database.js. r=me
MozReview-Commit-ID: 14sOcM7rcqB

--HG--
extra : rebase_source : db0d8f15e6ad8a3273c5aef99f35a9391531c33e
2016-08-22 00:22:29 +08:00
cku aa2f7387d8 Bug 1275451: (follow-up) Part 3. Correct content of assert. r=me
MozReview-Commit-ID: 39nPpliOtD4
2016-08-22 00:50:47 +08:00
Sebastian Hengst 2f30199523 Backed out changeset 721fabf360ff (bug 1110928) for frequent failures to load onload scripts in reftests on Winodws XP and Windows 7 VM. r=backout 2016-08-21 12:29:01 +02:00
Sebastian Hengst 9d30a54ba3 Backed out changeset c5bc2d6ed0d7 (bug 1110928) 2016-08-21 12:27:56 +02:00
Sebastian Hengst 7422ce2634 Backed out changeset 31b56ae647c8 (bug 1110928) 2016-08-21 12:27:47 +02:00
Emilio Cobos Álvarez 3c832018ee Bug 1292618: Add Gecko_CopyStyleContentsFrom. r=heycam
This allows to copy the `content` property value from one nsStyleContent to
another, in order to implement content: inherit.

MozReview-Commit-ID: 75mQpGRKKba
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 20:24:28 -07:00
Emilio Cobos Álvarez 66f4488daf Bug 1292618: Specialize ServoStyleSet::ResolveStyleForText to take into account generated nodes. r=heycam
Eventually, we might want to use the same mechanism that Gecko uses directly,
and stop styling text nodes from Servo.

This would have the benefit of removing the "stash the change on the parent"
thing.

MozReview-Commit-ID: IOxNR05jkh
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 20:24:28 -07:00
Emilio Cobos Álvarez e7bc43ddc7 Bug 1292618: Support basic pseudo-element restyling. r=heycam
:before and :after only, for now.

MozReview-Commit-ID: 9hLFvVhqIrN
2016-08-19 20:24:27 -07:00
Emilio Cobos Álvarez 00ab304ee2 Bug 1292618: Add Gecko_ClearPODTArray to clear arrays of types without destructors. r=heycam
MozReview-Commit-ID: 3RRvrXn6ZTD
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 20:24:24 -07:00
Wes Kocher 431cc3777c Merge m-c to inbound a=merge 2016-08-19 18:39:52 -07:00
Wes Kocher 02f300c352 Backed out 4 changesets (bug 1292618) because it was making merging things difficult a=backout
Backed out changeset 14733a383b4c (bug 1292618)
Backed out changeset 17dfe8bc5f76 (bug 1292618)
Backed out changeset d04597bd1109 (bug 1292618)
Backed out changeset 30f7696fea2d (bug 1292618)
2016-08-19 18:37:09 -07:00
Emilio Cobos Álvarez ad5dd28774 Bug 1292618: Add Gecko_CopyStyleContentsFrom. r=heycam
This allows to copy the `content` property value from one nsStyleContent to
another, in order to implement content: inherit.

MozReview-Commit-ID: 75mQpGRKKba
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 18:26:39 -07:00
Emilio Cobos Álvarez 84de3367d5 Bug 1292618: Specialize ServoStyleSet::ResolveStyleForText to take into account generated nodes. r=heycam
Eventually, we might want to use the same mechanism that Gecko uses directly,
and stop styling text nodes from Servo.

This would have the benefit of removing the "stash the change on the parent"
thing.

MozReview-Commit-ID: IOxNR05jkh
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 18:26:38 -07:00
Emilio Cobos Álvarez 6ca7e9e4f1 Bug 1292618: Support basic pseudo-element restyling. r=heycam
:before and :after only, for now.

MozReview-Commit-ID: 9hLFvVhqIrN
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 18:26:38 -07:00
Emilio Cobos Álvarez c043a5d5c5 Bug 1292618: Add Gecko_ClearPODTArray to clear arrays of types without destructors. r=heycam
MozReview-Commit-ID: 3RRvrXn6ZTD
Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com>
2016-08-19 18:26:35 -07:00