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

16973 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky fccccf142c Bug 1347411 part 5. Change stylo to correctly recompute style on the anonymous boxes that hang off comboboxes. r=heycam
I did manual testing for ::-moz-dropdown-list.  Unfortunately, the only way I
know to test it is to have a combobox in a non-e10s window and dynamically
change its background color, then drop down the dropdown and see whether it
picked up the changed background color.

MozReview-Commit-ID: B2RkW4otv4s
2017-03-15 14:00:43 -04:00
Boris Zbarsky ed85b458f3 Bug 1347411 part 3. Fix stylo to properly update styles for the content container frame of <fieldset>. r=heycam
MozReview-Commit-ID: D9D2xtjRldF
2017-03-15 14:00:43 -04:00
Boris Zbarsky 784eb8f590 Bug 1347411 part 2. Fix stylo to properly update styles for the various frames that use FCDATA_WITH_WRAPPING_BLOCK to wrap an anonymous block around their kids. r=heycam
This handles ::-moz-button-content, ::-moz-html-canvas-content, ::-moz-svg-text,
::-moz-svg-foreign-content.

MozReview-Commit-ID: 3xk7214X2uR
2017-03-15 14:00:43 -04:00
Boris Zbarsky 2745162ccf Bug 1347411 part 1. Make sure to correctly update anon boxes belonging to ::before/::after pseudo-elements. r=heycam
MozReview-Commit-ID: AzF9WdUo1E
2017-03-15 14:00:42 -04:00
Carsten "Tomcat" Book dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Olli Pettay ac35022bab Bug 1346644 - Disable high priority vsync handling in parent process, r=ehsan
--HG--
extra : rebase_source : 6d5000e99d02217091f997c6b5169c8da7d03709
2017-03-13 18:25:10 +02:00
Carsten "Tomcat" Book c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Samael Wang dbb9457981 Bug 1283947 - Clear pending transactions when ClientLayerManager is assigning to a different refresh driver. r=mattwoodrow 2017-03-09 18:35:50 +08:00
Kan-Ru Chen 43776b9a4d Bug 1346161 - Remove HANDLE_UNLOAD_MS and HANDLE_BEFOREUNLOAD_MS telemetry probes. r=smaug
MozReview-Commit-ID: 91WAGDKAAMu
2017-03-13 14:47:29 +08:00
Ting-Yu Lin 1ab8a867a4 Bug 1326409 Part 6 - Convert aBasicShape to a pointer to a const value. r=dholbert
To address reviewer's comments in bug 1326409 comment 13 and comment 14.

MozReview-Commit-ID: FiUXXk4O8N7
2017-03-13 12:03:40 +08:00
Ting-Yu Lin 1923f5a65b Bug 1326409 Part 4 - Extract a function to compute polygon vertices. r=dholbert
MozReview-Commit-ID: B4BzBHjLHxW
2017-03-13 12:03:40 +08:00
Ting-Yu Lin 0896f4f2e5 Bug 1326409 Part 2 - Rewrite the return expression of ComputeCircleOrEllipseCenter(). r=dholbert
MozReview-Commit-ID: 60gvYceeNiP
2017-03-13 12:03:39 +08:00
Stone Shih 7a1fe394b3 Bug 1323158 - Part 5: Update test_pointerevent_releasepointercapture_events_to_original_target-manual.html. r=smaug
--HG--
extra : rebase_source : a0bcfebeec733bd19de430169ee85311c3ceaa64
extra : histedit_source : de28bd8878ad23bad064e884e96a74f2855045a8
2017-03-03 13:24:20 +08:00
Wes Kocher 33cca3c72a Backed out 2 changesets (bug 1343695) for osx chrome mochitest assertions a=backout
Backed out changeset e5db40a036fe (bug 1343695)
Backed out changeset 687ffd715113 (bug 1343695)

MozReview-Commit-ID: 2CN1gipg3ia
2017-03-13 16:44:23 -07:00
Xidorn Quan 064bdeb45a Bug 1345804 part 3 - Change will-change to store nsIAtom rather than nsString. r=heycam
MozReview-Commit-ID: 5ISVZwKw6LI

--HG--
extra : rebase_source : 7613db7ee5cd2f4c06fd2f8a4f1b6398fd70f094
2017-03-10 12:26:53 +11:00
Kaku Kuo 93f2cee949 Bug 1345403 part 2 - Mark element tainted when DrawImage is used; r=jwwang,mattwoodrow
Mark video element as tainted (stored on the decoder owned by video element) when the video is used as source to drawImage() on canvas.

MozReview-Commit-ID: HdciVwhqPu3

--HG--
extra : rebase_source : 79e1bbdc671abb8555d68f7fb6106929c45fd528
extra : intermediate-source : 47fbcedbed69a5434b1cb25b8f72f862e9cefeac
extra : source : 149234329b62015dfd2e954030c23bf9c6b1d55e
2017-03-08 19:41:08 +08:00
Brad Werth 1a39a40cd5 Bug 1343695 Part 1: Retrieve text content with GetRenderedText. r=mats
MozReview-Commit-ID: 4VLoaTlDELG

--HG--
extra : rebase_source : 4cc21c8d0de752ef927982e9d451bf46d3ca9877
2017-03-01 16:15:22 -08:00
Stone Shih e82b7fd9f9 Bug 1323158 - Part 4: Refine PE boundary events related testcases since boundary events are fired after capturing or releasing the pointer. r=smaug
--HG--
extra : rebase_source : acc2d7fb4df3168a5b81cc505d78f5f3b212af92
extra : histedit_source : 5acaa0c7361bb3694d05a33e104e9c861e213bc2
2017-01-19 11:11:50 +08:00
Stone Shih b3c77294ca Bug 1323158 - Part 3: Fire boundary events when dispatching gotpointercapture. r=smaug
--HG--
extra : rebase_source : e70ab21585d38a64c657c260b722ef1a09d87ae9
extra : histedit_source : 46a0483c2c7efb76a752ef472baa1bca28650241
2017-01-20 15:00:07 +08:00
Stone Shih 81ba46489f Bug 1323158 - Part 2: Remove those PE boundary events test cases which are out of date. r=smaug
--HG--
extra : rebase_source : 33ddd9910891a0027abeea84a7f4b3e378b9dde1
extra : histedit_source : 34e2d54d7fdb801f29db795e2f367946dacb3f50
2017-01-23 13:43:49 +08:00
Stone Shih eb9ee92c2d Bug 1323158 - Part 1: Fire pointer and mouse boundary events when capturing the pointer. r=smaug
--HG--
extra : rebase_source : 2895681bb5d0e4872dc37f9d67dc4e2928bdce33
extra : histedit_source : e08adaaf7299e9667eb1f3887ef518c5edf5dc59
2017-01-18 15:25:44 +08:00
Stone Shih 4db46fd00d Bug 1346166 - Set isHandlingUserInput = true when dispatching pointerdown and pointerup. r=smaug 2017-03-11 14:10:52 +08:00
Jonathan Watt a446a17a47 Bug 1345908 - Remove nsLayoutUtils::HasCSSBoxLayout. r=cjku 2017-02-07 21:11:53 +00:00
Timothy Nikkel 9eca2208bd Bug 1346109. Change the image visibility frame walker to handle missing displayport base rects. r=botond
We set the base rect for root scroll frames of root content documents and top level documents because it is quick and easy to calculate it.

