Commit Graph

49596 Commits

Author SHA1 Message Date
Ting-Yu Lin
a7ea8a84ac Bug 1245424 Part 3 - Add reftest for click events with actions in capturing phase. r=bz
These tests modify details or summary elements in the 'click' event
listener in capturing phase higher up in the DOM tree.

MozReview-Commit-ID: Lp5OzXnNgL4

--HG--
extra : rebase_source : 5772a84795b1b8b6b9bb6cbf928bfb612eb07971
2016-03-24 15:05:29 +08:00
Ting-Yu Lin
577ce8ed43 Bug 1245424 Part 2 - Stop checking the existence of details frame before toggling. r=bz
MozReview-Commit-ID: 6Xgyu7DDquy

--HG--
extra : rebase_source : 6b5ed8fa20117fcafea7dde779c550f6fd79be34
2016-03-24 15:05:29 +08:00
Ting-Yu Lin
6276d59933 Bug 1245424 Part 1 - Fix assert for a display:none summary on debug build. r=bz
If the main summary element has 'display: none' style, it won't
generates a summary frame as the first child of the details.

However, if a details element have two summaries and the first summary
has 'display: none', the second summary still generates a SummaryFrame
event if it isn't the main summary. So instead of checking on the
SummaryFrame as before, I check the content tree for the main summary by
using the idea in bug 1245424 comment 8. Another reason might be the
potential removal of SummaryFrame in bug 1258657.

MozReview-Commit-ID: H0evZ17zj5k

--HG--
extra : rebase_source : 1aad3ad1d31dc277771013f92eace5cefa7d6112
2016-03-24 15:05:29 +08:00
Ting-Yu Lin
5a53907dfa Bug 1258177 - Make the list-item markers non-selectable. r=bz
MozReview-Commit-ID: GkkAknIA31t

--HG--
extra : rebase_source : 424b2b2821a158bae15bae7bb07d15ceb274c3fa
2016-03-20 17:26:02 +08:00
Jeremy Chen
b89a58fbd9 Bug 1239564 - fix reftest. r=mattwoodrow
Let transform property in reference file consistent with that in
test file.

--HG--
extra : commitid : GaPvlUKljfg
2016-03-24 17:25:40 +08:00
Carsten "Tomcat" Book
1896f78c07 Backed out changeset 41de0b26ddd2 (bug 1238928) for test failures in /test_pointer-events-1b.xhtml 2016-03-24 08:47:25 +01:00
Carsten "Tomcat" Book
3f5c176a1f Backed out changeset e3853bd79051 (bug 1258843) 2016-03-24 08:47:03 +01:00
Brian Birtles
a1ae304c59 Bug 1245748 - Add a variant of StyleAnimationValue::ComputeValues that takes an nsCSSValue; r=heycam
MozReview-Commit-ID: 83popM8E0Q4

--HG--
extra : rebase_source : efef274a8a2a21423e6c1931d9b92739272eb72a
2016-03-22 16:31:16 +09:00
Brian Birtles
b411ad9926 Bug 1245748 - Add nsStyleContext parameter to StyleAnimationValue::ComputeValue(s); r=heycam
StyleAnimationValue::ComputeValue(s) will automatically look up the style
context of the supplied element. This is mostly fine, but when we start using
this method in scenarios where we are building the initial style context
(as happens later in this patch series) it can easily land us in a situation
where we iterate indefinitely.

It would be better, instead, to just explicitly pass in the style context we
want to use, as we already do for StyleAnimationValue::ExtractComputedValue.

MozReview-Commit-ID: ZoVBlBRRBI

--HG--
extra : rebase_source : 9012cc2e405fc887f070fbfaa2f9853289882862
2016-03-22 16:31:09 +09:00
Jonathan Watt
58fc2aef57 Bug 1253590, part 4 - Follow-up to return the correct type. r=bustage 2016-03-12 18:43:40 +00:00
Jonathan Watt
9857ea9ad4 Bug 1253590, part 2 - Use the new AutoReferenceLimiter helper to limit clip path reference chain lengths. r=longsonr 2016-03-09 10:26:48 +00:00
Jonathan Watt
c633855102 Bug 1253590, part 1 - Generalize AutoReferenceLoopDetector to allow it to be used to limit reference chain lengths. r=longsonr 2016-03-09 10:26:48 +00:00
Matt Woodrow
dd1236dd0d Bug 1258843 - Don't build SVG display items if their visibility is hidden. r=dholbert
--HG--
extra : rebase_source : 633ea5ea0661c9532a1b630300b24788daa8667e
2016-03-24 18:15:40 +13:00
Matt Woodrow
9ea78cbc9b Bug 1238928 - Don't assume that our child list is unchanged in nsDisplayPerspective::BuildLayer. r=tnikkel
--HG--
extra : rebase_source : 80c25d1bfca68986294aae5b35c1e204237a33f4
2016-03-24 18:14:44 +13:00
Brian Birtles
5785877883 Bug 1245260 - Add crashtest; r=hiro
MozReview-Commit-ID: IBe0zbsCJJy

