Commit Graph

49758 Commits

Author SHA1 Message Date
Masayuki Nakano
fe377694e5 Bug 1259671 part.3 Rename InternalScrollPortEvent::horizontal to InternalScrollPortEvent::eHorizontal r=smaug
MozReview-Commit-ID: JkT44G2FpUH

--HG--
extra : rebase_source : 316342c1ab53a4994dba371d49b12406b7b97a03
2016-03-30 17:33:16 +09:00
Masayuki Nakano
76133ed4d3 Bug 1259671 part.2 Rename InternalScrollPortEvent::vertical to InternalScrollPortEvent::eVertical r=smaug
MozReview-Commit-ID: 6OxTYqgZVUD

--HG--
extra : rebase_source : 0803047d4c397622bf783a69653e87378a88824c
2016-03-30 17:24:57 +09:00
Masayuki Nakano
12eb436dc2 Bug 1259671 part.1 Rename InternalScrollPortEvent::orientType to InternalScrollPortEvent::OrientType r=smaug
MozReview-Commit-ID: 4EmyQoIKdDy

--HG--
extra : rebase_source : 91065be4b6d9ce69455e696a2f1a7600a7ec8099
2016-03-30 17:16:01 +09:00
Mats Palmgren
7b5cb65169 Bug 1025267 - Make some -moz- prefixed pseudo-classes chrome-only. r=bz 2016-04-01 02:08:15 +02:00
Mats Palmgren
fee61ecb6c Bug 1260614 - Cleanup grid item iterator Reset() calls. r=dholbert 2016-04-01 02:08:15 +02:00
Mats Palmgren
1977ca7749 Bug 1216001 - Fix a typo that eliminated a possible paint optimization. r=xidorn 2016-04-01 02:08:15 +02:00
Mats Palmgren
f54caaaa16 Bug 1260366 - Include the punctuation classes Pd and Pc in ::first-letter because the CSS Pseudo-Elements spec says so. r=jfkthame
https://www.w3.org/TR/css-pseudo-4/#first-letter-pseudo
"Punctuation (i.e, characters that belong to the Punctuation (P*)
Unicode general category [UAX44]) that precedes or follows the first
typographic letter unit must also be included in the ::first-letter
pseudo-element."
2016-04-01 02:08:15 +02:00
Mats Palmgren
de075da893 Bug 1259949 - Caret reftests. 2016-04-01 02:08:15 +02:00
Mats Palmgren
709991c29d Bug 1259949 - Set the CARET_ASSOCIATE_AFTER hint also when we collapse just after a text node that ends with a significant newline. r=ehsan
nsCaret::GetFrameAndOffset may return a text frame also when aParentNode
is the container of a text node and aOffset is just after it.  In this
case we also want CARET_ASSOCIATE_AFTER if the text ends with
a significant newline.  (follow-up from bug 1258308)
2016-04-01 02:08:15 +02:00
Jeff Muizelaar
1b059a3417 Bug 1258650. Properly use aExtraMasksTransform when combining masks. r=Bas,a=kwierso
Previously we were ignoring the scale.
2016-03-31 16:34:32 -04:00
Nathan Froyd
443d2b6637 Bug 1259734 - use AppendElements in DisplayItemClip::AppendRoundedRects; r=dholbert
It is shorter and nicer than writing out the loop ourselves.
2016-03-25 09:34:37 -04:00
Gabor Krizsanits
696b23001a Bug 1247420 - part1: removeContentState. r=smaug 2016-03-30 11:54:27 +02:00
Carsten "Tomcat" Book
1696ce6feb Backed out changeset 073149564592 (bug 1209273) for causing merge conflicts to m-c
--HG--
extra : rebase_source : 0f07112a39ed369f38cf7d78a2e2424b5ae76825
2016-03-30 15:19:37 +02:00
Carsten "Tomcat" Book
d544ab27c4 Backed out changeset 231e5d92a129 (bug 1209273)
--HG--
extra : rebase_source : 41c4948ea3fdc58639f6c679d1a983a94aa773a4
2016-03-30 15:19:13 +02:00
chunminchang
c602eedc7e Bug 1110030 - part4 - HardwareKeyHandler component. r=masayuki, r=smaug 2016-03-21 17:10:09 +08:00
chunminchang
1c9ec82591 Bug 1110030 - part3 - Interface between PresShell and HardwareKeyHandler. r=masayuki, r=smaug 2016-03-21 14:20:59 +08:00
Bobby Holley
3831864b3d Bug 1260310 - Create servo style contexts from ServoStyleSet. r=heycam 2016-03-29 22:16:38 -07:00
Bobby Holley
57b406bba3 Bug 1260310 - Generalize nsStyleContext to support resolving styles from either nsRuleNode or ServoComputedValues. r=heycam 2016-03-29 22:16:35 -07:00
Timothy Nikkel
adc89eea34 Bug 1251150. Add crash annotations if image visibility is re-entering. r=mats
The previous annotations only checked if the re-entrancy happened via DecrementVisibleCount.

