Commit Graph

27605 Commits

Author SHA1 Message Date
Wes Kocher
29aa949cf0 Backed out changeset f7cbf3aa76fc (bug 1099103) for test_input_number_l10n.html failures 2015-09-21 17:37:29 -07:00
Botond Ballo
c291e1eee0 Bug 1014691 - Move APZ reftests to apz/test/reftest. r=kats 2015-09-18 13:19:55 -04:00
Daniel Holbert
6c3ac7a459 Bug 1198894: Use nsChangeHint_RepaintFrame instead of NS_STYLE_HINT_VISUAL to trigger simple repaints in nsStyleStruct.cpp CalcDifference methods. r=heycam
Specifically, this makes us use nsChangeHint_RepaintFrame for changes to font decorations, border-{color,style,radius,image}, color, background-{image,color}, text-decoration-{line,color}, text-overflow
2015-09-21 16:11:51 -07:00
Jonathan Watt
8e93f73b0b Bug 1099103 - Prevent numbers input using a grouping separator from being mis-processed as if the separator was a decimal separator. r=dholbert 2015-08-25 00:00:07 +01:00
Christoph Kerschbaumer
ad12815962 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Christoph Kerschbaumer
dad4927d12 Bug 1048048 - add preload content policy types for stylesheets (r=cam) 2015-09-20 14:56:10 -07:00
Wes Kocher
977486c724 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Mason Chang
6248fc9129 Backout bug 1188075 for graphical artifacts. r=me 2015-09-21 08:14:05 -07:00
Christoph Kerschbaumer
8a5d00f976 Bug 1048048 - add preload content policy types for stylesheets (r=cam) 2015-09-20 14:56:10 -07:00
Christoph Kerschbaumer
4288181182 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Kartikaya Gupta
c5b4b99e86 Bug 1195435 - Fuzz the image-scrolling-zoom reftest failure when APZ is enabled. r=seth 2015-09-21 09:29:45 -04:00
Josh Matthews
102baa87bf Bug 885982 - Part 3: Add e10s support to TCPSocket and TCPServerSocket. r=asuth,mayhemer,bz 2015-03-25 10:36:56 -04:00
Jonathan Kew
802ca2e07a Bug 1205787 - Reftest using legacy SVG1.1 writing-mode values. r=heycam 2015-09-20 08:55:49 +01:00
Jonathan Kew
cd0a8760f6 Bug 1205787 - Map the writing-mode values from SVG1.1 to their CSS equivalents. r=heycam 2015-09-20 08:55:47 +01:00
Daniel Holbert
b84c08e6df Bug 1206230: Make ReftestArgumentsParser defer to self.build_obj for 'bindir' (fixing local mach reftest|crashtest runs). r=jgraham 2015-09-20 00:03:13 -07:00
Seth Fowler
9e43ef5e44 Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn 2015-09-19 16:20:56 -07:00
Markus Stange
fcb4e1315b Back out changeset 61baabe617c9 (bug 1191539) because of regressions like bug 1205863 and probably bug 1206209. 2015-09-20 01:14:15 +02:00
David Anderson
a5a2283eb8 Remove willFlushRetainedLayers, which is superceded by DLBI. (bug 1205970 part 2, r=mattwoodrow) 2015-09-18 18:45:24 -07:00
David Anderson
c058902747 Fix nsDisplayCanvasBackgroundColor to invalidate on color changes. (bug 1205970 part 1, r=mattwoodrow) 2015-09-18 18:45:05 -07:00
Christoph Kerschbaumer
0fd13208e7 Bug 1204703 - Make nsContentSecurityManager scriptable (r=sicking) 2015-09-18 09:27:15 -07:00
Wes Kocher
799dab9df6 Backed out 3 changesets (bug 1143922) for landing with the wrong bug number
Backed out changeset 309b4d1ab81c (bug 1143922)
Backed out changeset deda472458fd (bug 1143922)
Backed out changeset 977d5b7ecba3 (bug 1143922)
2015-09-18 14:13:33 -07:00
Mason Chang
39992da3c8 Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange 2015-09-18 11:23:55 -07:00
Ting-Yu Lin
0340438b93 Bug 1204872 - Add gtest for AccessibleCaretManager. r=roc
Add basic gtest to ensure AccessibleCaret and AccessibleCaretManager are
both testable. More tests to come.

Allow -Winconsistent-missing-override warning in gtest since MOCK_METHOD
does not have 'override' keyword. See bug 1169974.
2015-09-19 01:05:19 +08:00
Ting-Yu Lin
78be26106f Bug 1204872 - Prettify enum class printing. r=roc
Provide operator<< functions so that gtest can use them to print enum
classes.
2015-09-19 01:05:19 +08:00
Ting-Yu Lin
d57a434dd5 Bug 1204872 - Make AccessibleCaretManager testable. r=roc
We need to extract statements that touch PresShell, access frame trees,
or call other utility functions into functions so that we could mock or
stub them in gtest.

