jst%mozilla.jstenback.com
74089032ff
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
kyle.yuan%sun.com
d8d247dd3b
Bug 240665 Can't navigate through some page lines using left or right arrow
...
r=aaronleventhal, sr=henry.jia
Patch by ginn.chen@sun.com
git-svn-id: svn://10.0.0.236/trunk@155524 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 09:40:21 +00:00
neil%parkwaycc.co.uk
20dfed9e53
Removing unused variable and function b=217089 p=gautheri@noos.fr r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@155443 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 13:30:23 +00:00
tor%cs.brown.edu
fba58fbb27
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bmlk%gmx.de
f4c784d01d
table frames that dont wrap their content with scrollframes hide the overflow if NS_STYLE_OVERFLOW_SCROLLBARS_NONE is specified bug 233438 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154861 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 06:28:25 +00:00
bryner%brianryner.com
2359d2f7c4
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00
dbaron%dbaron.org
950b1a4459
Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
...
git-svn-id: svn://10.0.0.236/trunk@154706 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:53:22 +00:00
bzbarsky%mit.edu
0d643a702e
Change the way regression tests get the framestate to make it possible to mask
...
out irrelevant state bits as needed. Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@154500 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-04 01:48:16 +00:00
bzbarsky%mit.edu
4681cee324
Fix bug 236921. This makes the root node's style context have no parent, makes
...
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root. r=caillon, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@154362 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-29 16:00:38 +00:00
dbaron%dbaron.org
1a94650e48
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +00:00
bzbarsky%mit.edu
843ca20382
Make text-decorations deal with percentage padding. Bug 236175, patch by Hideo
...
Saito <saito@densan.co.jp>, r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153817 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 04:43:59 +00:00
roc+%cs.cmu.edu
44185c6657
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
4b70febae6
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
bryner%brianryner.com
62dee43850
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
bryner%brianryner.com
d956db112f
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
1b122ed826
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.
...
git-svn-id: svn://10.0.0.236/trunk@153080 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-22 03:31:30 +00:00
dbaron%dbaron.org
e5ad15e520
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
...
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
bryner%brianryner.com
3191a1feaa
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 17:49:01 +00:00
dbaron%dbaron.org
6dd1e040bf
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152945 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:04:15 +00:00
dbaron%dbaron.org
f19ef7abab
Get rid of empty damage rect warning; better to check at callee than caller. Add const to fix DEBUG-only warnings about string constants being used as non-const. b=233292 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@152438 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 23:11:46 +00:00
roc+%cs.cmu.edu
986d8acdaa
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151139 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 05:36:32 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
b5347dd60c
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
bmlk%gmx.de
478029c599
show reflow targets in reflow logs bug 218961 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@150561 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-20 12:04:31 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
dbaron%dbaron.org
c53d72392a
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@149126 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-10 23:36:06 +00:00
peter%propagandism.org
e6ae01a399
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
uid502
f97b0819f2
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148055 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 02:38:37 +00:00
uid502
6b34cca104
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147868 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 12:00:05 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
dbaron%dbaron.org
544bc7f7d6
My review comments on roc's deCOMtamination patch. b=190735 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@147095 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 21:31:18 +00:00
bmlk%gmx.de
ef668f8320
overflow area implementation for table frames (infrastructure), bug 173277 r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@146837 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 16:21:41 +00:00
caillon%returnzero.com
c8612ff038
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
82c14d79dd
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
brade%netscape.com
a6ecc06d75
patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
...
git-svn-id: svn://10.0.0.236/trunk@145030 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 19:51:34 +00:00
dbaron%dbaron.org
71158040f7
Clean up GetView and SetView. b=208190 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@144765 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 00:50:00 +00:00
smontagu%netscape.com
4f2db22a33
Bug 210110: selection at end of line spans multiple lines in embedded test editor. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144756 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:34:42 +00:00
dbaron%dbaron.org
593f58592d
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
bd259bdc4d
ongoing deCOMtamination work. Also fixes a space leak in bidi-related code. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144244 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-28 11:48:14 +00:00
roc+%cs.cmu.edu
62382bd5e2
ongoing deCOMtamination work. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144220 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 18:13:48 +00:00
roc+%cs.cmu.edu
59de96e2fe
Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144164 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 22:55:27 +00:00
bsmedberg%covad.net
03384bfad0
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
...
git-svn-id: svn://10.0.0.236/trunk@144063 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu
d65e3c6fd3
Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout
...
git-svn-id: svn://10.0.0.236/trunk@144029 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu
5784a81ebc
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
...
git-svn-id: svn://10.0.0.236/trunk@144027 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 17:06:05 +00:00
dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
bryner%netscape.com
112e4e9f44
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@143893 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:58:51 +00:00
kaie%netscape.com
27d6f745ef
b=202046 Empty (inline) elements cause caret movement to fail
...
r=smontagu sr=kin/brendan
git-svn-id: svn://10.0.0.236/trunk@143825 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 23:41:21 +00:00
dbaron%dbaron.org
b89215194d
Slight correction to previous patch. b=209359
...
git-svn-id: svn://10.0.0.236/trunk@143721 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 01:24:03 +00:00