The check in RebuildApproximateFrameVisibility is not needed because we add a check in DoUpdateApproximateFrameVisibility.

The check in ClearApproximatelyVisibleFramesList is not needed because we add checks in DoUpdateApproximateFrameVisibility and Destroy. The other caller, ClearApproximateFrameVisibilityVisited, is covered because it is only called from DoUpdateApproximateFrameVisibility.
2016-03-29 23:09:13 -05:00
Mason Chang
2b9181914e Bug 1250947. Fill area outside blur with solid color. r=mstange 2016-03-29 08:24:21 -07:00
Ting-Yu Chou
9c7a4ca7f0 Bug 1255968 - Part 1: Let the callback of PeekMessages() to return a boolean to be able to break out the loop. r=dvander
--HG--
extra : rebase_source : 98a2baf9c3926cdb0740979d4cb5c11d7cd6a312
2016-03-28 11:02:18 +08:00
Ryan VanderMeulen
3c2d1d5060 Bug 1258241 - Fix a fuzzing typo on Win10. r=me
--HG--
extra : rebase_source : eb495ddb4d38b49edf70251a3d491df2f3dc0efb
2016-03-29 10:27:49 -04:00
Ethan Lin
7b6a232897 Bug 1228354 - Part2. Add test case for mask-mode. r=heycam
--HG--
extra : rebase_source : 47c0095150782fec9edb48349420744ad8f34f5f
2016-03-24 01:33:00 +01:00
Ethan Lin
f70f62c6a0 Bug 1228354 - Part1 - Support luminance mask mode. r=mstange r=bas
--HG--
extra : rebase_source : cd30463f8bfbdadbff5fa9d7ecce9ae075997223
2016-03-24 01:32:00 +01:00
Tobias Schneider
a576bb706f Bug 1209273 - Part 2 - Force printing background if color-adjust: exact. r=dbaron 2016-03-08 09:44:00 +01:00
Tobias Schneider
54290c6564 Bug 1209273 - Part 1 - Support for color-adjust CSS property. r=dbaron 2016-03-10 10:51:00 +01:00
Tobias Schneider
9dd3cff0b6 Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois 2016-03-29 00:37:44 -07:00
Markus Stange
aa9962666e Bug 1255068 - Add a check for null scrollid. r=kats
MozReview-Commit-ID: 15lbTMb76np

--HG--
extra : histedit_source : a8ada9b5ad5d3c46bcf464a144756ac18bc632ef
2016-03-24 16:19:14 -04:00
Kyle Huey
d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Ting-Yu Chou
3fdb20d68c Bug 1197913 - Keep the last hovered item highlighted after moving the cursor outside the <select> drop-down list on Windows. r=neil
MozReview-Commit-ID: 1mWm5ltckHl
2016-03-25 17:10:16 +08:00
Bobby Holley
3836b7c35b Bug 1258017 - Redesign and simplify rule tree GC. r=dbaron
The basic idea here is as follows:
* Rule nodes are reference-counted, but releasing them adds them to a linked
  list rather than freeing them. This allows for the reuse that motivated the
  original GC scheme.