--HG--
extra : rebase_source : 9045ca886302026220dec365e63203c538c14e9a
2016-03-24 09:04:53 +09:00
Ehsan Akhgari
3c28741897 Bug 1259025 - Enable test_reftests_with_caret.html on e10s; r=mrbkap 2016-03-23 19:42:59 -04:00
Xidorn Quan
d0fc466aa2 Bug 1258636 part 2 - Use struct to pass params for nsTextFrame::PaintDecorationLine. r=jfkthame
MozReview-Commit-ID: CICgNSPRrLM

--HG--
extra : rebase_source : 2901710ea2806a98b3520dc729c4f4d4ba2d56b2
2016-03-22 17:42:18 +08:00
Xidorn Quan
c1a6d087c3 Bug 1258636 part 1 - Use structs to pass params for decoration-related functions in nsCSSRendering. r=jfkthame
MozReview-Commit-ID: 5EJJVmM1pyK

--HG--
extra : rebase_source : 290efcbe41f85fef3a577ff26b4553f195a7fde9
2016-03-22 16:51:15 +08:00
Lee Salzman
ca8c96a592 Bug 1252324 - add DrawTarget API for 3D transforms for use in layers. r=jrmuizel 2016-03-23 01:03:10 -04:00
Masayuki Nakano
cea0b9cf02 Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: 1SgMbTL8csl

--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Masayuki Nakano
8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Masayuki Nakano
6181d95afb Bug 1256589 part.4 Move the implementation of PreventDefault() and add PreventDefaultBeforeDispatch() from dom::Event to WidgetEvent r=smaug
mDefaultPreventedByChrome is hacky. When PresShell handles Escape key events in fullscreen mode, it prevents default of every Escape key events and dispatch it only into chrome. After that, it check mDefaultPreventedByChrome if at least one call of preventDefault() occurred in chrome. Therefore, if we shouldn't set both mDefaultPreventedByChrome and mDefaultPreventedByContent to true before dispatching an event. This the reason why we need a special method, PreventDefaultBeforeDispatch() is needed for setting only mDefaultPrevented to true.

MozReview-Commit-ID: BPSq68GnWw6

--HG--
extra : rebase_source : f2f963afeba6994cc090efedebc29c0d9334c96d
extra : source : 1012dc095cc1b7236991a7befdbfbf174dc1c1af
2016-03-22 16:26:27 +09:00
Masayuki Nakano
2748ab1e88 Bug 1256589 part.3 Move the implementation of StopCrossProcessForwarding() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: KXeVxCJ05Mo

--HG--
extra : rebase_source : 2f8d49412e32eec4a0a8f599984d057637f491a1
extra : source : a68c4bb4878612d61425d87a47b4eca78f271240
2016-03-22 16:01:46 +09:00
Masayuki Nakano
963976b46d Bug 1154183 part.1 Move shortcut/access key candidate list creators from nsContentUtils to WidgetKeyboardEvent r=smaug
MozReview-Commit-ID: Ied6qEUc2Kz
2016-03-18 11:22:37 +09:00
Mats Palmgren
28c2af15f6 Bug 1258308 - Reftests. 2016-03-22 22:49:57 +01:00
Mats Palmgren
c42a275582 Bug 1258308 - Lookup the frame (continuation) associated with aParentNode/aOffset instead of assuming it's always the primary frame (follow-up from bug 1237236). r=ehsan 2016-03-22 22:49:57 +01:00
Daniel Holbert
1c58c1673f Bug 1257661: Make the CSS parser accept "display:-webkit-inline-box" as an alias for "display:inline-flex". r=heycam
(We already map "display:-webkit-box" to "display:flex" in this way. This is just extending that existing support to cover the inline version.)

MozReview-Commit-ID: F7gH3QMSmn0

--HG--
extra : rebase_source : f97703f074ccdb5d97ad16c282be4d24c1fb0eff
2016-03-17 16:11:28 -07:00
David Anderson
f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Markus Stange
04177e1aa2 Bug 1209100 - Back out bug 1165185 on inbound.
MozReview-Commit-ID: JqohyXNvjiU

