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

16973 Коммитов

Автор SHA1 Сообщение Дата
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
Olli Pettay ac190bae08 Bug 1332226, skip some refreshdriver ticks if processing ticks takes too much time, and re-enable high priority vsync, r=afarre 2017-02-11 16:42:20 +02:00
Cameron McCormack 417b9a110f Bug 1338762 - stylo: Disable a failing crashtest. r=bholley
MozReview-Commit-ID: 9YpE3pX2TYQ

--HG--
extra : rebase_source : 0084ee8b5bd7138d1d82c596a7db8b9a1b09af3a
2017-02-11 16:38:09 +08:00
Cameron McCormack 06977a5d92 Bug 1338763 - stylo: Bump restyle generation only when we do restyle things. r=bholley
MozReview-Commit-ID: 1f3l7L0hfJp

--HG--
extra : rebase_source : 8933aef7f58f06fdd3e45e2a60a7c50664977e59
2017-02-11 16:50:02 +08:00
Sebastian Hengst 559bd6a3a1 Backed out changeset e2f6d5054e20 (bug 1331704) for build bustage: unused variable hasProperty at KeyframeEffectReadOnly.h:294. r=backout on a CLOSED TREE 2017-02-11 11:37:54 +01:00
Hiroyuki Ikezoe e7c1543f3e 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
Shing Lyu 89b57b3fb1 Bug 1329919 - Skip repaint frame hint if there is no frame. r=heycam
MozReview-Commit-ID: F46VpEBJqvU

--HG--
extra : rebase_source : 809f9012a16246a119385ed40bd8fb97705a7fba
2017-02-03 10:37:08 +08:00
Kartikaya Gupta 96c394d70c Merge m-c to graphics
MozReview-Commit-ID: AXRXwXgkOTv
2017-02-10 13:57:53 -05:00
Carsten "Tomcat" Book 3ed98bee2a merge mozilla-inbound to mozilla-central a=merge 2017-02-10 13:49:56 +01:00
Kartikaya Gupta 61bc491994 Merge m-c to graphics
MozReview-Commit-ID: Ejcj1CD87t3
2017-02-09 10:12:03 -05:00
Ryan Hunt 963025a5dd Merge m-c to graphics 2017-02-08 10:57:06 -06:00
Carsten "Tomcat" Book 55606baab8 merge mozilla-inbound to mozilla-central a=merge 2017-02-08 11:30:00 +01:00
cku 6f08ab184e Bug 1287492 - Part 1. Implement nsLayoutUtils::HasCSSBoxLayout. r=mstange
There is no direct relation between this patch and the bug. Read through the code
and think we may reuse some logic.
MozReview-Commit-ID: HGEvDNGoIBS

