Commit Graph

821 Commits

Author SHA1 Message Date
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
Neil Deakin
1c6c60ca84 Bug 540340, check page length before scrolling, prevents trees such as the cookies list from starting scrolled down a row, r=neil 2010-02-20 11:08:40 -05:00
Alexander Surkov
73e251f02b Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Mats Palmgren
b58c775d51 Replace nsPopupFrameList with nsFrameList. b=544251 r=roc r=neil 2010-02-09 17:05:19 +01:00
Serge Gautherie
271756558e Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
55ebf80987 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Timothy Nikkel
73043ea966 Bug 538308. Inside a tree don't consider XUL nodes under non-XUL nodes. r=neil sr=bzbarsky
--HG--
extra : rebase_source : 8965629e2b932d898767a03a5963f9baabd20e23
2010-01-29 21:04:49 -06:00
Neil Deakin
066705f69a Bug 536625, use menupopup's move instead of widget's, r=roc 2010-02-01 10:11:08 -05:00
Mats Palmgren
fa91c35561 Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc 2010-01-26 14:10:12 +01:00
Palo Misik
89e4e44622 Bug 530505: Rev IID on nsITreeView for Gecko 1.9.3 r=neil 2010-01-23 11:32:18 -05:00
Jesse Ruderman
bb2d0a2624 Add crashtests 2010-01-21 11:07:51 -08:00
Robert O'Callahan
6787212ae4 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Boris Zbarsky
7f4ab06b1d Bug 514300 part 1. Use the owner document to look for the binding manager. r=sicking 2010-01-13 11:30:10 -05:00
Robert O'Callahan
dd085808e4 Bug 526394. Part 32: Remove code that only existed so that scrollframes could have views. r=mats 2010-01-12 10:45:19 +13:00
Robert O'Callahan
b068bf2710 Bug 526394. Part 27: Rewrite EnsureMenuItemIsVisible to use new nsIPresShell API. r=mats 2009-09-03 15:57:46 +12:00
Robert O'Callahan
ef60e5fbb0 Bug 526394. Part 23: Make nsRect::IntersectRect preserve height and width if possible even when the intersection of two rectangles is empty. r=mats 2010-01-12 10:45:16 +13:00
Robert O'Callahan
a923083da5 Bug 526394. Part 18: Remove nsIScrollableViewProvider and its implementations, now that we've removed all its users. r=mats 2009-09-09 17:40:01 +12:00
Robert O'Callahan
226989753c Bug 526394. Part 14: Convert nsListBoxBodyFrame::GetAvailableHeight. r=mats 2009-09-03 16:11:49 +12:00
Robert O'Callahan
08d69fa261 Bug 526394. Part 12: Convert XUL layout code: scrollboxes and trees. r=mats 2009-09-03 15:57:46 +12:00
Robert O'Callahan
13ac1c2c83 Bug 526394. Part 4: Obsolete nsIScrollableViewProvider by adding nsIFrame::GetScrollTargetFrame. r=mats,sr=dbaron 2009-09-01 23:22:31 +12:00
Robert O'Callahan
3c94fecdb3 Bug 526394. Part 3: Add all necessary new APIs to nsIScrollableFrame. r=mats,sr=dbaron 2009-09-01 16:11:11 +12:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Timothy Nikkel
3e07c97339 Bug 488771. Stop nsIRollUpListener from inheriting from nsISupports. r=roc
--HG--
extra : rebase_source : 0af5c537b7be03c1407f4b658ba7802081ad3f01
2009-12-22 17:49:33 -06:00
Markus Stange
9e775246af Bug 534161 - When -moz-window-shadow is default, -moz-appearance should be consulted. r=roc 2009-12-30 16:24:11 +01:00
Boris Zbarsky
9a862b0a61 Bug 536931. Check whether we found a content node before trying to get its primary frame. r=dbaron 2009-12-28 14:47:27 -05:00
Boris Zbarsky
b3883855ac Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
fantasai
1ffb0c06ef Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc 2009-12-24 00:21:15 -05:00
fantasai
1e880721fb Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc 2009-12-24 00:20:41 -05:00
Neil Deakin
3fafc3cda9 Bug 511180, resizer should be able to resizer any element, and work inside popups, r=neil,sr=roc 2009-12-23 13:45:44 -05:00
Markus Stange
3a2b1d0a66 Bug 534416 - Only turn off initial auto repeat delay for hover autorepeatbuttons. r=Enn 2009-12-15 15:36:11 +01:00
Jesse Ruderman
43106ead5f Add crashtest for bug 189814 (without reftest-print) 2009-12-13 11:50:18 -08:00
Markus Stange
6a7cd4e2e2 Bug 534183 - Autorepeatbuttons in menus shouldn't have any initial delay. r=Enn
--HG--
extra : rebase_source : a28ce171cfb0bca7070b8f0bfdf0c7da446908d5
2009-12-11 23:03:31 +01:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
99027aa785 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00