* We get rid of the marking, and instead rely on the reference count.
* Sweeping no longer requires a complicated traversal. We just pop items
  off the free list until it's empty. When a child is destroyed, its parent
  may go onto the free list.
* We remove special handling for the root node, and use a regular reference-counted
  edge from the style set.
* The free list automatically asserts that it's empty (meaning all nodes have been
  freed) in its destructor, which runs when the style set is destroyed.
* We get rid of the list of style context roots on the style set. We still need
  a count though, because of the HasCachedStyleData check.
2016-03-28 08:59:22 -07:00
Bobby Holley
d595820a75 Bug 1258017 - Use a RefPtr to hold onto the parent style context. r=dbaron 2016-03-28 08:59:21 -07:00
Bobby Holley
69d08c6cad Bug 1258017 - Use an nsCOMPtr to hold onto the nsIStyleRule. r=dbaron 2016-03-28 08:59:20 -07:00
Arata Furukawa
28360f6c90 Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
MozReview-Commit-ID: LRgPxoynx0

--HG--
extra : source : 506d58da4e67501a00b676c99997597fa5fe5679
2016-03-28 13:49:02 +09:00
Arata Furukawa
676913b9bb Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
MozReview-Commit-ID: 7lBCEVkanvF

--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Robert Longson
968a509251 Bug 1242256 - ensure images in patterns and masks animate properly. r=jwatt,seth 2016-03-26 16:07:03 +00:00
takayuki_yamaguchi
da0885219b Bug 1259675 - Clean up InternalTransitionEvent r=masayuki
MozReview-Commit-ID: 8fTJ4Z9yJGl

--HG--
extra : rebase_source : 7c461ee6124e4e7cce0a709b3dfe2c97c6df9e8f
2016-03-26 16:26:35 +09:00
Rob McAuley
4acbe0650b Bug 1244640 - implement AnimationEffectTiming iterations r=hiro
MozReview-Commit-ID: Iwq6vleUERo

--HG--
extra : rebase_source : 8eef9f68a8956db547f98ab253927cf01a3ecf50
2016-03-26 14:41:37 +09:00
Tetsuharu OHZEKI
34d28e65df Bug 1259676 - part3: rename from 'InternalAnimationEvent.pseudoElement' to 'InternalAnimationEvent.mPseudoElement'. r=masayuki
MozReview-Commit-ID: GBJtFdobipj

--HG--
extra : rebase_source : 528abb3d04e52547e6c4e13ea396e080406008b1
2016-03-26 13:37:20 +09:00
Tetsuharu OHZEKI
3aeb31cf0f Bug 1259676 - part2: rename from 'InternalAnimationEvent.elapsedTime' to 'InternalAnimationEvent.mElapsedTime'. r=masayuki
MozReview-Commit-ID: 4n5YQwxLeAx

--HG--
extra : rebase_source : 6c29d53092c7d1f84ef2ad38f44380c7579df270
2016-03-26 13:37:19 +09:00
Tetsuharu OHZEKI
693106452d Bug 1259676 - part1: rename from 'InternalAnimationEvent.animationName' to 'InternalAnimationEvent.mAnimationName'. r=masayuki
MozReview-Commit-ID: DK5Q477WoXu

