Commit Graph

1311 Commits

Author SHA1 Message Date
Robert O'Callahan
453c373374 Bug 731293. Remove nsFrameManager parameter from nsLayoutUtils::GetParentOrPlaceholderFor. r=mats 2012-06-09 00:22:25 +12:00
Mats Palmgren
37020cf426 Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c) 2012-06-03 18:05:00 +02:00
Mats Palmgren
2e6a4d1853 Bug 575294. part=3/4 r=roc 2012-06-02 01:41:54 +02:00
Joel Maher
d63c5a0460 Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma 2012-06-01 08:42:38 -04:00
L. David Baron
06fa5d4558 Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
09d883079b Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky 2012-05-30 22:19:49 -07:00
Neil Rashbrook
17e6cbec1e Bug 757330 Don't activate an empty menubar r=Enn 2012-05-30 08:33:20 +01:00
Neil Deakin
b9d2d5f9e3 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Mounir Lamouri
b941f914a4 Bug 376649 - In GTK, F10 key should show active menubar item and open submenu. r=bz
--HG--
rename : toolkit/content/tests/widgets/test_menubar.xul => toolkit/content/tests/widgets/test_menubar_gtk.xul
rename : toolkit/content/tests/widgets/window_menubar.xul => toolkit/content/tests/widgets/window_menubar_gtk.xul
2012-05-22 01:31:17 +02:00
Ed Morley
c5acb642c1 Merge mozilla-central to mozilla-inbound 2012-05-21 13:19:38 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
L. David Baron
692b93095e Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Robert O'Callahan
caf75ef973 Bug 754556. Use ScrollToCSSPixels in nsScrollBoxObject::ScrollTo/ScrollBy. r=matspal 2012-05-16 17:40:39 +12:00
Oleg Romashin
49e2ef33de Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Masayuki Nakano
09a0295102 Bug 749563 nsMenuBarListener should ignore consumed alt key events in its keydown and keyup event handlers r=enn 2012-05-10 08:25:48 +09:00
Simon Montagu
8ea3d11fe0 Make dir=rtl reverse layout direction in horizontal orientation only. Bug 750551, r=dholbert 2012-05-07 12:17:41 -07:00
Ehsan Akhgari
b56edd828a Backout bug 750551 because of reftest oranges
--HG--
extra : rebase_source : 8947487094a48fb53c50a3c47bdc053db63a7759
2012-05-07 12:34:37 -04:00
Simon Montagu
556037085a Make dir=rtl reverse layout direction in horizontal orientation only. Bug 750551, r=dholbert 2012-05-07 07:27:44 -07:00
Mats Palmgren
f86f27bb38 Bug 751227 - Remove nsPresShell::mStackArena, make it a separate stack class. r=roc 2012-05-04 02:14:02 +02:00
Jonathan Kew
71837dff00 Bug 749658 - Distinguish scrollable from visual bounds for nsTextBoxFrame. r=roc 2012-04-29 20:34:09 -04:00
Ed Morley
cc33314881 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-27 12:52:26 +01:00
Neil Rashbrook
4e1ce87bbc Bug 745447 XUL progress meter layout should match HTML r=Enn 2012-04-27 08:42:10 +01:00
Masayuki Nakano
ba56663cd3 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Matt Woodrow
f2641ecaa8 Bug 746421 - Make nsTextBoxFrames overflow area include the LOOSE_INK_EXTENTS of the text. r=jfkthame 2012-04-27 12:24:54 +12:00
Robert O'Callahan
08d74c5ace Bug 735898. Part 6: Avoid nsIFrame::GetOffsetTo calls by caching a frame/offset pair in nsDisplayListBuilder, using the cache from nsDisplayListBuilder::ToReferenceFrame, and having BuildDisplayListForChild efficiently update the cached frame from parent to child when possible. Also, use display items' precalculated ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame where possible. r=mattwoodrow,a=blocking-fennec 2012-04-18 17:14:14 +12:00
L. David Baron
8c67e2ae8b Add a font inflation data structure per block formatting context. (Bug 706193, patch 2) r=roc
This structure is per block formatting context because we have to make a
single inflation decision for things like consecutive runs of paragraphs
of text.  Inflating some paragraphs and not others (within the same
sequence of adjacent paragraphs) based on the amount of text in each one
would be disastrous.  Otherwise it's ideal for the units to be as small
as possible as long as they merge such sequences; therefore this uses a
definition corresponding to CSS's idea of elements that establish new
block formatting contexts.
2012-04-16 15:32:12 -07:00
Robert O'Callahan
d0dd680745 Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.

