Commit Graph

1939 Commits

Author SHA1 Message Date
Seth Fowler
f8b4b72216 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
9d7063633b 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
c3e1645f26 Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
Kartikaya Gupta
b2d9e360ea Bug 1158933 - Prevent scrollbars from jumping while zoomed in the B2G browser. r=botond 2015-04-29 07:22:27 -04:00
Kartikaya Gupta
c5a9d13142 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
4d11079980 Bug 1157276, rework test to fix intermittent failure, r=test 2015-04-28 08:20:17 -04:00
David Major
ed6ca74f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Markus Stange
277becc1a3 Bug 1157936 - Put the correct ratio on the scrollbar layer. r=tn 2015-04-27 14:59:17 -04:00
Ehsan Akhgari
44b45b95aa Backout bug 1157276 because it broke the test on all platforms 2015-04-26 17:25:56 -04:00
Neil Deakin
694742248e Bug 1157276, yield on mouse synthesize calls, r=test-only-change 2015-04-26 12:31:49 -04:00
Andrea Marchesini
c77bfc0235 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
81d43820f2 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
a2b87c0c17 Bug 1148515 - Do the scrollbar thumb layer wrapping in nsSliderFrame so that the thumb's event region is wrapped, too. r=tn 2015-04-21 15:22:28 -04:00
Timothy Nikkel
b76648e0f6 Backout 3c3337ed60a1 (bug 1139306) for causing bug 1156918. 2015-04-21 15:09:48 -05:00
Nicolas Silva
d93b5d5970 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
bd9bc90ac2 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
61484506f8 Bug 1156108 - Make nsTreeColumns::mFirstColumn an nsRefPtr; r=roc 2015-04-19 16:44:13 -04:00
Ehsan Akhgari
a8447d2940 Bug 1156106 - Make nsMenuBarFrame::mMenuBarListener an nsRefPtr; r=roc 2015-04-19 16:44:10 -04:00
George Wright
30ff6880b6 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
859b208683 Bug 1135545 - disable test on Win8 for frequent failures with no plausible explanation (showing start screen), rs=me 2015-04-16 10:12:46 +01:00
Ms2ger
2aad41dbe8 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
3dcf4b585d Merge central to inbound a=merge 2015-04-13 17:27:59 -07:00
Wes Kocher
5e50dfb256 Merge inbound to m-c a=merge 2015-04-13 17:13:10 -07:00
Nathan Froyd
68d9d5628d 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
b98ab076fa 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
36f1557fc2 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
5e8b4b8a59 Scrollbar thumbs can overlap scrollbar arrows during APZ scrolling. (bug 1152469, r=botond,mstange) 2015-04-12 23:03:02 -04:00
Timothy Nikkel
53fb321cb8 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
84c9c0ef1d 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
d3085ce0b1 Backed out changeset d23df90fc306 (bug 1150021) for frequent B2G reftest failures. 2015-04-07 11:27:14 -04:00
Timothy Nikkel
d8ceb3b8ed 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
b49cf5eed9 Bug 1149215 - Remove nsLayoutUtils::GetWholeImageDestination that use unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Nathan Froyd
055acdcf67 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
ee117642af 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
eb873cb613 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
53e122f6fd 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
401ed9969f Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Carsten "Tomcat" Book
c9a6e1a8e0 Backed out changeset 9ac36968bff2 (bug 1149035) 2015-03-30 15:03:30 +02:00
Mats Palmgren
73daa2a1b7 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
e4531ed040 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
c85c9e4077 Bug 1133732. Header include got missed in rebase. on CLOSED TREE 2015-03-29 18:16:43 -05:00
Timothy Nikkel
9e7e7f49b7 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
Mats Palmgren
3f5a5b4fa1 Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Timothy Nikkel
c6e217eef3 Bug 1130400. Add test. 2015-03-27 01:52:39 -05:00
Geoff Brown
0003177c6f Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Timothy Nikkel
67581c6b64 Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Kearwood (Kip) Gilbert
d978a83d39 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00
Wes Kocher
cad55266a2 Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood (Kip) Gilbert
906ca87f97 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00