--HG--
extra : rebase_source : 59f061c7835b6e2359ca937a06cf3890871a70ea
2016-03-26 13:37:19 +09:00
Cameron McCormack
72db41da62 Bug 1253788 - Don't reload inline chrome:// style sheets in nsXBLPrototypeResources. r=bzbarsky 2016-03-26 17:02:30 +11:00
Timothy Nikkel
8d09d0af0a Bug 1259817. Always clear RefPtr to refresh driver in nsPresContext::Destroy. r=mats
nsPresContext::Destroy gets called from the desctructor and the cycle collector unlink phase. In the latter the prescontext may live for a while yet.
2016-03-26 00:35:15 -05:00
Daniel Holbert
20fb101da6 Bug 1259561: Increase CRAZY_COORD (threshold for debug build layout warnings) by an order of magnitude. r=mats
MozReview-Commit-ID: 23M5LIW14Li
2016-03-25 15:09:04 -07:00
Seth Fowler
5973113f1b Bug 1157546 - Replace the image visibility API with a more general API that tracks visibility for any kind of frame. r=mstange 2016-03-25 14:49:43 -07:00
Seth Fowler
020510839b Bug 1258594 (Followup) - Rename FrameProperties::IsSet() to FrameProperties::Has(). r=dbaron 2016-03-25 14:49:42 -07:00
Brendan Dahl
3c24d63475 Bug 1256084 - Don't force reflow on size mode change. r=heycam 2016-03-23 17:56:00 -04:00
Mantaroh Yoshinaga
224da3852b Bug 1215180 - Modify the scale calculate in order to prevent blurry of animation transform. r=mstange
--HG--
extra : rebase_source : 4400ddb9f28d69fec9216542a1cb190ca05c694c
2016-03-23 16:18:00 -04:00
Timothy Nikkel
420a4263c2 Bug 1234622. Tweak how nsDocumentViewer::FindContainerView finds the parent presshell. r=bz
During page transition the presshell we get via the parent docshell is the presshell for the _next_ document.

Whereas, the presshell we get via the containing frame element (iframe etc) is the current document.

If we use the presshell for the next document to get the primary frame for the containerElement it will return null because it doesn't have the right document.
2016-03-25 13:49:29 -05:00
Emilio Cobos Álvarez
218d5cde79 Bug 1259802: Add type replacement annotations to simplify rust binding generation for nsStyleStruct.h, r=bholley
This way or bindings are sane, and we don't have to bring in a lot of
the gfx code.
2016-03-25 11:46:21 -07:00
Bobby Holley
4639af5cdb Bug 1259677 - nsRuleNode passes wrong hash key to PLDHashTable when converting child list into child hash. r=bz 2016-03-25 09:52:50 -07:00
Jeremy Chen
ca58c7482d Bug 1247777 - Part4.2: add compatible webkit prefixed properties in
CSS properties ordering check test. r=bz

--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:50 +08:00
Jeremy Chen
b28e75fd40 Bug 1247777 - Part4.1: replace windows-style line endings with unix-style line endings. r=bz
This commit only replace windows-style line endings w/ unix-style ones.
"git diff -w" would see no difference in this commit.

--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:50 +08:00
Jeremy Chen
ac81ba2c95 Bug 1247777 - Part2: implement -webkit-text-fill-color rendering. r=jfkthame
--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:50 +08:00
Jeremy Chen
4134ed5760 Bug 1247777 - Part1: parse and compute -webkit-text-fill-color property. r=heycam
--HG--
extra : commitid : 3L1KflCYhR3
2016-03-25 15:54:49 +08:00
Seth Fowler
dbc917faef Bug 1258594 - Add a FrameProperties::IsSet() method for use in assertions. r=dholbert 2016-03-24 16:02:58 -07:00
Francois Marier
63c2afbc28 Bug 1259288 - Safe Browsing should be fully disabled in our test suites. r=gcp
MozReview-Commit-ID: 2og99Gl9w9n

--HG--
extra : rebase_source : 33961d97454e71e5b7fc3ad5f9eb145099c0fc6e
2016-03-23 17:59:55 -07:00
Benoit Girard
4e40cd1d1a Bug 1259235 - Add IsScrollFrameWithSnapping to speed up event regions. r=mstange
MozReview-Commit-ID: KdWCkXHjHzZ

--HG--
extra : rebase_source : ca15390be1d003c50e41ef89f40f5e7f543e8676
2016-03-23 17:16:38 -04:00
Daniel Holbert
81bad95275 Bug 1236400 part 4: Add reftests to test how non-block-level content gets wrapped inside a -webkit-box. (no review)
MozReview-Commit-ID: 5vVgdEA14Y1
2016-03-24 09:55:12 -07:00
Daniel Holbert
2b7c7ca3d2 Bug 1236400 part 3: If webkit prefix support is enabled, skip CSS Parser code that converts "display: -webkit-box" directly to "display: flex". r=mats
This makes "display: -webkit-box" & "display: -webkit-inline-box" into bona
fide "display" values (instead of just aliases), when webkit prefix support is
enabled, and allows us to actually exercise the code added in the earlier
patches on this bug. (Note that when webkit prefix support is *disabled*, our
CSS Unprefixing Service strategy will instead have an opportunity to take
effect, for whitelisted sites, and it'll continue to convert "-webkit-box" to
"flex".)