With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).

FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Mark Capella
f940d32efb Bug 739524 - replace TreeViewChanged DOM event on direct call from XUL tree, r=tbsaunde, f=surkov 2012-04-02 20:31:10 +09:00
Phil Ringnalda
0abdfa04b8 Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Kyle Huey
c3096d813b Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
Alexander Surkov
ed99cf3a8a Bug 656225 - XUL listbox accessible tree doens't get updated, r=tbsaunde, bz 2012-03-27 16:29:51 +09:00
Adam Dane [:hobophobe]
f6bfd29afb Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Daniel Holbert
204ed71c30 Bug 640443: Allow positioned display:-moz-box elements to be containers for absolutely-positioned content. r=bz 2012-03-10 14:49:10 -08:00
Mats Palmgren
6fca6aec5e Bug 728906 - Make nsIFrame::GetChildList return const nsFrameList&. r=bz 2012-03-08 02:57:37 +01:00
Mats Palmgren
dd7336d82b Bug 728913 - Remove the nsMenuFrame::mPopupFrame member and store it in a nsFrameList* frame property instead (as needed). r=bz 2012-03-08 02:57:37 +01:00
Nathan Froyd
72e8d1d540 Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu 2012-02-29 10:57:47 -05:00
Masayuki Nakano
c4557e80fd Bug 625151 Reset accesskey state at blur and alt keydown r=enn 2012-02-14 09:56:03 +09:00
Karl Tomlinson
699a6f830b b=724967 update mWidget before calling CaptureRollupEvents to handle rollup during the call r=enndeakin
--HG--
extra : rebase_source : 47e0d5e43884c3722a3517d1e631c790e95101ec
2012-02-14 09:19:50 +13:00
Neil Deakin
823eadc291 Bug 707386, remove use of drag session from treebodyframe, r=neil 2012-02-07 13:02:33 -05:00
Makoto Kato
132ccffec7 Bug 691103 - nsBoxObject::SetPropertyAsSupports cannot recognize nsInterfaceHashtable.Init error. r=bz 2012-02-02 15:32:44 +09:00
Ms2ger
924b63075d Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger
e3e8b35541 Bug 718504 - Remove some GetChildAt callers; r=smaug 2012-01-25 08:50:07 +01:00
Mats Palmgren
9d52d983fd Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc 2012-01-18 21:04:51 +01:00
L. David Baron
77cffa9ed9 Set inflation container and width correctly during reflow. (Bug 706609, patch 3) r=roc
This is the second of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
Benjamin Stover
0a52de4032 Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.

