bzbarsky%mit.edu
116d69628c
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com>, rs=roc.
git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
Olli.Pettay%helsinki.fi
6de13cdbca
375196, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@222385 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 05:38:22 +00:00
mats.palmgren%bredband.net
5252497917
Add a list for popup frames in the frame constructor state and treat them like other out-of-flows. b=344340 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@221224 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 12:03:02 +00:00
Olli.Pettay%helsinki.fi
fa9676faea
Bug 336744, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@221212 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 07:21:25 +00:00
bzbarsky%mit.edu
dfad41fa5a
deCOMtaminate SetBounds(), GetChildBox(), GetNextBox(), GetParentBox(),
...
GetVAlign(), GetHAlign(). Remove GetInset(). Bug 243370, patch by Andreas
Lange <anlan@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220744 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 18:05:14 +00:00
sharparrow1%yahoo.com
4e50607a9e
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
enndeakin%sympatico.ca
fd6335c608
Bug 326877, close popups when navigating pages, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@218908 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 17:59:20 +00:00
bzbarsky%mit.edu
9e56e89a01
deCOMtaminate nsIFrame::GetMinSize/GetPrefSize/GetMaxSize. Bug 243370, patch
...
by Andreas Lange <anlan@lange.cx>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217973 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 02:57:59 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
1ca9f3f372
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
Olli.Pettay%helsinki.fi
6fe05dbaf8
Bug 354300, Crashes [@ nsPopupSetFrame::OnCreate] [@ nsPopupSetFrame::Destroy] when removing popup on popupshowing, p=asqueella@gmail.com, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@213315 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 18:10:58 +00:00
Olli.Pettay%helsinki.fi
48c52f1bcb
Bug 348304, @nsMenuFrame::HandleEvent, r=enndeakin, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@209111 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-03 20:25:58 +00:00
bzbarsky%mit.edu
c5df16131b
Fix build bustage. Bug 349921
...
git-svn-id: svn://10.0.0.236/trunk@208768 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 23:19:06 +00:00
bzbarsky%mit.edu
2cdb5cc2b9
Make popups that are kids of the root popup set have it as their parent;
...
generally make them more like other out-of-flows. Remove various code that
worked around them being different. Bug 349921, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208763 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 22:20:41 +00:00
neil%parkwaycc.co.uk
02fe0307c5
Fix a copy/paste error that made an essential block of code unreachable b=347144 r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@206581 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 17:01:21 +00:00
Olli.Pettay%helsinki.fi
d458b8620d
Bug 346054, crash when removing <tooltip> before showing it, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@206474 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 08:23:53 +00:00
Olli.Pettay%helsinki.fi
724d4f8e50
backout Bug 346054 to fix regression
...
git-svn-id: svn://10.0.0.236/trunk@206071 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-30 00:26:19 +00:00
Olli.Pettay%helsinki.fi
b49547cbed
Bug 346054, Crash when removing <tooltip> before showing it, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@206045 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 10:19:14 +00:00
Olli.Pettay%helsinki.fi
4fecdff0a7
Bug 343457, Adding nsWeakFrame, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@201923 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 07:41:11 +00:00
Olli.Pettay%helsinki.fi
62e7c4758f
backing out Bug 343457 too see if it caused btek tp regression
...
git-svn-id: svn://10.0.0.236/trunk@201898 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 20:18:07 +00:00
Olli.Pettay%helsinki.fi
3e553a6049
Bug 343457, Add nsWeakFrame, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@201872 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 13:01:07 +00:00
aaronleventhal%moonset.net
4726524dfe
Bug 339237. Fix accessible menu events regression. r+sr=bz, for UI r=neil, mano
...
git-svn-id: svn://10.0.0.236/trunk@201594 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-05 20:42:22 +00:00
tor%cs.brown.edu
b9ba785184
Backout of bug 339237.
...
git-svn-id: svn://10.0.0.236/trunk@201419 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-01 07:44:49 +00:00
aaronleventhal%moonset.net
37459e2724
Bug 339237. Fix accessible menu events regression. r+sr=bz, for UI r=neil, mano
...
git-svn-id: svn://10.0.0.236/trunk@201406 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-01 03:30:58 +00:00
leon.sha%sun.com
ca47f5992a
Bug 333896
...
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com .
roc: review+
roc: superreview+
git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
roc+%cs.cmu.edu
b6ebd9961d
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
140fbb3377
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
timeless%mozdev.org
7fefbe3466
Bug 326959 menupopup.enableRollup(true) causes crash [@ nsPopupSetFrame::Destroy]
...
patch by asqueella@gmail.com r=neil sr=roc
git-svn-id: svn://10.0.0.236/trunk@192872 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 22:08:37 +00:00
pavlov%pavlov.net
b5c7a440ef
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
...
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
38a9722e9f
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
neil%parkwaycc.co.uk
a23b31a6ad
Bug 100729 Sync <command> checkbox attribute with <menuitem>s in a context menu as well as in a menu bar and clean up the synchronizing code r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@188399 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 21:31:31 +00:00
roc+%cs.cmu.edu
305c919e9e
Bug 307419. Remove mPresContext from XUL frames. patch by Vidar Harr, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@186100 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 03:30:17 +00:00
roc+%cs.cmu.edu
2b50a04fc6
Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@183097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 21:46:39 +00:00
neil%parkwaycc.co.uk
32d8ca8917
Bug 291099 menuitem context menus arrow keys doubled r=aaronlev sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@181199 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 13:18:27 +00:00
roc+%cs.cmu.edu
aeacb4d477
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
...
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
roc+%cs.cmu.edu
5525e0f045
Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
...
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu
d1afb179ba
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
aaronleventhal%moonset.net
98a42e7567
Bug 303404. Crash when hitting escape in context menu for a menu item. r=dbaron, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@177924 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 02:03:45 +00:00
jst%mozilla.jstenback.com
ebed1ee784
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
170566bc06
We may have a popup list entry with a null frame. Make sure to null-check it.
...
Bug 287308, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@171293 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 23:21:58 +00:00
bzbarsky%mit.edu
ce5f5c101d
Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
...
presshell args from most frame constructor methods; use the state for the
former and the member for the latter. Bug 281957, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
aaronleventhal%moonset.net
c8d35eaeab
Bug 282438. Fire menupopupend for context menus and autocomplete. r=bryner, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@169382 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 14:28:36 +00:00
bzbarsky%mit.edu
77e877e706
Change the hack for menus to just process the menugenerated attr change sync to
...
start with, instead of flushing style reresolves. Bug 279308, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@168418 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:17:08 +00:00
bryner%brianryner.com
d80f327086
Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@162876 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:37:50 +00:00
dbaron%dbaron.org
6d37b0243d
Land bug 72747 in pieces: convert users of nsIScrollableFrame::GetScrollPreference to using GetScrollbarStyles. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161686 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 00:43:46 +00:00
dbaron%dbaron.org
dcf4bae71a
Back out the rest of bug 72747 due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
ed6372cf2f
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
bzbarsky%mit.edu
bc3dc7ebe0
Do style reresolves and restyles due to attribute changes asynchronously so
...
that pages that modify two or more style properties of the same object in a row
work faster. Bug 230170, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160587 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 03:24:41 +00:00