MozReview-Commit-ID: BV93xs4ddbK
2016-03-24 09:55:11 -07:00
Daniel Holbert
8b9d86b0ef Bug 1236400 part 2: Extend NeedsAnonFlexOrGridItem() & related code to wrap all inline-level -webkit-box children in an anonymous flex item. r=mats
MozReview-Commit-ID: LK4VW0xSI5m
2016-03-24 09:55:11 -07:00
Daniel Holbert
37e8c9d5cc Bug 1236400 part 1: Add internal enum values to represent "display: -webkit-box" & "display: -webkit-inline-box". r=mats
These new enum values are added with same behavior as their modern flexbox
equivalents -- they're hooked up to NS_NewFlexContainerFrame, and they're
listed alongside the modern flexbox enums in 'switch' & 'if' statements.

There's one exception, which I call out with a comment at the end of the patch:
we don't treat -webkit-box the same as flexbox in IsFlexOrGridDisplayType(),
because that method is used to determine whether we should blockify
inline-level children of a flex/grid container, and we don't want to blockify
any children of a -webkit-box. (Instead, we want to wrap them in an anonymous
flex item. That happens in the next patch.)

MozReview-Commit-ID: 9BB4Ib2KpvE
2016-03-24 09:55:11 -07:00
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
Ryan VanderMeulen
dc7a3eb933 Bug 1254831 - Don't expect the test to pass on unaccelerated runs.
--HG--
extra : rebase_source : 17f183ca713bba7c2975ec52333b1098c8757699
2016-03-18 13:49:46 -04:00
Kyle Machulis
869a7a0a24 Bug 1171182 - Browser Zoom Query for NPAPI; r=bsmedberg r=jaas 2016-03-18 10:50:50 -07:00
Bas Schouten
847be1fa4d Bug 1251431 - Part 2: Do not apply the device transform when drawing to an already intermediate surface. r=jwatt
MozReview-Commit-ID: 5DCEvQJK3Us
2016-03-18 14:47:12 +01:00
Carsten "Tomcat" Book
df1c1cc556 Backed out changeset ceb8532131fb (bug 1223736) for reftest failures
--HG--
extra : rebase_source : 9c5aaf093345f7bfff7f305ceabcd5f04a237da4
2016-03-18 09:58:39 +01:00
Matt Woodrow
66a2278a0a Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Xidorn Quan
af785a12fd Bug 968761 - Treat nested calc() as plain parenthesis. r=dbaron
MozReview-Commit-ID: Lwd56FaaDWx

