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

59303 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew 19ca86872b Bug 1316770 - Add text-rendering:optimizeLegibility to reftests for bug 1089388, to try and ensure we get proper glyph bounds. r=gbrown 2017-08-04 15:26:50 +01:00
cku 5be215b9d0 Bug 1385861 - Part 4. Reduce usage of SetMatrix in SVGTextFrame::PaintSVG. r=mattwoodrow
In while-loop [1],
1. The first SetMatrix call that I remvoed in this patch is totally useless,
we can just pass initialMatrix to contextPaint, instead of set initialMatrix
to aContenxt and read back from aContext and then pass it to contextPaint.

2. This function, SVGTextFrame::PaintSVG, is the only caller of
SetupStrokeGeometry, and it does not need SetupStrokeGeometry to setup matrix at
all, since it will be overwritten the transform matrix of aContext at several
lines below[2].

[1]
https://hg.mozilla.org/mozilla-central/file/5115e2dea29a/layout/svg/SVGTextFrame.cpp#l3658
[2]
https://hg.mozilla.org/mozilla-central/file/5115e2dea29a/layout/svg/SVGTextFrame.cpp#l3685

MozReview-Commit-ID: AlKQh4abbpa

--HG--
extra : rebase_source : e0dfd66ff25be0d7cffadecf9e3333bba10cff9b
2017-07-31 20:47:39 +08:00
cku bd1d92639d Bug 1385861 - Part 3. Rename nsSVGUtils::SetupCairoStrokeGeometry as nsSVGUtils::SetupStrokeGeometry. r=mattwoodrow
(This patch is not relative to performance)

Rename this function since it has not relation with cario at all.

MozReview-Commit-ID: DHvrsVZAJ7B

--HG--
extra : rebase_source : 4994c9058bd93c7d6671e57ce7f204185e679a1a
2017-07-31 20:20:28 +08:00
cku dbcc86a392 Bug 1385861 - Part 2. Save the state of input context in SVGTextFrame::PaintSVG only when need. r=mattwoodrow
Unless we need to draw stroke of glyphs, which will change the state of the
target context, we only need to save & restore transform matrix of the target
context.

MozReview-Commit-ID: LLKnxrKrDaT

--HG--
extra : rebase_source : 1226c48d283a04cb0ea6959f12fd6938fece49d2
2017-07-31 20:17:06 +08:00
cku fbf32edd9e Bug 1385861 - Part 1. Remove redundant gfxContext::Save/Restore in nsDisplaySVGText::Paint. r=mattwoodrow
nsDisplaySVGText::Paint calls SVGTextFrame::PaintSVG, and we already save/restore
context state in SVGTextFrame::PaintSVG.

I also filed Bug 1385929 to find a solution to prevent duplicated
gfxContext::Save/Restore.

MozReview-Commit-ID: 4WxdFZzvmvF

--HG--
extra : rebase_source : 752d5d027776538edc1ab043ad2e90e1de22a079
2017-07-31 17:36:06 +08:00
Xidorn Quan 03e036aff2 Bug 1338764 part 3 - Update test expectations. r=manishearth
MozReview-Commit-ID: HzN5WP210G7

--HG--
extra : rebase_source : c3585958cb5159a242515a80f226e43f506319d8
2017-08-01 16:38:27 +10:00
Xidorn Quan 63d6f06939 Bug 1338764 part 2 - Add context-{fill,stroke}-opacity support to {fill,stroke}-opacity. r=manishearth
MozReview-Commit-ID: HzUHmZb8ICl

--HG--
extra : rebase_source : b8746c4d9d4cfc3abe6645f583dc08d0f7c75341
2017-08-01 16:05:04 +10:00
Xidorn Quan 0e98738d78 Bug 1338764 part 1 - Use const rather than enum for context flags of nsStyleSVG. r=manishearth
MozReview-Commit-ID: KzORnfVXgLJ

--HG--
extra : rebase_source : 365842d6e6fda4b35a5932272773a3d88bfc04c6
2017-07-17 15:10:50 +10:00
Boris Chiou 74b215eeaa Bug 1383998 - Increase animation generation if attributes are changed. r=heycam
We have to set mHaveNonAnimationRestyles if we have attributes changed
(note: we increase the animation generation only if mHaveNonAnimationRestyles
is set). Attributes changed may create a new transition, and we use the
animation generation as the order of the transition, so
Element::GetAnimations() can return transitions with correct order.

Besides, I think ContentStateChanged() will not trigger a new
transition, so we don't need to make mHaveNonAnimationRestyles there.

MozReview-Commit-ID: J5XgW8nqeLH

--HG--
extra : rebase_source : 24c4b4364935fc5a4b8437f119cbf93035262684
2017-08-02 11:43:41 +08:00
Nicholas Nethercote cc91deea30 Bug 1383977 - stylo: Measure Elements and ComputedValues. r=manishearth.
The patch provides FFI access to Gecko's SeenPtrs type from Rust, in order to
record what has already been measured when measuring Arcs. (The SeenPtrs must
be initialized on the Gecko side because the same table is reused for measuring
all Elements within a window, because Elements can share ComputedValues.) I
have confirmed with DMD that this is working correctly.

The patch also introduces MallocSizeOfRepeats, which is like MallocSizeOf but
takes a SizeOfState, which holds a SeenPtrs table.

MozReview-Commit-ID: DHS8zvCsEdQ

--HG--
extra : rebase_source : acf4d7909abf6ceb1719331ccf2e33137eb6dc91
2017-07-19 10:30:53 +10:00
Wes Kocher 5df77c43f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IJRYyJu1sWm
2017-08-02 17:42:10 -07:00
Brad Werth 726f72274f Bug 1302513 Part 5: Simplify nsCSSValue::AppendToString, now that aSerialization can only take one value. r=dholbert
MozReview-Commit-ID: 9qJOkJTzUY2

--HG--
extra : rebase_source : 3adc39ba40ba350a965ebb7279fef2c6d498ee71
2017-07-21 18:07:14 -07:00
Brad Werth 67a09de76f Bug 1302513 Part 4: Remove the nsCSSValue::Serialization eAuthorSpecified enum, which is no longer used. r=dholbert
MozReview-Commit-ID: 1gmiFyULMsZ

--HG--
extra : rebase_source : 1d4220101105e61168eec491a242a74060f7d417
2017-07-21 14:26:36 -07:00
Brad Werth dd59628e1d Bug 1302513 Part 3: Remove declarations and implementations of getAuthoredPropertyValue. r=dholbert
MozReview-Commit-ID: LxlUfhPJUaa

--HG--
extra : rebase_source : 6fdd76d9455e2f288b8c7b4866d983023e6d92af
2017-07-21 14:18:45 -07:00
Brad Werth 10cb0e63cd Bug 1302513 Part 1: Remove test for getAuthoredPropertyValue API (since that API is being r=dholbert
removed).

MozReview-Commit-ID: CpOiobOp1jD

--HG--
extra : rebase_source : b5220220c2528e4c7dd1a737e4a4c5896fadee3f
2017-07-21 14:12:33 -07:00
Hiroyuki Ikezoe 9bf9d338f9 Bug 1385089 - Set restyle subtree restyle hint if the element animates display style from 'none' to other. r=emilio
When display style is changed from 'none' to other in animation-only restyle
we need to resolve descendant elements' style that were in the display:none
subtree.

Three possible ways to resolve the descendant elements' style;

1) Traversing unstyled elements in animation-only restyle
   We can't simply traverse unstyled elements in the animation-only restyle
   since when we decided to traverse the unstyled elements we don't know yet
   the elements will be initially styled or are in display:none subtree. It
   will result that the new elements are styled in animation-only restyle,
   it's undesirable.

2) Creating a SequentialTask and resolve the descendants' style with
   ServoStyleSet::StyleNewSubtree()
   We can't resolve the descendants' styles with ServoStyleSet::StyleNewSubtree()
   in SequentialTask since at the moment we are still in servo traversal (i.e.
   sInServoTraversal is true). That means AutoSetInServoTraversal fails
   in PrepareAndTraverseSubtree().

3) Creating a SequentialTask and set restyle subtree hint and defer descendants'
   restyle in a subsequent normal traversal
   Note that, when we process throttled animations flush, we don't process
   normal traversal so the descendants will not be traversed until normal
   restyle happens but it will not be a big problem since it's really rare
   that user clicks display animation element just at the right moment when
   display property changes from none to other.  Also, if it will be really
   a problem, we should process *only* transform animations on the compositor,
   it's ideally right thing to do. Display property never runs on the
   compositor.

This patch takes the third approach.

MozReview-Commit-ID: Krxa3kkdIq4

--HG--
extra : rebase_source : 33e9db953f21168c76716329568191625bd15896
2017-08-02 20:01:08 +09:00
Jamie Nicol ff2a920fd4 Bug 1360306 - Clamp layer scale if it has recently been animated. r=mstange
When a container layer's transform has an animated scale, we clamp it
to a near power of two so that descendent layers' resolutions do not
keep changing and we minimize repainting. The current behaviour only
clamps the scale when it has not changed with respect to the previous
transaction. In animations where the scale usually changes, but
happens to remain constant between two consecutive transactions, this
is bad.

Rather than only checking against the previous scale value, use
ActiveLayerTracker::IsScaleSubjectToAnimation() to determine whether
to clamp, as it takes into account a longer period.

--HG--
extra : rebase_source : 6bc773e387c5750746722d4a0cc5864ebf7757e2
2017-07-27 11:52:27 +01:00
Sebastian Hengst c9ff8ee666 Backed out changeset ecbeb9354c24 (bug 1383386) for mass-asserting at gfx/layers/ipc/CompositorBridgeChild.cpp:264. r=backout on a CLOSED TREE 2017-08-02 23:08:43 +02:00
Kartikaya Gupta cc3312045a Bug 1383386 - Update null checks to check the correct IPC actor. r=billm
MozReview-Commit-ID: AZlFYkuzFVb