--HG--
extra : rebase_source : b349702a787203317c6e66be0b9aa6818d532788
extra : source : b4ca22d03b6ba3e8eb9d0e3551830149ec99de82
2017-02-08 20:15:28 +08:00
Ryan Hunt 5e2990dc18 Merge m-c to graphics 2017-02-07 09:05:18 +00:00
Bobby Holley f5bde33979 Bug 1335319 - Add a global flag indicating that we're in the servo traversal. r=bz 2017-02-08 17:04:44 -08:00
Kartikaya Gupta 2c58155ac0 Merge m-c to graphics
MozReview-Commit-ID: EcjJhQuqDFI
2017-02-05 10:39:54 -05:00
Kartikaya Gupta bf7599ac75 Merge m-c to graphics
MozReview-Commit-ID: 8BjfShvh5gp
2017-02-03 10:39:57 -05:00
Kartikaya Gupta 6580d884b2 Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Carsten "Tomcat" Book 72823b1e95 merge mozilla-inbound to mozilla-central a=merge 2017-02-02 14:25:20 +01:00
Wes Kocher 30d9ef4d29 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D76dMYwFRUQ
2017-02-09 17:06:59 -08:00
L. David Baron 53a46a6356 Bug 605985 part 2 - Make -moz-appearance:none on radio and checkbox inputs make them non-replaced elements. r=dholbert 2017-02-09 21:22:40 +01:00
Cameron McCormack 90e83367ae Bug 1334768 - stylo: Test expectation adjustments for for 2017-02-09 merge. r=me
MozReview-Commit-ID: AhvCAu3NYrb
2017-02-09 21:11:09 +08:00
Thinker K.F. Li 3ca7c3950f Bug 1313753 - Update overflow at the establisher of the 3D rendering context. r=dbaron 2017-02-08 23:17:00 +01:00
Kartikaya Gupta 21e9123c56 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Kartikaya Gupta 1c269ab364 Merge m-c to graphics
MozReview-Commit-ID: 7PVyxahE0p6
2017-01-31 09:04:18 -05:00
Cameron McCormack f7f9c5f69e Bug 1324647 - stylo: Downgrade "Need to flush before destroying!" assertion since it occurs frequently. r=me
MozReview-Commit-ID: AOUnCyG4I2O
2017-01-31 15:10:45 +08:00
Wes Kocher e95e4ed8b5 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: EznJuwqcCfw
2017-01-31 15:13:44 -08:00
Cameron McCormack 590058f927 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 17:37:08 +01:00
Sebastian Hengst ed5bd31f9b Backed out changeset ad45a3da5e4a (bug 1324669) for Windows build bustage: OverflowChangedTracker.h(44). r=backout on a CLOSED TREE 2017-01-31 17:32:12 +01:00
Sebastian Hengst 82170bb7cf Backed out changeset 7771169d9f8a (bug 1324647) 2017-01-31 17:30:21 +01:00
Kartikaya Gupta 445dea068b Merge m-c to graphics
MozReview-Commit-ID: Kv6GW5ElioD
2017-01-29 08:03:30 -05:00
Ryan Hunt 3fe2c02ee1 Merge m-c to graphics 2017-01-27 10:07:37 -06:00
Cameron McCormack 95f75d80be Bug 1324647 - stylo: Downgrade "Need to flush before destroying!" assertion since it occurs frequently. r=me
MozReview-Commit-ID: AOUnCyG4I2O
2017-01-31 23:36:29 +08:00
Cameron McCormack 946b5c3633 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 23:36:12 +08:00
Tobias Schneider 96cd663692 Bug 1319134 - (intersection-observer) Switch from idle callback to post task. r=mstange
MozReview-Commit-ID: BJTmIWqkVn5

--HG--
extra : rebase_source : d568525944c934e5e3df4bd112b5798ee7cb730a
2017-02-08 10:34:02 -08:00
Ryan Hunt 434ca7039f Merge m-c to graphics 2017-01-26 08:59:21 -06:00
L. David Baron b0cf27878d Bug 1333951 - Unbreak dumping of style contexts. r=bzbarsky
Prior to this patch, dumping of style contexts in the layout
debugger would only dump the subtree associated with the root
frame, which just covers the viewport, canvas, and associated
scrollbars.

I think this has been broken since bug 236921 (2004) and
bug 378693 (2007) properly disconnected the root element from the
styles for the viewport and canvas.

This patch just manually dumps the root frame and the root
element's frame, since the style set no longer maintains a list
of all of the style context roots.

MozReview-Commit-ID: 5LEnbNtngN2

