roc+%cs.cmu.edu
b1e6622e4e
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.
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
cfe8503483
Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
...
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
roc+%cs.cmu.edu
5e6d8422ef
Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman
2005-09-04 20:04:23 +00:00
bzbarsky%mit.edu
9b94f5f8c3
Make frames know whether they're leaves or not from the frame construction
...
point of view; use this in the frame constructor. Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
dbaron%dbaron.org
42df54824e
Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
2005-07-01 04:29:42 +00:00
bzbarsky%mit.edu
0597971698
Fix border width inheritance by keeping track of both the border width we'd
...
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
bzbarsky%mit.edu
73a177e712
Fix up trees to use correct event coordinate systems. Bug 290494 , r+sr=roc,
...
a=brendan
2005-04-18 05:22:35 +00:00
roc+%cs.cmu.edu
d5db6a3ae4
Bug 288949. Don't try to use view reparenting to handle scrolled child views. Also, fix regression so that listboxes don't always have widgets. r+sr=dbaron,a=asa.
2005-04-07 23:54:28 +00:00
roc+%cs.cmu.edu
d6a740117e
Bug 285996C. Ensure that object frames create the widget for their view correctly the first time, and don't let them try to create a widget again when there already is one. r+sr=dbaron,a=asa.
2005-04-07 03:59:02 +00:00
roc+%cs.cmu.edu
fc46387ad7
Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
84a42982ba
Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
20e9e80aa3
Bug 288117. Fix up function name as dbaron requested.
2005-03-31 03:44:38 +00:00
roc+%cs.cmu.edu
7a198d81a7
Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
2005-03-31 03:40:12 +00:00
aaronleventhal%moonset.net
0499bbbb2c
Bug 245349. Puzzle piece placeholder that says click here to download plugin is not focusable or accessible. r=bz, sr=jst
2005-03-31 01:38:04 +00:00
roc+%cs.cmu.edu
6fad3a4fec
Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky
2005-03-28 21:08:22 +00:00
bzbarsky%mit.edu
b8c7dbf447
Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
...
constructor. Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set. Bug 283385, bug 285165, bug
286111. r+sr=roc
2005-03-18 04:13:05 +00:00
roc+%cs.cmu.edu
337ffe12f9
Bug 277875. Rewrite nsIFrame::GetWindow and make it not assert --- it's OK to not have a widget when we're printing. r+sr=bzbarsky
2005-02-07 21:59:35 +00:00
bzbarsky%mit.edu
b626abc29c
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
2005-02-07 01:58:25 +00:00
bryner%brianryner.com
ebd4f77f17
Less-than-ideal fix for the problem where XTF insertion points don't work if the insertion point has only inline frame ancestors (which are not in the primary frame map) in the anonymous content tree. Track the insertion point content node as we're constructing anonymous content frames and insert the explicit content when we reach the insertion point. Bug 269023, r=bzbarsky, sr=dbaron.
2005-01-14 23:12:20 +00:00
jshin%mailaps.org
ca7d08ac13
bug 275672 : Right-most character (that means end of line) should not have extra space for justification patch by masayuki@d-toybox.com, r+sr=roc
2005-01-13 19:21:18 +00:00
neil%parkwaycc.co.uk
416f37d27d
Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk
c2ea7ec445
Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
...
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
cbiesinger%web.de
e42c2d976d
38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
...
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
2004-12-30 21:56:11 +00:00
bmlk%gmx.de
ef4604f958
remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
2004-12-26 19:48:54 +00:00
smontagu%smontagu.org
814e95f33b
Bug 263309 PresShell::CompleteMove simulates a mouse click and assumes LTRness, patch by Eyal Rozenberg <eyalroz@technion.ac.il>, r+sr=roc.
2004-11-29 20:28:46 +00:00
bzbarsky%mit.edu
7198a5985b
Add methods to get screen coordinates of frames and views. Bug 268576,
...
r+sr=roc
2004-11-23 17:26:19 +00:00
roc+%cs.cmu.edu
9d0a9b302b
Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in.
2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
8c7ac60ba1
Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp)
2004-11-14 20:22:58 +00:00
bzbarsky%mit.edu
683944da62
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu
702f4952c0
Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner
2004-11-03 02:52:16 +00:00
bzbarsky%mit.edu
9854e1bfb4
Assert if someone calls frame->SetNextSibling(frame), since that creates a
...
looped linked list. Bug 266332, patch by timeless, r+sr=bzbarsky
2004-10-30 18:37:35 +00:00
aaronleventhal%moonset.net
3147de7753
Bug 262578. No click to focus css scrollable areas like overflow:scroll, but you can still click there and scroll -- just no focus outline. r=mats, sr=roc
2004-10-19 02:24:27 +00:00
bryner%brianryner.com
30a514b07d
Fix nsBoxFrame::RelayoutChildAtOrdinal to not clobber the first child in the list. Remove no-op nsIFrame::SetNextBox(). Thanks to darin for help with the patch, and r+sr=roc. Bug 262054.
2004-09-30 00:18:49 +00:00
bryner%brianryner.com
1d2992f123
Attempt to fix perf regression from bug 258513 by fixing users of obsolete nsIBoxToBlockAdaptor interface. Also, removing this interface like I intended to do. r=dbaron.
2004-09-29 00:28:13 +00:00
bryner%brianryner.com
8787891e5a
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.
2004-09-28 18:37:50 +00:00
roc+%cs.cmu.edu
6146e49d29
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
roc+%cs.cmu.edu
7494eafa7b
Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
2004-08-26 00:07:56 +00:00
bryner%brianryner.com
6f61ffd0d2
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
014fbde518
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
87894dfad3
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
0509dcce92
Backing out bug 253888 until I can figure out how to fix the crash
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
fd39847c12
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
2004-08-21 05:09:50 +00:00
bzbarsky%mit.edu
fbd3f708f2
Make sure that GetFrameForPoint checks all layers of each float before moving
...
on to the next one. Bug 253572, r+sr=roc
2004-08-10 22:24:00 +00:00
bryner%brianryner.com
cc807b07b1
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net
fc2886ae69
Bug 252984. Remove focus and tab navigation code that's no longer necessary which is actually breaking some form controls. r=bryner, sr=bz
2004-07-29 18:06:55 +00:00
aaronleventhal%moonset.net
0319b80e0e
Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst
2004-07-24 21:12:43 +00:00
roc+%cs.cmu.edu
57a86f6acb
Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron
2004-07-20 00:02:43 +00:00
roc+%cs.cmu.edu
91db4db112
Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron
2004-07-18 12:02:53 +00:00
aaronleventhal%moonset.net
1ebd6baf37
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
ccbc55e0d0
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
78fcf72fc2
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-14 21:58:34 +00:00
smontagu%smontagu.org
c9791928b9
DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
2004-06-01 06:20:16 +00:00
gerv%gerv.net
85ce8c146b
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
dbaron%dbaron.org
f92415768a
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
0651f4e7ae
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
roc+%cs.cmu.edu
985cc47697
Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position.
2004-02-22 03:31:30 +00:00
dbaron%dbaron.org
8b81db7e6f
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
2004-02-20 21:38:31 +00:00
dbaron%dbaron.org
c6a9d7f43d
Remove NS_FRAME_HAS_LOADED_IMAGES state bit. b=201076 r+sr=bzbarsky
2004-01-13 01:18:51 +00:00
roc+%cs.cmu.edu
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
dbaron%dbaron.org
41009e2202
Comment was backwards (thanks bz). b=191699
2003-11-10 23:55:53 +00:00
dbaron%dbaron.org
c3c15dce0c
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
2003-11-10 23:36:06 +00:00
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
fb5dcec631
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
uid502
6bed557bd4
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
dbaron%dbaron.org
8d3a929b49
Make GetStateBits const. b=208190 r+sr=roc
2003-07-12 00:46:52 +00:00
dbaron%dbaron.org
92b921aca3
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
43d2fd1764
Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron
2003-06-25 22:55:27 +00:00
roc+%cs.cmu.edu
a740f51c3f
Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout
2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu
c7a5d89929
Bug 190735. DeCOMtaminating nsIFrame and removing aPresContext parameters, in particular, the methods GetParent, GetContent, GetRect, GetOrigin, GetSize, SetRect, MoveTo, SizeTo, GetNextSibling, GetFrameState, SetFrameState, GetView, GetViewExternal, SetView, GetClosestView, GetParentWithView, AreAncestorViewsVisible, and GetWindow. For now we have compatibility wrappers, but soon we'll go through and change all the clients to use the new functions. r+sr=dbaron
2003-06-21 17:06:05 +00:00
dbaron%dbaron.org
9b1d1eed2b
Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
2003-06-20 01:22:44 +00:00
dbaron%dbaron.org
42b06cc4f5
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
bryner%netscape.com
a4565876ab
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
2003-06-18 22:58:51 +00:00
dbaron%dbaron.org
58f7acbd1e
Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc
2003-06-01 20:18:53 +00:00
bmlk%gmx.de
4c40947f6c
infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron
2003-05-31 10:32:19 +00:00
dbaron%dbaron.org
a15b9f2cf4
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
5e4a305ea0
Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky
2003-03-13 15:29:36 +00:00
smontagu%netscape.com
7ee3fea849
Remove nsITextFrame. Bug 188618, r/sr=roc+moz.
2003-02-25 00:44:04 +00:00
roc+%cs.cmu.edu
49dfc64596
Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky
2003-02-23 02:22:14 +00:00
dbaron%dbaron.org
754d904cda
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
cc390fbe51
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
c36d682610
Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron
2003-01-16 02:59:04 +00:00
bryner%netscape.com
2fe363b06a
Make GetStyleDataExternal |const| to fix build bustage.
2003-01-09 08:07:27 +00:00
bryner%netscape.com
26d5c6ff25
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
2003-01-09 06:49:07 +00:00
bzbarsky%mit.edu
712030493b
ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
...
126072, r=dbaron, sr=roc+moz. Also fixes bug 141259 (incorrect warnings about
style tree integrity).
2003-01-05 05:05:17 +00:00
roc+%cs.cmu.edu
e48869f9a2
Backing out fix for bug 170330... againr=dbaron
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
035d850bf9
Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
2002-12-21 23:25:38 +00:00
karnaze%netscape.com
d6801ac37b
bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov
2002-12-04 00:58:52 +00:00
dbaron%fas.harvard.edu
d558717301
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
karnaze%netscape.com
dc7e454eb3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
waterson%netscape.com
926ecba1d9
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
hwaara%chello.se
3f4c4f4acb
#13702 , just fixing some minor typos in the documentation. r=bzbarsky
2002-04-13 19:47:15 +00:00
waterson%netscape.com
b6fb7fe914
Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi
2002-04-11 01:13:41 +00:00
karnaze%netscape.com
2e61de16e8
bug 132334 - add nsIFrame::RemovedAsPrimaryFrame which allows the text control frame to access its editor before Destroy (when it is too late). a=asa, adt=jamiejr, sr=attinasi, r=jkeiser
2002-04-06 22:16:12 +00:00
karnaze%netscape.com
130ae15711
bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd.
2002-04-01 06:46:17 +00:00
karnaze%netscape.com
6bf0da09f7
bug 130550 - Added nsIFrame::CanPaintBackground, to treat nsTableOuterFrame as transparent. a=asa, sr=attinasi, r=roc+moz
2002-03-31 22:43:40 +00:00
dbaron%fas.harvard.edu
43acd755dd
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
karnaze%netscape.com
1c7d65563f
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
2002-03-12 15:21:35 +00:00
shaver%mozilla.org
9741f3f2e0
reversion of patch for 92868, to repair severe regression (129827, a=drivers
2002-03-10 06:16:01 +00:00
karnaze%netscape.com
82d9323758
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
2002-03-08 15:34:33 +00:00
kin%netscape.com
d9c596c3ec
Fix for bug 83650 (textarea control has problems with caret positioning at end)
...
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).
- Added new utility method GetOriginToViewOffset().
- Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
and nsContainerFrame::GetFrameForPointUsing() to factor in the
offset from GetOriginToViewOffset() to insure that the point
used is always transformed into the correct coordinate system.
Files modified:
mozilla/layout/base/public/nsIFrame.h
mozilla/layout/html/base/src/nsContainerFrame.cpp
mozilla/layout/html/base/src/nsFrame.cpp
mozilla/layout/html/base/src/nsFrame.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/xul/base/src/nsBoxFrame.cpp
r=kmcclusk@netscape.com sr=sfraser@netscape.com
2002-02-07 22:39:15 +00:00
waterson%netscape.com
cf319e2bda
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
karnaze%netscape.com
de4569576e
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
dbaron%fas.harvard.edu
00f9823b7d
Fix HP bustage by moving GetStyleData function templates from nsStyleStruct.h to nsIFrame.h and nsIStyleContext.h b=111883
2001-11-28 06:50:13 +00:00
hyatt%netscape.com
4f44886831
SetParent in nsIFrame should not be inlined. r=evaughan, sr=hewitt
2001-10-30 00:01:39 +00:00
dbaron%fas.harvard.edu
75d32bb579
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
mkaply%us.ibm.com
48030d96bb
Fix for OS/2 and AIX bustage
2001-10-24 19:12:02 +00:00
hyatt%netscape.com
0214ac3fdb
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
dougt%netscape.com
5fe12c09e7
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
2001-10-23 01:37:21 +00:00
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
a77cb3b548
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
1e28dfba99
Fix for 95475. r=jag, sr=ben, a=dbaron
2001-08-25 02:01:08 +00:00
bryner%netscape.com
f63f3fc06d
Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt.
2001-08-18 07:25:52 +00:00
jgaunt%netscape.com
00f903a8da
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
bryner%netscape.com
3eaacd5a3a
Bug 66617 - When tabbing between links on a page, the focus outline on the
...
previously focused link would not be redrawn if the tab caused the page to
scroll. r=valeski, saari, sr=hyatt.
2001-08-10 23:50:05 +00:00
dbaron%fas.harvard.edu
e51015c0ac
Split nsHTMLReflowMetrics into a separate file (nsHTMLReflowMetrics.h rather than nsIFrame.h). b=64023 r,sr in {waterson, attinasi}
2001-08-01 01:27:50 +00:00
dbaron%fas.harvard.edu
bf82abfd11
Header include dependency cleanup. b=64023 r=jag rs=brendan
2001-07-16 02:40:48 +00:00
ftang%netscape.com
9b37060aaa
fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
...
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
hyatt%netscape.com
2bf7260d28
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
evaughan%netscape.com
453d1d1d71
Fix for bug #80902
...
-r jeff@tcbnetworks.com -sr waterson
Fix for bug #80505
-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
kmcclusk%netscape.com
f669dfa632
Use frame bit to indicate if frame has a decendant with a view and use this to optimize nsContainerFrame::PositionChildViews; bug 70211; sr=attinasi@netscape.com r=karnaze@netscape.com
2001-03-30 05:25:49 +00:00
karnaze%netscape.com
a3a25d11b0
table reflow coalescing, table reflow face lift. sr=attinasi
2001-03-13 06:38:59 +00:00
erik%netscape.com
4faba61a60
bug 71370; sr=erik; dbaron caught an error in yesterday's check-in; the
...
bidi bit was set in the reserved area; it is now in the right area
2001-03-10 00:15:16 +00:00
erik%netscape.com
ca75151209
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:13:03 +00:00
rbs%maths.uq.edu.au
4a4a2fffe7
Reserve additional frame state-bits - implementations are now only allowed to use the 12 higher bits. The 20 lowest bits are reserved for general use - bug 6841 r=karnaze sr=waterson
2001-02-23 12:31:28 +00:00
pierre%netscape.com
ad19cf4c81
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
rods%netscape.com
9c6f7ccade
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
2a02bb78fd
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
531ba68b54
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
buster%netscape.com
b0da06ecfa
bug 56432 ()
...
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson
2001-01-16 22:10:04 +00:00
rods%netscape.com
c81b2c3b26
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
warren%netscape.com
4189314fdb
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren%netscape.com
6e35f97e31
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
attinasi%netscape.com
c822140f89
Added a new method to allow a frame to specify the frame that provides its parent style context. b=45210 r=karnaze
2000-09-12 22:45:33 +00:00
pinkerton%netscape.com
6ba5c7b147
making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250.
2000-08-14 22:28:41 +00:00
sfraser%netscape.com
a19bcfbde3
Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
2000-08-08 23:38:00 +00:00
pierre%netscape.com
56a71da7fa
42864 ('user-select:none' should make children non-selectable)
2000-08-05 04:41:33 +00:00
waterson%netscape.com
b4bb4efade
Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana.
2000-07-28 22:29:28 +00:00
waterson%netscape.com
7acb9494c4
Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
2000-07-27 05:16:08 +00:00
mjudge%netscape.com
a2d557d597
46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call.
2000-07-26 11:31:12 +00:00
buster%netscape.com
b550b66e2a
fixed bug 29854
...
r=waterson
2000-06-11 05:25:14 +00:00
kin%netscape.com
9c771f28cc
Part2 of fix for bug #39821 : Drag and Drop interferes with selection
...
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.
layout/base/public/nsIFrame.h
layout/events/src/nsEventStateManager.cpp
layout/html/base/src/nsFrame.h
layout/html/base/src/nsFrame.cpp
r=buster@netscape.com ,brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com
2000-05-31 03:20:02 +00:00
karnaze%netscape.com
bf5d727d9f
nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
2000-05-25 22:40:21 +00:00
waterson%netscape.com
20f5d1f3a5
Bug 36401. Deal with inline-blocks better. Add nsFrameState bit that indicates whether or not a frame is part of a 'special' inline-block hierarchy; use the 'inlineFrameAnnotation' property to remember the next 'special sibling' so that we can traverse correctly; pull methods out of nsCSSFrameConstructor's public API. r=nisheeth,buster
2000-05-25 19:58:51 +00:00
akkana%netscape.com
69f29f5564
Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection.
2000-05-16 22:48:28 +00:00
mjudge%netscape.com
91bec71070
stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
2000-05-04 08:35:42 +00:00
dbaron%fas.harvard.edu
fd5dc605d2
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00
vidur%netscape.com
306c814879
Fix for bug 9140. Area elements now have event fired for them. r=joki
2000-02-11 01:24:59 +00:00
troy%netscape.com
eeed59e5ff
r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
...
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
troy%netscape.com
73a3709284
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
nisheeth%netscape.com
409aee6ae9
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
2000-01-12 08:28:24 +00:00
rbs%maths.uq.edu.au
b3ba853dbc
[#ifdef MOZ_MATHML] Added extension to the reflow metrics to support the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy.
2000-01-07 14:36:43 +00:00
troy%netscape.com
4ddb903853
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
troy%netscape.com
3c7966f705
Change to how overflow is handled for absolutely positioned elements.
...
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
tbogard%aol.net
a0640b60c4
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
troy%netscape.com
fe56995443
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
troy%netscape.com
04accb3de6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy%netscape.com
56620e9b5a
Added nsHTMLReflowState.h
1999-10-30 16:16:45 +00:00
troy%netscape.com
effb3aefb7
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy%netscape.com
e2dfeedb8d
Changed view to be stored as a frame property instead of a member data
...
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
918255682c
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
peterl%netscape.com
757c0b5f01
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
mjudge%netscape.com
21ba41e280
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h
1999-10-13 01:16:09 +00:00
kin%netscape.com
ff2c034123
First pass implementation of selection auto scrolling.
...
layout/base/public/nsIFrame.h
- Added GetContentAndOffsetsFromPoint() method. This
method will eventually replace GetPosition().
layout/base/public/nsIFrameSelection.h
- Added HandleDrag() and Start/StopAutoScrollTimer() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for HandleDrag() and
Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsBRFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
layout/html/base/src/nsFrame.cpp
layout/html/base/src/nsFrame.h
- Added implementation for GetContentAndOffsetsFromPoint().
- Added GetClosestViewForFrame() utility method.
- Modified HandleEvent() to call HandleRelease() which now
stops the auto scrolling timers.
- Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
and Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsTextFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
1999-09-29 20:04:05 +00:00
mjudge%netscape.com
0bb65d1fc8
fixes for M11 a=shaver r=cmanske. this will add 1 enumerator value to en enum in nsIFrame so dont be scared. this is for tweaking selection should not affect anyone outside of selection/editor
1999-09-25 23:33:02 +00:00
peterl%netscape.com
5c809530ca
removed ReResolveStyleContext
...
added flag for style tree verify
1999-09-21 07:48:34 +00:00
mjudge%netscape.com
24a5d270fd
fixes for crasher in tree
1999-09-11 00:18:02 +00:00
mjudge%netscape.com
8a55b0d40e
changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames.
1999-09-10 18:29:37 +00:00
peterl%netscape.com
f653338e5d
added content state changed (vs content changed) notification
1999-09-10 05:50:02 +00:00
mjudge%netscape.com
7b6345b29b
adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame.
1999-09-07 23:40:17 +00:00
peterl%netscape.com
6c381d978e
added accessors to additional style contexts
1999-09-03 23:35:14 +00:00
kipp%netscape.com
fd426dec6a
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
1999-08-31 03:09:40 +00:00
kipp%netscape.com
8c06fe5c21
Added NS_FRAME_IS_UNFLOWABLE bit for handling frame trees that are too deep
1999-08-27 21:39:26 +00:00
mjudge%netscape.com
1ca330a9f0
changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :)
1999-08-24 21:51:47 +00:00
troy%netscape.com
af3ef58730
Changed root frame class over to new reflow command handling
1999-07-27 14:15:42 +00:00
troy%netscape.com
19eecb088b
Defined it so that the NS_FRAME_IS_DIRTY flag is set for newly added frames in
...
SetInitialChildlist(), AppendFrames(), InsertFrames(), and ReplaceFrame()
1999-07-24 02:33:07 +00:00
troy%netscape.com
ede5a246de
Added ReplaceFrame() member function to nsIFrame
1999-07-22 04:32:31 +00:00
troy%netscape.com
9fdbc7ced3
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
troy%netscape.com
b2994f2d65
Added NS_FRAME_IS_DIRTY flag to the frame state flags
1999-07-21 23:47:01 +00:00
troy%netscape.com
f48928d205
Removed IsTransparent() function from nsIFrame
1999-07-21 23:15:39 +00:00
mjudge%netscape.com
9eccad5750
up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect.
1999-06-19 20:36:44 +00:00
mjudge%netscape.com
1e4bbda958
fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
...
MJ
1999-06-10 21:08:17 +00:00
joki%netscape.com
6f1a265019
Adding new method to nsIDOMNSUIEvent to give event pos as range offset.
1999-06-08 02:19:26 +00:00
mjudge%netscape.com
1dd2a01b0e
reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
1999-05-20 00:52:00 +00:00
mjudge%netscape.com
341678533a
adding in selection of non text frames in editor only
1999-05-17 00:21:18 +00:00
mjudge%netscape.com
c3a95cdcf8
adding back in keyboard navigation. removing const from peekoffset to stop the const creep
1999-05-13 00:43:47 +00:00
mjudge%netscape.com
85afd8f29d
massive checkin for selection modifications and removing static state variables for selection in nsFrame.h.
1999-05-07 21:12:59 +00:00
mjudge%netscape.com
75dd0e4936
selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order.
1999-04-26 04:02:04 +00:00
troy%netscape.com
91a6cd064a
Added flag bit NS_FRAME_OUT_OF_FLOW, and changed the frame construction code
...
to set it for floated and absolutely positioned frames
1999-04-25 17:20:53 +00:00
kipp%netscape.com
09e3b583b6
Added a bit to speed up frame destruction
1999-04-13 21:48:35 +00:00
troy%netscape.com
618e1665a4
Added NS_FRAME_GENERATED_CONTENT
1999-04-05 03:44:07 +00:00
peterl%netscape.com
8e944a5a2b
added args to ReResolveStyle to capture style change info
1999-03-25 06:32:56 +00:00
mjudge%netscape.com
098064a40c
fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins
1999-03-12 00:17:14 +00:00
kipp%netscape.com
1a8ea498e5
Removed global gLogModule
1999-02-26 16:59:57 +00:00
troy%netscape.com
f19915b56d
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy%netscape.com
dfdacc8159
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
troy%netscape.com
8dfabdf1a8
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
mjudge%netscape.com
7d4b7bff9f
adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change.
1999-02-22 04:57:44 +00:00
kipp%netscape.com
f4c1d98678
Removed obsolete GetAutoMarginSize method
1999-02-18 03:19:02 +00:00