--HG--
extra : rebase_source : f3e1836db6833783f8277a3e9f2e5927eb452f46
2017-08-02 09:53:00 -04:00
Manish Goregaokar e2ffcaa665 Bug 1358688 - Part 1: Don't unzoom text for font-size:larger/smaller ; r=emilio
This used to be necessary when larger/smaller did a table lookup.
However as of bug 1361550 these are simple ratios and should be treated
the same as em units.

MozReview-Commit-ID: 2zM7O0awynG
2017-08-02 11:28:08 -07:00
Mantaroh Yoshinaga 19dd5dd034 Bug 1377541 - Reorder shadow array when serializing. r=birtles
CSSparserImpl::ParserShadowItem stores shadow items in a different order that
does not match the order we use when serializing computed shadow items.

The items order of storing by parser:
 <length> <length> <length> <length> <color> <inset>
The items order of serializing:
 <color> <length> <length> <length> <length> <inset>

Spec of this serialized order is as follow:
5c46d78107

This patch will shuffle the order of this items in the shadow array when
serializing it.

MozReview-Commit-ID: CIawpYKKIRy

--HG--
extra : rebase_source : 9b4f5d20543980baa45c07c950fa0baa59d9cc93
2017-08-01 23:22:05 +09:00
Wes Kocher 5699744165 Merge m-c to autoland, a=merge
MozReview-Commit-ID: F1FR0irfoJU
2017-08-01 13:18:18 -07:00
Wes Kocher 0688b1b95d Merge inbound to central, a=merge
MozReview-Commit-ID: 6SriUFkS6u7
2017-08-01 13:17:21 -07:00
Sebastian Hengst 9975089d4d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-01 11:26:31 +02:00
Sebastian Hengst ddd4030358 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IrMqWiJhwan
2017-08-01 11:23:57 +02:00
Christoph Kerschbaumer ea9c7f7996 Bug 1385805 - Convert some more tests within layout/ to comply with new data: URI inheritance model. r=smaug 2017-08-01 10:59:22 +02:00
Wes Kocher 3c2dc39278 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
Wes Kocher 179a07b6ba Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Matt Woodrow 3f444dd59f Bug 1378455 - Don't minimize the visible region for the scrollbar thumb in FrameLayerBuilder since it can move asynchronously. r=mstange 2017-08-01 11:09:53 +12:00
Mason Chang 390704c977 Bug 1384300. Stop refresh driver timers after swapping refresh drivers. r=billm 2017-07-28 15:01:27 -07:00
J. Ryan Stinnett ed1565f7ca Bug 1384789 - Fix up missed rename. r=bustage
MozReview-Commit-ID: FDkUBSccQuu
2017-07-31 16:04:04 -05:00
J. Ryan Stinnett edcbffb572 Bug 1384789 - Mark import loop sheet complete. r=heycam
For an import loop sheet, set the URIs and principal, and mark it complete, so
that it can still be properly accessed via CSSOM without errors.

MozReview-Commit-ID: 1oO1LoaPk8V

--HG--
extra : rebase_source : 2de1e8e03a2e8934710c2f2631f771bc067923d3
2017-07-27 17:03:42 -05:00
Wes Kocher b11975d1ad Merge m-c to autoland, a=merge
MozReview-Commit-ID: L5cEw8jWPNI
2017-07-31 17:53:14 -07:00
Xidorn Quan 7f38dbe964 Bug 1383075 part 2 - Update CSS lexer in devtools to match the change. r=jryans
MozReview-Commit-ID: LO7ZMeLgJdJ

--HG--
extra : rebase_source : 31f898bf70fa2c025dc0d8c7f744165a14450586
2017-07-31 09:23:01 +10:00
Xidorn Quan d2d67f1449 Bug 1383075 part 1 - Handle URL token in a closer way to the spec. r=dbaron
MozReview-Commit-ID: B31txMs8fVw

--HG--
extra : rebase_source : 771228551feba014da47fa576685864be94cb856
2017-07-28 13:20:37 +10:00
Kartikaya Gupta c3e4aef0b4 Bug 1384616 - Save APZ-relevant scrollbar data into the WR scroll data for layers-free transactions. r=jrmuizel
MozReview-Commit-ID: 6DQz9N6Wq0H

--HG--
extra : rebase_source : 8a113d4a53e1562b55cc05a0bc411675a2ca9eb1
2017-07-31 15:27:30 -04:00
Kartikaya Gupta 4ed905c664 Bug 1384616 - Save APZ-relevant data from fixed-pos items in the WR scroll data for layers-free transactions. r=jrmuizel
MozReview-Commit-ID: HAFnrCVM9pZ

--HG--
extra : rebase_source : 9b7f5f7a3487501061b0526bfc92b06ef5593a88
2017-07-31 15:27:29 -04:00
Kartikaya Gupta 3b8aaa896a Bug 1384616 - Change how display items put their APZ-relevant info into the WebRenderScrollData. r=jrmuizel
Instead of the WebRenderLayerScrollData code knowing about all the
different display item types, it makes more sense to move this logic
into the display items.

In addition to avoiding dis-encapsulating the data from nsDisplayItem subclasses,
this makes it easier to handle two specific scenarios:
(1) the case where an nsDisplayItem A subclasses another nsDisplayItem B, but A
and B have different types returned by GetType(). Previously A and B would have
to be handled explicitly in the WebRenderLayerScrollData switch statements,
which doesn't scale well if new types are added. With the new approach the
virtual function is shared down from A to B and so takes care of it. This is
particularly relevant for types like nsDisplayOwnLayer which have a number of
subclasses.

(2) the case where a display item *might* have APZ-relevant information.
In this case the type of the item alone is not sufficient to determine
if we need to create a new WebRenderLayerScrollData for it. Instead, we
need to access specific state inside the display item. This is now
handled by the UpdateScrollData function returning true when passed
nullptr arguments, and replaces the switch statement in
WebRenderLayerManager that updated forceNewLayerData.

MozReview-Commit-ID: FlfHlgSccSn

--HG--
extra : rebase_source : d1fe841724cc6020433aea31ffb5214d8a44d0a9
2017-07-31 15:27:29 -04:00
Kartikaya Gupta 72688d935e Bug 1384616 - Fix indentation. r=jrmuizel
MozReview-Commit-ID: ArkCmZieGum