--HG--
extra : transplant_source : v%BB%09%C8M8%FE%25%A9%A6%3D%EA%BD%BE%DF7%08%9A%85m
2017-01-25 22:05:16 -08:00
Timothy Nikkel a721701822 Bug 1264798. Include the composite end time in the MozAfterPaint event. r=smaug r=mattwoodrow 2017-01-25 23:01:33 -06:00
Phil Ringnalda 39e57631eb Merge m-c to m-i 2017-01-25 20:48:39 -08:00
Emilio Cobos Álvarez 51e9294d5f Bug 1335987: stylo: Don't use the change hint to decide whether to recreate style contexts. r=bholley
MozReview-Commit-ID: 11Yyq8UE3LP
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-03 22:03:34 +01:00
Jessica Jong ed17f6c827 Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
--HG--
extra : histedit_source : 7d2215d9c049b01b883e194e0efd0e61845223a3%2C135d6e6cef429efc19bba2c03a0f73fc6441d3a1
2017-02-03 05:16:00 -05:00
Kartikaya Gupta ca041b7c5a Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Wes Kocher 65216b775b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5CIctUOTFma
2017-01-26 16:32:26 -08:00
Bobby Holley 0d6e9dc9ff Bug 1334247 - Add an explicit hook for the nsComboboxControlFrame case, and eliminate nsIAnonymousContentCreator::CreateFrameFor. r=bz 2017-01-26 15:33:06 -08:00
Mats Palmgren 2223b14373 Bug 1317464 - Zero size images are valid and shouldn't trigger warnings. Assert that the image size isn't negative though. r=tn
(intentinally skipping DrawSingleUnscaledImage for now)
2017-01-27 00:24:00 +01:00
Kartikaya Gupta 90ff407202 Merge m-c to graphics
MozReview-Commit-ID: Gds3AlDHXgY
2017-01-20 10:07:40 -05:00
Carsten "Tomcat" Book 0367e7729d Backout bug 1316330 on developers request 2017-01-20 14:16:13 +01:00
Cameron McCormack 9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Florian Quèze f5038afffa Bug 1334831 - Make the printpreview_bug396024_helper.xul test not depend on the removeChild return value, r=jaws. 2017-01-30 08:10:15 +01:00
Cameron McCormack 7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Hiroyuki Ikezoe 5e33af310e Bug 1328787 - Part 13: Call nsAnimationManager.UpdateAnimations(). r=heycam
MozReview-Commit-ID: CcA3dJaxuYY
2017-01-29 12:59:00 +09:00
Neerja Pancholi fc19ad11b3 Bug 1166147 - Part1: Ignore writing mode while printing header and footer r=dholbert
MozReview-Commit-ID: Kesy6LG2KNe

--HG--
extra : rebase_source : d8c2b8b3b5aa1079152d68e8297aef9df2ea9ec9
2017-01-19 11:45:30 -08:00
Kartikaya Gupta a5594122e3 Merge m-c to graphics
MozReview-Commit-ID: D0L4I5rdVli
2017-01-19 10:43:00 -05:00
Ehsan Akhgari b583e128e0 Bug 1335070 - Switch the PresShell::Paint profiler marker to use GetPrimaryContentDocument to annotate using the content document; r=tn 2017-02-02 18:22:53 -05:00
Boris Zbarsky 52e939e98d Bug 1334957 part 1. Mark NotifyPaintEvent and all its members as chromeonly. r=smaug 2017-02-01 18:12:38 -05:00
Boris Zbarsky 1a543ff1ad Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Kartikaya Gupta b66c471aef Merge m-c to graphics
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Cameron McCormack 41cbd56383 Bug 1331294 - Part 6: Remove RestyleManager::HasPendingRestyles and Servo_Element_ShouldTraverse. r=bholley
MozReview-Commit-ID: 2ST5i7M4QZ4
2017-02-10 10:42:30 +08:00
Cameron McCormack 115c6f2cf4 Bug 1331294 - Part 5: Make ServoRestyleManager::ProcessPendingRestyles use StyleDocument()'s return value to determine whether to return early. r=bholley
MozReview-Commit-ID: Hbk0vuQMhJs
2017-02-10 10:42:30 +08:00
Cameron McCormack f1909b16b0 Bug 1331294 - Part 3: Make ServoRestyleManager::PostRestyleEvent not check HasPendingRestyles() before returning early. r=bholley
If there are pending restyles, and we were called with zero change and restyle
hints, then we're still not going to do any extra work.  So we may as
well return early after only checking the hints.

MozReview-Commit-ID: ACCGtDZcOJ0
2017-02-10 10:42:30 +08:00
Cameron McCormack 6c3d80b9c1 Bug 1331294 - Part 1: Make nsPresContext::HasPendingRestyleOrReflow check nsIPresShell::mNeedStyleFlush instead of asking the RestyleManager for its status. r=bholley
This might delay the resolution of FontFaceSet's ready promise in cases
where we don't delay it now, when we call nsIPresShell::SetNeedRestyle for
something other than posting a restyle.  But from the Font Loading API
spec's point of view, I think this is fine.