Otherwise we ignore the display port if we are missing a base rect, and treat it like a scrollframe without a displayport. This is likely better behaviour as if the base rect is missing the computed displayport may not even cover what is currently visible.
2017-03-11 01:00:51 -06:00
Timothy Nikkel 887111ab7d Bug 1346109. Add a function that returns if we need a displayport base rect for calculating a displayport. r=botond 2017-03-11 00:58:09 -06:00
Timothy Nikkel a1eedef49b Bug 1346109. Factor out a GetDisplayPortData function which gets the displayport data and chooses between margin and rect based data. r=botond
It will be used in the next patch.
2017-03-11 00:58:08 -06:00
Jonathan Watt ca0876480e Bug 1345841 - Stop using Maybe<const T>. r=mats 2017-02-07 11:52:22 +00:00
Carsten "Tomcat" Book ff280be102 Merge mozilla-central to mozilla-inbound 2017-03-10 11:42:15 +01:00
Xidorn Quan 6eb58892f8 Bug 1345343 - Add a pref to turn off effect of xml:base on style attribute. r=bz
MozReview-Commit-ID: EzNLxIW0OCv

--HG--
extra : rebase_source : 7c6d1278ed47d35b109bbe3e6305032b7f125fa4
2017-03-10 18:04:34 +11:00
Hiroyuki Ikezoe 843466ec0d Bug 1341985 - Trigger the second traversal for updating CSS animations. r=birtles,heycam
The restyle request during restyling is a result of creating/updating/removing
CSS animations that will come from a SequentialTask which will be implemented
in a subsequent patch.

MozReview-Commit-ID: JoAqvcN3y51

--HG--
extra : rebase_source : fdff59771b81518509dfd52e73d3f63ddb82390d
2017-03-10 11:53:19 +09:00
Hiroyuki Ikezoe 58ea47fbe4 Bug 1341985 - We call EnsureTimerStarted on the main-thread after the traversal. r=heycam
We end up calling it in SequentialTask for updating CSS animations.

MozReview-Commit-ID: 7ip5XzU0VFb

--HG--
extra : rebase_source : 53b867d90ceea1547a1d35901360f6de8705aa02
2017-03-10 11:53:17 +09:00
Carsten "Tomcat" Book 6d06361383 merge mozilla-inbound to mozilal-central a=merge 2017-03-09 11:23:25 +01:00
Boris Zbarsky 2c7f4763df Bug 1345362 part 6. Make ::-moz-pagebreak a non-inheriting anon box. r=heycam
MozReview-Commit-ID: ClqKv8HOFj4

--HG--
extra : rebase_source : 33785fdf7c14cf401d7c5a519ed2927db13c3077
2017-03-08 23:50:59 -05:00
Boris Zbarsky 964a12c306 Bug 1345362 part 4. Rename ResolveAnonymousBoxStyle to ResolveInheritingAnonymousBoxStyle. r=heycam
MozReview-Commit-ID: GVA1fTh0RDv

--HG--
extra : rebase_source : 4333baf6764f346d68836e387fa002705684bfdd
2017-03-08 23:50:28 -05:00
Boris Zbarsky b537f110e2 Bug 1345362 part 3. Introduce CSSPseudoElementType::NonInheritingAnonBox to represent non-inheriting anon boxes. r=heycam
The idea is to be able to call the right function during style resolution time
without doing a linear walk via nsCSSAnonBoxes::IsNonInheritingAnonBox.

MozReview-Commit-ID: JKt33GggTjz

--HG--
extra : rebase_source : fcf477dcef8529c803bf97b1d3a16f8f4fcea39f
2017-03-08 23:41:04 -05:00
Wes Kocher 1e99d508d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: DaPlT30qXzs
2017-03-08 17:15:46 -08:00
Wes Kocher 3842d8fcef Merge inbound to central, a=merge
MozReview-Commit-ID: 62e9XDudUlc
2017-03-08 17:07:55 -08:00
Hiroyuki Ikezoe 11c8680e9d Bug 1344619 - Part 7: Drop EffectCompositor::ClearElementsToRestyle. r=birtles
MozReview-Commit-ID: DlTj2OR0wI0

--HG--
extra : rebase_source : 33307226315e6fb3facb000214e27d5582279dd6
2017-03-09 05:20:17 +09:00
Boris Zbarsky 021078e722 Bug 1343879. Be consistent about the parent style context the document-level anonymous content container should get: it should get no parent style context. r=bholley
MozReview-Commit-ID: 8cVsXhVWBgS
2017-03-08 03:14:10 -05:00
Andreas Farre 85536fcfc4 Bug 1337392 - Update test cases to match new cursor behavior. r=smaug
MozReview-Commit-ID: 4BdZyeqTBAx
2017-03-08 16:41:42 +01:00
Carsten "Tomcat" Book f6885163cd Merge mozilla-central to mozilla-inbound 2017-03-08 14:28:34 +01:00
Carsten "Tomcat" Book 98d5664d03 Backed out changeset 7bf4e5ea128d (bug 1343879) for causing merge conflicts
--HG--
extra : rebase_source : 50bfa0845a029bd578398fb99180304fe6ba56ab
2017-03-08 14:23:57 +01:00
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Boris Zbarsky 9f7f500011 Bug 1343879. Be consistent about the parent style context the document-level anonymous content container should get: it should get no parent style context. r=bholley
MozReview-Commit-ID: 8cVsXhVWBgS
2017-03-08 03:14:10 -05:00
Boris Zbarsky f12067d36e Bug 1343078 part 7. Make placeholders a non-inheriting anon box. r=dbaron
MozReview-Commit-ID: 3kQQroDRlr8

--HG--
extra : rebase_source : 6b1c8e0c1f287532badedb50439e415f97a4cf81
2017-03-08 00:18:40 -05:00
Boris Zbarsky 3cfe8ca0d3 Bug 1343078 part 5. Change the restyle manager to handle style contexts with no parent in ReparentStyleContext (by doing nothing with them). r=dbaron
MozReview-Commit-ID: 9a89RV8mKYn

--HG--
extra : rebase_source : 8641a122cd5e8f91589757a2878256a0bd675aff
2017-03-08 00:18:39 -05:00
Boris Zbarsky ca2ae1cf7a Bug 1343078 part 1. Give placeholders and first-letter continuations different kinds of anonymous boxes. r=dbaron
MozReview-Commit-ID: B5IHgVUo1Rp

--HG--
extra : rebase_source : d7eab69a0dbcf0a460a249d843c5510a470b5a04
2017-03-08 00:18:32 -05:00
Daisuke Akatsuka 6a4003cbb2 Bug 1339332 - Part 1: Introduce neutral value concept for missing keyframe in CSS Animation. r=birtles,hiro
MozReview-Commit-ID: F3qvRY3SRAp

--HG--
extra : rebase_source : fa05c4c47000a348bfa3f01eb2cae9b082b882f5
2017-03-08 10:07:08 +09:00
Ting-Yu Lin 88865e6258 Bug 1341588 Part 3 - Extend phone number selection only if it is already a phone number. r=mtseng
MozReview-Commit-ID: D25xl0oAD4o

--HG--
extra : rebase_source : 0ca3ffe41bbf5f5e9b353b3455fbd88b63417262
2017-03-07 17:21:26 +08:00
Ting-Yu Lin 8ccfd5c8a6 Bug 1341588 Part 2 - Add StringifiedSelection() to simplify code. r=mtseng
MozReview-Commit-ID: 1tRG8WY13ok

--HG--
extra : rebase_source : 97cd124299059b082583d503bcbf56da15db08e3
2017-03-07 17:09:39 +08:00
Ting-Yu Lin 5ee24f0a0a Bug 1341588 Part 1 - Add spaces to the static comments for aesthetic reason. r=mtseng
MozReview-Commit-ID: IMZQ1v2KsI0