--HG--
extra : rebase_source : c2165d279a6ca57a3439ebbfc081961369a42124
2016-03-21 16:16:52 -04:00
Geoff Brown
3c73a0f0ec Bug 1257948 - More Android test manifest cleanup; r=jmaher 2016-03-22 07:22:43 -06:00
Carsten "Tomcat" Book
5d83e31d04 merge mozilla-inbound to mozilla-central a=merge 2016-03-22 12:14:15 +01:00
Roman Lopez
f069d11783 Bug 1255006 - Ensure the displayport rect takes priority over a suppressed-margins displayport. r=kats 2016-03-21 21:56:44 -04:00
Kartikaya Gupta
4d67824b9e Bug 1257491 - Ensure that if the peek-messages code modifies the displayport, we schedule a repaint. r=BenWa
MozReview-Commit-ID: Chg4JAopxT7
2016-03-21 17:32:49 -04:00
Nick Alexander
e90bd4aabb Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
MozReview-Commit-ID: 63yJGdgPbhe

--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Ting-Yu Lin
22224242ba Bug 1249556 - Implement toggling details by keyboard. r=smaug
The user can switch to the main <summary> by tab key, and toggle the
<details> by either 'space' key or 'enter' key.

'return' key is handled with 'keypress', and the 'space' key is handled
with 'keyup' like the HTMLInputElement.

MozReview-Commit-ID: HE6IduUGCpj

--HG--
extra : rebase_source : 34598d95f35bf6b5bd927457ee09e42eb6ec0a68
2016-03-19 20:37:09 +08:00
Ryan VanderMeulen
a9e8ebe0a8 Bug 1254831 - Don't expect the test to pass on unaccelerated runs. 2016-03-18 23:13:41 -04:00
Seth Fowler
56dbbf45cc Bug 1257315 (Part 2) - Release old visible regions info when new info is available or a layers ID is no longer used. r=botond 2016-03-18 18:38:57 -07:00
Seth Fowler
d8b3579dd9 Bug 1257315 (Part 1) - Add a visualization of visibility tracking to the APZ minimap. r=botond,mattwoodrow 2016-03-18 18:38:57 -07:00
Wes Kocher
d19c0a23f3 Backed out 2 changesets (bug 1223736) for reftest failures in mask-layer-transform.html CLOSED TREE
Backed out changeset 1982db677df6 (bug 1223736)
Backed out changeset 5813dbb50356 (bug 1223736)

MozReview-Commit-ID: HrnSIGPovea
2016-03-18 16:44:09 -07:00
Wes Kocher
8d3fbe0177 Backed out 3 changesets (bug 1209273) because something from this push appears to have broken Windows mochitests CLOSED TREE
Backed out changeset 9c6650c7e237 (bug 1209273)
Backed out changeset fb8b3ab41c82 (bug 1209273)
Backed out changeset 6e2e6b0c7d8e (bug 1209273)

MozReview-Commit-ID: J9WSL2CjoGJ
2016-03-18 15:48:00 -07:00
Tobias Schneider
6aaedb0ef9 Bug 1209273 - Part 2: Force printing background if color-adjust: exact. r=dbaron
--HG--
extra : rebase_source : 04792cd32f613f9cd91fe3d132abd4023e1d83d3
2016-03-08 09:44:00 -05:00
Tobias Schneider
efc1d13a5a Bug 1209273 - Part 1: Support for color-adjust CSS property. r=dbaron
--HG--
extra : rebase_source : f90e6beb86dd92456b569829078be734273e3beb
2016-03-10 10:51:00 -05:00
Matt Woodrow
793fb1224d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Sebastian Hengst
3fe374d601 Backed out changeset b40d8bae66f1 (bug 1254831) for failing modified tests. r=backout 2016-03-18 21:31:25 +01:00
Benoit Girard
65e8237702 Bug 1257369 - Suppress the DisplayPort when scrolling via nsSliderFrame. r=kats
MozReview-Commit-ID: 8I3UfWlkdPq

--HG--
extra : rebase_source : 25b496ff5f3be9187cb8727982eaa094f85a0d1f
2016-03-18 14:46:54 -04:00
Benoit Girard
3b9e88cb17 Bug 1256373 - Simplify mMaybeHitRegion. r=tnikkel
MozReview-Commit-ID: 1Px20e5EWRj

--HG--
extra : rebase_source : 231205ce5e501ba96ec38fedbb6503c73cec82bc
2016-03-16 15:27:19 -04:00
Jesse Ruderman
75d474c228 Bug 1233191 part 3 - crashtest. 2016-03-18 19:52:08 +01:00
Mats Palmgren
dd08684969 Bug 1233191 part 2 - Remove anon flex item sanity checks that the frame constructor now does instead. r=dholbert 2016-03-18 19:52:08 +01:00
Mats Palmgren
62b5045e23 Bug 1233191 part 1 - Implement sanity checks on the flex/grid container child frame list. Remove the anon grid item sanity checks that the frame constructor now does instead. r=dholbert 2016-03-18 19:52:08 +01:00
Ryan VanderMeulen
e093d8dae2 Revert bug 1252630 because it proved to be way more hassle than it's worth. 2016-03-18 14:21:12 -04:00