MozReview-Commit-ID: AnItzSPnIeB
2017-02-10 10:42:29 +08:00
Cameron McCormack d9afbf0240 Bug 1334735 - Part 3: Really set mNeedLayoutFlush when skipping suppressed interruptible reflows. r=bz
MozReview-Commit-ID: AKL9LShifvI
2017-02-10 10:42:28 +08:00
Cameron McCormack 71d4bbc431 Bug 1334735 - Part 2: Add separate flag to track need to flush throttled animations. r=bz,birtles
MozReview-Commit-ID: 6Vi3laKcbmG
2017-02-10 10:42:28 +08:00
Cameron McCormack b2ee81223c Bug 1334735 - Part 1: Move need style/flush flags from document to pres shell. r=bz
MozReview-Commit-ID: 2Amf9yGRiJA
2017-02-10 10:42:27 +08:00
Carsten "Tomcat" Book 3b3ce27e84 Merge mozilla-central to mozilla-inbound 2017-01-19 16:35:21 +01:00
Neil Deakin 91871ff7dd Bug 1321472, when the capturing content is inside a popup, use the popup as the root frame when searching for a mouse target rather than the root frame, otherwise the capturing content's frame won't be found, r=smaug 2017-01-19 10:04:04 -05:00
Ting-Yu Lin 723732ff7f Bug 1336388 - Use overlapping tilt mechanism in always tilt mode. r=mtseng
MozReview-Commit-ID: LwWnAbHiTBH

--HG--
extra : rebase_source : fb71526b2205edcaa40c5f6d2ace863ad7831a2a
2017-02-08 15:51:28 +08:00
Kartikaya Gupta 9b5693e805 Merge m-c to graphics
MozReview-Commit-ID: Id83SqNnzku
2017-01-16 07:38:20 -05:00
Emilio Cobos Álvarez 7a40386fed Bug 1330874: Preserve neutral style changes for stylo. r=heycam
Since we use the presence of a change hint to determine whether we should
recreate a style context, we can't just strip them out on CalcStyleDifference.

MozReview-Commit-ID: GLhbTc2W3d7
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-15 16:10:01 +01:00
Wes Kocher 565fdbe5d8 Merge inbound to m-c a=merge
MozReview-Commit-ID: JcbGWqzzYJj
2017-01-13 15:43:52 -08:00
Ryan Hunt 04951a435e Merge m-c to graphics 2017-01-13 10:14:22 -06:00
Bobby Holley e69afdcb2e Bug 1323671 - Reenable crashtests. r=me 2017-01-12 17:37:30 -08:00
Bobby Holley eb34404cc8 Bug 1323654 - Reenable crashtests. r=me 2017-01-12 17:37:27 -08:00
Bobby Holley 129614b0d6 Bug 1329854 - Update crashtest expectations. r=me 2017-01-12 17:37:23 -08:00
Bobby Holley 6a150c778b Bug 1329854 - Check IsInStyleRefresh for all the servo-related handling in nsCSSFrameConstructor::Content{Appended,RangeInserted}. r=heycam 2017-01-12 17:33:07 -08:00
Bobby Holley 0574db6b6e Bug 1329854 - Call NoteDirtyDescendants when frame construction bails out due to lack of a container frame. r=heycam 2017-01-12 17:33:01 -08:00
Bobby Holley 38e55d8cfa Bug 1329854 - Handle suppressed frames in stylo incremental restyle. r=heycam 2017-01-12 17:32:40 -08:00
Kartikaya Gupta c65ab1c730 Merge m-c to graphics
MozReview-Commit-ID: LPeWBwbK82h
2017-01-12 12:40:09 -05:00
Wes Kocher 18e735dcef Merge m-c to inbound, a=merge
MozReview-Commit-ID: EfMOcZbAiSe
2017-01-27 16:39:29 -08:00
Wes Kocher 7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Bobby Holley 283c85132a Bug 1334358 - Stop using CreateAnonymousFrames for scroll frame construction and remove the now-unused helper. r=bz 2017-01-27 16:13:35 -08:00
Bobby Holley fd04f8fa75 Bug 1334358 - Stop using CreateAnonymousFrames for combo box creation. r=bz 2017-01-27 16:13:33 -08:00
Gijs Kruitbosch 8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Boris Chiou 8a0ed49b88 Bug 1324691 - Part 3: Support AnimationsWithDestroyedFrame for ServoRestyleManager. r=heycam
MozReview-Commit-ID: 4cQ6PoieLLG