--HG--
extra : rebase_source : de6d006d63947b9ca8b972c70e6e8517073cd28c
2017-07-31 15:27:29 -04:00
Sebastian Hengst 915c63c332 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-31 11:28:37 +02:00
Nicholas Nethercote 72c884bf74 Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
--HG--
extra : rebase_source : d317b25be2ec21d1a60d25da3689e46cdce0b649
2017-07-31 14:28:48 +10:00
Nicholas Nethercote d4f9aa5530 Bug 1384835 (part 2, attempt 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj.
--HG--
extra : rebase_source : 6c24fbacb03d4adebe5f22b5e7fc60b069913f20
2017-07-31 14:23:50 +10:00
Sebastian Hengst bbe32b6bed merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 44WBcWjnVo
2017-07-30 11:19:17 +02:00
Christoph Kerschbaumer f18673d8e8 Bug 1383672 - Convert test_windowminmaxsize.xul to comply with new data: URI inheritance model. r=gijs 2017-07-28 13:09:04 +02:00
Sebastian Hengst 0e9fddbda6 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-29 11:49:53 +02:00
Sebastian Hengst 22f1bfd79d Backed out changeset 9a7b90cf8a63 (bug 1361618) for frequently failing accessible/tests/browser/states/browser_test_link.js (bug 1385498). r=backout a=backout
MozReview-Commit-ID: DK2CuaYBPbj
2017-07-29 11:42:39 +02:00
Wes Kocher 055bfa76de Merge autoland to central, a=merge
MozReview-Commit-ID: 1fYcqZLHcHu
2017-07-28 17:16:58 -07:00
Wes Kocher 111fa9e5a3 Backed out changeset 4e1a1565e417 (bug 1007283) for causing 1385079 a=bustage
MozReview-Commit-ID: 1FeEnNpHa8q
2017-07-28 14:28:17 -07:00
Carsten "Tomcat" Book 892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Sebastian Hengst 1d708511f0 Backed out changeset 5df4d8778602 (bug 1384835) 2017-07-28 10:29:29 +02:00
Sebastian Hengst 744a0a216b Backed out changeset ef5feef07bed (bug 1384835) 2017-07-28 10:29:24 +02:00
Carsten "Tomcat" Book 28bdd40776 Merge mozilla-central to mozilla-inbound 2017-07-28 09:48:24 +02:00
Carsten "Tomcat" Book de369deb98 Backed out changeset 284af26c1b53 (bug 1351148) 2017-07-28 09:20:27 +02:00
Wes Kocher 7149e44594 Merge autoland to m-c a=merge
MozReview-Commit-ID: 4MCb0ASsMxe
2017-07-27 16:09:49 -07:00
Carsten "Tomcat" Book 6aa98d7df0 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02:00
Xidorn Quan be0b7f4c78 Bug 1385147 - Upgrade to bindgen 0.29. r=heycam
MozReview-Commit-ID: 6ceRryUBccH

--HG--
extra : rebase_source : ead13dd2093be1b48347c0aa95d97a57bca0c1ba
2017-07-28 11:40:58 +10:00
Nicholas Nethercote 200d8ec18b Bug 1384835 (part 3) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
This is similar like the previous patch, but for the 8-bit string variants.
Also, it changes assignment to Adopt() in GetCString() and GetDefaultCString()
to avoid an extra copy.

--HG--
extra : rebase_source : eba805c3a7b809d5ccd6e853b1c9010db9477667
2017-07-27 16:45:10 +10:00
Brian Birtles 913d9ceadd Bug 1374966 - Drop nsChangeHint_UpdateTransformLayer when we also have nsChangeHint_AddOrRemoveTransform; r=heycam
MozReview-Commit-ID: 2eFl7cDXNA

--HG--
extra : rebase_source : 21d44a91b1848f630500495788fb704ef260333e
2017-07-27 12:05:47 +09:00
Cameron McCormack 8939798d4b Bug 1384625 - Crash in ServoComputedValues::GetStyleVariables, which should never need to be called. r=emilio
MozReview-Commit-ID: 4HYNGMPMhsH

--HG--
extra : rebase_source : 103e892149986f23d29553700a6622eaf27012fd
2017-07-27 17:33:29 +08:00
Manish Goregaokar e632c1393e Bug 1383492: stylo: Change nscoord_MAX to 1<<30 - 1 ; r=emilio,dbaron
nscoord_MAX is (1<<30) so that we can check for overflow *after* adding
two nscoords. However, (nscoord_MAX + nscoord_MAX) will still overflow.
Subtracting one makes this no longer possible.

MozReview-Commit-ID: BtbQRMp5kWm
2017-07-27 18:57:32 -07:00
Manish Goregaokar 9fd9221a68 Bug 1383492: stylo: Bump app units version; r=emilio
MozReview-Commit-ID: JZp66wkSZc0
2017-07-27 18:57:19 -07:00
Bobby Holley c7e4963340 Bug 1384769 - Skip two smil tests due to crashes until bug 1385089 is sorted out. r=me
MozReview-Commit-ID: 4Bkav7OzvtU
2017-07-27 17:49:46 -07:00
Bobby Holley ab415510c2 Bug 1384769 - Break TraversalFlags::ForReconstruct down into several independent pieces. r=emilio
These will be useful in followup work.

MozReview-Commit-ID: Dyp9R0PG36v
2017-07-27 17:49:44 -07:00
Bobby Holley f3de753524 Bug 1384769 - Get rid of the ForNewlyBoundElement mode. r=emilio
MozReview-Commit-ID: 1IRn2iaPnVc
2017-07-27 17:49:42 -07:00
Bobby Holley 07295b450f Bug 1384769 - Clean up ForThrottledAnimationFlush stuff. r=hiro
MozReview-Commit-ID: I6xeHv65nH2
2017-07-27 17:49:40 -07:00
Bobby Holley 12955e0dde Bug 1384769 - Pass TraversalFlags from C++ into Rust. r=emilio
MozReview-Commit-ID: EVUzgnL5coN
2017-07-27 17:49:38 -07:00
Nazım Can Altınova f936b4119f Bug 1341802 - stylo: Enable the forgotten disabled grid test r=me
MozReview-Commit-ID: 6ZrPuFigxGL
2017-07-27 17:04:03 -07:00
Nazım Can Altınova a576d2cda3 Bug 1365900 - stylo: Update test expectations for @font-feature-values r=me
--HG--
extra : amend_source : 248022ea0403b5fcfe01bf3f2fba60f33a1b76e3
2017-07-27 16:53:38 -07:00
Wes Kocher 7a65251f71 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
J. Ryan Stinnett 9861677629 Bug 1380053 - Skip ua-style-sheet-input-number-1.html for Stylo. r=me
MozReview-Commit-ID: Bo8L7CaVgTk
2017-07-27 18:21:07 -05:00
Nazım Can Altınova ffc264cb6b Bug 1365900 - Create ServoFontFeatureValuesRule and bind servo data r=xidorn
Add ServoFontFeatureValuesRule for CSSOM representation of
@font-feature-values rule and wire up with bindings.

MozReview-Commit-ID: B4Lpj43bvKX

--HG--
extra : rebase_source : 6508027f88ff76784ed7d0e5420d6e174f116b38
2017-07-25 18:30:15 -07:00
Nicholas Nethercote 0574a6b496 Bug 1384835 (part 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj.
Because we want to remove nsAdoptingString. We have other variants that don't
use nsAdoptingString, which can be used instead. There are three basic
patterns.

1. The easiest case is when we don't check for success.

> nsAdoptingString s = Preferences::GetString("foo");
> foo(s);

becomes:

> nsAutoString s;
> Preferences::GetString("foo", s);
> foo(s);

2. The next case is when we check if the result is empty.

> nsAdoptingString s = Preferences::GetString("foo");
> if (s.IsEmpty()) { ... }

becomes:

> nsAutoString s;
> Preferences::GetString("foo", s);
> if (s.IsEmpty()) { ... }

3. The final case is when we null check the result.

> nsAdoptingString s = Preferences::GetString("foo");
> if (s) { ... }

becomes:

> nsAutoString s;
> nsresult rv = Preferences::GetString("foo", s);
> if (NS_SUCCEEDED(rv)) { ... }

The patch also avoids some UTF8/UTF16 conversions in a few places.

--HG--
extra : rebase_source : f339b1a3dda4dc93979d38c30c001fbe77485b55
2017-07-25 20:36:14 +10:00
Mason Chang cc5d07571f Bug 1381973 - Lazily create the reference DT in DrawTargetCapture. r=dvander 2017-07-26 15:43:00 -07:00
Wes Kocher 7dc0b363c1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1JlPbFMKbJZ
2017-07-27 16:17:40 -07:00
Nazım Can Altınova 0598921a5f Bug 1365900 - Extract CSSFontFeatureValuesRule base class r=xidorn
Extract CSSFontFeatureValuesRule from nsCSSFontFeatureValuesRule
class. This is necessary because we will create a FontFeatureValues
rule for Servo side.

MozReview-Commit-ID: GKy5wa6JLv9

--HG--
extra : rebase_source : 015f13da9a776c4ece8aa13655395afbb347b870
2017-07-24 16:12:57 -07:00
Daniel Holbert 764274fe30 Bug 1059138: add this bug's testcase as a crashtest. (no review, test-only)
This bug report became semi-obsolete after we restructured the way flex items
are reordered for the CSS 'order' property. I'm adding its testcase as a
crashtest for good measure & for regression-testing.

MozReview-Commit-ID: 9ytJymbxZx
2017-07-27 15:32:33 -07:00
Daniel Holbert 442d7cef56 Bug 876749: Remove stale asserts(0-5) annotation for crashtest that doesn't assert anymore. (no review)
I believe crashtest 876074-1.html stopped asserting (about flex item frame-list
sortedness) once we stopped reordering the flex item child-list, in bug 812687.
So we don't need this asserts() annotation anymore.

MozReview-Commit-ID: BlMoFnkLQeU
2017-07-27 12:38:16 -07:00
Ryan Hunt 9556d59a26 Bug 1382918 - Respect widget min and max size in nsMenuPopupFrame to prevent excessive compositing. r=mstange
nsMenuPopupFrame will constrain the size of its widget to its min and max size.
It will also request its nsView to resize to its frame rect. If its frame rect
is larger or smaller than the min or max size, nsView will be unable to change
the size of the widget, and each ViewManagerFlush will attempt a resize and
force a composite. When there are a lot of ViewManagerFlushes, this can
overload the compositor.

--HG--
extra : rebase_source : e32c3bb5445365ef76ea2a0700abb6911974afcc
extra : source : cadcf04ef23cee5ddbbbf216573c05d3fc0e53f2
2017-07-26 23:36:13 -05:00
Daniel Holbert ef93dc671b Bug 1228789: add this bug's testcase as a crashtest. (no review, test-only)
This bug report became semi-obsolete after the assertion it triggered was
removed (as part of CSSUnprefixingService being replaced with native code).
I'm adding its testcase as a crashtest for good measure & for
regression-testing.

MozReview-Commit-ID: GhsoI8UHqI8
2017-07-27 11:54:49 -07:00
Julian Seward 408d24da56 Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm.
This patch replaces four functions of the name AssignWithConversion which
are essentially wrappers around CopyASCIItoUTF16 and LossyCopyUTF16toASCII
with direct calls to the latter two functions.  The replaced functions are:

  void nsCString::AssignWithConversion( const nsAString& aData )
  void nsString::AssignWithConversion( const nsACString& aData )

  void nsTString_CharT::AssignWithConversion(
                            const incompatible_char_type* aData,
                            int32_t aLength = -1);

The last of the three exists inside the double-included nsTString* world and
so describes two functions, giving four in total.

This has two advantages:

* it removes code

* at the call points, it makes clear (from the replacement name) which
  conversion is being carried out.  The generic name "AssignWithConversion"
  doesn't make that obvious -- one had to infer it from the types.

The patch also removes two commented out lines from
editor/composer/nsComposerCommands.cpp, that appear to be related.  They are
at top level, where they would never have compiled.  They look like
leftovers from some previous change.

--HG--
extra : rebase_source : fb47bf450771c3c9ee3341dd14520f5da69ec4f5
2017-07-24 19:23:52 +02:00
J. Ryan Stinnett c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Emilio Cobos Álvarez fe9f212268 Bug 1383981: Similar crashtest for sibling combinators. r=heycam
MozReview-Commit-ID: 3Z6YD8evbOs

--HG--
extra : rebase_source : 0c7d042674ac0459de5bb9c1964eaec6a387aec4
2017-07-25 11:23:11 +02:00
Emilio Cobos Álvarez 8124db36f5 Bug 1383981: Crashtest. r=heycam
MozReview-Commit-ID: 3ZVHoRIDb0M

--HG--
extra : rebase_source : 3f2fd32d64e3ed85a5039cb835dc5e9a1977e298
2017-07-25 09:51:16 +02:00
Xidorn Quan c4b5078d48 Bug 1366956 part 3 - Update test expectations. r=heycam
MozReview-Commit-ID: 1MBPiLaNFHW

--HG--
extra : rebase_source : db06d228ef349d587f9b5b11bf0898a429176082
2017-07-18 11:20:35 +10:00
Xidorn Quan 62d02de8ce Bug 1366956 part 2 - Replace IsFramesTimingEnabled FFI function with direct pref cache access. r=heycam
MozReview-Commit-ID: 3pVCEmuxf9D

--HG--
extra : rebase_source : 5d08e4f3bba0f3955a893046b04bf137bcd7c57d
2017-07-18 10:55:36 +10:00
Xidorn Quan 9dc5b62112 Bug 1366956 part 1 - Move CSS prefs from nsCSSParser into an independent class. r=heycam
MozReview-Commit-ID: S5xaJcP1jb

--HG--
extra : rebase_source : bf483459609aa05031d68224ce17228298f3a80f
2017-07-18 10:54:32 +10:00
Jeremy Chen 394d5f000f Bug 1381235 - add reftest for transitioning on visited links. r=hiro
With this patch, we now have an automated test to verify if a transition
is run properly on a visited link. Note that the test aims to verify
the behavior in Stylo should match that in Gecko. Due to Bug 868975, we
haven't supported transitioning on visited styles yet, so the test should
be put in our own repo for now. This test can be tweaked and put into
web-platform repo once we resolve Bug 868975.

MozReview-Commit-ID: Ci1cERXkIUK

--HG--
extra : rebase_source : 7feb1229bc2dc430bc2a1e40be40047049469fbd
2017-07-28 16:52:53 +08:00
Kevin Hsieh 0397c306ab Bug 1322537 - Increase tolerance when splitting Bezier curves to prevent hang. r=bas
MozReview-Commit-ID: 3qhj9He65Bh

--HG--
extra : rebase_source : 63f37c20bec61aa21dbf6ff539a9b967a0703810
2017-07-28 23:57:04 -07:00
Kyle Machulis d812ac4e87 Bug 1279218 - Additional applet tag logic removal; r=bz
I've been having problems with interdiffs on mozreview lately, so for
ease of review, this patch is being submitted as a seperate patch for
review. Once it is r+'d, it will be folded into the first patch in
this set before landing.

MozReview-Commit-ID: CS9MngaXlBd

--HG--
extra : rebase_source : 6a86fd4f7a66e73497a756976a2562d183002a2a
2017-07-28 16:44:39 -07:00
Kyle Machulis ffa9be1bed Bug 1279218 - Remove Applet tag; r=bz
Removes applet tag interfaces, and changes HTML5 parser to output
HTMLUnknownElement when tag is found. Removes tag process from various
places in the browser.

MozReview-Commit-ID: 2zHhK2U2esX

--HG--
extra : rebase_source : d06ecaffd1cb656301e29b900bafde4c68a4606e
2017-07-10 16:00:30 -07:00
Xidorn Quan 0215b2d4e7 Bug 1385147 followup - Mark mozilla::dom::OwningNodeOrString_Value opaque.
MozReview-Commit-ID: 3yft0P0TMD3
2017-07-30 19:40:13 +10:00
Timothy Nikkel 8dddd316bb Backed out changeset 497dbf087ad5 (add diagnostic asserts) (bug 1354933) 2017-07-07 14:54:55 -05:00
Cameron McCormack d8a7128e4d Bug 1384275 - Reftest. r=emilio
MozReview-Commit-ID: 4At2CHtfeo2

--HG--
extra : rebase_source : f983fc6d872612adb08eaeeaff945fd97fd3a805
2017-07-29 15:07:49 +08:00
Xidorn Quan 168e6ca204 Bug 1385529 - Remove Gecko_GetMediaFeatures and access nsMediaFeatures::features directly. r=emilio
MozReview-Commit-ID: IbTikEgabXA

--HG--
extra : rebase_source : 3ea81bad872f675be14862f627f174912e0c79ac
2017-07-29 15:21:36 +10:00
Sebastian Hengst e7f78bec18 merge mozilla-central to autoland. r=merge a=merge 2017-07-29 11:48:40 +02:00
Boris Zbarsky ada6e6cf35 Bug 1324619 part 6. Handle dynamic restyles of ::first-line in stylo. r=emilio
MozReview-Commit-ID: 3jQhIqPuL1g

--HG--
extra : rebase_source : 094829b3cecf0549462cbe107d293a7e56ea2e5b
2017-07-28 21:20:47 -04:00
Boris Zbarsky 6c4a600617 Bug 1324619 part 5. Implement FrameForPseudoElement for ::first-line. r=emilio
MozReview-Commit-ID: JXcV58peI7T

--HG--
extra : rebase_source : 013bde490d40f409af15752f15abe04df004aad6
2017-07-28 21:20:46 -04:00
Boris Zbarsky 4bac5a04f9 Bug 1324619 part 4. Add a Servo API for reparenting a given style. r=emilio
MozReview-Commit-ID: 2rqnMjMQKlJ

--HG--
extra : rebase_source : 4e146f8aa6a04d7193c8f54ea7acd42ce0e852b6
2017-07-28 21:20:41 -04:00
Boris Zbarsky a5f876dcd4 Bug 1324619 part 3. Implement ReparentStyleContext in ServoRestyleManager, for ::first-line use. r=emilio
This doesn't actually implement style context reparenting in the style set yet; that part is next.

There is one behavior difference being introduced here compared to Gecko: we
don't reparent the first block piece of an {ib} (block-inside-inline) split
whose first inline piece is being reparented.  This is actually a correctness
fix.  In this testcase:

  <style>
    #target { color: green; }
    #target::first-line { color: red; }
  </style>
  <div id="target">
    <span>
      <div>This should be green</div>
    </span>
  </div>

Gecko makes the text red, while every other browser makes it green.

We're preserving Gecko's behavior for out-of-flows in first-line so far, but
arguably it's wrong per spec and doesn't match other browsers either.  We can
look into changing it later.

MozReview-Commit-ID: 5eC6G449Mlh

--HG--
extra : rebase_source : 8c333a0afe96c68a4e3b6aeca1b742ef8d5edd3b
2017-07-28 21:11:18 -04:00
Boris Zbarsky dbb8398bd1 Bug 1324619 part 2. Stop unnecessarily trying to reparent the style contexts of our kids in nsFirstLetterFrame::SetInitialChildList. r=emilio
The style contexts are already correct here; the frame constructor ensures that.

MozReview-Commit-ID: CWO225MB6Pe

--HG--
extra : rebase_source : ebc74ab507aaad6ac4c301cbbcdcab30ad3034d0
2017-07-28 21:11:18 -04:00
Boris Zbarsky 510ea95ba9 Bug 1324619 part 1. Skip reparenting style contexts in the frame constructor when it's not needed. r=emilio
We don't need to reparent when moving things in/out of anonymous boxes and using the stylo backend.

MozReview-Commit-ID: 8C6ScqTuR9z

--HG--
extra : rebase_source : 0f180647a39a051e2a5aabe642031134852bf95b
2017-07-28 21:11:18 -04:00
Xidorn Quan 2f534aa9d7 Bug 1381690 - Have check_allowed_in read gPropertyEabled table directly. r=manishearth
MozReview-Commit-ID: 5pwnEqxqVi6

--HG--
extra : rebase_source : 78c6702fe3260c4ac8720fbaca1de19f9b9c0b8c
2017-07-18 10:11:40 +10:00
Carsten "Tomcat" Book c4e7d0a39e merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f0f666839de9bee40c2d469fd8dd7e63b266f69
2017-07-27 11:38:15 +02:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Tobias Schneider 3880ddff03 Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron
--HG--
extra : rebase_source : c4e47e2de8d615c77e7e9ce88f6b21c9d15c92e4
2017-07-26 22:53:46 -07:00
Emilio Cobos Álvarez 5e93182540 Bug 1384868: Simplify a bit RuleNodeCacheConditions. r=heycam
MozReview-Commit-ID: 62ac5XCGLVQ

--HG--
extra : rebase_source : dd309d4383cb3637ab7b16d2054c535d7daafbaa
2017-07-27 03:07:06 +02:00
Wes Kocher ad35031103 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LhiAcCiFBus
2017-07-26 18:33:18 -07:00
Ehsan Akhgari 74443cf834 Bug 1384222 - Try to avoid dynamic allocations in TreeMatchContext::InitAncestors if possible; r=bzbarsky 2017-07-26 20:00:06 -04:00
cku 14c2482fbe Bug 1301245 - Part 3. Resolve a style image if nsSVGPaintingProperty can not handle it. r=heycam
MozReview-Commit-ID: 9m7yJ4CgCvr

--HG--
extra : rebase_source : 3f0fa1a7ead8ca5ac595e1a5d3cf15bf555291e7
2017-07-26 12:02:44 +08:00
cku 321461fb26 Bug 1301245 - Part 2. Do not resolve a style image if the given url has a fragment. r=heycam
MozReview-Commit-ID: 18LFjlWZBLl

--HG--
extra : rebase_source : afbba14c09f937340bd506859cbcc829100f9e8d
2017-07-26 11:21:30 +08:00
cku d869a580cc Bug 1301245 - Part 1. Implement nsStyleImage::IsResolved. r=heycam
We need this new API in the following patch.

MozReview-Commit-ID: JSoCgzKWrfs

--HG--
extra : rebase_source : e7da0a990b991b1c417015a9cb4f9e2b1e98faae
extra : source : 8f02c1ea8448315f9284939823d66e67cdc5ad87
2017-07-20 01:02:17 +08:00
Josh Matthews ace7bd502f Bug 1381137: Append skipped/dropped message to Stylo CSS error reports. r=heycam
MozReview-Commit-ID: GUgJneVg1oy
2017-07-26 14:55:33 +02:00
Carsten "Tomcat" Book aa090c5164 Backed out changeset c25880692555 (bug 1380259) on developers request 2017-07-26 14:28:01 +02:00
Fernando Jimenez Moreno f84de8b097 Bug 1380259 - stylo: update test expectations. r=xidorn
MozReview-Commit-ID: 3lccr7l8M29

--HG--
extra : rebase_source : 8fc680b078caf79e2b4a0c559a2810a6b24815ce
2017-07-26 13:18:05 +02:00
Emilio Cobos Álvarez b6a289fe2e Bug 1384065: Tests. r=heycam
MozReview-Commit-ID: BHcyfvgBhaK

--HG--
extra : rebase_source : be5413a90c17b239c7ffc13de2daa9a2a6c75eeb
2017-07-26 02:12:05 +02:00
Manish Goregaokar cfb8c81021 Bug 1341102: Update reftest expectations from servo PR #17880; r=orange
MozReview-Commit-ID: LkO6SYQmoa6
2017-07-27 00:18:05 -07:00
Carsten "Tomcat" Book 8a74dfa905 Merge mozilla-central to autoland 2017-07-26 11:18:21 +02:00
Carsten "Tomcat" Book 198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Ryan VanderMeulen fc0b3076bb Bug 1383975 - Add crashtest. 2017-07-26 00:13:53 -04:00
Daisuke Akatsuka 000fc27d48 Bug 1379921 - Part 3: remove test fail annotations from reftest. r=hiro
Since we make "font-variant-alternates" animatable,
should remove test fail annotation from reftest.list.

MozReview-Commit-ID: ChdeSvUbTBh

--HG--
extra : rebase_source : fac9fb01a60c684d7169866964621f431b3508e3
2017-07-26 12:28:31 +09:00
Hiroyuki Ikezoe a46b077ea1 Bug 1381420 - A crash test that has an element is not restyled but has reconstruct frame damage during flushing throttled animations. r=emilio
The details element, which is a sibling of an animating element, is checked
whether the element needs to be processed in a post traversal for throttled
animation flush because the parent element has animation-only dirty bit (i.e.
the parent element is a common ancestor of the animating element and the
details element). Also at the moment of the check the details element has
reconstruct frame damage because 'open' attribute is changed. Thus in the check
the details element was not restyled but had reconstruct frame damage.

MozReview-Commit-ID: FvsyZlUjhFi

--HG--
extra : rebase_source : 80ee22e7a3092ee208ce74304c242da782f6a0f4
2017-07-26 11:50:12 +09:00
Bobby Holley 8862f9008d Bug 1341102 - Reenable some more reftests. r=me
MozReview-Commit-ID: zYSKOW3uXi
2017-07-25 21:02:32 -07:00
Kevin Hsieh 61cee79da1 Bug 1383925 - Remove unnecessary copy construction of default font in nsRuleNode.cpp. r=dholbert
MozReview-Commit-ID: 6awjBjmEBsM

--HG--
extra : rebase_source : af3055ea0bb480b58fcfd1a5c79dfcb59eec6d78
2017-07-24 17:56:54 -07:00
Wes Kocher f19f28adfd Merge m-c to autoland, a=merge
MozReview-Commit-ID: F1X8wKqbkg
2017-07-25 19:16:09 -07:00
Wes Kocher 65bbd0525a Merge inbound to central, a=merge
MozReview-Commit-ID: E4oXfAM1mtd
2017-07-25 19:04:37 -07:00
Geoff Brown 52530ae04e Bug 1380830 - Disable reftest container-with-clamping.html for frequent intermittent failures; r=me,test-only 2017-07-25 09:28:53 -06:00
Carsten "Tomcat" Book bdf7db3d13 Merge mozilla-central to mozilla-inbound
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : d74c74a654cd977d35e35de2768ada4ebe659ae4
2017-07-25 14:38:43 +02:00
Carsten "Tomcat" Book 679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Kartikaya Gupta 9c8e5912d3 Bug 1383204 - Allow layers-free webrender mode in chrome prescontexts. r=ethlin
MozReview-Commit-ID: 44OBpd0R5fX
2017-07-25 08:18:52 -04:00
Kartikaya Gupta f909a23c70 Bug 1383204 - Create webrender commands for the nsDisplayRemote display item. r=ethlin
This allows us to turn on layers-free mode in the firefox UI process,
and have it work better in that the content process' content actually
shows up.

MozReview-Commit-ID: qBnfueYmuf
2017-07-25 08:18:49 -04:00
Kartikaya Gupta fc9b6a3e28 Bug 1383204 - Change helper function's return type to be more strongly typed. r=mattwoodrow
No functional change here, but this makes the next patch simpler.

MozReview-Commit-ID: BzdmQ243VeI
2017-07-25 08:18:46 -04:00
Kartikaya Gupta 11bfdd333f Bug 1383204 - Remove unused function parameter. r=mattwoodrow
MozReview-Commit-ID: JtJAHdHBqNd
2017-07-25 08:18:41 -04:00
Ethan Lin 4cd23c6b8f Bug 1373530 - Clean some unused reftest annotations after enabling background color layer by default. r=kats 2017-07-25 17:49:04 +08:00
Dão Gottwald fe72da1e54 Bug 1007283 - Enable arrow panel animations on Linux. r=jaws
MozReview-Commit-ID: BUL3NWpsKll

--HG--
extra : rebase_source : b2434d6167e758a92b42a2277e5f4b63f32e7e00
2017-07-19 23:16:19 +02:00
Carsten "Tomcat" Book 0ff1ec388b Merge mozilla-central to autoland 2017-07-25 14:35:23 +02:00
Carsten "Tomcat" Book 1c55d9468a Backed out changeset 7c3ddf34fc42 (bug 1377158) for stylo failures 2017-07-25 14:34:14 +02:00
Carsten "Tomcat" Book 479379519a Backed out changeset 2fbce7c06627 (bug 1377158) 2017-07-25 14:33:42 +02:00
Fernando Jimenez Moreno f61c37ce13 Bug 1382285 - stylo: initialize missing Servo*Rule with line and column numbers. r=xidorn
MozReview-Commit-ID: 7gNTbctHYGh

--HG--
extra : rebase_source : 3a7649155311b89809470dce0121e28a465c630d
2017-07-24 15:07:07 +02:00
Xidorn Quan 4e4645bdba Bug 1382077 part 4 - Update test expectations. r=heycam
MozReview-Commit-ID: 75nHSozDSNq

--HG--
extra : rebase_source : e7db959599606db14486207eef9d9a42aff25385
2017-07-24 13:02:58 +10:00
Xidorn Quan ef7357ef4c Bug 1382077 part 3 - Record viewport unit usage and generate proper restyle hint. r=heycam
MozReview-Commit-ID: FA2TiIejUT

--HG--
extra : rebase_source : f34741f4129c669aff3588c17bb81f5feca29e67
2017-07-24 13:02:17 +10:00
Xidorn Quan d645f266b8 Bug 1382077 part 2 - Move mUsesViewportUnits into nsStyleSet. r=heycam
MozReview-Commit-ID: DQ4ZoLLNPeN

--HG--
extra : rebase_source : 789b1b58eb760e74802dfac1c5b4070f02e1185c
2017-07-24 11:51:32 +10:00
Xidorn Quan 7399a0157a Bug 1382077 part 1 - Have StyleSet::MediumFeaturesChanged return nsRestyleHint rather than a bool. r=heycam
MozReview-Commit-ID: 5g3mHU8pxXP

--HG--
extra : rebase_source : aff51be14395850620fe43d814c49e30a3048be5
2017-07-24 11:27:08 +10:00
cku 5acc1499f0 Bug 1383791 - Download an SVG resource only if the mask URL consists of a fragment. r=heycam
MozReview-Commit-ID: OT6ipv3qSj

--HG--
extra : rebase_source : 295f3de7ece6aaa2473d7efc376de078419f3e10
extra : source : cb4b39a80923ff50dc6b4c3dc0b9ff9c508e5b48
2017-07-19 19:45:34 +08:00
Cameron McCormack f7f0ad18d0 Bug 1376248 - Part 1: Use an nsAutoAnimationMutationBatch when updating animations for an element in stylo. r=birtles
MozReview-Commit-ID: 2ft7qn9iVLB

--HG--
extra : rebase_source : b24eea2c4e08b448dcbc1891339a42d3534ddc2d
2017-07-24 16:02:53 +08:00
Masayuki Nakano 8661a7547b Bug 1382118 - Make nsPrintEngine::AfterNetworkPrint() do nothing if mPtr is nullptr r=dholbert
According to the crash reports, nsPrintEngine::AfterNetworkPrint() may be called after nsPrintEngine::Destroy() is called.  In this case, the method should do nothing because it's already been destroyed.

MozReview-Commit-ID: IwY9fR1OUwU

--HG--
extra : rebase_source : 6fb2e23a1e30da59c4c8823e72b8a4460c8adb28
2017-07-22 00:43:38 +09:00
Cameron McCormack 2042375cc8 Bug 1371150 - Update test expectations. r=hiro
MozReview-Commit-ID: D6CK7LouSxO

--HG--
extra : rebase_source : 1cb4c6698575dae1c8d0e1b3894c2670d095cf75
2017-07-24 19:42:18 +08:00
cku 0919df438f Bug 1029610 - Remove b2g skip-if in forms/test/mochitest.ini. r=pyang
MozReview-Commit-ID: 2zB8es3S86b

--HG--
extra : rebase_source : e225fbbf09d5c49e3adc2d770963ca353847e3a7
2017-07-24 22:48:45 +08:00
Hiroyuki Ikezoe b096686ea6 Bug 1383589 - Process post traversal whenever StyleDocument() or StyleDocumentForThrottledAnimationFlush() returns true. r=emilio
The test case in this patch freezes without this fix.

MozReview-Commit-ID: 6Rb9XmtAmpM

--HG--
extra : rebase_source : 9a68482c77d5e77ed5733f757ed3ec021834ba2f
2017-07-25 11:49:04 +09:00
Bobby Holley d1534d15b4 Bug 1341102 - Re-enable some crashtests. r=me
MozReview-Commit-ID: 65QY7FfZQcL
2017-07-24 18:35:19 -07:00
KuoE0 29854794cf Bug 1377158 - (Part 7) Disable failed test cases. r=heycam
MozReview-Commit-ID: 75Me2Fa5qIa

--HG--
extra : rebase_source : 0b78f7aca9755071e3929169202368d962ad934d
2017-07-19 15:04:39 +08:00
Ya-Chieh Wu 2616e6e38b Bug 1375518 - Add reftest to check that border-radius is painted correctly on table. r=dbaron
MozReview-Commit-ID: KPuHtkttJim

--HG--
extra : rebase_source : 40658310460841ff95a6215bebcd3653d6fc62d1
extra : histedit_source : 0b2e14f7e4b02ed14d2266cd75ecef39d3944c79
2017-07-18 12:00:27 +08:00
ywu c02e41a36e Bug 1375518 - Add reftest to check that border radius is painted correctly on border-collapsed table. r=mattwoodrow
--HG--
extra : rebase_source : a5b43f73149a04639ffc069a38f960e58cab681c
extra : histedit_source : 9ec685177874b21bc6cd778431642bc41ce91b69
2017-07-18 11:47:17 +08:00
Morris Tseng 24047e52eb Bug 1375518 - Don't override GetBorderRadii in nsBCTableCellFrame. r=mattwoodrow
MozReview-Commit-ID: 7CSTDwuxm21

--HG--
extra : rebase_source : 769e34695412837e074b414578832afba10b58ef
2017-07-18 10:54:11 +08:00
Emilio Cobos Álvarez cd3f69980b Bug 1384020: Test. r=canaltinova
MozReview-Commit-ID: JsuNmfbHgFW

--HG--
extra : rebase_source : c4a9cf2a34cb71dd6b9cfb12e2d604ba1752d9e0
2017-07-26 00:11:16 +02:00
Yoshi Huang 7036b3761f Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00
Wes Kocher fd09155f06 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 418vKEKrk3n
2017-07-24 18:10:56 -07:00
Wes Kocher 2673406be5 Merge inbound to central, a=merge
MozReview-Commit-ID: 1oTeP8uycV2
2017-07-24 18:06:39 -07:00
Samael Wang 87f7100ef3 Bug 1381933 - Retry loading blank page if gClearingForAssertionCheck but load event comes from another URL. r=jmaher
MozReview-Commit-ID: 9AIEW508oID

--HG--
extra : rebase_source : 45be11677b1414650777c5147a26b9eb69caf4e9
2017-07-20 17:15:32 +08:00
Joel Maher 6af8e7f7ac Bug 1379810 - Intermittent layout/base/tests/test_scroll_snapping_scrollbars.html. disable on windows. r=KWierso
MozReview-Commit-ID: 9V5eR0r67rr
2017-07-24 18:28:24 -04:00
Ya-Chieh Wu 4acbeaf8d1 Bug 1375518 - Fix border-radius on table row groups, rows, column groups, or columns. r=dbaron
Before bug 929484, border-radius on row groups, rows, column groups,
or columns don't apply to the background of each cell, yet the
border-radius on the cell itself does. After bug 929484, the behaviors
changed. In this patch, I tried to revert the behaviors of border-radius
on table row groups, rows, column groups, or columns back to
what happened before bug 929484.

MozReview-Commit-ID: 1Xg1qHde3lk

--HG--
extra : rebase_source : ff08f8390ff910fe8c141a75275134f77a1cec3e
2017-07-14 15:50:04 +08:00
Wes Kocher 1c6b33b69a Merge m-c to inbound, a=merge
MozReview-Commit-ID: AwACQvl2e5g

--HG--
extra : rebase_source : e70812f9a96acf1d0747cb7ea57afa1e2152283b
2017-07-25 19:09:39 -07:00
Wes Kocher a1eadef812 Merge m-c to autoland, a=merge
MozReview-Commit-ID: B7oWq7qfpJ0
2017-07-24 18:13:05 -07:00
Emilio Cobos Álvarez cfe31ad4cc Bug 1383634: Remove usage of GetParentAllowServo in mathml code. r=xidorn
MozReview-Commit-ID: JncrAto7T3K

--HG--
extra : rebase_source : 818e5bbf148f30b9a62eaa0c55528daf921eb01a
2017-07-24 10:11:41 +02:00
Emilio Cobos Álvarez a132872286 Bug 1383634: Remove usage of GetParentAllowServo in nsRuleNode. r=xidorn
This is Gecko-only code, so no need to allow Servo.

MozReview-Commit-ID: H4xZx0jMREI

--HG--
extra : rebase_source : b1b255b12ed4f052f7ba3aa9f5943fb3d24f9e52
2017-07-24 10:11:40 +02:00
Carsten "Tomcat" Book 2023b2d8e5 Merge mozilla-central to inbound 2017-07-24 14:59:06 +02:00
Hiroyuki Ikezoe 5f3681aa92 Bug 1380258 - A reftest for stopping CSS animations on discarded pseudo elements. r=birtles
This reftest fails without the first patch on stylo.

MozReview-Commit-ID: E5pBzBw9x8B

--HG--
extra : rebase_source : 4fe2a99bfed76d1b5fb320ef6a4f2b39ee5f5f2c
2017-07-24 09:20:22 +09:00
cku 4c21546c79 Bug 1382257 - (followup) Draw border image if nsCSSBorderImageRenderer was created successfully. r=me.
MozReview-Commit-ID: 7SJwCt9XUBF

--HG--
extra : rebase_source : 5d674d2d5d2c22b0383b90d73a3aab96c603daae
2017-07-24 13:27:54 +08:00
Mason Chang b4e1afb9e9 Bug 1365876. Blur text shadows on the CPU. r=lsalzman 2017-07-24 13:48:14 -07:00
Christoph Kerschbaumer 15ed99965d Bug 1383732 - Update more reftests to comply with new data: URI inheritance model. r=smaug 2017-07-24 20:35:21 +02:00
Christoph Kerschbaumer b2294259ad Bug 1383649 - Convert more tests within layout/ to comply with new data: URI inheritance model. r=smaug 2017-07-24 20:35:02 +02:00
Christoph Kerschbaumer 3671da468b Bug 1384048 - Update 212563-2.html to comply with new data: URI inheritance model. r=smaug 2017-07-25 12:13:50 +02:00
Ethan Lin 805e149605 Bug 1384043 - Support solid color for layers free mode. r=mattwoodrow
MozReview-Commit-ID: H4YWgdl1yAV

--HG--
extra : rebase_source : ea2920a5b25c2fde2950af189c7245c90d370934
2017-07-26 10:03:23 +08:00
Hiroyuki Ikezoe ead0069e9b Bug 1383493 - Make AddDifferentTransformLists() add |aCoeff1| instead of just adding 1 to |aCoeff2| for the same list case. r=birtles
Also if |aCoeff1| is zero, we can just ignore the first list altogether.

MozReview-Commit-ID: LVZmAx0K574

--HG--
extra : rebase_source : f4419131590befde2a616d2e47785024f90f0719
2017-07-27 06:46:33 +09:00
Hiroyuki Ikezoe 9a2cabce4e Bug 1383493 - A crash test that accumulates transform:none onto decomposed transform matrix for iteration composite. r=birtles
MozReview-Commit-ID: 3uBtqykEFgd

--HG--
extra : rebase_source : 21720d496332b42f02dfc337b0be4d8125b77141
2017-07-27 06:46:19 +09:00
Ethan Lin 5f21b07b7e Bug 1384387 - Clear frame's invalidation state bits in layers-free mode. r=kats
MozReview-Commit-ID: DRv5IcRQVs0

--HG--
extra : rebase_source : 9235e8f45a5fe7a200e63b572be61e9906ded5cc
2017-07-26 12:05:24 +08:00
Ethan Lin 413b71eafc Bug 1382985 - Support image animation for layers-free mode. r=kats
We should do SchedulePaint in nsImageFrame for layers-free mode and set
invalid flag to make sure the image will be repainted.

MozReview-Commit-ID: 2lXElZ151Qa

--HG--
extra : rebase_source : 56045f66f3b36afe8a6327b841d80073f1d038cb
2017-07-24 14:43:55 +08:00
Wes Kocher 18f09001d3 Backed out 4 changesets (bug 1341102, bug 1383492) for windows build bustage and crashtest assertions a=backout CLOSED TREE
Backed out changeset 1c4310082e35 (bug 1341102)
Backed out changeset 849c109d96b4 (bug 1341102)
Backed out changeset 11cadad891a4 (bug 1383492)
Backed out changeset b4dfcf4f795e (bug 1383492)

MozReview-Commit-ID: 4bDAPgiaepG
2017-07-26 18:09:45 -07:00
Manish Goregaokar 210c009a85 Bug 1341102: Fix bustage on a CLOSED TREE; r=bustage
MozReview-Commit-ID: Ho2PNnBhR3M
2017-07-26 17:06:56 -07:00
Manish Goregaokar c2a750c83f Bug 1341102: Fix bustage on a CLOSED TREE; r=bustage
MozReview-Commit-ID: Ho2PNnBhR3M
2017-07-26 16:52:20 -07:00
Manish Goregaokar 196d78a2ab Bug 1383492: stylo: Change nscoord_MAX to 1<<30 - 1 ; r=emilio,dbaron
nscoord_MAX is (1<<30) so that we can check for overflow *after* adding
two nscoords. However, (nscoord_MAX + nscoord_MAX) will still overflow.
Subtracting one makes this no longer possible.

MozReview-Commit-ID: BtbQRMp5kWm
2017-07-26 15:59:52 -07:00
Manish Goregaokar c463d163dc Bug 1383492: stylo: Bump app units version; r=emilio
MozReview-Commit-ID: JZp66wkSZc0
2017-07-26 15:59:47 -07:00
Xidorn Quan a7882b3415 Bug 1384162 part 4 - Add test to ensure that blank document uses the same backend as its parent document and update test expectation. r=bz
MozReview-Commit-ID: 3rBCCbtW3J1

--HG--
extra : rebase_source : 7cfd8e5655d9d6ced3aba6f315670d240b4c6acc
2017-07-26 20:03:39 +10:00
Xidorn Quan d6ade853bf Bug 1384162 part 3 - Move document container setting into nsContentDLF::CreateBlankDocument before adding any nodes. r=bz
MozReview-Commit-ID: KdXQH5eRD7a

--HG--
extra : rebase_source : 0f53d2bc304a3873c12c952794b8b665b9bc3999
2017-07-26 20:02:58 +10:00
Xidorn Quan ae7bb9dd45 Bug 1384162 part 2 - Mondernize nsContentDLF::CreateBlankDocument. r=bz
MozReview-Commit-ID: CxAeysZbbuw

--HG--
extra : rebase_source : 86e3a24c20db5cd8db958333ab61e2aafa0865aa
2017-07-26 19:47:18 +10:00
Xidorn Quan 1358c75c5d Bug 1384162 part 1 - DeCOMtaminate nsContentDLF::CreateBlankDocument. r=bz
MozReview-Commit-ID: 1KNNSIqrmZh

--HG--
extra : rebase_source : 8429bdd18f2c55acde245c4b4381735aff635042
2017-07-26 19:32:45 +10:00
KuoE0 8caf7792c4 Bug 1377158 - (Part 1) Make nsIDocumentLoaderFactory::createInstance() accept style backend type. r=heycam
MozReview-Commit-ID: L4kixMsCd8S

--HG--
extra : rebase_source : 09befb7bf27c146bc0df2b6be75439f5e51cfb99
2017-07-12 16:30:32 +08:00
Carsten "Tomcat" Book 41e41e6d05 Backed out changeset 23c6326dd926 (bug 1382077) on request from xidorn 2017-07-25 12:17:56 +02:00
Carsten "Tomcat" Book c7741ea7ea Backed out changeset 972821835d48 (bug 1382077) 2017-07-25 12:17:16 +02:00
Carsten "Tomcat" Book 28e9645f51 Backed out changeset d3f7744b4ec3 (bug 1382077) 2017-07-25 12:17:13 +02:00
Carsten "Tomcat" Book 58ccc553d2 Backed out changeset 333e1d30100d (bug 1382077) 2017-07-25 12:17:10 +02:00
Xidorn Quan cd7542dfa5 Bug 1382077 part 4 - Update test expectations. r=heycam
MozReview-Commit-ID: 75nHSozDSNq

--HG--
extra : rebase_source : e7db959599606db14486207eef9d9a42aff25385
2017-07-24 13:02:58 +10:00
Xidorn Quan 99ce420fc5 Bug 1382077 part 3 - Record viewport unit usage and generate proper restyle hint. r=heycam
MozReview-Commit-ID: FA2TiIejUT

--HG--
extra : rebase_source : f34741f4129c669aff3588c17bb81f5feca29e67
2017-07-24 13:02:17 +10:00
Xidorn Quan 935b4c943f Bug 1382077 part 2 - Move mUsesViewportUnits into nsStyleSet. r=heycam
MozReview-Commit-ID: DQ4ZoLLNPeN

--HG--
extra : rebase_source : 789b1b58eb760e74802dfac1c5b4070f02e1185c
2017-07-24 11:51:32 +10:00
Xidorn Quan d8543d6975 Bug 1382077 part 1 - Have StyleSet::MediumFeaturesChanged return nsRestyleHint rather than a bool. r=heycam
MozReview-Commit-ID: 5g3mHU8pxXP

--HG--
extra : rebase_source : aff51be14395850620fe43d814c49e30a3048be5
2017-07-24 11:27:08 +10:00
J. Ryan Stinnett b7151cc577 Bug 1361618 - Remove unnecessary calls to FlushPendingLinkUpdates. r=dbaron
This removes the two calls to `FlushPendingLinkUpdates` in nsCSSFrameConstructor
and GeckoRestyleManager, which appear to have no effect.

Looking through what the pending link code is attempting to do:

* When a new anchor is bound in `BindToTree` we do:
  1. Link::ResetLinkState(false, Link::ElementHasHref());
    * Set link's mLinkState to default (either unvisited or not link)
    * Set element's link mState bits to default (either unvisited or not link)
  2. doc->RegisterPendingLinkUpdate(this);
    * Schedules idle dispatch to run `FlushPendingLinkUpdates` within 1 sec
* In `FlushPendingLinkUpdates`:
  * For each pending link, call element->UpdateLinkState(link->LinkState());
    1. Register link for async history update to get potential future visited
       state
    2. mLinkState is still unvisited / not link until we hear from history, so
       element state is unchanged

Thus, there seems to be no need to call `FlushPendingLinkUpdates` outside of
`BindToTree`, since visited state is always applied async anyway (so it doesn't
work as an optimization to avoid restyling if visited, since that will trigger
later).

MozReview-Commit-ID: KbFuKve1KUi

--HG--
extra : rebase_source : fdc098397d2fe9963ff82566f7a6b7c8c4656d63
2017-06-29 11:31:52 -07:00
Botond Ballo 90d0b0ff5a Bug 1384719 - Fix -Wnull-conversion warning in nsStyleContext::CalcStyleDifference(). r=heycam
MozReview-Commit-ID: FBYcQ2fbIFo

--HG--
extra : rebase_source : 7ef60d0fd895eb1604aa11b1c41f7b21586d637d
2017-07-26 16:53:25 -04:00
Carsten "Tomcat" Book 740c6ff791 Merge mozilla-central to autoland 2017-07-28 15:27:47 +02:00
Emilio Cobos Álvarez a00dadfa35 Bug 1381083: Test. r=heycam
MozReview-Commit-ID: E99v62sXKtX

--HG--
extra : rebase_source : a913699ef166422bbc01870928fdf938c115343f
2017-07-27 00:57:02 +02:00
Emilio Cobos Álvarez dab0b01fe4 Bug 1381083: Don't hold the style context if we had a frame and re-resolved the style. r=heycam
Otherwise we risk losing track of the frame if we hit the cache.

MozReview-Commit-ID: ByHGhcBwIfX

--HG--
extra : rebase_source : 4534efa9ef02f4d7f59a33b55c50d9d372ad08a8
2017-07-27 00:45:29 +02:00
Emilio Cobos Álvarez 104705ee7a Bug 1381083: Preliminary alignment and whitespace fixup. r=heycam
MozReview-Commit-ID: 9V7pqVMOAqo

--HG--
extra : rebase_source : fb2b44ebfdfdf7a888482b2cfca09b63e02c8b8c
2017-07-27 00:28:52 +02:00
Kartikaya Gupta a1f87cfcac Bug 1385070 - Remove the WebRenderOMTAEnabled pref. r=ethlin
MozReview-Commit-ID: CWdrpzorNxq

--HG--
extra : rebase_source : c244c3d09579a9f5cb40ac8dd503217e7f96e4c5
2017-07-27 16:11:17 -04:00
Wes Kocher c07dbb8e82 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: FJUPXxVFLLL
2017-07-28 18:03:57 -07:00
Nazım Can Altınova f29f9f515a Bug 1385137 - Remove redundant `test_font_feature_values_parsing.html` mochitest r=xidorn
MozReview-Commit-ID: GYIcaRK8uI5

--HG--
extra : rebase_source : ba4108f0632682c7bea852f270da52a1515aca87
2017-07-27 17:33:27 -07:00
Boris Chiou 8e1fff1e15 Bug 1384656 - Use GeckoStyleContext in nsStyleTransformMatrix::ProcessTranslatePart. r=emilio
The unit of nsCSSValue is always number/pixel/percent or eCSSUnit_Calc,
so we don't need the style context for Servo backend.
Besides, ReadTransform is a public API used in many places, so we keep
its argument type as nsStyleContext.

MozReview-Commit-ID: KLdrJ5BJXg8

--HG--
extra : rebase_source : 778ca38b06e2a13d3db0465b9e74bd0c33c62a88
2017-07-31 17:31:27 +08:00
Ethan Lin fa25e69f8d Bug 1384839 - Part3. Implement nsDisplayMask::CreateWebRenderCommands. r=kats
MozReview-Commit-ID: D6eOYP29XlN

--HG--
extra : rebase_source : 052360f9c7583b2e74880fbb0687b88e3765568f
2017-07-31 13:57:10 +08:00
Timothy Nikkel 417163a1db Back out changeset 43af422173e3 (add diagnostic asserts) (bug 1354933) 2017-06-22 15:40:40 -05:00
Timothy Nikkel 5db4da69f6 Backed out changeset bc4c5281f2c2 (bug 1379887) for causing regressions. 2017-07-29 01:21:32 -05:00
Wes Kocher 316fd8283a Merge m-c to inbound, a=merge
MozReview-Commit-ID: KcxntLtRalL

--HG--
rename : taskcluster/actions/__init__.py => taskcluster/taskgraph/actions/__init__.py
rename : taskcluster/actions/add-new-jobs.py => taskcluster/taskgraph/actions/add-new-jobs.py
rename : taskcluster/actions/registry.py => taskcluster/taskgraph/actions/registry.py
rename : taskcluster/actions/retrigger.py => taskcluster/taskgraph/actions/retrigger.py
rename : taskcluster/actions/run_missing_tests.py => taskcluster/taskgraph/actions/run_missing_tests.py
rename : taskcluster/actions/test-retrigger-action.py => taskcluster/taskgraph/actions/test-retrigger-action.py
rename : taskcluster/actions/util.py => taskcluster/taskgraph/actions/util.py
2017-07-28 17:54:59 -07:00
Bill McCloskey c6c1f4bbc9 Bug 1385413 - Remove thread parameter from onDispatchedEvent (r=erahm)
This parameter isn't used by any implementation of onDispatchedEvent,
and keeping the parameter makes later refactorings in this bug more difficult.

MozReview-Commit-ID: 90VY2vYtwCW
2017-07-28 13:09:06 -07:00
Emilio Cobos Álvarez ed9d1ad184 Bug 1382017: followup: fix alignment of macro definitions. r=whitespace-only
MozReview-Commit-ID: KdgQaPukU5z
2017-07-23 04:39:00 +02:00
Emilio Cobos Álvarez 2b7de51623 Bug 1381844: Be more explicit about the kind of style context we handle all the time. r=bholley
MozReview-Commit-ID: E0mdkhU3XBz
2017-07-22 18:02:57 +02:00
Emilio Cobos Álvarez b7a2398983 Bug 1381844: Remove a few redundant casts. r=bholley
MozReview-Commit-ID: 2dr72PMGKwN
2017-07-22 18:02:56 +02:00
Sebastian Hengst f16a7f8371 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4EWdTlEncz7
2017-07-22 11:38:42 +02:00
Wes Kocher d45eb771f0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Wes Kocher 051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan VanderMeulen f4e3a91992 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Sebastian Hengst 367f0ac5a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IWRTFZdtzaE
2017-07-21 12:56:44 +02:00
Daniel Holbert ec4c4d308e Bug 1382450: Turn on pref "dom.meta-viewport.enabled" for MathML reftest "font-inflation-1.html", like we do for other font-inflation reftests. r=jfkthame
MozReview-Commit-ID: 64mKD8dnX3f

--HG--
extra : rebase_source : 2308c8eb17a025e9980697dac22b29ed4beaae3e
2017-07-19 15:58:45 -07:00
Wes Kocher 61354cf6c0 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 9pPsy8McMun
2017-07-21 18:18:35 -07:00
Sylvestre Ledru 7c0ae251cd Bug 1381253 - Remove redundant control flow declarations rs=ehsan
MozReview-Commit-ID: FFxP4aMCbOL

--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Emilio Cobos Álvarez c02bd43974 Bug 1382372: Add a fast-path for matching attr selectors with the empty namespace. r=bz
MozReview-Commit-ID: GSr0oGJJZRM
2017-07-20 19:13:32 +02:00
Emilio Cobos Álvarez b7fa6f3b50 Bug 1377469: Update reftest expectations. r=jryans
MozReview-Commit-ID: Cp8Fc5emACU

--HG--
extra : rebase_source : e6b9b027e3f1a09ebf61df19bb766d2223c94a92
2017-07-20 13:33:00 +02:00
Nazım Can Altınova 0fb0b9cec5 Bug 1341802 - Enable disabled grid tests after servo/servo#17776 r=me
MozReview-Commit-ID: 21080kMgKdk

--HG--
extra : rebase_source : 69cc7cf2d63662d157db1969b70e0cb25760681a
2017-07-20 09:35:13 -07:00
Simon Sapin 4485b191aa Bug 1382713 - Bench stylo setProperty with both "10px" and " 10px". r=emilio
MozReview-Commit-ID: E6LiJPQ0IJ3

--HG--
extra : rebase_source : 643bbbadf1136a019336c78d69882bea834ebc65
2017-07-19 11:16:38 +02:00
Emilio Cobos Álvarez 0fff6a4e53 Bug 1382593: Clean a bit nsImageMap. r=heycam
MozReview-Commit-ID: Htm2OoExJ3T

--HG--
extra : rebase_source : 0d4214ab9e0d98421ebd8f7dbaee8d36342cfe85
2017-07-03 20:35:14 +02:00
Boris Zbarsky 9fed8c4314 Bug 1382786 part 5. Add some tests for which properties are properties are allowed on ::first-letter, ::first-line, and ::placeholder. r=emilio
MozReview-Commit-ID: 6FO6QAECPHW

--HG--
extra : rebase_source : fa9d6e9f4197360c6f5143928de8319bac733843
2017-07-21 14:20:12 -04:00
Boris Zbarsky 04552c3152 Bug 1382786 part 4. Update test expectations. r=emilio
MozReview-Commit-ID: TjcLIFlje

--HG--
extra : rebase_source : caef652de10d73ed1d03c98b8db1898da9173c3c
2017-07-21 14:20:00 -04:00
Manish Goregaokar 08c6de8178 Bug 1382017 part 4 Gecko piece - Rename ServoComputedValues -> ServoComputedData; r=heycam
ServoComputedValues is confusing because ComputedValues is actually
ServoStyleContext on the C++ side.

MozReview-Commit-ID: IQNVdfREAMt
2017-07-20 21:44:02 -07:00
Manish Goregaokar 26f3a98f78 Bug 1382017 part 4 Gecko piece - Remove usage of ServoComputedValues from most Gecko code; r=xidorn
MozReview-Commit-ID: 2NB4DgxMrL3
2017-07-20 17:27:05 -07:00
Manish Goregaokar 9e805b0538 Bug 1382017 part 2 Gecko piece - Remove usage of ServoComputedValues from binding functions; r=xidorn
MozReview-Commit-ID: 3KygTIIMVvF
2017-07-18 23:17:34 -07:00
Manish Goregaokar b185f906f6 Bug 1382017 part 1 Gecko side - Replace stylearc with servo_arc; r=xidorn
MozReview-Commit-ID: FUZgybUUMF3
2017-07-18 11:51:56 -07:00
Xidorn Quan 4a92d308fc Bug 1374872 - Disable tests involving web components for stylo. r=wchen
MozReview-Commit-ID: JWA210RkpAW

--HG--
extra : rebase_source : cd2a4ed75b43d500bf3a6e1e49eccb1bd38ed777
2017-06-21 14:51:37 +10:00
James Willcox d0bb12024d Bug 1381916 - Remove support for plugins on Android r=jchen,bsmedberg
MozReview-Commit-ID: AcAIC1QQew2
2017-07-31 12:25:16 -05:00
Bevis Tseng a7505864a8 Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Bevis Tseng d935b29e72 Bug 1378930 - Part 1: Remove nsINamed::SetName(). r=billm
MozReview-Commit-ID: 7aM1yJRsfPH

--HG--
extra : rebase_source : f207a37be835ac4e6c431af56737cebacf5c566d
2017-07-21 11:50:43 +08:00
Carsten "Tomcat" Book 3b7b01d32d Merge mozilla-central to inbound 2017-07-27 11:27:45 +02:00
Jonathan Kew c029499324 Bug 1348788 - Update OTS to release 5.2.0 + latest upstream fixes, prior to addition of Graphite support. r=milan 2017-07-27 09:03:10 +01:00
Kartikaya Gupta 4b9801e41b Bug 1359808 - Don't do empty transactions for scroll updates if there are already pending transforms in the layer tree. r=mstange
The pending transforms must have been computed using the older scroll offset
values, which means that updating the scroll offsets without recomputing the
transforms will make them wrong. If we do an empty transaction for the scroll
offset updates, the transforms will not get computed. This patch catches this
scenario and schedules a full paint instead of the empty transaction instead.
The case where the scroll offset is modified *before* the transform is already
handled by code in nsIFrame::TryUpdateTransformOnly.

MozReview-Commit-ID: I5s5J7BS1ru

--HG--
extra : rebase_source : 63fec656440c8bee322f069a4466a311ebcd0f7d
2017-07-12 11:14:11 -04:00
Sebastian Hengst b289637574 Backed out changeset 454d7232178d (bug 1380133) for bustage at mozilla/KeyframeUtils.h: no 'object' file generated. r=backout on a CLOSED TREE 2017-07-20 15:41:12 +02:00
Sebastian Hengst 515a615505 Backed out changeset 6f89b4ceda12 (bug 1380133) 2017-07-20 15:40:16 +02:00
Sebastian Hengst 42d11fca28 Backed out changeset 22dabf04e560 (bug 1380133) 2017-07-20 15:40:12 +02:00
Sebastian Hengst 8400ef0636 Backed out changeset cc720d72d024 (bug 1380133) 2017-07-20 15:40:06 +02:00
Sebastian Hengst d67d0384af Backed out changeset 9a84b6988af9 (bug 1380133) 2017-07-20 15:39:58 +02:00
Sebastian Hengst 6b93a5693c Backed out changeset cf561cad85f1 (bug 1380133) 2017-07-20 15:39:53 +02:00
Sebastian Hengst 4e48589974 Backed out changeset 1f1175528301 (bug 1380133) 2017-07-20 15:39:48 +02:00
Sebastian Hengst 8851ad32bc Backed out changeset 00edc2c32610 (bug 1380133) 2017-07-20 15:39:43 +02:00
Sebastian Hengst 234f850b1c Backed out changeset f835a60a13a3 (bug 1380133) 2017-07-20 15:39:38 +02:00
Dan Mosedale ext:(%3E) d7d5ed0cbd Bug 1384721 - fix pocket network activity during tests, r=Mardak
MozReview-Commit-ID: G9mGNt5imhr

--HG--
extra : rebase_source : 5f94c58b5c34b3670509cf27c9ad635159deca4d
2017-07-26 14:32:42 -07:00
Emilio Cobos Álvarez 98abee5d66 Bug 1384542: Fix MustReresolveStyle logic. r=me
MozReview-Commit-ID: 8GdZIyvaRLt
2017-07-31 15:57:25 +02:00
Emilio Cobos Álvarez 6a2188b226 Bug 1384542: Fix dynamic change handling of justify-items legacy values. r=heycam
MozReview-Commit-ID: NEPGlL4ri7
2017-07-31 14:33:10 +02:00