--HG--
extra : rebase_source : 4bb53124bd7333e22e803ec6851820682569ec2a
2017-03-07 16:19:31 +08:00
Bobby Holley 18cf417f1d Bug 1344386 - Followup bustage fix for bad implicit constructor. r=me
MozReview-Commit-ID: Bq457xGGGsl
2017-03-07 14:00:19 -08:00
Bobby Holley 6d5a642e48 Bug 1343937 - Crashtest. r=bz
MozReview-Commit-ID: IgE5gMbcgc6
2017-03-07 13:55:24 -08:00
Bobby Holley b0a17f9f9c Bug 1343937 - Exempt scrollbar NAC from the new NAC semantics. r=bz
MozReview-Commit-ID: 8TbFkirYOy2
2017-03-07 13:54:38 -08:00
Bobby Holley 3439f1454b Bug 1343937 - Implement and use GetInFlowParent. r=bz
MozReview-Commit-ID: 3xMjHnVO2Az
2017-03-07 13:54:36 -08:00
Bobby Holley 09bc17720b Bug 1344386 - Don't look for overlapping change hints in stylo documents. r=emilio
MozReview-Commit-ID: 9wK8TTXolPM
2017-03-07 13:14:32 -08:00
L. David Baron 28780037e3 Bug 1187851 followup - Fix DEBUG-only code to print name of nsChangeHint_UpdateContainingBlock. No review.
48d5d4b398c2 (Bug 1187851 patch 3) renamed this change hint, but didn't
fix the code that prints change hints when debugging.

This is particularly confusing since 5fd6dd2bdbfa (Bug 1301500)
reintroduced a different change hint with that name.
2017-03-06 16:10:38 -08:00
Jonathan Watt 94608339b3 Bug 1058040, part 12 - Make SVGImageContext's ctor's aViewportSize parameter optional. r=dholbert 2017-01-30 13:25:00 +00:00
Brian Birtles b76eae29e9 Bug 1345356 - Drop FIXME comment about only needing to flush throttled animations; r=heycam DONTBUILD (comment-only)
This comment in no longer correct since we now have a separate animation
restyle which should update *all* animations. If we fail to update animations
during the animation restyle and update them during the subsequent non-animation
restyle we risk triggering transitions from these animations.

--HG--
extra : rebase_source : a741103a734701d27885fc3dc5c98020984288fb
2017-03-09 08:38:47 +09:00
Iris Hsiao bdff9504ef Backed out 5 changesets (bug 1345403) for permanent failure in autophone Mdm tests
Backed out changeset f6415ae0ba89 (bug 1345403)
Backed out changeset ac12e246a808 (bug 1345403)
Backed out changeset a3e4ce12194f (bug 1345403)
Backed out changeset ba072186c917 (bug 1345403)
Backed out changeset 7a7d6e9b8329 (bug 1345403)
2017-03-13 15:28:14 +08:00
Kaku Kuo fe566c1222 Bug 1345403 part 2 - Mark element tainted when DrawImage is used; r=jwwang,mattwoodrow
Mark video element as tainted (stored on the decoder owned by video element) when the video is used as source to drawImage() on canvas.

MozReview-Commit-ID: HdciVwhqPu3

--HG--
extra : rebase_source : b26c257afaaabdd6346a5421988d95e82281d7ef
extra : source : 149234329b62015dfd2e954030c23bf9c6b1d55e
2017-03-08 19:41:08 +08:00
Cameron McCormack e309269346 Bug 1291786 - stylo: Move eRestyle_Subtree translation handling to Servo. r=bholley
MozReview-Commit-ID: LHTJzImnj6h

--HG--
extra : rebase_source : 1c3f9f7dd729a129f02ed3d803e25119bb653dc0
2017-03-10 17:54:19 +08:00
Sebastian Hengst 9b8a16275b Backed out changeset 732eb7783912 (bug 1335475) 2017-03-10 23:27:05 +01:00
Benjamin Smedberg 9c5ff4c5e1 Bug 1335475 - Fix test_chrome_over_plugin_window to not load plugins from a data: URI, r=dvander
MozReview-Commit-ID: 8VAisndGqYI

--HG--
extra : rebase_source : 82dfa84c7f5659478b22dbbceb38a43ca005a088
2017-03-08 14:38:37 -05:00
Carsten "Tomcat" Book d0bd960945 merge mozilla-inbound to mozilla-central a=merge 2017-03-06 10:53:27 +01:00
Hiroyuki Ikezoe d28fbf09bc Bug 1344603 - Make Stop{Animations|Transitions}ForElement as a member function of CommonAnimationManager. r=boris
MozReview-Commit-ID: LSSpWYjoPn9

--HG--
extra : rebase_source : c87ec78281b37f1cb32e38969c22fddc228d28f8
2017-03-06 13:19:09 +09:00
Emilio Cobos Álvarez 78a1fe605c Bug 1329877: Optimize AncestorFilter usage in lazy frame construction. r=bz
MozReview-Commit-ID: ErzurfQldHf

--HG--
extra : rebase_source : 62ee2020c8fa14b9475a660ea995537d6521779f
2017-02-27 23:35:06 +01:00
Bobby Holley fa5229bbea Bug 1338921 - Handle lazy frame construction in the regular post-servo pass. r=emilio
MozReview-Commit-ID: FSXKAiyZDzt
2017-03-03 14:55:22 -08:00
Bobby Holley c589f558a4 Bug 1338921 - Collect and coalesce adjacent siblings for lazy frame construction. r=emilio 2017-03-03 14:51:21 -08:00
Boris Zbarsky f4e8b5761a Bug 1340277. Fix stylo to properly update styles on the anonymous scrolled-content frame inside a scrollframe. r=emilio
MozReview-Commit-ID: DE4C6pIp8SC

--HG--
extra : rebase_source : 4e7071074791fee71b7bd61da27387035d803374
2017-03-03 16:16:11 -05:00
Boris Zbarsky 50936b7afe Bug 1343771. Fix stylo to properly update styles on the anonymous block inside a table cell. r=emilio
MozReview-Commit-ID: 8LnPTKVxxVc
2017-03-03 16:14:39 -05:00
Boris Zbarsky e5e572124c Bug 1337696. Fix change hint computation for table-outer frames to be more correct. r=emilio
MozReview-Commit-ID: LgRmTlWsM6o

--HG--
extra : rebase_source : dc18a9ca923eedbb2aaba80d515c70bd80a90d4e
2017-03-03 15:54:47 -05:00
Boris Zbarsky 799bc86f7c Bug 1340723 part 3. Fix stylo to properly update styles on the anonymous blocks we create in a block-inside-inline situation when the style of the inline changes. r=emilio
MozReview-Commit-ID: JYz6g1ZJInT

--HG--
extra : rebase_source : 356785e1de38745c9ca23a04ce58a1d53dce692b
2017-03-03 15:45:40 -05:00
Boris Zbarsky e8c584ebb8 Bug 1340723 part 2. Call the new UpdateStyleOnOwnedAnonBoxes function as needed from ServoRestyleManager. r=emilio
MozReview-Commit-ID: 5nrv8x7CEtN

--HG--
extra : rebase_source : 1c714e6e513deab2fa8ac94d8b37b0199d2a2162
2017-03-03 15:44:48 -05:00
Carsten "Tomcat" Book cf269a43bd merge mozilla-inbound to mozilla-central a=merge 2017-03-03 13:03:48 +01:00
Brad Werth f210879e4b Bug 1343978 Part 1: Change ClientRectsAndTexts usage of DOMStringList to Sequence<DOMString>. r=smaug
MozReview-Commit-ID: 8mKxdPTq4Ej

--HG--
extra : rebase_source : bd2fb4e9e9c1962f4a678bbb42816e5cfb738fa0
2017-03-02 13:13:12 -08:00
Carsten "Tomcat" Book 4a4777d1aa merge mozilla-inbound to mozilla-central a=merge 2017-03-02 14:02:48 +01:00
Iris Hsiao 72a190810a Backed out changeset 588c44c7a966 (bug 1058040)
CLOSED TREE