--HG--
extra : rebase_source : f57ac5695e6e06c568ff4cb54304a2fd5716fc41
2016-03-03 10:05:37 +08:00
Robert O'Callahan
be8e355f36 Bug 1242172. Invalidate intrinsic ISizes that depend on viewport BSize when the viewport is resized. r=dbaron
MozReview-Commit-ID: INEHo7ghGyz
2016-02-29 18:49:34 +13:00
Matt Woodrow
dbe7f4888a Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Kartikaya Gupta
8f157afb9e Bug 1256727 - Don't allow paint-skipping on pages with scroll-linked effects. r=mstange
MozReview-Commit-ID: I05EXDWOt6b
2016-03-17 15:43:17 -04:00
Mats Palmgren
734065f500 Bug 1237236 - Reftests to check caret position after collapsing a selection to the end of a line. 2016-03-17 17:27:56 +01:00
Mats Palmgren
1ef2b15815 Bug 1237236 - When collapsing the selection to the end of textframe that ends in a significant newline then set mHint to CARET_ASSOCIATE_AFTER so that the caret is rendered at the start of the next line if any. r=ehsan 2016-03-17 17:27:56 +01:00
Mats Palmgren
3128937295 Bug 1248371 - [css-grid] Require that each track has a definite min- or max-sizing function when the track list contains a repeat(auto-fill/fit) track. r=dholbert 2016-03-17 17:27:55 +01:00
Geoff Brown
29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Geoff Brown
fd1e09d12b Bug 1251013 - Update AndroidVersion annotations in test manifests - reftests; r=jmaher 2016-03-17 10:00:47 -06:00
Ryan VanderMeulen
b52013801e Bug 1254831 - Annotate some mfrac reftests as passing on Win8 e10s. r=jkitch
--HG--
extra : rebase_source : c0c9609b5c2c23f5a6a7b891eb55dd39bf2abe2e
2016-03-17 09:25:21 -04:00
Jonathan Hao
7bee2c98a0 Bug 1235572 - Enforce SRI if content signature is enforced r=francois
* * *
[mq]: sri_fix

MozReview-Commit-ID: 8vY9J4j3Eog
* * *
[mq]: loadInfo

MozReview-Commit-ID: EZ8BUfCOXO6
* * *
[mq]: add-logs

MozReview-Commit-ID: 1jeyTq9nvlW

--HG--
extra : transplant_source : %8Dj%12f%16%F5%12%8E%FE%7C%02%274%2A%A0a%C8%CB2P
2016-03-16 11:13:26 +08:00
Cameron McCormack
7cc115e18c Bug 1256210 - Part 3: Remove agent sheet by the end of test_additional_sheets.html. r=dbaron 2016-03-17 13:17:10 +11:00
Cameron McCormack
3f7c51c2ae Bug 1256210 - Part 2: Convert test_additional_sheets.html and test_addSheets.html to mochitest-plain. r=dbaron
--HG--
rename : layout/style/test/chrome/additional_sheets_helper.html => layout/style/test/additional_sheets_helper.html
rename : layout/style/test/chrome/test_addSheet.html => layout/style/test/test_addSheet.html
rename : layout/style/test/chrome/test_additional_sheets.html => layout/style/test/test_additional_sheets.html
2016-03-17 13:17:10 +11:00
Cameron McCormack
69e11e6d9e Bug 1256210 - Part 1: Factor out getting of services in test_additional_sheets.html. r=dbaron
MozReview-Commit-ID: GuODc7fnYVj
2016-03-15 18:38:07 +11:00
Sotaro Ikeda
0a065a8dfa Bug 1245552 - Align MaskLayer surface to 4 r=mattwoodrow 2016-03-16 18:54:38 -07:00
Brian Birtles
38e9dfee9e Bug 1245260 - Ignore redundant calls to RestyleManager::IncrementAnimationGeneration; r=dbaron
While processing restyles and starting transitions, we may trigger
a call to EffectCompositor::UpdateCascadeResults which may, in turn, call
EffectCompositor::RequestRestyle with RestyleType::Layer, which ultimately
results in a call to RestyleManager::IncrementAnimationGeneration().

Typically, nsTransitionManager::StyleContextChanged compares the animation
generation on its collection with that of the restyle manager and uses this
to ignore the restyle that it generates. However, given the sequence of events
above, that check may no longer help since the restyle manager's animation
generation will be out of step. As a result,
nsTransitionManager::StyleContextChanged will fail to ignore a subsequent
and redundant restyle. With certain combinations of content, this can mean that
restyles are posted in such a manner than an infinite cycle of restyles ensues.

This patch causes RestyleManager to ignore calls to IncrementAnimationGeneration
when it is already processing restyles such that the animation generation is
only ever updated once per restyle. This makes the check for a matching
animation generation in nsTransitionManager::StyleContextChanged work as
expected, preventing us from generating needless transitions which can produce
this endless loop.

MozReview-Commit-ID: 9HYDrknKPAI

