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

4256 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin 2aa057e7ff Bug 1170166, add a capture flag to BrowserTestUtils.waitForEvent, r=paolo 2015-06-05 08:33:29 -04:00
Masayuki Nakano a6ac2ceb69 Bug 1163304 Close all existing popups when menubar becomes active because it should have pseudo focus and other popups shouldn't handle key events r=enn+neil 2015-05-15 20:42:14 +09:00
George Wright 654f3e7c40 Bug 1168212 - Ensure popups have a minimum width of their preferred size r=Enn 2015-06-02 13:39:30 -04:00
Gijs Kruitbosch b706b3cd3f Bug 1169606 - fix OSX margin for label/description and fix test rounding so it doesn't go orange, r=dao
--HG--
extra : rebase_source : ee46d27fce8791f203f9fadcc8024c44a7285727
extra : amend_source : e3207dddd28abf6147e43f0d899371ea0c10060b
2015-05-29 18:27:57 +01:00
George Wright 4e327f57b4 Bug 1119074 - If we're stopping event propagation from XUL popups, also stop them from crossing process boundaries r=smaug,felipe 2015-05-25 16:54:13 -04:00
Neil Deakin 759d8c25e5 Bug 873923, add a method to allow popups to be anchored at a rectangle, r=tn,mark,khuey 2015-05-08 14:49:54 -04:00
Neil Deakin 4818484538 Bug 250091, support page up and page down in menulists, r=neil 2015-05-20 13:11:06 -04:00
Eric Rahm 4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Seth Fowler bd70e1593e Bug 1163878 (Part 2) - Use IsImageContainerAvailable() when making layerization decisions and only call GetImageContainer() if we layerize. r=tn 2015-05-13 00:23:46 -07:00
Simon Montagu fe1d4e7e0d Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn 2015-05-12 01:49:25 -07:00
Anthony Tseng 6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Kartikaya Gupta 0d34f1455a Bug 1158933 - Prevent scrollbars from jumping while zoomed in the B2G browser. r=botond 2015-04-29 07:22:27 -04:00
Kartikaya Gupta ca4c4fda69 Bug 1158323 - Make sure we set a base rect on document elements that have margins set. r=tn 2015-04-29 07:22:27 -04:00
Neil Deakin 7003d61769 Bug 1157276, rework test to fix intermittent failure, r=test 2015-04-28 08:20:17 -04:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Markus Stange 4150b52acc Bug 1157936 - Put the correct ratio on the scrollbar layer. r=tn 2015-04-27 14:59:17 -04:00
Ehsan Akhgari 3c14a64fec Backout bug 1157276 because it broke the test on all platforms 2015-04-26 17:25:56 -04:00
Neil Deakin 38d7846b11 Bug 1157276, yield on mouse synthesize calls, r=test-only-change 2015-04-26 12:31:49 -04:00
Andrea Marchesini 085da9302a Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Neil Deakin 894febc41a Bug 1155355, e10s, rewrite and reenable browser tests in layout/xul/test, don't show tooltips during a drag, use system event listeners for tooltips, r=billm 2015-04-21 20:09:14 -04:00
Markus Stange 20468742ef Bug 1148515 - Do the scrollbar thumb layer wrapping in nsSliderFrame so that the thumb's event region is wrapped, too. r=tn
--HG--
extra : rebase_source : 629c067595d3c7260b0f6b3c3a7f0b89e97b070a
2015-04-21 15:22:28 -04:00
Timothy Nikkel 8ff667521d Backout 3c3337ed60a1 (bug 1139306) for causing bug 1156918. 2015-04-21 15:09:48 -05:00
Nicolas Silva cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Simon Montagu bfb5cc9a66 Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn 2015-04-21 11:32:01 +03:00
Ehsan Akhgari f9324092a8 Bug 1156108 - Make nsTreeColumns::mFirstColumn an nsRefPtr; r=roc 2015-04-19 16:44:13 -04:00
Ehsan Akhgari ffad0ee63d Bug 1156106 - Make nsMenuBarFrame::mMenuBarListener an nsRefPtr; r=roc 2015-04-19 16:44:10 -04:00
George Wright 9ac0794124 Bug 1155359 - Set NS_FRAME_IS_BIDI on nsTextBoxFrame if text direction is set to RTL r=roc 2015-04-15 16:00:29 -04:00
Gijs Kruitbosch e3257e1ae0 Bug 1135545 - disable test on Win8 for frequent failures with no plausible explanation (showing start screen), rs=me
--HG--
extra : rebase_source : 715e1fb09b589d510b72c2264889fe67fe6fb72b
2015-04-16 10:12:46 +01:00
Ms2ger f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Wes Kocher 7eb544ddbb Merge central to inbound a=merge 2015-04-13 17:27:59 -07:00
Wes Kocher 381ed5c1ba Merge inbound to m-c a=merge 2015-04-13 17:13:10 -07:00
Nathan Froyd 2b1ae6e2ca Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Nathan Froyd 0bc5179e71 Bug 1153253 - move nsImageBoxFrame::mRequestRegistered to pack better with other members; r=dholbert
Given alignment requirements on most platforms, there will be at least 3
bytes of padding after mRequestRegistered in its current location, and
at least one unused byte at the end of the structure.  We can move
mRequestRegistered after mLoadFlags so that it packs properly with the
boolean flags already there for less wasted space.
2015-04-09 12:56:25 -04:00
Gijs Kruitbosch 097186ab0b Bug 1135545 - further debug by requesting complete logs so we can see success cases, rs=me 2015-04-13 15:39:33 +01:00
David Anderson e8a7d33638 Scrollbar thumbs can overlap scrollbar arrows during APZ scrolling. (bug 1152469, r=botond,mstange) 2015-04-12 23:03:02 -04:00
Timothy Nikkel e4cf81f574 Bug 1150021. Make sure that boxes inside vertical RTL boxes are placed on the right. r=roc
nsSprocketLayout::Layout lays out its children by looping from first child to last child updating local variables x, y as it goes that keep track of the position where to layout the current child.