--HG--
extra : amend_source : 722708bf80daf7d52f18400e4924a77d2aca1b5c
2017-03-02 11:24:33 +08:00
Bobby Holley 60bdbf7857 Bug 1343362 - Allow restyle hints to be posted during change hint handling. r=emilio
MozReview-Commit-ID: 6ZU24tLQCjV
2017-03-01 22:42:51 -08:00
Wes Kocher 9746f81e53 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FzykkWPQCrq

--HG--
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
2017-03-01 17:48:44 -08:00
L. David Baron 347306cdf9 Bug 1340127 - Consider different bidi control/override values when deciding whether to consider a frame first or last. r=jfkthame
I believe the reordering of the first/last check across the code that
delves into letter frames is an improvement, but a currently undectable
one, since it appears that we don't currently allow ::first-letter
pseudo-elements to break across lines, even in the presence of
multi-character ::first-letters that are broken by
'word-break:break-all'.
2017-03-01 10:04:27 -08:00
Mats Palmgren 8ad395de87 Bug 1343606 - Crashtest.
MozReview-Commit-ID: 1EGKJEsu6OL
2017-03-02 20:45:40 +01:00
Mats Palmgren 75139be545 Bug 1343606 - Pass the correct first child frame for the lines we're going to traverse, and reset bpd.mPrevFrame since we're starting at a new line. r=jfkthame
MozReview-Commit-ID: 77CG4u22OTt
2017-03-02 20:45:40 +01:00
Jonathan Watt 5680a225ba Bug 1058040, part 12 - Make SVGImageContext's ctor's aViewportSize parameter optional. r=dholbert 2017-01-27 02:22:43 +00:00
Mats Palmgren 6ef6efaea3 Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn
* * *
Bug 1340771 part 3 - Change existing heap allocated AutoWeakFrame instances to use WeakFrame instead.  r=tn

MozReview-Commit-ID: GSuUiy98jBa
2017-03-01 18:03:14 +01:00
Mats Palmgren d13aaf9ce0 Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn
MozReview-Commit-ID: 8pl4nyeGEkr
2017-03-01 18:03:14 +01:00
Michael Layzell a54cbcb40f Bug 1343069 - Capture a strong reference to nsRootPresContext in EnsureEventualDidPaintEvent, r=mattwoodrow
MozReview-Commit-ID: GRi4afSovP4
2017-03-01 15:09:44 -05:00
Carsten "Tomcat" Book 3b3f4c17a2 merge mozilla-inbound to mozilla-central a=merge 2017-03-01 11:40:59 +01:00
Bobby Holley e3456a507a Bug 1343388 - Don't write to undisplayed contents map cache during servo traversal. r=emilio
MozReview-Commit-ID: 732bV0X80Gk
2017-02-28 18:07:48 -08:00
Stone Shih f3b56f1a20 Bug 1340085 - [Pointer Event] Stop firing pointer events after firing eTouchCancel. f=smaug. r=kats
--HG--
extra : rebase_source : 95539f13dd0316cb4c01382a4c0213b00dcb64b0
2017-02-16 15:05:09 +08:00
Bobby Holley e1e1470fda Bug 1343128 - Don't leave stale change hints and other restyle data hanging around in reconstructed subtrees. r=emilio
MozReview-Commit-ID: 4BIvC6lPUmF
2017-02-28 18:02:11 -08:00
Daniel Holbert 7e75a0fa30 Bug 1340441 part 2: Add a failsafe to remove "reftest-wait" in crashtest 1338772-1.html, after some time has elapsed. (test-only, no review)
MozReview-Commit-ID: 94yCXN8AbQ6
2017-02-27 16:53:23 -08:00
Phil Ringnalda ab84dcd8f5 Merge m-i to m-c, a=merge 2017-02-26 10:48:26 -08:00
Phil Ringnalda 13720d9c89 Merge m-c to m-i 2017-02-25 13:35:20 -08:00
Emilio Cobos Álvarez b903e8dcf2 Bug 1341083: Don't fall back to reframing with display: contents. r=heycam
MozReview-Commit-ID: KD3QBiU7M5f
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-25 19:15:43 +01:00
Emilio Cobos Álvarez 2cbefa7db5 Bug 1341083: Implement dynamic restyling for display: contents. r=heycam
MozReview-Commit-ID: KimTU2j4V4p
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-25 19:15:38 +01:00
Emilio Cobos Álvarez ddc24400e5 Bug 1341083: Cleanup infallible ProcessRestyledFrames. r=heycam
MozReview-Commit-ID: JfugKoU6caG
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-25 19:15:33 +01:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Emilio Cobos Álvarez b16dcfdba8 Bug 1342710, Bug 1324633: Update reftests and crashtests expectations.
MozReview-Commit-ID: LmapjDT6ggu
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-25 16:50:44 -08:00
Emilio Cobos Álvarez 7b7a364f71 Bug 1322317: Fix CalcStyleDifference assumptions and PeekStyleContext semantics. r=heycam
For the reasoning for this change, please see the related bugs and:

http://logs.glob.uno/?c=mozilla%23layout&s=22+Feb+2017&e=22+Feb+2017#c27236

Mainly, before this change, there was nothing forcing style structs computed in
a style context to remain computed for the new style context after a call to
CalcStyleDifference. This can make us skip change hints when a style change
doesn't force to recompute one of these structs.

MozReview-Commit-ID: FoWbLjt97Uu
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

--HG--
extra : rebase_source : 27772fc67b3c241ca4cef580112c949ad506b167
2017-02-21 16:56:43 +01:00
Wes Kocher 163d6c2a49 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2xWBiKMAozs
2017-02-23 16:59:01 -08:00
Kartikaya Gupta 92d49690c6 Merge m-c to graphics
MozReview-Commit-ID: BMjcETZ38gw
2017-02-23 09:51:44 -05:00
Carsten "Tomcat" Book e6b82618f4 merge mozilla-inbound to mozilla-central a=merge 2017-02-23 14:59:37 +01:00
sotaro 5d0c587887 Bug 1341163 - Update LayerManager handling PresShell::RenderDocument() r=nical 2017-02-23 10:49:46 +09:00
Wes Kocher 5295bd9f91 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AoD5GpFatBw
2017-02-21 17:41:05 -08:00
Kartikaya Gupta 276003cab6 Merge m-c to graphics
MozReview-Commit-ID: EyM1zEhgtGP

