Commit Graph

477 Commits

Author SHA1 Message Date
Matt Woodrow
3345b1be69 Bug 693519 - Don't call GetHitDepthAtPoint if we didn't hit anything. r=roc 2011-10-12 16:16:05 +13:00
Matt Woodrow
bae1be5757 Bug 684759 - Part 1 - Flatten out nsDisplayWrapLists when we are preserving 3d. r=roc 2011-10-07 10:21:44 +13:00
Ehsan Akhgari
b48411171f Bug 692109 - The intended crash in nsIFrame::GetOffsetToCrossDoc won't actually crash with some compilers; r=tn
--HG--
extra : rebase_source : 47ddd0eb634c25ff84a49ea9a0a856e0a3ffbec8
2011-10-05 19:55:02 -04:00
Ehsan Akhgari
4d7d5788b7 Bug 692105 - Useless null check in nsFrame::IsSelectable; r=roc
--HG--
extra : rebase_source : 645624b1738073fc6b4192c08af514ec517036ab
2011-10-05 19:49:15 -04:00
Matt Woodrow
97e680e837 Bug 691431 - Remove invalid assertion and NULL check childFrame in WrapPreserve3DList. r=roc 2011-10-04 14:23:04 +13:00
Ehsan Akhgari
fddd9ce5af Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc
--HG--
extra : rebase_source : a98568046ab5e4b4382e380f0fd2d03be481edaa
2011-05-16 13:27:24 -04:00
Matt Woodrow
da4a9cda9a Bug 691106 - Merge sequential nsDisplayTransforms and give them unique frame keys. r=roc 2011-10-03 17:02:25 +13:00
Matt Woodrow
0b23a6bac7 Bug 689501 - Remove invalid assertion with 3d transforms. r=roc 2011-09-30 14:07:04 +13: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
Ehsan Akhgari
b273fc68d8 Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Ehsan Akhgari
47d44b9dc3 Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc 2011-04-27 19:41:43 -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
Adam Dane [:hobophobe]
35dfe378d7 bug 591249 - event dragleave not properly dispatched if drag-and-drop aborted with ESC within iframe. r=smaug 2011-09-26 15:55:04 -05:00
Ms2ger
21263e0741 Bug 687070 - Remove unused variable 'result' in nsDisplaySelectionOverlay::Paint; r=masayuki 2011-09-18 11:22:18 +02:00
Mats Palmgren
4a82c200c1 Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
Make nsIFrame::GetParentStyleContextFrame return the frame directly
instead of indirectly through an out parameter.  Remove the unused
nsPresContext parameter.
2011-09-12 09:08:07 -07:00
Masayuki Nakano
d9869bfccf Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Jonathan Watt
9a2fd9b810 Bug 664130 - Rename isComposited to isVisuallyAtomic. r=roc. 2011-09-08 12:15:00 +01:00
Jonathan Watt
3d83b361b0 Bug 664130 - avoid creating empty nsAbsPosClipWrapper items. r=roc. 2011-09-08 12:15:00 +01:00
Jonathan Watt
c6f1afaf71 Bug 664130 - Clarify some display list comments and code. r=roc. 2011-09-08 12:15:00 +01:00
Matt Woodrow
a5e0a1b39b Bug 682922 - Disable preserve-3d on scroll frames. r=roc 2011-09-05 10:25:35 +12:00
Daniel Holbert
5d075a7a42 Bug 683702: In nsFrame teardown, clear the reference to me on my prev IB sibling (as well as on my next IB sibling). r=roc 2011-09-01 00:10:22 -07:00
Matt Woodrow
ec5a391004 Bug 505115 - Part 14b - Layout support for -moz-transform-style. r=roc 2011-08-27 12:01:46 +12:00
Daniel Holbert
9d95437600 Bug 679933: When a frame is destroyed, remove next special-sibling's pointer to it. r=roc 2011-08-25 01:31:11 -07: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
Josh Matthews
610775bbe2 Bug 679791 - Make nsIFrame::IsFocusable use heuristics that don't depend on the graphical display of scrollbars. r=roc 2011-08-17 13:55:57 -04:00
Marco Bonardo
b92ca56a08 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02: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
Matt Woodrow
fd49690163 Bug 505115 - Part 8c - Use ray tracing to untransform 2d points on a 3d plane. r=roc 2011-08-03 15:04:21 +12:00
Michael Wu
cb03114f5c Bug 675485 - Fix PRBool misuses found in a debug build, r=bz,taras 2011-08-01 18:20:52 -07:00
Ehsan Akhgari
cadef9ec48 Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04: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
Matt Woodrow
6366c7e2e7 Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc 2011-07-23 10:28:51 +12:00
Masayuki Nakano
7d481573dc Bug 671319 Should abort drag for selection at resetting capture r=smaug 2011-07-21 09:29:32 +09:00
Masayuki Nakano
06edb8bcd1 Bug 644621 Drag selection scrolling does not work properly in fullscreen and maximized mode ui=faaborg, r=roc 2011-07-18 03:35:33 +09:00
Masayuki Nakano
dc57bc48ad Bug 670508 Needs null check at starting table selection handling r=roc 2011-07-14 12:55:27 +09:00
Jonathan Watt
3de087f518 Bug 664130. Remove redundant isPositioned check. r=roc. 2011-07-13 08:56:39 +01:00
Masayuki Nakano
61a5b62f82 Bug 670081 Cannot scroll any scrollable elements by drag if non-scrollable element captures mouse events r=roc 2011-07-12 10:13:24 +09:00
Daniel Holbert
55e87ce52f Fix typo in comment within nsFrame.cpp (no bug) rs=dbaron DONTBUILD 2011-07-07 17:57:55 -07:00
L. David Baron
dbb636b97e Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky 2011-07-06 12:03:23 +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
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
Simon Montagu
ca0b6c0240 Check for null frame selection. Bug 666225, r=roc 2011-06-27 19:33:28 +03:00
Craig Topper
43c8429d0c Bug 654369 - Part 9: Remove OOM checks from layout/generic r=bz
--HG--
extra : rebase_source : b828e73151ceb8cb59e1d8f7c0671dc88397057c
2011-04-28 22:02:16 -07:00
Robert O'Callahan
59cfc47b23 Bug 637852. Part 17: Tighten up AreLayersMarkedActive so we track exactly what properties are changing. Also, clamp resolution to power-of-2 only if the frame's transform has a scale. r=tnikkel
This lets us avoid clamping the scale in more situations. We should only clamp the scale when we think
the scale is changing due to a changing transform --- the goal of clamping is to not have to redraw the content
too often when the content is zooming in or out.
2011-06-23 00:11:28 +12:00
Timothy Nikkel
85cdf3236a Bug 621551. If someone is trying to get the offset between frames in different document hierarchies just crash right away so we get useful stacks. r=roc 2011-05-31 17:53:21 -05:00
Ed Morley
9e71e5b9ac Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Ms2ger
bfe60518ca Bug 659990 - Remove nsIDOMNSHTMLHRElement; r=peterv 2011-05-28 09:43:44 +02:00
Masayuki Nakano
49814a538d Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00