Commit Graph

60074 Commits

Author SHA1 Message Date
Bobby Holley
3fa173a724 Bug 1401317 - Reftest. r=me
MozReview-Commit-ID: KnGCuU0rcgi
2017-09-20 10:10:00 -07:00
Bobby Holley
51ff1b0b2b Bug 1401317 - Disable lazy pseudo caching when the originating element's primary style was reused via the rule node. r=emilio
MozReview-Commit-ID: IkBa39E1bR1
2017-09-20 10:09:59 -07:00
Sebastian Hengst
6ba627d8ce Backed out changeset 3844ac09ae6a (bug 1392200) 2017-09-20 18:13:07 +02:00
Sebastian Hengst
984ab5088d Backed out changeset a2169b64cac2 (bug 1392200) 2017-09-20 18:13:01 +02:00
Morris Tseng
f06de38de0 Bug 1392200 - Turn on some backface-visibility reftests. r=kats
MozReview-Commit-ID: GFPfkfDZYSm

--HG--
extra : rebase_source : de73f0c1ba22e31ca0576366af47c25907261e0b
2017-09-20 15:36:11 +08:00
Morris Tseng
3f12c82847 Bug 1392200 - Add backface-visibility support for layers-free mode. r=kats
For layers-full mode, we set the backface-visibility to visible because
visibility would be handled by FLB and layers.

MozReview-Commit-ID: CUbeUabfC7K

--HG--
extra : rebase_source : ae88579f3718884bd4ddd89dfc3885bada3f15a4
2017-09-13 11:25:58 +08:00
Sebastian Hengst
cbf485433e Backed out changeset 61a277705d59 (bug 1400438) for heap write hazard. r=backout 2017-09-20 16:52:02 +02:00
Sebastian Hengst
6a3f9cab47 merge mozilla-central to autoland. r=merge a=merge 2017-09-20 14:57:10 +02:00
Sebastian Hengst
9fde47b255 Backed out changeset c863089c7166 (bug 1399853) for changing string texts without altering string ids. r=backout a=backout
MozReview-Commit-ID: 94W0KZjtlbd
2017-09-20 14:55:39 +02:00
Xidorn Quan
4599882448 Bug 1400438 - Use array instead of linked list for -moz-border-*-colors. r=heycam,mattwoodrow
MozReview-Commit-ID: LPl1Rlg5gRn

--HG--
extra : source : 418288301c994faded0993a1cd3d73fc3b6521be
extra : amend_source : 7cba1fc0ca13b86782aa05ab4dae4cdc7eb9fbf6
2017-09-20 22:52:20 +10:00
Sebastian Hengst
bc68e8f407 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9Z3Ly8icnvh
2017-09-20 11:48:02 +02:00
Sebastian Hengst
0dc17cba82 merge mozilla-central to autoland. r=merge a=merge 2017-09-20 11:49:13 +02:00
Jonathan Watt
4130888dfd Bug 1342951, part 4 - Add a version of SVGTextFrame::GetSubStringLength that can be used independantly of reflow, to avoid sync reflows. r=heycam
MozReview-Commit-ID: CJqUwF3rXP4
2017-09-02 22:22:54 +01:00
Jonathan Watt
f28f0d2890 Bug 1342951, part 3 - Support recording of SVGTextFrame correspondence before reflow. r=heycam
MozReview-Commit-ID: IG2etgpZCHN
2017-09-01 18:07:40 +01:00
Bobby Holley
8d10314a67 Bug 1400435 - Use a more precise check in the nsCSSValue destructor. r=xidorn
MozReview-Commit-ID: KFdgtxyOZ01
2017-09-19 22:53:23 -07:00
Ethan Lin
b7c9633e30 Bug 1397375 - Part3. Remove the related webrender user data when destroying a frame. r=jrmuizel
MozReview-Commit-ID: IYjfqWiiPZ

--HG--
extra : rebase_source : 81785d6695b830c41ad6d97b5e632f7a655f9cea
2017-09-14 14:40:31 +08:00
Cameron McCormack
402b6433ed Bug 1368922 - Set mIsDirty atomically. r=hiro
MozReview-Commit-ID: Ei3zCECVRFf

--HG--
extra : rebase_source : 0429db876e33329a250dced6e8bfcd965a5dfbc8
2017-09-20 11:30:08 +08:00
Louis Chang
4440d60ddb Bug 1290782 Part 3 - Add test cases for using an SVG image as border-image. r=cjku,dholbert
MozReview-Commit-ID: 4w3tEkVAMWd

--HG--
rename : layout/reftests/border-image/svg-as-border-image-4.html => layout/reftests/border-image/svg-as-border-image-4a.html
extra : rebase_source : 5f9c9860ac0a8ee2786b43c585ad68186225bb9f
2017-09-20 10:06:26 +08:00
Louis Chang
3fbb65bcdf Bug 1290782 Part 2 - Remove redundant destCtx and IsEmpty check of snappedDestSize since it should always have a value. r=cjku
MozReview-Commit-ID: 25IlXeqURVa