--HG--
rename : devtools/client/netmonitor/filter-predicates.js => devtools/client/netmonitor/utils/filter-predicates.js
rename : devtools/client/netmonitor/l10n.js => devtools/client/netmonitor/utils/l10n.js
rename : devtools/client/netmonitor/prefs.js => devtools/client/netmonitor/utils/prefs.js
rename : devtools/client/netmonitor/request-utils.js => devtools/client/netmonitor/utils/request-utils.js
rename : devtools/client/netmonitor/sort-predicates.js => devtools/client/netmonitor/utils/sort-predicates.js
rename : testing/talos/talos/sps_profile.py => testing/talos/talos/gecko_profile.py
rename : testing/talos/talos/profiler/sps.py => testing/talos/talos/profiler/profiling.py
rename : third_party/rust/app_units/.cargo-checksum.json => third_party/rust/app_units-0.3.0/.cargo-checksum.json
rename : third_party/rust/app_units/Cargo.toml => third_party/rust/app_units-0.3.0/Cargo.toml
rename : third_party/rust/app_units/src/app_unit.rs => third_party/rust/app_units-0.3.0/src/app_unit.rs
rename : third_party/rust/euclid-0.10.3/.cargo-checksum.json => third_party/rust/euclid-0.10.5/.cargo-checksum.json
rename : third_party/rust/euclid-0.10.3/.gitignore => third_party/rust/euclid-0.10.5/.gitignore
rename : third_party/rust/euclid-0.10.3/.travis.yml => third_party/rust/euclid-0.10.5/.travis.yml
rename : third_party/rust/euclid-0.10.3/COPYRIGHT => third_party/rust/euclid-0.10.5/COPYRIGHT
rename : third_party/rust/euclid-0.10.3/Cargo.toml => third_party/rust/euclid-0.10.5/Cargo.toml
rename : third_party/rust/euclid-0.10.3/LICENSE-APACHE => third_party/rust/euclid-0.10.5/LICENSE-APACHE
rename : third_party/rust/euclid-0.10.3/LICENSE-MIT => third_party/rust/euclid-0.10.5/LICENSE-MIT
rename : third_party/rust/euclid-0.10.3/README.md => third_party/rust/euclid-0.10.5/README.md
rename : third_party/rust/euclid-0.10.3/src/approxeq.rs => third_party/rust/euclid-0.10.5/src/approxeq.rs
rename : third_party/rust/euclid-0.10.3/src/length.rs => third_party/rust/euclid-0.10.5/src/length.rs
rename : third_party/rust/euclid-0.10.3/src/lib.rs => third_party/rust/euclid-0.10.5/src/lib.rs
rename : third_party/rust/euclid-0.10.3/src/macros.rs => third_party/rust/euclid-0.10.5/src/macros.rs
rename : third_party/rust/euclid-0.10.3/src/matrix2d.rs => third_party/rust/euclid-0.10.5/src/matrix2d.rs
rename : third_party/rust/euclid-0.10.3/src/matrix4d.rs => third_party/rust/euclid-0.10.5/src/matrix4d.rs
rename : third_party/rust/euclid-0.10.3/src/num.rs => third_party/rust/euclid-0.10.5/src/num.rs
rename : third_party/rust/euclid-0.10.3/src/point.rs => third_party/rust/euclid-0.10.5/src/point.rs
rename : third_party/rust/euclid-0.10.3/src/rect.rs => third_party/rust/euclid-0.10.5/src/rect.rs
rename : third_party/rust/euclid-0.10.3/src/scale_factor.rs => third_party/rust/euclid-0.10.5/src/scale_factor.rs
rename : third_party/rust/euclid-0.10.3/src/side_offsets.rs => third_party/rust/euclid-0.10.5/src/side_offsets.rs
rename : third_party/rust/euclid-0.10.3/src/size.rs => third_party/rust/euclid-0.10.5/src/size.rs
rename : third_party/rust/euclid-0.10.3/src/trig.rs => third_party/rust/euclid-0.10.5/src/trig.rs
rename : tools/profiler/core/platform-linux.cc => tools/profiler/core/platform-linux-android.cpp
rename : tools/profiler/core/platform-macos.cc => tools/profiler/core/platform-macos.cpp
rename : tools/profiler/core/platform-win32.cc => tools/profiler/core/platform-win32.cpp
extra : amend_source : ad1a9da624ec302a61021cb1b44af5a37ce0450e
2017-02-21 10:58:47 -05:00
Kartikaya Gupta f62b8b3b3f Merge m-c to graphics
MozReview-Commit-ID: IN2hMCjMHLL

--HG--
rename : browser/components/extensions/test/browser/browser_ext_url_overrides.js => browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillContent.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHandler.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHeuristics.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/content/FormAutofillFrameScript.js
rename : browser/themes/shared/devedition/urlbar-history-dropmarker.svg => browser/themes/shared/compacttheme/urlbar-history-dropmarker.svg
rename : config/tests/makefiles/autodeps/check_mkdir.tpy => config/tests/makefiles/autodeps/check_mkdir.py
rename : dom/bindings/MozMap.h => dom/bindings/Record.h
rename : dom/bindings/parser/tests/test_mozmap.py => dom/bindings/parser/tests/test_record.py
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp => dom/media/platforms/wrappers/MediaDataDecoderProxy.cpp
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.h => dom/media/platforms/wrappers/MediaDataDecoderProxy.h
rename : dom/tests/mochitest/general/test_interfaces.html => dom/tests/mochitest/general/test_interfaces.js
rename : dom/workers/test/test_navigator.html => dom/workers/test/test_navigator.js
rename : js/src/jsautokw.py => js/src/frontend/GenerateReservedWords.py
rename : js/src/vm/Keywords.h => js/src/frontend/ReservedWords.h
rename : layout/base/RestyleManager.cpp => layout/base/GeckoRestyleManager.cpp
rename : layout/base/RestyleManager.h => layout/base/GeckoRestyleManager.h
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002-ref.xht => layout/reftests/bugs/1313772-ref.xhtml
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002.xht => layout/reftests/bugs/1313772.xhtml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/deny_public_fields/Cargo.toml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/domobject_derive/Cargo.toml
rename : servo/components/plugins/lints/ban.rs => servo/components/script_plugins/ban.rs
rename : servo/components/plugins/jstraceable.rs => servo/components/script_plugins/jstraceable.rs
rename : servo/components/plugins/lib.rs => servo/components/script_plugins/lib.rs
rename : servo/components/plugins/lints/unrooted_must_root.rs => servo/components/script_plugins/unrooted_must_root.rs
rename : servo/components/plugins/utils.rs => servo/components/script_plugins/utils.rs
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex-manual.html
rename : testing/web-platform/tests/preload/link_header_preload_delay_onload.html.headers => testing/web-platform/tests/preload/link-header-preload-delay-onload.html.headers
rename : testing/web-platform/tests/preload/link_header_preload.html.headers => testing/web-platform/tests/preload/link-header-preload.html.headers
rename : services/sync/tests/unit/test_extension_storage_crypto.js => toolkit/components/extensions/test/xpcshell/test_ext_storage_sync_crypto.js
rename : toolkit/components/telemetry/TelemetryComms.h => toolkit/components/telemetry/ipc/TelemetryComms.h
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.h => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h
extra : amend_source : 7411c39541f0b530b4b94cf359dc73e385abea4d
2017-02-17 23:33:24 -05:00
Wes Kocher 8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Vedant Sareen 7d4bd52fae Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Mason Chang ef3d9a921c Bug 1337130 - Create a DisplayItemLayer type. r=mattwoodrow 2017-02-14 13:49:27 -08:00
Carsten "Tomcat" Book afe4d4b240 merge mozilla-inbound to mozilla-central a=merge 2017-02-17 13:24:55 +01:00
Wes Kocher c8fa3242ab Merge m-c to inbound, a=merge
MozReview-Commit-ID: Lt0WpWkto4h
2017-02-13 17:07:33 -08:00
Wes Kocher 252dae269a Merge inbound to central, a=merge
MozReview-Commit-ID: Gx7IszkCDZ4
2017-02-13 17:04:20 -08:00
Phil Ringnalda 7e33a1ba60 Merge m-c to autoland 2017-02-20 20:32:46 -08:00
Phil Ringnalda a32e53440c Merge m-i to m-c, a=merge 2017-02-20 20:28:42 -08:00
Cameron McCormack 6a09f48246 Bug 1337258 - Support ServoStyleSheets in nsStyleSheetService. r=xidorn
MozReview-Commit-ID: 4vaHzDBZHFg

--HG--
extra : rebase_source : cb6e075e88c66a89bf6711db4ba913d62fd421ad
2017-02-21 10:42:27 +08:00
Sebastian Hengst 6c12088216 Backed out changeset 3a8c78a6146f (bug 1283947) for failing browser_animation_pseudo_elements.js on Linux opt without e10s. r=backout 2017-02-20 22:47:24 +01:00
Carsten "Tomcat" Book 85079555b0 Merge mozilla-central to autoland 2017-02-20 14:12:30 +01:00
Carsten "Tomcat" Book 9857d2af8e merge mozilla-inbound to mozilla-central a=merge 2017-02-20 14:05:25 +01:00
Olli Pettay 2813f928a1 Bug 1340869, crash @ RefreshDriverVsyncObserver::RecordTelemetryProbes, r=stone
--HG--
extra : rebase_source : 249f90374059cf6af878ed7cf2ce9589c58ebcfb
2017-02-20 10:24:46 +02:00
Ting-Yu Lin 1578a6f939 Bug 1338445 - Restrict whitespace match in phone number regex for AccessibleCaret. r=mtseng
In phoneRegex, replace '\\s ' (matching a whitespace character) with ' '
since phone number won't contain something like new line or tab.