There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Markus Stange
b976b6e46e Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc 2011-12-23 22:52:21 -05:00
Kyle Huey
9cc71b5f7f Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Mats Palmgren
9cc6cc3865 Bug 515530 - Remove nsHTMLContainerFrame. r=roc 2011-12-27 21:18:48 +01:00
Phil Ringnalda
3f8c5b26b0 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Markus Stange
4af1a01b29 Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc 2011-12-23 22:52:21 -05:00
Nicholas Nethercote
56767a7167 Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron. 2011-12-19 19:46:39 -08:00
Matthew Schranz
91b4e4faac Bug 334573 - Renamed all references of nsPLDOMEvent to nsAsyncDOMEvent. r=sicking
--HG--
rename : content/events/public/nsPLDOMEvent.h => content/events/public/nsAsyncDOMEvent.h
rename : content/events/src/nsPLDOMEvent.cpp => content/events/src/nsAsyncDOMEvent.cpp
2011-12-17 01:02:05 -05:00
Masayuki Nakano
b30ca124b1 Bug 204786 Use LookAndFeel for delay to show tooltip r=roc+enndeakin 2011-12-16 18:18:48 +09:00
Masayuki Nakano
4277a2bfdb Bug 706743 tooltip listener should ignore mousemove and mouseout events during drag r=enndeakin 2011-12-16 15:17:48 +09:00
Justin Lebar
02f303732b Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended. 2011-12-01 16:35:42 -05:00
Justin Lebar
79b6477d6c Backed out changeset 5d920a44a901 (bug 698002) 2011-12-01 15:43:07 -05:00
Timothy Nikkel
252f9a5156 Bug 668437. Part 5. Make the view bounds of a popup coincide with the client area of the widget. r=enndeakin,roc 2011-12-01 13:56:42 -06:00
Timothy Nikkel
2c18515e4a Bug 668437. Part 2. When placing popup widgets check if the client offset of the window has changed in addition to the top left of the window. r=enndeakin 2011-12-01 13:56:41 -06:00
Timothy Nikkel
7b02d27fdb Bug 668437. Part 1. DeCOMtaminate nsMenuPopupFrame::GetWidget. r=enndeakin 2011-12-01 13:56:41 -06:00
Masayuki Nakano
3290b47869 Bug 703210 XUL tooltip listener should use system event group for listening to content events r=smaug+enn 2011-11-29 13:39:21 +09:00
Scott Johnson
f18d3bfb84 Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz 2011-11-28 14:11:01 -06:00
Scott Johnson
79c60fcae9 Backed out changeset 068e3078ced6 2011-11-28 13:12:16 -06:00
Scott Johnson
494c76bbc9 Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz 2011-11-28 12:40:18 -06:00
Masayuki Nakano
87c08c8383 Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug 2011-11-25 10:09:58 +09:00
Ed Morley
e57dd3a282 Merge mozilla-central and mozilla-inbound 2011-11-24 09:08:33 +00:00
L. David Baron
51ec63eaad When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc 2011-11-23 18:48:23 -08:00
Jeff Walden
19f38bafe5 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Scott Johnson
09f27e33c4 Bug 682077 - Backout of 332d4787b430 to troubleshoot crashes on Windows. 2011-11-23 13:40:08 -06:00
Neil Deakin
f6c640932a Bug 703260, part 2, remove view usage from popup manager's widget callbacks, r=mats 2011-11-21 12:53:20 -05:00
Neil Deakin
e40bc148fb Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc 2011-11-21 12:53:20 -05:00
Masayuki Nakano
91baa0e9e9 Bug 159346 part.2 Repeat scroll even if mouse cursor is outside of the pressed scrollbar button on gtk2 and qt r=enndeakin+roc 2011-11-18 08:41:35 +09:00
Masayuki Nakano
a74c9150ce Bug 159346 part.1 Scrollbar button should capture mouse events and do scroll only when cursor is on it r=enndeakin 2011-11-18 08:41:35 +09:00
Phil Ringnalda
fb732c5149 Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
L. David Baron
430f422bc5 When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc 2011-11-15 17:02:00 +13:00
Scott Johnson
7dade638ff Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz
--HG--
extra : rebase_source : 37becb5bb6a987fafb90a340284d284614dc64ae
2011-11-15 10:59:19 +13:00
Cameron McCormack
75f1bbc8b2 Bug 652494 - Report uncaught JS exceptions in chrome mochitests as test failures. r=jmaher 2011-11-12 22:06:54 +11:00
Scott Johnson
966a2332b0 Bug 666446, Part 8/10 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc] 2011-11-09 13:39:16 -08:00
Scott Johnson
20e54963ae Bug 666446, Part 5/10 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc] 2011-11-09 13:39:16 -08:00
Neil Deakin
9b80fd4f04 Bug 696745, remove nsIMenuRollup and xul-popup-manager component, r=mats,sr=roc 2011-11-08 14:59:07 -05:00
Ed Morley
345c2b06c0 Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Atul Aggarwal
fd8358a7dd Bug 408630 - Updating nsTreeBodyFrame.cpp file from int to PRInt32/PRUint32 to avoid overflow; r=roc 2011-11-04 09:58:05 +05:30
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Justin Lebar
0b965502f1 Merge backout 2011-11-02 20:11:25 -04:00
Justin Lebar
86c0378be8 Back out bug 666446 due to Talos regression. 2011-11-02 20:11:01 -04:00
Scott Johnson
d2f7df4c5d Bug 666446, Part 8/10 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc] 2011-11-01 11:06:53 -04:00
Scott Johnson
130f7f3951 Bug 666446, Part 5/10 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc] 2011-11-01 11:06:53 -04:00
Jesse Ruderman
4ac4751847 Fix typo in assertion text (no bug, DONTBUILD) 2011-11-01 15:29:15 -07:00
Jesse Ruderman
1328b75354 Remove trailing whitespace (no bug, DONTBUILD) 2011-11-01 15:28:48 -07:00
Jonathan Watt
8a0b72332d Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Timothy Nikkel
3e466ae9bb Bug 655263. Remove views from decks. r=roc 2011-10-26 18:57:55 -05:00
Timothy Nikkel
09778341dc Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc 2011-10-26 18:57:55 -05:00
Timothy Nikkel
258cd4a079 Bug 658005. Part 1. Allowing query frame to work on deck frames. r=roc 2011-10-26 18:57:55 -05:00
Timothy Nikkel
cb4f16ac10 Bug 658001. Need to clear mouse capture if the capturing frame is inside a hidden deck panel. r=roc 2011-10-25 13:20:13 -05:00
Timothy Nikkel
6744e4ecfa Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc 2011-10-21 12:45:32 -05:00
Timothy Nikkel
79abab2e7b Backout 18f70ede04b0 (bug 694213). 2011-10-20 20:59:47 -05:00
Timothy Nikkel
332c11b9c9 Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc 2011-10-20 12:44:28 -05:00
Timothy Nikkel
3d978c5cd5 Bug 695245. Misc view related code cleanup. Mostly dead code removal. r=roc 2011-10-19 14:10:13 -05:00
Marco Bonardo
96f6fdb983 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Olli Pettay
e5b7e8ee46 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Timothy Nikkel
ab16fdd5c9 Backout 8db8c9ce92c5 (bug 694213). 2011-10-18 00:41:10 -05:00
Timothy Nikkel
5b00acba12 Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc 2011-10-17 19:56:03 -05:00
Timothy Nikkel
732b7981b0 Bug 695252. When switching cards in a deck we don't need to purge all thebes layer contents. r=roc 2011-10-18 12:48:29 -05:00
Benoit Girard
4ee20d1356 Bug 691354 - Enable test fix by changes. r=jmuizelaar 2011-10-17 13:09:03 -07:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Peter Van der Beken
c119510fb8 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Nathan Froyd
fc742a53b8 Bug 687166 - GCC 4.6 build warning: "layout/xul/base/src/nsSplitterFrame.cpp:997: warning: variable current set but not used [-Wunused-but-set-variable]". r=smaug 2011-10-07 16:16:36 +01:00
Scott Johnson
7741477b8c Backout cset 4ec20f190f00 from bug 666446 while we sort out regressions 2011-10-07 00:25:24 -07:00
Scott Johnson
ca4e136152 Backout cset 49d997bcdc60 from bug 666446 while we sort out regressions 2011-10-07 00:24:44 -07:00
Scott Johnson
8828abe2a6 Bug 666446, Part 8/18 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc] 2011-10-03 13:39:05 -07:00
Scott Johnson
9a5b073351 Bug 666446, Part 5/18 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc] 2011-10-03 13:39:05 -07:00
Ehsan Akhgari
718a93adce Merge mozilla-central into mozilla-inbound 2011-09-29 17:26:09 -04:00
Neil Deakin
79816dbc59 Bug 659338, move resizer test to chrome, but leave content-specific test as a content test 2011-09-29 16:05:10 -04:00
Neil Deakin
e6cc4cf4d2 Bug 683394, resizer in content check is reversed, r=neil 2011-09-29 16:05:10 -04:00
Neil Deakin
97c4df9058 Bug 680431, this test is calling finish() twice preventing the next test from running, f=smaug 2011-09-29 16:05:10 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Alexander Surkov
6a04618807 Bug 673958 - rework accessible focus handling, r=enndeaking, marcoz, tbsaunde, matspal, f=marcoz
--HG--
rename : accessible/tests/mochitest/test_aria_activedescendant.html => accessible/tests/mochitest/events/test_focus_aria_activedescendant.html
rename : accessible/tests/mochitest/events/test_focus.html => accessible/tests/mochitest/events/test_focus_dialog.html
rename : accessible/tests/mochitest/events/test_focusdoc.html => accessible/tests/mochitest/events/test_focus_doc.html
rename : accessible/tests/mochitest/events/test_focus.xul => accessible/tests/mochitest/events/test_focus_general.xul
rename : accessible/tests/mochitest/states/test_comboboxes.xul => accessible/tests/mochitest/states/test_expandable.xul
rename : accessible/tests/mochitest/test_nsIAccessible_selects.html => accessible/tests/mochitest/states/test_selects.html
2011-09-28 10:46:11 +09:00
Benoit Girard
95f511b8f5 Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe
--HG--
extra : rebase_source : b5458fa13fc6277560eb0ebc3e4e31f6c04b4e6c
2011-09-19 13:05:15 -07:00
Jonathan Kew
3f213d78b5 bug 686497 - avoid passing excessively long wavy-underline path to cairo for stroking. r=roc 2011-09-16 20:23:29 +01:00
Ehsan Akhgari
c15d8c0733 Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky 2011-05-12 00:04:30 -04:00
Jonas Sicking
e7a04291bc Bug 684927 - unchecked null pointer in nsMenuBarListener::KeyUp; r=smaug 2011-09-12 14:00:59 -04:00
Daniel Holbert
ccdec3fe46 Bug 686257: remove now-unused variable 'presContext' from nsMenuPopupFrame::Init to fix gcc warning. r=masayuki 2011-09-11 20:12:07 -07:00
Masayuki Nakano
e481b14784 Bug 669028 part.12 layout/xul should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Ms2ger
0038e2e573 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Phil Ringnalda
a947adb0a9 Bug 634759 followup followup, remove the bug numbers that explain removed annotations DONTBUILD 2011-08-29 19:32:13 -07:00
Benjamin Stover
5180a1c2e4 Bug 634759 Followup: Mark unexpected passes as expected r=me 2011-08-29 13:42:35 -07:00
Kyle Huey
85d92f9eda Back out f19404f45022 (Bug 680431) for perma-orange. 2011-08-29 09:02:42 -04:00
Neil Deakin
ae28ef47b9 Bug 680431, test_bug511075.html is calling finish() twice, f-smaug 2011-08-29 07:51:35 -04:00
Peter Van der Beken
8f948c6212 Fix for bug 682539 (Add nsTreeColumn::mNext to CC). r=smaug. 2011-08-28 16:07:26 +02:00
Ms2ger
b12351fbda Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Mats Palmgren
6894179e71 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
f06792a6ef Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Mats Palmgren
90d0315f85 Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes.  Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Neil Deakin
3013e94888 Bug 533460 - Allow custom panels/windows to be used as drag/drop feedback images. r=karlt,josh,roc 2011-04-25 18:37:20 -07:00
Matt Brubeck
505315087e Merge last green changeset from mozilla-central to mozilla-inbound 2011-08-19 16:26:25 -07:00
L. David Baron
016d13809b Annotate reftest for bug 442228 as failing on Android. 2011-08-19 16:19:13 -07:00
L. David Baron
5d84586794 Add reftest for bug 677091.
This tests a situation similar to the one in the preference dialog in
bug 677091, though in this case the bug is exhibited by the label
overflowing its container (an hbox with a background) rather than
wrapping.
2011-08-19 15:02:49 -07:00
Kyle Huey
73d0fb8be1 Bug 555482: Allow resetting resizers by double-clicking on the resizer. r=Enn 2011-08-18 10:25:36 -04:00
L. David Baron
0cd491390d Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Ms2ger
d377c55ed2 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mats Palmgren
66c48bce55 Bug 663375 - When text color is darkened, darken text-decoration color too. r=dbaron 2011-08-09 17:14:36 +02:00
Neil Deakin
cac8593a48 Bug 585069, support ratio scaling for xul images, r=dbaron 2011-08-05 15:24:24 -04:00
Neil Deakin
5cdace403e Bug 524545, popups with large margins appearing offscreen, r=roc 2011-08-05 15:24:24 -04:00
Masayuki Nakano
1380b10143 Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319) 2011-08-03 12:39:02 +09:00
Michael Wu
2bee25de63 Bug 675561 - Calls to GetMetric should pass a pointer to PRInt32, not PRBool, r=roc 2011-08-01 18:20:52 -07:00
David Zbarsky
d15acdd08b Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg 2011-07-31 21:43:54 +02:00
Marco Bonardo
57d585b73d Bug 674578 - Support resizer[dir="bottomstart"].
r=enn
2011-07-29 11:38:41 +02:00
Marco Bonardo
222b052f63 Bug 674862 - nsResizerFrame may deanchor panels.
r=enn
2011-07-29 11:38:39 +02:00
Michael Wu
6a28121ce1 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Masayuki Nakano
fd858e2321 Bug 673315 part.1 selection change reason must be MOUSEUP_REASON when dragging for selection finishes normally r=smaug 2011-07-24 23:26:40 +09:00
Mounir Lamouri
2e1dfaef9e Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Ehsan Akhgari
ee5215c7a6 Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6 Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri
d2f5a3b4c3 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
Alexander Surkov
047029f65e Bug 671504 - get rid nsIPresShell::gAccessibilityIsActive, r=roc 2011-07-19 17:30:19 +09:00
Matheus Kerschbaum
55aebc79d4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Mats Palmgren
fea8a08e84 Bug 576174 - "ASSERTION: Losing track of existing primary frame". r=bzbarsky 2011-07-15 16:24:58 +02:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Simon Montagu
672d772074 Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Neil Deakin
4bf3881ba3 Bug 670148, remove nsIBoxLayout, r=roc 2011-07-11 10:05:10 -04:00
Neil Deakin
f6bd0911ea Bug 670148, remove nsIScrollbarFrame, r=roc 2011-07-11 10:05:09 -04:00
Neil Deakin
34d82c8060 Bug 670148, remove nsIMenuFrame, r=roc 2011-07-11 10:05:07 -04:00
Jan Varga
b4bb28b0f5 Bug 295285 - onpopupshowing does not expose accesskeys (event.shiftKey) r=enn 2011-07-09 09:41:32 +02:00
Masayuki Nakano
180918ceb1 Bug 552707 While we're expanding selection by dragging, the selection root element should capture mouse events and all scrollable elements should be scrollable r=roc+smaug, ui=faaborg 2011-07-06 11:16:18 +09:00
Neil Deakin
eb070d343a Bug 666927, clean up nsBoxFrame::GetLayoutManager to return value, r=roc 2011-07-04 10:39:10 -04:00
Michael Ventnor
fbbebba241 Bug 669015 - Fix regressed text-shadow in XUL r=roc 2011-07-04 14:59:19 +10:00
Marco Bonardo
13b5cd08c3 Merge mozilla-inbound and mozilla-central 2011-07-02 10:39:08 +02:00
Marco Bonardo
c0afb18da7 Merge Places and mozilla-central 2011-07-01 18:26:04 +02:00
Michael Ventnor
46f09cdf8f Fix reftest failures from bug 666689 2011-07-01 18:21:46 +10:00
Michael Ventnor
5b88cf2c15 Implement text-shadow for the text-overflow marker text (ellipsis) r=roc 2011-07-01 16:43:11 +10:00
Marco Bonardo
b9b2ded530 Bug 668319 - Allow to set opacity on ::-moz-tree-cell-text.
r=roc
2011-06-30 15:33:58 +02:00
Ehsan Akhgari
68be621524 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Jonas Sicking
1c3678f3b3 Bustage fix for bug 664058 2011-06-29 11:54:46 -07:00
Jonas Sicking
118b05fb6e Bug 664058: Remove Add/RemoveEventListenerByIID from nsXULPopupManager. r=smaug 2011-06-29 11:07:48 -07:00
Marco Bonardo
d6c4314155 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Jonas Sicking
00fefc69cf Bug 664058: Remove Add/RemoveEventListenerByIID from nsMenuBarListener. r=smaug 2011-06-30 14:20:02 -07:00
Jonas Sicking
627bf6df77 Bug 664058: Remove Add/RemoveEventListenerByIID from nsXULTooltipListener. r=smaug 2011-06-30 14:19:40 -07:00
Ehsan Akhgari
c4436101c8 Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Jonas Sicking
8959893a53 Bug 664058: Remove Add/RemoveEventListenerByIID from nsSplitterFrame. r=smaug 2011-06-28 10:59:14 -07:00
Jonas Sicking
f31ca46f1c Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug 2011-06-28 10:59:14 -07:00
L. David Baron
9a5dc76aa8 Make nsMenuFrame::SizeToPopup consider its own border/padding properly, by increasing the popup's content's width by the larger of its own border/padding or the popup's scrollbar, rather than only the latter. (Bug 623922) r=enndeakin 2011-06-29 14:39:21 -07:00
Kai Liu
0443d1b721 Bug 659993: Part 1: Expose a function to determine if a menuitem is a part of a menulist (and if so, what type). r=bzbarsky 2011-06-24 14:00:35 -07:00
Jonas Sicking
6a04ff1d9f Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Marco Bonardo
970fda0a3c Bug 664127 - Allow to set opacity on ::-moz-tree-image.
r=roc
2011-06-23 14:35:07 +02:00
Olli Pettay
ea204bc06a Bug 664430 - Make sure PopupManager doesn't keep objects alive after xpcom-shutdown, r=enndeakin
--HG--
extra : rebase_source : 137f6507926c47686d9542f97b6d518599e5ed0f
2011-06-18 12:11:36 +03:00
Jonas Sicking
5f95458332 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
L. David Baron
ef804233bb Address missed review comment from bug 644514 patch 1: remove unused macro. r=bzbarsky 2011-06-12 18:52:32 -07:00
Joel Maher
86abdea745 Bug 653145 - move layout/xul/base/test/* mochitests to mochitest-chrome to avoid enablePrivileges. r=bzbarsky, a=test-only 2011-06-09 11:10:11 -04:00
Neil Deakin
d82e4f5a03 Bug 577377, add a means to get the screen rectangle of a popup, r=neil 2011-06-03 15:38:23 -04:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Boris Zbarsky
48e3edf8fc Bug 598833 part 6. Get rid of nsEventStateManager::GetContentState. r=smaug 2011-05-31 21:46:56 -04:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Masayuki Nakano
2b6aea130f Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00