--HG--
extra : rebase_source : f7d9f251d20805fcb4d0d9be04d4343336e69836
2016-03-16 15:05:10 +08:00
Mike Hommey
0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
L. David Baron
fef3d844c0 Bug 1256745 - Cancel the DidPaint timer in SetShell(nullptr). r=mattwoodrow
MozReview-Commit-ID: KwtJD4AywX1
2016-03-16 13:47:41 -07:00
Ryan VanderMeulen
282499897a Bug 1254826 - Annotate bug441782-3.html as passing on WinXP. r=ehsan
--HG--
extra : rebase_source : 28d9aaa8191708fe146dc6aee23edebc8477e24f
2016-03-16 14:26:03 -04:00
Ryan VanderMeulen
eff7a39713 Bug 1254832 - Update annotation to only expect failure on hardware-accelerated builds. r=me 2016-03-16 12:00:33 -04:00
Xidorn Quan
b377ad08c2 Bug 1257099 - Normalize the path of extensions for reftest. r=jmaher
MozReview-Commit-ID: 7nTx3uniJik

--HG--
extra : rebase_source : 4d757211c4fda9953a5817ad5e037b4b70994636
2016-03-16 14:26:27 +08:00
Xidorn Quan
0fb001761f Bug 1256257 - Clear Win10 intro page url for reftest. r=jmaher
MozReview-Commit-ID: 3iJ8QVSNaKx

--HG--
extra : rebase_source : af532bdaf1c9fa66fff5dd530cf9639ed9bab63d
2016-03-16 14:27:25 +08:00
Nicholas Nethercote
a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Mike Shal
49c5290021 Bug 1256033 - Remove layout/style/test/Makefile.in; r=glandium
The css_properties.js rule can be converted into gen-css-properties.py,
which we can install with TEST_HARNESS_FILES instead of the
mochitest.ini manifest.


MozReview-Commit-ID: F7nf71ORWsS
2016-03-11 19:28:02 -05:00
Ryan VanderMeulen
be834fd775 Bug 1254832 - Annotate tree-row-outline-1.xul as failing on Win8 e10s. r=dbaron 2016-03-15 17:05:44 -04:00
Markus Stange
e41f4e8c1a Bug 1255068 - Do not allow empty transaction transform changes if the scroll position has changed since the last paint. r=kats, r=mattwoodrow
MozReview-Commit-ID: 7exuhuf3HTJ

--HG--
extra : rebase_source : b131cdc68e07ab8dfdc6ae56caa24cc0ced5102e
2016-03-11 16:09:16 -05:00
Kartikaya Gupta
531a753e23 Bug 1255856 - Don't allow paint-skipping if there are windowed plugins on the page. r=mstange,jimm
MozReview-Commit-ID: BzQcUrSqCr5
2016-03-15 15:12:11 -04:00
Ryan VanderMeulen
30ac772d08 Bug 1157716 - Add a bit more fuzz for Windows unaccelerated reftest jobs. r=kats
--HG--
extra : rebase_source : fa62e19a13a0e1a678a9b8e169c3aef8825f5719
2016-03-15 12:11:10 -04:00
Timothy Nikkel
4bb3f55591 Bug 1209780. Mark some DrawResult's as unused in layout/svg. r=seth
We want to turn on the static analysis so no new violations are introduced. Fixing these is not straight forward.
2016-03-21 16:15:19 -05:00
Matt Woodrow
4bbe4fd01d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-22 09:06:58 +13:00
Boris Chiou
efe45f15d3 Bug 1249219 - Part 3: Replace Pair<Element*, CSSPseudoElementType> with NonOwningAnimationTarget. r=birtles
--HG--
extra : rebase_source : 35e69a293cdb7a25ce579dbb453289ed3521e7e2
2016-03-21 16:49:50 +08:00
Mason Chang
7c8ee2c76a Bug 1207332. Update split-opacity-layers-1.html reftest fuzing on os x. r=me 2016-03-21 11:19:04 -07:00
Mason Chang
b7563f899e Bug 1207332. Part 3: More skia os x reftest fuzzing. r=lsalzman 2016-03-21 09:04:07 -07:00