Also, consider it done if selected text is not changed after calling
Modify().

MozReview-Commit-ID: 2lB9w2gYCOD

--HG--
extra : rebase_source : f2ea498bbd17c1876a9b7f769cbe93cef84520bb
2017-02-17 22:38:08 +08:00
Daniel Holbert a7bc3e8898 Bug 1340441: Try to make crashtest 1338772-1.html more reliable. (no review, test-only)
This crashtest removes "reftest-wait" in a resize handler. Right now, that
resize handler isn't always being reliably triggered on TreeHerder. I suspect
this is because we handle the resize before we've ever done layout on the thing
being resized (the contentWindow inside of "inner"). So this patch establishes
an explicit size & explicitly triggers a reflow (via "offsetTop") on
inner.contentWindow, before we perform the resize tweak. This should make the
resize handler be triggered more reliably (100% reliably, I expect).

MozReview-Commit-ID: LX0SR8H6jW3
2017-02-22 15:09:57 -08:00
Jonathan Watt 78009dd7a8 Bug 1341174 - Bring the declarations of the four Draw*Image() methods in nsLayoutUtils.h back together. r=dholbert 2017-01-24 17:32:11 +00:00
Daniel Holbert 1c89a88adf Bug 1338772 followup: add crashtest. (no review)
MozReview-Commit-ID: EvjPG1H2GP8
2017-02-16 16:49:11 -08:00
Daniel Holbert 2bf2cfcd23 (no bug) Tweak some source files in layout to have correct number of newline characters at the end (exactly 1). (no review, whitespace-only, DONTBUILD)
MozReview-Commit-ID: 1hEEkCMy0pL
2017-02-22 08:58:50 -08:00
Jessica Jong cf17189117 Bug 1340086 - Remove uses of AnimationsPaused() since it is always false after bug 1316330. r=mrbkap 2017-02-22 01:00:00 -05:00
Olli Pettay 3932536b22 Bug 1339135, if processing high priority vsyncs takes too much time, fallback to normal priority, r=afarre
--HG--
extra : rebase_source : c61b0d913e7b2fb1f101d85ee79d76f76717b53a
2017-02-16 18:50:44 +02:00
Wes Kocher b0b1d367ca Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3ZzrFonZOIV
2017-02-16 09:28:52 -08:00
Carsten "Tomcat" Book f3b2544de0 Merge mozilla-central to autoland 2017-02-16 13:20:11 +01:00
Carsten "Tomcat" Book b218b4c6ae merge mozilla-inbound to mozilla-central a=merge 2017-02-16 13:15:55 +01:00
Phil Ringnalda d2fa909610 Backed out 4 changesets (bug 1331322) for Android reftest failures in 1169331-1.html and forced-bg-color-outside-visible-region.html
Backed out changeset 96c6b5a11284 (bug 1331322)
Backed out changeset 15877d32de7d (bug 1331322)
Backed out changeset 841d608704d7 (bug 1331322)
Backed out changeset 02096c5eb029 (bug 1331322)
2017-02-15 21:24:00 -08:00
Ting-Yu Lin 961a315c82 Bug 1326407 Part 2 - Extract a function to compute inset radii. r=dbaron
MozReview-Commit-ID: 3XbfW40AJCI

--HG--
extra : rebase_source : 074d5110759ff6ec4632104109d9a11d01d9cbf7
2017-02-16 10:51:48 +08:00
Ting-Yu Lin 3c289a249f Bug 1326407 Part 1 - Extract a function to compute inset rect. r=dbaron
MozReview-Commit-ID: DmVOVArtzBZ

--HG--
extra : rebase_source : 835edd63d53cb439f4ebcd0551a2d4a8065f1ba6
2017-02-16 10:51:47 +08:00
Ting-Yu Lin a43fbc3c79 Bug 1326407 Part 0 - Add assertion to ShapeUtils functions. r=me
Address Bug 1326407 comment 11.

MozReview-Commit-ID: 8Iy5q3f4yPd

--HG--
extra : rebase_source : b640816e4e06ad172a9322780886fcb47f94507c
2017-02-16 10:51:47 +08:00
Wes Kocher 3797956aa6 Merge m-c to inbound a=merge
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Wes Kocher 017c515285 Merge inbound to m-c a=merge
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Wes Kocher 6b1e9cee10 Backed out 2 changesets (bug 842114) for causing merge conflicts while merging to m-c a=backout
Backed out changeset d50d32601e7f (bug 842114)
Backed out changeset 95eabf0aa83b (bug 842114)

MozReview-Commit-ID: JUvhzeZdsMk
2017-02-15 16:17:38 -08:00
Neil Deakin af174032a4 Bug 1109868, panels should watch their anchors for position and visibility changes and update accordingly, r=tn 2017-02-16 08:53:59 -05:00
Daniel Holbert cd9e13195a Bug 1338772: Move mInFlush tweak a bit closer to the actual flushing, in PresShell::FlushPendingNotifications. r=bz
MozReview-Commit-ID: 9jeQVl6iX56
2017-02-15 09:55:33 -08:00
Bill McCloskey 0cda76d680 Bug 1339289 - Give names to a lot of common timers (r=ehsan)
MozReview-Commit-ID: IMsv5bkyjBL
2017-02-15 12:30:01 -08:00
Bill McCloskey 194043ae97 Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
cku 122f0704a3 Bug 824300 - Part 2. Crash test. r=heycam
MozReview-Commit-ID: DwGv68izJ1

--HG--
extra : rebase_source : c427a68e257ba83b605356d9b5fdb20ca7885c20
extra : source : 4b4f9b149ce7e7cf2946494704dcd46005ab193a
2017-02-04 20:44:32 +08:00
cku ecf9b73290 Bug 842114 - Part 2. Crash test. r=heycam
MozReview-Commit-ID: AT2Zfq4IbGT

--HG--
extra : rebase_source : 1fef56ebe717807258d176fba13b153b5bd4349c
extra : source : 632e8699aee253293769b55da2a8e9dafc939297
2017-02-03 23:00:18 +08:00
Carsten "Tomcat" Book 8c454e1c69 Merge mozilla-central to mozilla-inbound 2017-02-15 12:43:50 +01:00
Carsten "Tomcat" Book ed3d8d8286 merge mozilla-inbound to mozilla-central a=merge 2017-02-15 12:21:44 +01:00
Emilio Cobos Álvarez 1c42d767e8 Bug 1338678: Only disallow lazy frame construction for direct children of display: contents elements. r=mats,bz
MozReview-Commit-ID: 3lQ3LIVMZgt
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-15 11:53:25 +01:00
Sebastian Hengst 38e0685262 Backed out changeset 69bc1e04bb2c (bug 1283947) for build bustage. r=backout on a CLOSED TREE 2017-02-15 11:30:02 +01:00
Xidorn Quan 95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
Samael Wang cb34d98c34 Bug 1283947 - Clear pending transactions when ClientLayerManager is assigning to a different refresh driver. r=mattwoodrow 2017-02-13 13:02:53 +08:00
Jeff Walden cdee578059 Bug 1287006 - Don't pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer, in layout/-related code. r=bz
--HG--
extra : rebase_source : 94377970d6ec591044a10dab1aa5568e4a051837
2017-02-13 09:07:40 -08:00
Xidorn Quan 444ba0fc97 Bug 1340033 - Remove dependency from StyleAnimationValue.h to ServoBindings.h. r=hiro
MozReview-Commit-ID: 79czvLmftmv

