Commit Graph

1056 Commits

Author SHA1 Message Date
Boris Zbarsky
c0e236bebd Bug 602341 part 2. Switch tree pseudoelements to using an nsAtomList (mClassList, to be exact), not an nsPseudoClassList (mPseudoClassList), for their list of atoms. r=dbaron 2011-03-23 09:52:25 -04:00
Craig Topper
72d7c1f754 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Olli Pettay
56d4d954cb Bug 630919, add collect and invalidate phases for tree ranges, r=enn+neil, a=jst
--HG--
extra : rebase_source : 0a714e7f3829f9641340e47a83f386ab7a0d0905
2011-03-01 14:23:26 +02:00
Vivien Nicolas
edaa05f5dd Add start/end attributes support to StackFrame [r=enndeakin,a=blocking-fennec] 2011-02-28 19:06:29 +01:00
Timothy Nikkel
43c33da1e3 Bug 594596. Check the return value when creating a menu popup widget. r=roc a=roc 2011-02-21 13:00:48 -06:00
Jonathan Kew
6ac3bd15ff bug 622507 - snap popup menu's view position to device pixels. r+a=roc 2011-02-21 08:52:42 +00:00
Jonathan Kew
227dcbc692 Backed out changeset 26c7b580d5a2 (bug 622507) due to orange. a=backout 2011-02-18 09:46:27 +00:00
Jonathan Kew
9e3a051ec8 bug 622507 - snap popup position to device pixels, to avoid Bookmark menu size getting stuck. r+a=roc 2011-02-18 09:12:08 +00:00
timeless@mozdev.org
987ebea9dd Bug 620416 - hopefully useless null check of aCol in nsTreeBodyFrame::GetCellAt
r=enn a=dbaron
2011-02-16 14:14:20 +01:00
Felipe Gomes
ed4c4bb19e Bug 597723. Mouse scrolling shouldn't dismiss panel notifications. r=enndeakin a=blocking-final 2011-01-19 19:21:38 -08:00
Neil Deakin
6b11f9fd6c Bug 607224, followup to use separate interface, r=neil,a=blocking 2011-01-17 09:36:33 -05:00
Neil Deakin
fee5806e2b Bug 489303, show resizer when statusbar is hidden, r=roc,gavin a=blocking 2011-01-17 09:35:32 -05:00
Robert O'Callahan
ce2d40adbe Bug 613696. Always use the presshell's reference rendering context to create textruns when we draw text via nsIThebesFontMetrics::DrawString, to be consistent with the textruns we measure during reflow. r=dbaron,a=blocking 2011-01-17 09:23:33 +13:00
Mounir Lamouri
4c878405c1 Bug 619223 - Arrow panel should use the direction of the anchor. r=enndeakin f=smontagu a=blocking-final 2011-01-13 15:02:20 +01:00
Neil Deakin
9745c2afd5 Bug 607224, add property that specifies if a menu was opened via the keyboard, r=neil,a=blocking 2011-01-04 12:24:51 -05:00
Robert O'Callahan
d886269e1d Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
face759151 Bug 602757. Part 2: Detect display items over the transparent part of a window, and disable usage of component alpha (i.e., subpixel antialiasing) for those items. r=tnikkel,a=blocking 2011-01-03 14:48:09 +13:00
Gavin Sharp
82f380c4da Back out 0ab0603bea99 (bug 489303) due to suspected Txul regression, a=backout 2010-12-25 14:55:35 -05:00
Neil Deakin
49b5659acf Bug 489303 - No resizer since the statusbar is gone, r=gavin+roc, a=b 2010-12-21 13:19:00 -08:00
timeless@mozdev.org
5f4030f326 Bug 620253 nsResizerFrame::AdjustDimensions fall through comment is misplaced, r+a=dbaron 2010-12-19 19:39:00 -08:00
Phil Ringnalda
c58c31de0d Bug 616710 - Annotate the 0-4 assertions about "Doing nscoord addition with values > nscoord_MAX" on Windows in crashtests/380217-1.xul, a=orange 2010-12-15 09:33:29 -08:00
Masayuki Nakano
fa4f748442 Bug 616797 Menubar doesn't appear by Alt key after using accelerator to open a popup menu and closing it by click r=enn, a=final+ 2010-12-08 19:49:09 +09:00
Neil Deakin
bfc477c78a Bug 606343, part 1, add centering position types for panels, r=neil, a=blocking 2010-12-05 17:09:36 -05:00
Masayuki Nakano
6aaa0b5d0d Bug 261715 Alt key auto-repeat shouldn't cause to show/focus menubar if mouse button is down during first Alt keydown and Alt keyup r=enn, a=jst 2010-12-04 10:55:15 +09:00
Oleg Romashin
3228336658 Bug 615536 - nsIFrame::GetMouseThrough need to be optimized r=roc a=approval2.0 2010-11-30 16:59:46 +02:00
Neil Deakin
4c6bbc0457 Bug 561243 - Name field in edit bookmarks panel ignores mouse events while focused. r=roc, a=blocking 2010-12-01 09:39:10 -08:00
Johnny Stenback
ca3f5c8904 Fixing bug 594547, crash downstream from nsTreeContentView::InsertRow(). r=bzbarsky@mit.edu, tnikkel@gmail.com, a=jst@mozilla.org 2010-11-17 14:30:14 -08:00
Ehsan Akhgari
2bd53975b3 Bug 611182 - Part 5: Adjust the assertion annotation for an assertion which now gets triggered more because we're doing things correctly; r=bzbarsky a=blocking-beta8+ 2010-11-11 19:10:37 -05:00
Jesse Ruderman
b813926f1a Bug 583957 - add crashtest 2010-11-06 13:30:32 -07:00
Masayuki Nakano
d16a1c374e Bug 591890 focus() method should be able to steal focus when it's called from mousedown event handler r=enndeakin, a=betaN+ 2010-11-06 14:04:11 +09:00
Joel Maher
d98970d175 Bug 590248 test_resizer.xul not valid for fennec testing, disable test for fennec r=mfinkle a=NPOTB 2010-11-04 17:01:13 -07:00
Mihai Sucan
a8cd49d408 Bug 601352 - Console does not scroll expression result into view, r+a=roc 2010-10-28 13:01:37 -03:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Mounir Lamouri
02ab19880a Bug 604056 - nsIDocumentObserver methods should be declared with a macro. r+a=bz 2010-10-20 09:41:05 +02:00
Alexander Surkov
8b53f409de Bug 604386 - Prune placeholder from text children, r=davidb, sr=bz, a=blocking 2010-10-16 00:34:35 +09:00
Neil Deakin
71674132a2 Bug 554937 - Implement arrow panels and use them for some notifications, r=gavin, a=betaN+ 2010-10-13 15:41:37 -04:00
Daniel Holbert
246bdc65d2 Bug 598798 patch 4: Remove hard-coded GraphicsFilter from nsLayoutUtils::DrawSingleUnscaledImage, and make its dirty-rect argument optional. r=roc a=blocking-betaN 2010-10-11 13:08:07 -07:00
Matt Woodrow
47554e7736 Bug 594983. Look inside display sublists to determine whether there is text for the layer. r=roc,a=blocking 2010-10-11 13:58:20 +13:00
Jesse Ruderman
d0a2a35c8c Crash test for bug 601427. a=TEST 2010-10-11 00:07:00 +02:00
Phil Ringnalda
56bba9aa07 Bug 385845 followup, stop expecting an assertion in layout/xul/base/src/crashtests/321056-1.xhtml, a=bustage 2010-10-09 18:21:59 -07:00
Timothy Nikkel
ede56de270 Bug 587960. Don't run tree view code when the document is a zombie. r=bzbarsky a=roc 2010-10-09 14:09:22 -05:00
Timothy Nikkel
25ef24ef0d Bug 564705. Add crashtest. a=tests-only 2010-10-08 13:58:45 -05:00
Neil Rashbrook
f01cf84dbe Bug 595570 Fix mouse coordinates for tooltip popupshowing events r=Enn a=roc 2010-10-07 21:38:13 +01:00
L. David Baron
a56a24a514 Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron
40d60928c6 Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron
dfd177a552 Make overflow from text frames be visual overflow only, and not scrollable. (Bug 542595, patch 8) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
Jesse Ruderman
7256634017 Bug 557174 - add crashtest. a=NPOTB 2010-09-24 11:30:54 -07:00
Alexander Surkov
a9d4da54f8 Bug 597311, remove NS_ACCESSIBLE_EVENT case from nsMenuFrame.cpp, r=roc 2010-09-23 12:35:26 +09:00
Neil Deakin
ea5241da09 Bug 554937, part 1, add anchorNode property for popups, r=neil,a=blocker 2010-09-21 13:53:01 -04:00
Masatoshi Kimura
2df4090123 Bug 593577 - Get rid of nsContentType. r=roc a=a 2010-09-20 15:40:13 +02:00
Neil Deakin
43da4cf629 Bug 566154 - text missing from preferences font size pulldown.; f=neil r=neil a=blocking-betaN+ 2010-09-15 11:25:08 -04:00
Neil Rashbrook
deb54a6c9c Bug 586408 document.popup node doesn't work with nested popups (regression from bug 383930) r=Enn a=beltzner 2010-09-10 21:24:25 +01:00
Neil Rashbrook
81f51c150b Bug 588070 Tooltips shouldn't use cached mouse events r=Enn a=beltzner 2010-09-10 21:22:17 +01:00
L. David Baron
27b2504e3c Make nsIFrame::DisplaySelectionOverlay take an nsDisplayList* instead of nsDisplayListSet&. (Bug 485501) r=roc a2.0=blocking:beta6 2010-09-09 08:21:46 -07:00
Alon Zakai
4606f548ac Bug 359608 - Animated GIFs are animated even when user navigates to another page.r=bholley,bz;sr=bz;a=blocker 2010-09-07 17:33:02 -07:00
Neil Deakin
b753ff6479 Bug 558072. Allow getting of popup position and size from popupshowing event. r=roc,a=blocking
--HG--
extra : rebase_source : 0589fbc0410548f8f7ee748d59e70721c5fcc29b
2010-09-06 15:30:17 +12:00
Robert O'Callahan
243921c92a Bug 584703. Compute XUL listbox contents overlow area correctly. r=enndeakin
--HG--
extra : rebase_source : a5c20c7ad240643a734a3e0f27c5357adc13c9ae
2010-09-06 15:23:44 +12:00
Robert O'Callahan
ded033638a Bug 579323. Part 2: Actually fix the bug by calling InvalidateThebesLayersInSubtree from nsIFrame::Redraw. r=dbaron,a=blocking 2010-08-31 12:49:13 +12:00
Robert O'Callahan
f6aa05c375 Bug 579323. Part 1.4: Switch nsIFrameFrame users to use nsSubDocumentFrame.h. r=tnikkel
--HG--
extra : rebase_source : de526602586c70b994a061bbb8a7ca2731c72bbd
2010-08-31 12:49:07 +12:00
Robert O'Callahan
f566520efb Bug 579323. Part 1: Add FrameLayerBuilder::InvalidateThebesLayersInSubtree, and call it from InvalidateOverflowRect. r=tnikkel,sr=dbaron
--HG--
extra : rebase_source : c1dbc5b625e23d55ba030709f5cd429122977685
2010-08-31 12:46:26 +12:00
Robert O'Callahan
1986ba6f20 Bug 590468. Part 1: Add support for XUL 'layer' attribute. r=tnikkel sr=vlad 2010-08-27 18:15:08 -05:00
L. David Baron
b99a005c4c Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron
091d6b7837 Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:55 +02:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Bobby Holley
1761fccdca Bug 589815 - Images loaded from XUL should never be discarded.r=joe,enndeakin;a=blocker 2010-08-23 15:43:06 -07:00
Robert O'Callahan
79b8d06302 Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
--HG--
extra : rebase_source : e644ae08007e52c524c3237d336441f1413f846b
2010-08-23 21:30:07 +12:00
Robert O'Callahan
812e6204ae Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Chris Jones
6616076b0a Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-20 14:29:02 -05:00
Chris Jones
26435d9035 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-20 14:29:02 -05:00
Robert O'Callahan
06241c1e45 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-20 14:29:01 -05:00
Chris Jones
921ef38edc Backed out changeset 7b3726c3a580 2010-08-19 19:04:08 -05:00
Robert O'Callahan
210184cb84 Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron 2010-08-19 13:49:35 -05:00
Daniel Holbert
5b754a5516 Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Olli Pettay
58fd6133b2 Bug 585815, create treerange list straight to the mFirstRange, r=neil
--HG--
extra : rebase_source : f71a56d90b51e26d3d5d8aedc969ca51c09f0fd3
2010-08-12 15:05:43 +03:00
Olli Pettay
67ad9ee7ed Bug 583957, lazy menuframe update, r=enndeakin, sr=neil, a=dbaron
--HG--
extra : rebase_source : f036ff3e7ee39225f17d1d4aba0d4e7c71960d58
2010-08-12 14:59:03 +03:00
L. David Baron
ee89e22866 Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:53 -07:00
Dão Gottwald
f246f9a00f Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Neil Deakin
fb66fae998 Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc 2010-08-09 12:17:19 -04:00
Neil Deakin
0284f4eb26 Bug 583255, don't involve views in tree offset computation, fixes inspector mouse events, r=roc,a=dbaron 2010-08-09 12:15:39 -04:00
Boris Zbarsky
a22ae7125c Hacking around broken test or tree code for now to fix orange in CLOSED TREE 2010-08-06 14:38:21 -04:00
Boris Zbarsky
4a3531738d Bug 547342 followup. Need to make sure to flush even if we have a cached treebody. 2010-08-06 11:08:06 -04:00
Boris Zbarsky
fb72631f4c Bug 547342 real fix. Flush on ScrollToRow. r=enn 2010-08-05 14:39:39 -04:00
Felipe Gomes
b22f93cd13 Bug 575328 - Fix for search suggestions box appears on wrong monitor in multiple monitor environment when window is maximized. r=enndeakin. 2010-08-02 10:06:04 -05:00
Olli Pettay
ae117d70c6 Bug 576075, stricter tree selection handling, r=enndeakin
--HG--
extra : rebase_source : ea68e33207720ee4193642aaf0749c9939cc12d2
2010-07-31 21:22:29 +03:00
Olli Pettay
dbf47e982c Bug 576070, stricter tree column handling, r=neil
--HG--
extra : rebase_source : 15c91e8cb1c07abb5a6348711bf9cca0d0c20aaf
2010-07-31 21:18:22 +03:00
Craig Topper
1d7405b4e7 Remove aTag argument from nsICSSPseudoComparator::PseudoMatches. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Craig Topper
fec95b227d Remove QueryFrame support for nsICSSPseudoComparator. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Craig Topper
18988cb740 DeCOMtaminate nsICSSPseudoComparator::PseudoMatches method signature. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Neil Deakin
577d80fba3 Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin
e2850ec910 Bug 552982, Part 8, support labels on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin
22a92d13e6 Bug 552982, popups with titlebars tests 2010-07-27 09:38:04 -04:00
Neil Deakin
87921c3c7d Bug 552982, Part 5: support for titlebars on panels, r=mats,sr=roc 2010-07-27 09:38:03 -04:00
Neil Deakin
20eab8552e Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats 2010-07-27 09:38:03 -04:00
Neil Deakin
904a84dffc Bug 552982, Part 3: support panel levels, r=mats 2010-07-27 09:38:03 -04:00
Neil Deakin
a4a74fb3d1 Bug 552982, Part 2: update the popup when it is moved or resized natively, r=mats 2010-07-27 09:38:02 -04:00
Neil Deakin
dba0fd9313 Bug 552982, Part 1: change nsXULPopupManager::AdjustPopupsOnWindowChange so that it only adjusts popups associated with the same window, r=mats 2010-07-27 09:38:02 -04:00
Timothy Nikkel
c73671f6fd Bug 538308. Record that this crashtest asserts. 2010-07-25 14:27:01 -05:00
Timothy Nikkel
5f651e3e38 Bug 538308. Add crashtest. 2010-07-25 13:10:31 -05:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky
93922db9e1 Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking 2010-07-21 11:37:41 -04:00
Boris Zbarsky
998b474e42 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
8cfe0849e3 Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
b8256cdb51 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Timothy Nikkel
a33080b47d Bug 563878. Part 16. Switch nsMenuPopupFrame::SetPopupPosition to using the new API to convert app units. r=mats 2010-07-18 21:23:48 -05:00
Timothy Nikkel
eaf04d25f4 Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05:00
Michael Ventnor
8139bee929 Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel 2010-07-16 09:07:49 +12:00
Boris Zbarsky
59286dcbf7 Bug 577309 part 15. Stop using content indices entirely in nsCSSFrameConstructor::ContentRemoved. r=tnikkel 2010-07-15 00:38:24 -04:00
Boris Zbarsky
356379d640 Bug 577309 part 6. Change nsListBoxBodyFrame usage of ChildIterator to not rely on indices. r=tnikkel 2010-07-15 00:38:21 -04:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Neil Rashbrook
db9e02f260 Bug 575446 Be more careful about finding the correct scrollbars r=Enn 2010-06-30 12:37:11 +01:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Boris Zbarsky
6b42f6dce3 Make the simple cases of dynamic changes of -moz-box-ordinal-group work correctly. (Bug 555987) r=dbaron 2010-06-28 13:47:58 -07:00
Robert O'Callahan
ba814390d9 Bug 573931. Make XUL tree scrolling just repaint. r=enndeakin 2010-06-28 12:27:50 +12:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Jim Mathies
bd6651b892 Bug 513162 - Cleanup unused widget code and CID statics. r=vlad. 2010-06-24 21:01:06 -05:00
Johnny Stenback
841261676e Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-23 14:35:57 -07:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Neil Deakin
192637c8dc Bug 533714, use a size of (0,0) for placeholders, prevents popups from taking up space when not open, r=bz 2010-06-21 08:37:35 -04:00
Neil Deakin
53ac2d5dcb Bug 572823, clear button open state when its popup is destroyed, r=neil 2010-06-21 08:37:35 -04:00
Neil Deakin
f4a7533d50 Bug 554810, use transparent resizer images, also fixes bugs 553752, 553796, 558201, 558203 and 563085, r=roc 2010-06-21 08:37:35 -04:00
Jesse Ruderman
f04ef428cb Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Olli Pettay
f974305c20 Bug 571106, sanitize tree range boundaries, r=neil
--HG--
extra : rebase_source : 848e30ac31a4bc96c543ae612074ea4071c0eb88
2010-06-16 19:38:37 +03:00
Neil Deakin
6d6ff9188a Bug 379745, add some additional template sort hint options to sort case-insensitive, sort by integers, and skip natural sort order, r=neil,sr=sicking 2010-06-16 13:09:51 -04:00
Daniel Holbert
c76f173bb3 Bug 571059: Update debugging printfs to treat nsFrameState objects as 64-bit & fix build warnings. r=dbaron 2010-06-10 11:26:57 -07:00
L. David Baron
d0ff3a7712 Fix a state bit that *might* be overlapping. (Bug 570837) r=roc 2010-06-08 22:28:14 -07:00
L. David Baron
d574dd00ce Use macros for frame state so that it's easy to change the size and easier to read the constants. (Bug 570837) r=roc 2010-06-08 22:28:14 -07:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Daniel Holbert
ab72715df9 Bug 569994: Fix GCC warning "suggest parentheses around && within ||" in nsTreeBodyFrame.cpp. r=ehsan 2010-06-04 13:38:17 -07:00
Markus Stange
5e59cfef32 Bug 426082, part 2: Make nsEventStateManager::GetContentState return the state directly instead of using an outparam. r=dbaron 2010-05-31 19:49:04 +02:00
Ehsan Akhgari
f58add9d96 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
Mats Palmgren
9f63c327b3 On MacOSX, take into account that the up-arrow scrollbar button is usually below the slider. b=559272 r=olli 2010-05-17 18:27:02 +02:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Timothy Nikkel
f68ca3b9bf Bug 564705. Don't try to insert a separating space at the start of the XUL textbox title. r=neil 2010-05-11 19:30:42 -05:00
Neil Deakin
c2b69dc288 Bug 553814, don't set listbox minheight, which prevents the scrollbar from appearing when the rows attribute is used, r=neil 2010-05-13 09:44:14 -04:00
Neil Deakin
2fb544a731 Bug 562740, combine popup layout methods, fix menulist scrollbar position when list is larger that screen, r=roc 2010-05-13 09:42:57 -04:00
Steffen Wilberg
1920b72b59 Bug 282127: Highlight odd tree rows in trees with multiple columns in Gnomestripe and Pinstripe. Implement and use ::-moz-tree-row(multicol). ui-review=faaborg, r=enndeakin 2010-05-12 20:25:48 +02:00
Timothy Nikkel
a9893292b9 back out e40cbab6a972 (Bug 564705) 590da60fd253 (Bug 507628 and bug 507991) b166415b8c3f (Bug 564368) 0dac5d3eeb97 (Bug 564063) 116e56d84770 (Bug 563407) c51c93f5240f (Bug 536495) for some orange 2010-05-11 22:01:08 -05:00
Timothy Nikkel
68775506c8 Bug 564705. Don't try to insert a separating space at the start of the XUL textbox title. r=neil 2010-05-11 19:30:42 -05:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Felipe Gomes
b188d1212c Bug 562554 - "Toolbar buttons with drop-down menus are still busted in SeaMonkey Modern Theme" [r=roc] [a=Mossop] 2010-05-01 12:39:00 -04:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Mats Palmgren
694570f8b7 Fix the test for bug 563416. 2010-05-06 17:37:39 +02:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Mats Palmgren
5d589f9726 Disable the test for bug 563416 for now. 2010-05-04 20:27:40 +02:00
Mats Palmgren
fcb34d8042 Layout the child unless the rects are exactly equal; both being empty does not count as equal here. b=563416 r=roc 2010-05-04 19:21:43 +02:00
Jonas Sicking
6f9aebb70a Bug 429175: Make sure to only set aNotify to true when we should. r=peterv 2010-05-03 06:23:36 -07:00
timeless@mozdev.org
2ec73ddbd4 Bug 562432 - comparison between signed and unsigned integer expressions in nsDisplayXULEventRedirector::HitTest, r=neil 2010-04-28 12:53:00 -07:00
Boris Zbarsky
7773612f1a Bug 562688 part 12. Eliminate eELEMENT usage in the rest of layout except layout/style. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Mats Palmgren
5f2a134b91 Remove the VerticalScroll() before layout, nsListBoxBodyFrame does that in its post reflow callback. b=547338 r=roc 2010-04-28 19:47:23 +02:00
Mats Palmgren
9610e7e8f7 Backout wrong fix for bug 547338. 2010-04-28 19:47:23 +02:00
Mats Palmgren
5197eefd38 Remove the VerticalScroll() before layout, nsListBoxBodyFrame does that in its post reflow callback. b=547338 r=roc 2010-04-27 18:15:02 +02:00
Markus Stange
c34c8948f8 Bug 355375 - Make context menuitems blink when chosen. r=enn
--HG--
extra : rebase_source : 87b93bda596b4af4c1adf294ecc91510047ca0f1
2010-04-19 16:12:58 +02:00
Michael Ventnor
3602bd64b6 Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00
Timothy Nikkel
1a07188538 Bug 505835. nsTreeBodyFrame::ReflowFinished should null check return value of GetBaseElement. r=neil 2010-04-10 13:03:40 -05:00
Olli Pettay
337d16116e Bug 511075 - The arrows of the scrollbars don't work in hotmail (event.preventDefault() causes clicks on scrollbars to be ignored), r=enn, sr=neil 2010-04-12 16:59:16 +03:00
Ehsan Akhgari
867ee98123 Bug 558598 - XUL splitters should be collapsed on the correct side in RTL mode; r=roc 2010-04-11 19:46:08 -04:00
Timothy Nikkel
bfe7cc152d Merge back out of changeset 02e8391669c3 (Bug 505835) for suspicion of causing tsvg_opacity regression. 2010-04-11 02:10:47 -05:00
Timothy Nikkel
2fad87c0bf Backed out changeset 02e8391669c3 (Bug 505835) for suspicion of causing tsvg_opacity regression. 2010-04-11 02:10:17 -05:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
felipc@gmail.com
a0860655c9 Bug 557987 - Toolbar buttons with drop-down menus are busted, r=roc@ocallahan.org 2010-04-10 22:29:12 +03:00
Timothy Nikkel
bb9cac9862 Bug 505835. nsTreeBodyFrame::ReflowFinished should null check return value of GetBaseElement. r=neil 2010-04-10 13:03:40 -05:00
Felipe Gomes
960464193b Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc] 2010-04-07 20:31:26 -04:00
Timothy Nikkel
76b1730341 Bug 479931, Bug 515811, and Bug 522374. Add crashtests. 2010-04-06 15:03:16 -05:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Ehren Metcalfe
e0ac5d5547 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
L. David Baron
0b57ef51cd Use the appropriate color based on visitedness for 'outline-color'. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
7ff92ec1fa Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
68d7839f41 Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
Robert O'Callahan
60517b697a Bug 550029. Don't try to run treeview script if the document global object has gone away. r=smaug 2010-04-01 20:32:13 +13:00
Craig Topper
980fd2992c Bug 253889: DeCOMtaminate nsIPresShell - IsReflowLocked(). r=roc
--HG--
extra : rebase_source : 46adf0d5ad41602276c8bcded46e7dae0f399da9
2010-03-31 08:43:27 -04:00
Craig Topper
7b89b159bb Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey
53dc79a0f8 Backing out Bug 253889 to fix Bug 555727. 2010-03-30 19:57:12 -04:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Robert O'Callahan
9a2ed61b34 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Neil Deakin
e9dda7e9f3 Bug 554072, resizer should account for borders and padding when retrieving current element size, r=roc 2010-03-23 14:52:56 -04:00
Neil Deakin
79c932638a Bug 442228, support resizers in scrollable areas and enable them by default for textareas, r=roc,sr=dbaron 2010-03-19 07:49:34 -04:00
Neil Deakin
8bd0a11160 Bug 442228, skip native anonymous content for _parent check, also set a minimum resize size, and support other sizes for content resizing, r=neil 2010-03-19 07:49:33 -04:00
Neil Deakin
b5207640b3 Bug 544472, eliminate duplicate calls to AddCSS*** methods, plus some minor related code cleanup, r=dbaron 2010-03-18 15:58:15 -04:00
Julian Seward
158c01b8b1 Bug 549779 - nsMenuPopupFrame::AdjustPositionForAnchorAlign creates undefined nsRects. r=enn 2010-03-11 07:42:20 +01:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Neil Deakin
2c7d3081c7 Bug 543065, only scroll one ancestor of menus, SCROLL_FIRST_ANCESTOR_ONLY flag should stop at first scrollable container, not just first parent, r=roc 2010-03-02 06:21:23 -08:00
Serge Gautherie
c990b1c7e2 Bug 492481 - [Linux] mochitest-plain: layout/xul/base/test/test_resizer.xul needs to report success; (Av2) Add |todo(false, ...);|.
r=roc.
2010-03-02 14:25:49 +01:00
Michael Ventnor
25bc9c7d85 Bug 542361 - Fix and remove the GetUsedX assertions r=roc
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Jonas Sicking
51fbd0da83 Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Robert O'Callahan
90767618c5 Bug 546865. Stop creating widgets for XUL trees. r=mats
--HG--
extra : rebase_source : 261b3df6a9319699819a3f254fc61c0cc70e8b53
2010-02-24 11:35:43 -08:00
Neil Deakin
ae97c93329 Bug 543065, only scroll one ancestor of menus, back out due to scrolling regressions 2010-02-24 10:34:39 -05:00
Alexander Surkov
be2b5e3966 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Neil Deakin
ba67b4365a Bug 543065, only scroll one ancestor of menus, r=roc 2010-02-20 11:10:35 -05:00