--HG--
extra : rebase_source : 6ba07352dce9d1e89ac895043ea2a2c39ec4a46d
2017-09-20 10:05:49 +08:00
Louis Chang
4ad5aa661d Bug 1290782 Part 1 - When drawing a border-image using an SVG image, we should not take into account any transformation of currentMatrix when computing svg viewport size. r=cjku,dholbert
MozReview-Commit-ID: 8rkwQGKJOvo

--HG--
extra : rebase_source : 868a7e0909bf704610a166948186cf5411721540
2017-09-20 10:05:42 +08:00
Nicholas Nethercote
164b3fed67 Bug 1401427 - Temporarily disable UACacheReporter due to a leak.
MozReview-Commit-ID: G8MBeSqYkqa
2017-09-20 12:23:47 +10:00
Nicholas Nethercote
5036b9133e Bug 1400078 - Measure the UA cache. r=njn.
ServoStyleSetSizes now has two uses, one for the Stylist, and one for the UA
cache, and so the patch removes 'Stylist' from the field names.

Example output from about:memory:

> +----1,359,608 B (00.55%) -- layout
> |    +----756,488 B (00.31%) -- style-sheet-cache [2]
> |    +----393,968 B (00.16%) -- servo-ua-cache
> |    |    +--234,496 B (00.10%) -- element-and-pseudos-maps
> |    |    +---59,648 B (00.02%) -- revalidation-selectors
> |    |    +---58,320 B (00.02%) -- invalidation-map
> |    |    +---30,752 B (00.01%) -- other
> |    |    +---10,752 B (00.00%) -- precomputed-pseudos

MozReview-Commit-ID: 8oxuJO0ojp

--HG--
extra : rebase_source : 7d86216967259b71df7280261d025cc65bf00ba4
2017-09-19 09:25:00 +10:00
Mantaroh Yoshinaga
411c90a211 Bug 1362817 - Use PRTime instead of time_t in nsSimplePageSequenceFrame::Reflow. r=m_kato
The nsSimplePageSequenceFrame::Reflow calls DateTimeFormat::FormatTime().
In 32 bit environment, this conversion will overflow. So this patch will use
DateTimeFormat::FormatPRTime() instead of it.

MozReview-Commit-ID: 3b1GhlrJDKM

--HG--
extra : rebase_source : 432c4d7c6081694251b7cba08895e855d7b1e341
2017-09-19 18:35:21 +09:00
Wes Kocher
082e7c650c Merge m-c to autoland, a=merge
MozReview-Commit-ID: BLgnf5zTCU3
2017-09-19 14:54:09 -07:00
Wes Kocher
3baa8a7e6e Merge inbound to central, a=merge
MozReview-Commit-ID: 5B5W6AHKcCb
2017-09-19 14:49:11 -07:00
Miko Mynttinen
a0880eb261 Bug 1401262 - Allocate DisplayItemClipChain in nsDisplayOpacity::ShouldFlattenAway() from arena r=mstange
MozReview-Commit-ID: HPrFThNX1v5

--HG--
extra : rebase_source : 933b4e0f427b2b17caa76a2217a024ba9907a69a
2017-09-18 22:14:24 +02:00
Markus Stange
c00d5ee6fa Bug 1401037 - Propagate nsDisplayList::mForceTransparentSurface to the parent list when recursing into flattened items. r=miko
MozReview-Commit-ID: 9iS9fwtUAaJ

--HG--
extra : rebase_source : 233e2b0b81597d63297d3a9c6be660a12b73c455
2017-09-19 15:52:20 -04:00
Jonathan Watt
341ea5e4f1 Bug 1401356, part 2 - Rename nsSVGEffects to SVGObserverUtils. r=longsonr 2017-08-30 15:58:31 +01:00
Jonathan Watt
0e4feb75d3 Bug 1401356, part 1 - Rename nsSVGEffects.h/.cpp to SVGObserverUtils.h/.cpp. r=longsonr
--HG--
rename : layout/svg/nsSVGEffects.cpp => layout/svg/SVGObserverUtils.cpp
rename : layout/svg/nsSVGEffects.h => layout/svg/SVGObserverUtils.h
2017-08-30 14:14:46 +01:00
Wes Kocher
a594331a16 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7VZH3r52Gc7
2017-09-19 14:53:33 -07:00
Jonathan Watt
1a36a0ba84 Bug 1401154, part 3 - Avoid calling virtual method nsIFrame::IsFrameOfType in nsSVGFilterProperty::DoUpdate. r=longsonr 2017-08-29 14:35:07 +01:00
Jonathan Watt
3db42dd37b Bug 1401154, part 2 - Stop using nsChangeHint_InvalidateRenderingObservers in nsSVGMarkerProperty::DoUpdate and nsSVGPaintingProperty::DoUpdate. r=longsonr
Both nsSVGMarkerProperty::DoUpdate and nsSVGPaintingProperty::DoUpdate call
nsSVGRenderingObserverProperty::DoUpdate which takes care of posting the
nsChangeHint_InvalidateRenderingObservers change hint. There is no need for
these methods to do that again.
2017-08-29 14:18:51 +01:00
Jonathan Watt
73fabce7bf Bug 1401154, part 1 - Avoid calling virtual method nsIFrame::IsFrameOfType in nsSVGRenderingObserverProperty::DoUpdate. r=longsonr 2017-08-29 12:18:51 +01:00
Jonathan Watt
eecfb5b8d6 Bug 1399853 - Identify the ID of the elements involved in SVG reference loops in the Web Console error messages. r=longsonr
MozReview-Commit-ID: 7SOk2pMEezK
2017-08-25 19:11:43 +01:00
Jonathan Watt
107bd0b650 Bug 1399824, part 2 - Always use nsIFrame::AddStateBits instead of manual bit twiddling. r=xidorn
MozReview-Commit-ID: JoEiQQI2kZ5
2017-08-24 12:09:42 +01:00
Jonathan Watt
9d21fb29ff Bug 1399824, part 1 - Always use nsIFrame::RemoveStateBits instead of manual bit twiddling. r=xidorn
MozReview-Commit-ID: KynEge1U4aS
2017-08-24 10:55:28 +01:00
Miko Mynttinen
9610cd5337 Bug 1379406 - Store DisplayItemClipChains in AutoTArray with a larger initial size r=mstange
MozReview-Commit-ID: BXR6bVSzVTN