--HG--
extra : rebase_source : 57d7a55ed48a0e9475076fa930226b6ea99a4e22
2017-02-16 15:14:06 +11:00
cku 1d3495807b Bug 842114 - Part 2. Crash test. r=heycam
MozReview-Commit-ID: AT2Zfq4IbGT

--HG--
extra : rebase_source : f5315ebe87a3c89d400dc5cea2a82aa66603573e
2017-02-03 23:00:18 +08:00
Ting-Yu Lin 8f840dc923 Bug 775624 Part 22 - Remove NS_FRAME_COMPLETE. r=dholbert
This patch is written by the following script with some manual adjustment to
the comment in nsRubyTextContainerFrame.cpp and nsRubyFrame.cpp, and
nsColumnSetFrame's constructor.

function rename() {
find layout\
     -type f\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -r "s/$1/$2/g" "{}" \;
}

rename "nsReflowStatus *([a-zA-Z0-9]*) = NS_FRAME_COMPLETE" "nsReflowStatus \1"
rename "([a-zA-Z0-9.*]*) *= NS_FRAME_COMPLETE;" "\1.Reset();"
rename "([a-zA-Z0-9.*]*) == NS_FRAME_COMPLETE" "\1.IsEmpty()"

MozReview-Commit-ID: 9tqQAHvdQex

--HG--
extra : rebase_source : 3119776946dc2c8350098b7bf9f3ceff29bdffb5
2017-02-14 17:55:48 +08:00
Markus Stange 60319001e0 Bug 1340709 - Rename the profiler tracing marker for the refresh driver tick from RD to RefreshDriverTick. r=mattwoodrow
MozReview-Commit-ID: 9yrrH3T6l4c

--HG--
extra : rebase_source : b70867e20f86eeb71144ad9481f7c129b6ca9e62
2017-02-17 20:10:38 -05:00
Markus Stange b43e156ce1 Bug 1340709 - Add profiler tracing markers for more phases of the refresh tick. r=mattwoodrow
This adds markers for FireScrollEvent, DispatchSynthMouseMove, ForwardTransaction, and NotifyDidPaint.

MozReview-Commit-ID: 9XahFGzIOls

--HG--
extra : rebase_source : 1985b2a11777a17dac621a35632f138a76224b0f
2017-02-17 13:03:37 -05:00
Brad Werth fdb4d5280d Bug 1334088 Part 2: Add tests of Range.getClientRectsAndTexts. r=jfkthame
MozReview-Commit-ID: 4VvrHSxR1ry

--HG--
extra : rebase_source : b982ed19b8dc8a149bfae2e765d7856c05f424e5
2017-02-23 10:22:54 -08:00
Brad Werth f84debc418 Bug 1334088 Part 1: Correct BoxToRectAndText to respect content offset and length when returning text. r=jfkthame
MozReview-Commit-ID: Kd3DIqZdBFY

--HG--
extra : rebase_source : bdf56695b58ca5500f2e47b90182c9ebf2d75de4
2017-02-17 14:57:37 -08:00
cam@mcc.id.au 34be31a2d7 Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo. r=bholley
MozReview-Commit-ID: LO0t92orjWZ

--HG--
extra : rebase_source : 56611b57af30555f46e8d417f95690fb5d6ab115
2017-01-13 03:21:11 +00:00
Bobby Holley 4588a4f2db Bug 1331322 - Add a flag to indicate that a node is native anonymous content. r=bholley
--HG--
extra : rebase_source : f32a12b6cca7f4a5d73dd2169414a745ddbf2926
2017-01-20 18:28:46 -08:00
Boris Zbarsky 566ca43b49 Bug 1324661 another followup: just simplify the chnagehint thing for now, with a followup filed. r=bholley
MozReview-Commit-ID: G9IvoODSOch
2017-02-17 17:50:24 -05:00
Wes Kocher dda9a2cfb8 Merge m-c to autoland a=merge
MozReview-Commit-ID: 7m1sarjIoLM
2017-02-17 13:50:13 -08:00
Boris Zbarsky 54baf750e7 Bug 1324661 followup: check our child hint before trying to append it. r=bholley
MozReview-Commit-ID: 3FIBludwV7j
2017-02-17 16:36:12 -05:00
Boris Zbarsky 96054e12cc Bug 1324661 part 1. When recreating style contexts for elements in stylo, use the right frame (not the primary frame!) for tables. r=bholley,emilio
For a table, the primary frame is the table wrapper anonymous box.  That
anonymous box inherits style from its _child_ table frame, which is the frame that
has the actual style for the element.  So we want to use the stylo-computed
style for the table frame, and then compute an updated style for the table
wrapper too, because some things (like absolute positioning) are done for the
table wrapper anonymous box, not the table frame.
2017-02-17 14:52:39 -05:00
Bobby Holley eaee1dbb37 Bug 1340022 - Implement "handled for descendants" tracking for RestyleDamage. r=emilio
MozReview-Commit-ID: Bbk99ogILXC

--HG--
extra : rebase_source : 2998f39a67c39073ea66e3e12815e1a7a25f7c9d
2017-02-15 19:36:57 -08:00
Markus Stange 413dfd064d Bug 1275347 - Move the display list profiler marker to the right place. r=mattwoodrow
MozReview-Commit-ID: JcSmqlXlr4A

--HG--
extra : rebase_source : f3f5982a0c9e8b63310c0134617cf6edf11893fe
2017-02-16 19:18:37 -05:00
Hiroyuki Ikezoe 9a0f973f38 Bug 1340340 - Stop mutating nsRefreshDriver during parallel traversal. r=heycam
MozReview-Commit-ID: D5VYPWXm5jO

--HG--
extra : rebase_source : 2cee4c4ec1e3a9d2fa94a4b20d568cc20bfadb49
2017-02-20 14:37:13 +09:00
Samael Wang 6cd355d7b2 Bug 1283947 - Clear pending transactions when ClientLayerManager is assigning to a different refresh driver. r=mattwoodrow 2017-02-20 16:25:09 +08:00
Mats Palmgren 3f06dc5432 Bug 1339287 - Don't blockify 'display' in ApplyStyleFixups unless aFrame really is a flex/grid container frame, not just has display:flex/grid. r=dholbert 2017-02-20 17:43:08 +01:00
Mats Palmgren ec4f6376fc Bug 410857 part 4 - Stop passing around aBlockFrame just for DEBUG purposes. Introduce BidiParagraphData::mCurrentBlock for that purpose and set it to the right block continuation this time. r=jfkthame 2017-02-20 17:43:08 +01:00
Mats Palmgren 8e10f864fc Bug 410857 part 3 - Cache the PresContext instead of fetching it for every paragraph. r=jfkthame 2017-02-20 17:43:08 +01:00
Mats Palmgren a908f9773e Bug 410857 part 1 - Traverse overflow lines too so we don't miss some text. r=jfkthame 2017-02-20 17:43:08 +01:00
Tom Tromey d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Carsten "Tomcat" Book dacc230ad3 Merge mozilla-central to autoland 2017-02-15 12:59:23 +01:00
Tom Tromey 5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Tom Tromey f8ab4ddf02 Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
MozReview-Commit-ID: JifhpA3oOeH

--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Carsten "Tomcat" Book 2b24bba0a1 Merge mozilla-central to autoland 2017-02-17 13:28:16 +01:00
Ting-Yu Lin eaa14d29dc Bug 1339797 - Fix select-all events fired by touch incorrectly hide the carets. r=mtseng
sHideCaretsForMouseInput is default to true on all platforms. When clicking
"SELECT ALL" on Fennec toolbar in <input>, AccessibleCaretManager will
receive SELECTALL_REASON with MOZ_SOURCE_TOUCH.

We should hide the carets only if the select-all reason is fired by
keyboard, not by touch.

MozReview-Commit-ID: D7FYIH5ZGS0