If the box is horizontal it works left-to-right or right-to-left according to wheather the direction of the box is normal or not. Vertical boxes work similarly top-to-bottom or bottom-to-top. Vertical boxes also respond to CSS direction styles, so that in an LTR box the child boxes are laid out flush left, but flush right in an RTL box. Herein lies the bug, some code assumes the child boxes are laid out flush right in RTL, but the code to actually position the children positions them flush left.

The code that assumes the child are laid out flush right is HandleBoxPack, which determines the origin to start laying out children at, and the code which uses HandleBoxPack to determine if the origin changed during the laying out of the children, and then shifts the children by the amount the origin shifted. The size of our box changing will, in general, change the position of the origin. So the children aren't laid out to the origin that HandleBoxPack expects they will get moved to wrong positions.
2015-04-07 02:28:57 -05:00
Seth Fowler ea22de2fd8 Bug 1150774 (Part 2) - Use the correct units in nsDisplayImageContainer::ConfigureLayer and related code. r=botond 2015-04-07 18:55:28 -07:00
Ryan VanderMeulen 08ab36610a Backed out changeset d23df90fc306 (bug 1150021) for frequent B2G reftest failures. 2015-04-07 11:27:14 -04:00
Timothy Nikkel 8f0c930600 Bug 1150021. Make sure that boxes inside vertical RTL boxes are placed on the right. r=roc
nsSprocketLayout::Layout lays out its children by looping from first child to last child updating local variables x, y as it goes that keep track of the position where to layout the current child.

If the box is horizontal it works left-to-right or right-to-left according to wheather the direction of the box is normal or not. Vertical boxes work similarly top-to-bottom or bottom-to-top. Vertical boxes also respond to CSS direction styles, so that in an LTR box the child boxes are laid out flush left, but flush right in an RTL box. Herein lies the bug, some code assumes the child boxes are laid out flush right in RTL, but the code to actually position the children positions them flush left.

The code that assumes the child are laid out flush right is HandleBoxPack, which determines the origin to start laying out children at, and the code which uses HandleBoxPack to determine if the origin changed during the laying out of the children, and then shifts the children by the amount the origin shifted. The size of our box changing will, in general, change the position of the origin. So the children aren't laid out to the origin that HandleBoxPack expects they will get moved to wrong positions.
2015-04-07 02:28:57 -05:00
Mats Palmgren 035bf0bc77 Bug 1149215 - Remove nsLayoutUtils::GetWholeImageDestination that use unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Nathan Froyd 8bef8d02b7 Bug 1150049 - tidy up nsImageBoxFrame::Init a little bit; r=dholbert
We don't need to use manual NS_{ADDREF,RELEASE} here when nsRefPtr will
do that for us.  The manual QueryInterface invocation only serves to do
an expensive static_cast and increase the refcount; we can forget our
reference into mListener to achieve the same effect.
2015-03-11 13:19:43 -04:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Mats Palmgren 25fa3a4765 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 11:36:14 -04:00
Mats Palmgren 1aeda3bb8d Bug 1149035 - Make nsXULPopupManager::PopupResized take a LayoutDeviceIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 11:36:01 -04:00
Carsten "Tomcat" Book 5c532881b3 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Carsten "Tomcat" Book 01ecf36bdd Backed out changeset 9ac36968bff2 (bug 1149035) 2015-03-30 15:03:30 +02:00
Mats Palmgren eedeead903 Bug 1149035 - Make nsXULPopupManager::PopupResized take a LayoutDeviceIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
Mats Palmgren 2121f47090 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 10:37:33 +00:00
Timothy Nikkel 9d2d565492 Bug 1133732. Header include got missed in rebase. on CLOSED TREE 2015-03-29 18:16:43 -05:00
Timothy Nikkel 12af8e918a Bug 1133732. Make button box frames listen for blurs so they de-activate on blur. r=smaug 2015-03-29 18:05:00 -05:00