--HG--
extra : rebase_source : 0f8e281f9e693c4f4d9735375ee1e1cc36ddd31e
2017-08-01 14:38:27 +02:00
Ting-Yu Lin
59d3f6d123 Bug 1289049 Part 4 - Make <basic-shape> animatable for shape-outside for gecko style system. r=boris
MozReview-Commit-ID: 7x0jdqWqkpL

--HG--
extra : rebase_source : e79a0ca24fb929f80d305adf164329ae0f44690f
2017-09-19 17:21:21 +08:00
Ting-Yu Lin
54928d3816 Bug 1289049 Part 3 - Add CSS_PROPERTY_STORES_CALC flag to "shape-outside" property. r=boris
This makes "shape-outside" be able to transition between percent and pixel
shape-coordinates. This patch is similar to what bug 1266570 fixed for
"clip-path".

This will fix failures in layout/style/test/test_transitions_per_property.html
after introducing Part 4.

MozReview-Commit-ID: CAgXG39nUIl

--HG--
extra : rebase_source : 5e502a1152f780170991f0bb8c4862e6fbe244b5
2017-09-20 10:58:14 +08:00
Ting-Yu Lin
31e158966d Bug 1289049 Part 2 - Extract a helper function ExtractComputedValueFromShapeSource(). r=boris
MozReview-Commit-ID: IhHaKhQTWbo

--HG--
extra : rebase_source : 13b716916a16b6030c566921fc15b285a158e53c
2017-09-19 17:20:14 +08:00
Ting-Yu Lin
28602b96b1 Bug 1289049 Part 1 - Use shape source instead of clip path in naming. r=boris
This function can be used to implement animation for <basic-shape> for
shape-outside, so I remove the clip path in naming to make it more general.

MozReview-Commit-ID: LwVe0Dk5Web

--HG--
extra : rebase_source : eb0136c79b494222cca38ebd68d62f3f825bd29e
2017-09-19 16:59:38 +08:00
Joel Maher
f4b8f26ddb Bug 1398910 - make reftest-no-accel run on windows 10 (hardware) instead of windows 8. r=ahal,jet 2017-09-19 11:44:07 -04:00
Joel Maher
b08f501872 Bug 1401184 - migrate mochitest-chrome from buildbot hardware to taskcluster VM. r=ahal 2017-09-19 11:44:02 -04:00
Steve Fink
c044d7cad2 Bug 1400442 - Assert that Gecko_ShouldCreateStyleThreadPool is only called on the main thread, r=emilio
--HG--
extra : rebase_source : 4b6354e0db13489693d7df6d3ea56c4f38c9a193
2017-09-15 17:16:34 -07:00
Sebastian Hengst
18a3ca206d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-19 11:15:12 +02:00
vincentliu
149b31c142 Bug 1399006 - Invoke PurgeCachedImages to release object in main thread while ServoTraversal. r=bholley 2017-09-19 15:13:27 +08:00
Boris Zbarsky
53bb40c960 Bug 1400599. Make sure to properly handle removal of the root when the body propagates scrollbar styles to the viewport. r=dholbert
MozReview-Commit-ID: FixsFFtNOfQ
2017-09-18 21:27:23 -04:00
Wes Kocher
519bb0922b Merge inbound to central, a=merge
MozReview-Commit-ID: EK8iFR1hSRp
2017-09-18 16:21:01 -07:00
Brad Werth
ecc231a691 Bug 1400386: Skip reftest layout/reftests/font-face/font-display-1.html for being intermittent. r=aryx
MozReview-Commit-ID: 9aEcZg94Ivk

--HG--
extra : rebase_source : 37919c09ea8f9a2ae235ed66246ea26979e9ab4c
2017-09-15 15:39:51 -07:00
Ryan VanderMeulen
81f5fe50b0 Backed out changeset 8a0b8dfa2d7d (bug 1400411) for causing various font-related crashes. 2017-09-18 14:15:03 -04:00