--HG--
extra : rebase_source : 4cbd741b6f4b58830c1bd5cb3ac2e3a43782f02c
2017-02-17 14:08:48 +08:00
Cameron McCormack 4e7979acae Bug 1340090 - Annotate fall through to satisfy static analysis on a CLOSED TREE. r=me a=tomcat+bustage-fix 2017-02-17 01:38:00 +01:00
Cameron McCormack 414df18eb5 Bug 1340090 - Make nsStyleSheetService notify PresShells directly instead of using the observer service. r=bz
MozReview-Commit-ID: 4xz422B6GSv

--HG--
extra : rebase_source : 5b6c132c5dcace04a6d1c3a6ba05a4b207f6bbba
2017-02-17 15:56:28 +08:00
Matt Woodrow 4be7d40139 Bug 1302071 - Part 5: Bucket PresContext invalidations by transaction ID, and only deliver them when the associated composite has completed. r=tnikkel
This patch does a few things:
* Buckets invalidations by transaction ID, and sends MozAfterPaints events for them when the associated composite completes.
* Creates a separate EventualDidPaint timer for each transaction ID we have invalidations for rather than just using one.
* Removes NotifyDidPaintForSubtree(PAINT_LAYERS), as it was only necessary for the existing bucketing mechanism.

MozReview-Commit-ID: JERMsgxhPQd

--HG--
extra : rebase_source : aad23cb4e77afe12ddf4ebf21db36ae6edec9692
2017-02-17 15:16:15 +13:00
Matt Woodrow f23fe59b03 Bug 1302071 - Part 4: Pass the current transaction ID to NotifyInvalidation. r=tnikkel
MozReview-Commit-ID: AMLjzElRp1l

--HG--
extra : rebase_source : f66838ab9f0ad8fbf3364a28aafb8d786770ff6e
2017-02-17 15:15:45 +13:00
Matt Woodrow 7df250f09a Bug 1302071 - Part 3: Remove flags parameter to NotifyInvalidation since it's unused. r=tnikkel
MozReview-Commit-ID: 8hC1GglMhk2

--HG--
extra : rebase_source : 79c2bb7af3ad8a878abd150fba9ad8f4a86011fd
2017-02-17 11:50:58 +13:00
Matt Woodrow ffb093db42 Bug 1302071 - Part 2: Remove ClearMozAfterPaintEvents since it's unused. r=tnikkel
MozReview-Commit-ID: FCy5y6cDXrY

--HG--
extra : rebase_source : d448b672baa702fe66d4eed229663a4b51ab95b1
2017-02-17 11:50:28 +13:00
Matt Woodrow ba6e966a12 Bug 1302071 - Part 1: Remove AddPresShellToInvalidateIfHidden since it doesn't appear to be necessary. r=tnikkel
We added this so that MozAfterPaint events would be delivered to hidden documents as part of bug 539356, but I don't remember what needed it.
It doesn't appear to be necessary for any tests any more, so let's just get rid of it

MozReview-Commit-ID: HcmIjstZyLQ

--HG--
extra : rebase_source : 3f58129b3b1588e5d39e00c157e4bdba1afeed0c
2017-02-17 11:49:29 +13:00
Cameron McCormack 87681c4e08 Bug 1297899 - Part 9: Move RestyleFor{InsertOrChange,Append,EmptyChange} and ContentRemoved up to RestyleManager. r=bholley
MozReview-Commit-ID: 4iK7oG20awJ

--HG--
extra : rebase_source : 239f6bb272e68d1afe7314177e1b74bc0166dc2e
2017-02-13 11:21:33 +08:00
Cameron McCormack b063ce2515 Bug 1297899 - Part 8: Move Content{Inserted,Appended} up to RestyleManager. r=bholley
MozReview-Commit-ID: G2XyuyxhzOz

--HG--
extra : rebase_source : 28e1674562348bf92c2c55e1f5947a1c67666e22
2017-02-13 11:21:33 +08:00
Cameron McCormack 68519d4f84 Bug 1297899 - Part 7: Move PostRestyleEventForLazyConstruction up to RestyleManager. r=bholley
MozReview-Commit-ID: 8M5wgCJp6PT

--HG--
extra : rebase_source : 1a2b7d19bcb4d71107143fa3d437ccbf62f84060
2017-02-13 11:21:33 +08:00
Cameron McCormack f63cdecde2 Bug 1297899 - Part 6: Move RestyleManagerHandle functionality into RestyleManager. r=bholley
MozReview-Commit-ID: 7lsti0bGzNr

--HG--
extra : rebase_source : 13c64026190afe5de25f540adb6deea9f518149f
2017-02-13 11:21:33 +08:00
Cameron McCormack d075b281e3 Bug 1297899 - Part 5: Move refcounting from concrete restyle manager classes up to RestyleManager. r=bholley
MozReview-Commit-ID: 2KNfNCQzIIE

--HG--
extra : rebase_source : bc788e378c6239554b27efee23d3362fe2f44a78
2017-02-13 11:21:33 +08:00
Cameron McCormack 980ec770c6 Bug 1297899 - Part 4: Store concrete restyle manager type on RestyleManager. r=bholley
MozReview-Commit-ID: AmsNPqPVm8c

--HG--
extra : rebase_source : a30ae1028a9f4b7b63e8386e7182230d6c2e8b60
2017-02-13 11:21:32 +08:00
Cameron McCormack eddea92878 Bug 1297899 - Part 3: Rename RestyleManager to GeckoRestyleManager and RestyleManagerBase to RestyleManager. r=bholley
MozReview-Commit-ID: fFTZKwmGJm

--HG--
extra : rebase_source : 42b99c8a9c5616999abae2d195d16547f1fbc80f
2017-02-13 11:21:32 +08:00
Cameron McCormack 59395be5f8 Bug 1297899 - Part 2: Rename RestyleManagerBase.{h,cpp} to RestyleManager.{h,cpp}. r=bholley
MozReview-Commit-ID: JVsfYommCoI

--HG--
rename : layout/base/RestyleManagerBase.cpp => layout/base/RestyleManager.cpp
extra : rebase_source : 45661c0bffb1bcdbe1496a54ca1d132663d63268
2017-02-13 11:21:31 +08:00
Cameron McCormack c041778642 Bug 1297899 - Part 1: Rename RestyleManager.{h,cpp} to GeckoRestyleManager.{h,cpp}. r=bholley
MozReview-Commit-ID: 1v0ufuGFtiD

--HG--
rename : layout/base/RestyleManager.cpp => layout/base/GeckoRestyleManager.cpp
rename : layout/base/RestyleManager.h => layout/base/GeckoRestyleManager.h
extra : rebase_source : 9e9432b1185697dc21eb23de93a09610a5a074bd
2017-02-13 11:21:30 +08:00
Carsten "Tomcat" Book 083dd865e6 Merge mozilla-central to autoland 2017-02-13 12:44:20 +01:00
Matt Woodrow 990efceefc Bug 1319825 - Update the overflow areas of all descendants when we toggle opacity on a preserve-3d frame. r=tnikkel 2017-02-13 13:09:17 +13:00
Hiroyuki Ikezoe 8ec82eeec6 Bug 1331704 - Part 1: Store base styles in KeyframeEffectReadOnly instead of EffectSet. r=birtles a=abillings
Now we dropped mNeedsBaseStyleSet bit set.

MozReview-Commit-ID: Gv2rU0jpyk1
2017-02-11 19:11:45 +09:00
Phil Ringnalda a235d08512 Merge m-c to m-i 2017-02-11 18:19:11 -08:00
Phil Ringnalda 215ca1024e Merge m-i to m-c, a=merge 2017-02-11 17:42:19 -08:00
Mats Palmgren b657c13404 Bug 1288946 - More crashtests. 2017-02-12 01:44:06 +01:00
Abhishek Arya 07760337a1 Bug 1288946 - Crashtest. 2017-02-12 01:44:06 +01:00