Inline GetFocusedContent since it's only used once.
2015-09-19 01:05:19 +08:00
Ting-Yu Lin
2f8290c259 Bug 1204872 - Make AccessibleCaret testable. r=roc
Remove the assert of the existence of PresShell in the constructor since
there's no PresShell in gtest. Also make AccessibleCaret inheritable.
2015-09-19 01:05:18 +08:00
Ting-Yu Lin
dabe955e3e Bug 1204872 - Add documentation and rename mCaretMode. r=roc
Rename mCaretMode to mLastUpdateCaretsMode to make it clear that this
variable track the caret mode since last update. This also avoid the
confusion that GetCaretMode() returns mCaretMode.
2015-09-19 01:05:18 +08:00
Christoph Kerschbaumer
c8b6bf32e1 Bug 1143922 - Make nsContentSecurityManager scriptable (r=sicking) 2015-09-18 09:27:15 -07:00
Thinker K.F. Li
35640a2b48 Bug 1097464 - Part 6: Handle preserves-3d by compositor. r=roc
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.

 - Add an additional item for each top frame extending 3D context to
   separate consequence contexts.

 - Effective transform of a layer is the accumulation of ancestors in
   the same 3D context.

 - The layers creating new context and extended by children need a
   temporary buffer if it's effective transform is not 2D.

 - Clip rects are accumulated along the context chain.

 - Visible rects of items are computed from dirty regions of the frame
   creating the context and accumulated transforms.

 - Bounds of items are computed from accumulated transforms and
   accumulated bounds of the descent frames.

 - Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
3dad09cc9e Bug 1097464 - Part 5: Fix preserve3d wording for nsIFrame. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
4063b73092 Bug 1097464 - Part 4: Fix preserve3d wording for layer flags. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
494d012e60 Bug 1097464 - Part 3 - Fix and add reftests. r=roc 2015-09-17 08:30:00 +02:00
Christoph Kerschbaumer
6c324f760e Bug 1026520 - CSP: Inline report sending into allows - callsite updates (r=dveditz) 2015-09-17 22:34:34 -07:00
Phil Ringnalda
4262baf358 Back out changeset e18e75437c6e (bug 1204106) for Android 4.0 API11+ debug reftest-5 opacity-blending.html failures 2015-09-17 20:30:09 -07:00
Phil Ringnalda
104d40647c Back out 2 changesets (bug 1205087) for mass bustage
CLOSED TREE

Backed out changeset 0573cd4aed27 (bug 1205087)
Backed out changeset 11a3cb42f729 (bug 1205087)
2015-09-17 19:30:42 -07:00
Matt Woodrow
d8aeb5d335 Bug 1205087 - Cache AnimatedGeometryRoot on nsDisplayItem. r=roc 2015-09-17 21:05:20 -04:00
Matt Woodrow
420d5bb52e Bug 1205087 - Remove LayerManager parameter for ShouldFixToViewport. r=roc 2015-09-17 21:03:42 -04:00
Matt Woodrow
a6bc220780 Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel 2015-09-17 19:31:00 -04:00
Wes Kocher
065bec8bb4 Merge m-c to inbound, a=merge CLOSED TREE 2015-09-17 15:27:39 -07:00
Wes Kocher
e282163207 Merge b2ginbound to central, a=merge 2015-09-17 15:23:20 -07:00
Carsten "Tomcat" Book
fa9a6243a2 Merge mozilla-central to b2g-inbound 2015-09-17 15:08:41 +02:00
Mike Conley
04b7e65651 Bug 1199434 - Fire an event when the print engine encounters an error. r=smaug
The print engine used to directly cause a prompt to be displayed in the most
recent window in the event of an error. This patch causes the print engine to
fire an event instead so that the front-end can choose to display or ignore
the error.
2015-09-16 16:12:43 -04:00
Ting-Yu Lin
024dfd86de Bug 1199161 - Add selectedTextContent to CaretStateChangedEvent. r=kanru, sr=smaug
The old SelectionStateChangedEvent dispatched by SelectionChanged had
this field, but it has not being ported to CaretStateChangedEvent. We
should include selected text in the event so that Gaia could have a
chance to enhance user experience.
2015-09-16 17:58:14 +08:00
Wes Kocher
b1739d80d5 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-16 11:00:55 -07:00
Nicholas Nethercote
248f611da3 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Wes Kocher
51a51aa221 Merge m-c to b2ginbound, a=merge 2015-09-15 17:20:50 -07:00
Fabrice Desré
bdb61cf1f4 Bug 1202744 - Overlapping software home buttons r=snorp 2015-09-15 11:01:03 -07:00
Neil Deakin
93c46d43dc Bug 1191897, add a flag for popups which allow shortcut keys to not be consumed, fixes shortcuts not working when an e10s select popup is open, r=neil 2015-09-17 11:20:33 -04:00
Brian Birtles
6925337de6 Bug 1183461 part 8 - Add tests for event order dispatch; r=heycam 2015-09-15 14:13:04 +09:00
Brian Birtles
8304eb03e5 Bug 1183461 part 7 - Add EventInfoComparator and sort events; r=heycam
This patch also reworks the dispatch of events in nsRefreshDriver. Previously
the refresh driver would dispatch the transition events for all subdocuments
then the animation events. This arrangement is complicated and not obviously
necessary. This patch simplifies this arrangement by dispatching transition
events and animation events for each document before proceeding to
subdocuments.
2015-09-15 14:05:49 +09:00