--HG--
extra : rebase_source : 6f0ca88a379ca9ce73488ae0b68b2b8a43469509
2017-01-27 12:45:46 +08:00
Boris Chiou 8941b09399 Bug 1324691 - Part 2: Move AnimationsWithDestroyedFrame into RestyleManagerBase. r=hiro
Both ServoRestyleManager and RestyleManager need AnimationsWithDestroyedFrame,
so move it to the base class.

MozReview-Commit-ID: BswoDYm0gS1

--HG--
extra : rebase_source : 7c5aad5189ad425b0dcefab12d465d579704030d
2017-01-26 17:05:53 +08:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Julian Seward 4150bcfb94 Bug 1333094 - nsPresContext::nsPresContext: move assignments into initialiser list where possible. r=dholbert.
--HG--
extra : rebase_source : 031b33ea24cd7e56e3cb2d170f6f20d988f0be48
2017-01-27 19:18:05 +01:00
Ehsan Akhgari ec8e7efb36 Bug 1334218 - Add a profiler annotation to PresShell::Paint that gives the URL of the document being painted; r=dholbert
This essentially copies what we do for the PresShell::DoReflow marker.
2017-01-27 10:15:46 -05:00
Bobby Holley 004deddec2 Bug 1330401 - Don't render explicit children of bound elements with no insertion points. r=bz 2017-01-11 21:08:03 -08:00
Jonathan Watt 28ad9afcfa Bug 1058040, part 11 - Convert DrawImage/DrawImageInternal's SVGImageContext param from pointer to Maybe<>. r=dholbert 2017-01-11 01:48:29 +00:00
Kartikaya Gupta 1af1a82edf Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois

--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Kartikaya Gupta fe1bb32f1a Merge m-c to graphics
MozReview-Commit-ID: Oh14EA4ip9
2017-01-10 08:34:13 -05:00
Markus Stange b797477463 Bug 1331402 - Update plugins' clipRects when hiding a tab. r=jimm,mattwoodrow
In non-e10s, all tabs of a window would share one nsRootPresContext. When
switching tabs, the tab switch paint would trigger a call to
nsRootPresContext::ComputePluginGeometryUpdates, which would call
SetEmptyWidgetConfiguration on all registered nsPluginFrames, notably also
those inside the tab that was hidden.

With e10s, every tab has its own nsRootPresContext, and paints in one tab do
not trigger calls to nsRootPresContext::ComputePluginGeometryUpdates on the
root pres contexts of other tabs. So when painting the new tab, the registered
plugin frames in the old tab were not notified that they were now hidden.
This patch now does that in TabChild::MakeHidden.

MozReview-Commit-ID: LlW9dKKFqZE

--HG--
extra : rebase_source : 0e7f24d7ef90d8582d7f60729e712bca78ed8e17
2017-01-17 18:07:05 +01:00
Bill McCloskey aa90d7dcb6 Bug 1328423 - Add AutoAssertNoContentJS to PresShell::Paint (r=dvander)
MozReview-Commit-ID: 4M4pYZSygPH
2017-01-17 13:29:04 -08:00
Kartikaya Gupta 5e2e8f8f8e Merge m-c to graphics
MozReview-Commit-ID: 5ovnMmSOiZX
2017-01-09 10:18:37 -05:00
Nathan Froyd a747eb3f2c Bug 1322553 - part 2 - use the new constructor of GeckoProfilerTracingRAII; r=mstange
This patch is not strictly relevant to the current bug, but doing the
work here nicely illustrates how the constructor we added in part 1 can
be used in existing parts of the codebase.
2017-01-07 15:56:49 -05:00
Kartikaya Gupta cbfc9a8d28 Merge m-c to graphics
MozReview-Commit-ID: HGa7QgtJVwu

--HG--
rename : intl/locale/unix/nsDateTimeFormatUnix.cpp => intl/locale/DateTimeFormatUnix.cpp
2017-01-06 11:24:57 -05:00
Iris Hsiao 7adb57a57f merge autoland to mozilla-central a=merge 2017-01-06 11:06:17 -05:00
Kartikaya Gupta 7d2382b3c3 Merge m-c to graphics
MozReview-Commit-ID: 74RpKOFNVx4
2017-01-05 09:28:19 -05:00