Граф коммитов

785 Коммитов

Автор SHA1 Сообщение Дата
uriber%gmail.com 22b463bc6d Implemented bidi.edit.caret_movement_style pref, default is "visual, but logical during selection". bug=330175 r=smontagu sr=roc 2006-04-08 14:45:48 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
dbaron%dbaron.org 0e88f73bc6 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
uriber%gmail.com a93a7ba7f6 For left/right arrows, don't flip the hint in PeekOffset(); instead figure it afterwards in MoveCaret(). bug=331444 r=smontagu sr=roc 2006-03-28 18:33:37 +00:00
roc+%cs.cmu.edu 0a10a79f62 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 2006-03-26 21:30:36 +00:00
uriber%gmail.com 2ca4a24853 Bug 331440: Remove eSelectDir from nsSelectionAmount enum, and all references to it. r+sr=roc 2006-03-23 18:36:44 +00:00
uriber%gmail.com 4faccc8fe3 Simplified bidi code in GetFrameFromDirection; changed bidi semantics of eDirPrevious, eDirNext. bug=330815 r=smontagu sr=roc 2006-03-23 08:30:30 +00:00
uriber%gmail.com a52c79e7ad Bug 330881: Crash when double-clicking in empty area inside isindex with position:absolute;direction:rtl;. r+sr=roc 2006-03-20 09:20:49 +00:00
pavlov%pavlov.net 336a97d6bb forgot to remove Save/Restore before checking in. bug 328390. r=vlad sr=roc 2006-03-16 22:46:10 +00:00
pavlov%pavlov.net 5f68395a20 draw image selection using thebes in cairo builds instead of tiling an image. bug 328390. r=vlad sr=roc 2006-03-16 21:42:50 +00:00
pavlov%pavlov.net 131e8794e2 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu 557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu 6fd863f2dd Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc 2006-03-14 20:43:18 +00:00
sharparrow1%yahoo.com 96bf85b6ac Bug 329031 - home/end/ctrl+home/ctrl+end offset calculation cleanup. r=uriber, sr=roc. 2006-03-13 01:13:25 +00:00
roc+%cs.cmu.edu c2801ebbd7 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
uriber%gmail.com adac4c20d3 Bug 328876: Avoid compiler warning in nsFrame::GetSelectionClosestFrame(). r+sr=roc 2006-03-01 21:18:30 +00:00
uriber%gmail.com 92fe5cb863 Bug 326932: Triple-click paragraph selection doesn't work correctly in paragraphs containing form controls. r+sr=roc 2006-03-01 19:28:42 +00:00
sharparrow1%yahoo.com 35f936ecec Bug 320326: deCOMtaminate GetContentAndOffsetsFromPoint, plus some slight behavior changes. r+sr=roc. 2006-02-27 05:57:37 +00:00
roc+%cs.cmu.edu f132edee94 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. Relanding because I accidentally backed it out. r+sr=dbaron 2006-02-27 04:15:05 +00:00
roc+%cs.cmu.edu bde356f1f5 Backing out changes for bug 326944. 2006-02-27 03:22:03 +00:00
roc+%cs.cmu.edu e344f390f8 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. r+sr=dbaron 2006-02-27 02:51:57 +00:00
uriber%gmail.com c7032d59bb Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu 8da62e8e0d Bug 327670. Fix memory leak from bug 317375. r+sr=dbaron 2006-02-21 21:06:17 +00:00
sharparrow1%yahoo.com eb67fd0b3d Bug 327868: nsIFrameSelection cleanup. r+sr=roc 2006-02-21 00:49:04 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu f96a096c2c Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu 56a4c9f4c4 Bug 324836. Listboxes must be treated as pseudostackingcontexts. r+sr=dbaron 2006-01-26 21:03:49 +00:00
roc+%cs.cmu.edu 77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
cvshook%sicking.cc 7db01c8d27 Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc
2006-01-10 22:58:37 +00:00
uriber%gmail.com b240a28f70 Bug 310589: Clicking off of the lower-right edge of a zoomed image can cause a crash [@FindBlockFrameOrBR()] [@ nsIFrame::GetExtremeCaretPosition()]. r+sr=roc 2006-01-08 21:44:44 +00:00
timeless%mozdev.org 079a6325e0 Bug 321393 Clicking on page in print preview causes crash [@ GetOffsetsOfFrame]
patch by sharparrow1@yahoo.com r=roc sr=roc
2005-12-25 19:01:45 +00:00
dbaron%dbaron.org 05796cb2e6 Fix insertion at end of textarea creating an extra pseudo-linebreak. b=319664 Patch by Eli Friedman <sharparrow1@yahoo.com>. r+sr=roc 2005-12-20 09:13:47 +00:00
dbaron%dbaron.org a08eef7737 Back out part of previous patch since it's a static/dynamic inconsistency. 2005-12-17 19:11:40 +00:00
dbaron%dbaron.org 22d6401242 Skip anonymous table objects (and our extra cell content box) when finding parents for style contexts of their descendants during style reresolution. b=289517 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r+sr=dbaron 2005-12-17 18:58:47 +00:00
dbaron%dbaron.org 8c711f30bc Don't store or use a widget in the delayed caret data; it's not important, and it might have been destroyed. b=307989 r+sr=roc 2005-12-16 04:58:33 +00:00
dbaron%dbaron.org b4ed6cb2f1 Null out line layout when crossing from box to non-box so we don't reuse an incorrect linelayout object. b=307992 r+sr=roc 2005-12-15 23:08:07 +00:00
roc+%cs.cmu.edu d63261dc31 Bug 319675. Don't cross line boundaries looking for double-click targets. patch by Eli Friedman, r=sr=roc 2005-12-15 03:32:09 +00:00
mark%moxienet.com 0e1d9f3154 Bug 319558, crash [@ GetSelectionClosestFrameForChild] due to typo in bug 316281. Remove unwanted semicolon. Patch by Adam Guthrie <ispiked@gmail.com>. r=me 2005-12-08 18:09:17 +00:00
roc+%cs.cmu.edu a710fcd15d Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman 2005-12-07 23:08:39 +00:00
roc+%cs.cmu.edu a20b3fc911 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:32:52 +00:00
timeless%mozdev.org 1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bmlk%gmx.de ac3f79fa07 More robust handling of the overflow property, bug 315210 r/sr=roc 2005-11-11 05:30:31 +00:00
roc+%cs.cmu.edu d511c33bd9 Fixing bustage... 2005-11-01 21:11:25 +00:00
roc+%cs.cmu.edu a5f65bfee7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
smontagu%smontagu.org 41432ddbee Caret skips blank line using down-arrow key in preformatted text (e.g. View Source). Bug 298690, patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc 2005-10-30 13:05:45 +00:00
mats.palmgren%bredband.net 9125d9fa0e Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky 2005-10-17 00:03:05 +00:00
ginn.chen%sun.com e12bf01c19 Bug 304891 Using ctrl+right arrow in textarea, first word after hard line break is skipped
r=uriber sr=roc
2005-09-19 05:16:25 +00:00
roc+%cs.cmu.edu fed343c43a 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
Olli.Pettay%helsinki.fi 7d0dcbfb2d Bug 306895, Triple click should select lines, not paragraphs, in white-space: -moz-pre-wrap;, p=uriber@gmail.com, r/sr=roc 2005-09-18 12:41:40 +00:00
bzbarsky%mit.edu c00cd696d1 Fix bug 307256, bug 307304, bug 307924 by disabling selection for XUL elements
by default.  r+sr=dbaron, with OKs from Neil and mconnor for the general idea
and the xul.css changes.
2005-09-11 19:22:57 +00:00
bzbarsky%mit.edu cf64715ae5 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 f246fa2bbd Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr. 2005-09-06 21:34:50 +00:00
roc+%cs.cmu.edu 60903ce73c 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
roc+%cs.cmu.edu f8d744f15d Bug 73373. Allow multiple selections of content using the ctrl/option keys. This is for testing --- it will probably expose bugs in other places. r+sr=roc,patch by Martijn Wargers. 2005-08-31 02:16:03 +00:00
smontagu%smontagu.org a273c950ea Bug 306049: Crash in nsFrame::PeekOffsetParagraph when triple-clicking not in a block. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc 2005-08-28 08:20:34 +00:00
roc+%cs.cmu.edu 8d634a00b5 Bug 305239. When drilling down at the start or end of a line, and we find a BR, return the parent element and the offset to the BR element instead of the BR element itself. This is a workaround for some deeper bug but we need a fix now. r+sr=roc, patch by Uri Bernstein 2005-08-23 04:20:02 +00:00
roc+%cs.cmu.edu 6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu 0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
roc+%cs.cmu.edu 91b264f0f4 Bug 305239. Fix regression in text entry. r+sr=roc, patch by Uri Bernstein 2005-08-22 01:32:03 +00:00
roc+%cs.cmu.edu 971dd68989 Bug 32807. Make triple-click select paragraphs, not lines. Patch by uriber, r+sr=roc 2005-08-18 17:09:16 +00:00
roc+%cs.cmu.edu 624a9d18f5 Bug 16311. Instead of using geometric scanning to find the ends of lines, just look at the frame hierarchy. patch by uriber, r+sr=roc 2005-08-18 17:04:51 +00:00
bzbarsky%mit.edu 8e208eced1 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
bzbarsky%mit.edu 3d3c6b6621 Replace warning with assert, since this should now never happen. Bug 297850,
r+sr=dbaron
2005-08-16 14:39:08 +00:00
gavin%gavinsharp.com 734507bb0f Backing out patch for bug 292581, because it caused bug 302804, by author's request 2005-08-10 03:05:43 +00:00
mozilla.mano%sent.com aeb94bbfb7 Bug 299842 - BiDi: Recursive caret movement in LTR lines which begin with an RTL word or character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa. 2005-08-08 07:32:14 +00:00
timeless%mozdev.org b4d01d069d Bug 277553 clicking on Textarea with a RTL direction doesnt work
patch by uriber@gmail.com r=bz sr=bz a=bsmedberg
2005-08-02 21:55:55 +00:00
timeless%mozdev.org 4b48453e7b Bug 288789 BiDi - In an RTL textbox, caret moves to wrong position when using arrow keys to move into a line containing LTR text
patch by uriber@gmail.com r=smontagu sr=roc a=bsmedberg
2005-08-02 17:19:43 +00:00
gavin%gavinsharp.com 81adc8f14a Bug 292581: funky selection behaviour 3: event coordinates not being translated at the right time, patch by Eli Friedman <sharparrow1@yahoo.com>, r+sr=bzbarsky, a=bsmedberg 2005-07-28 19:48:01 +00:00
aaronleventhal%moonset.net 0f6fd04c75 Bug 300284. Can't shift+tab out of mail compose. r+sr=bzbarsky, a=bsmedberg 2005-07-21 19:27:18 +00:00
mrbkap%gmail.com 751a91d6f6 bug 299533: Fix hang when dragging across a select down arrow. r+sr=roc a=chofmann 2005-07-06 05:55:22 +00:00
dbaron%dbaron.org 22c8c10292 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
mrbkap%gmail.com 4c7f6d1568 bug 297224: Fix hang trying to move the caret by making sure that we always hit the first and last frames in a line when iterating over that line. r+sr=roc a=bsmedberg 2005-06-30 22:50:15 +00:00
peterv%propagandism.org ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
ginn.chen%sun.com f672ce6758 Bug 295142 Crash when using option(ctrl)-left arrow at the end of RTL textarea [@nsFrame::PeekOffset]
r=roc sr=roc a=chofmann
2005-06-06 02:22:53 +00:00
vladimir%pobox.com 63a34084c8 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver 2005-05-10 00:28:30 +00:00
bzbarsky%mit.edu e61e1e1935 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
roc+%cs.cmu.edu 84b0577142 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu 0a0d19cb3f Bug 289431. Don't include overflow from children in frames that are overflow:-moz-hidden-unscrollable. r+sr=bzbarsky,a=brendan 2005-04-11 22:03:23 +00:00
roc+%cs.cmu.edu 61fc68579f 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 596fb50b2f 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 20d333fbf6 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 da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
dbaron%dbaron.org 36107f5980 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 f93b035647 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron 2005-03-31 03:40:12 +00:00
aaronleventhal%moonset.net c8dd1f358c 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
ginn.chen%sun.com 26c5ac572b Bug 256269 Caret browsing: up/down arrow should not get into button text
r=mats.palmgren sr=roc
2005-03-29 03:28:10 +00:00
roc+%cs.cmu.edu 217d29553f Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky 2005-03-28 21:08:22 +00:00
roc+%cs.cmu.edu 87c224f2cb Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron 2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu debd246cd3 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst 2005-03-23 03:21:04 +00:00
bzbarsky%mit.edu 4be318894c Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst
2005-03-23 03:07:10 +00:00
roc+%cs.cmu.edu 97bbe7fe29 Bug 276892. Cancel selection if the mouse button is released in some subdocument. r+sr=bzbarsky 2005-03-07 00:34:44 +00:00
bzbarsky%mit.edu e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
roc+%cs.cmu.edu 05a4dd52a6 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 54d585f2af 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
scott%scott-macgregor.org 203c40b9da Bug #278312 --> layout and selection changes to support inline spell checking for Thunderbird
Includes changes to draw spell check selection as a red dotted line instead of a solid underline.

r/sr=dbaron
2005-01-31 17:57:35 +00:00
ginn.chen%sun.com 5dbe9df509 Bug 278197
Ctrl+HOME/END doesn't work correctly on www.google.com and www.microsoft.com
r=brade sr=bzbarsky
2005-01-26 06:46:35 +00:00
bzbarsky%mit.edu 58ee23e4a1 Fix error in GetScreenRect. Bug 271891, r+sr=dbaron 2005-01-24 22:41:59 +00:00
mats.palmgren%bredband.net 54108dc6db Add NS_FRAME_INDEPENDENT_SELECTION to ListControlFrame (and children) and skip such frames (TextControlFrame also) in GetContentAndOffsetsFromPoint() when the point is only "near" (not inside) the frame. b=268497 r=bzbarsky sr=dbaron 2005-01-16 18:44:01 +00:00
jshin%mailaps.org 729785e7e8 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 74e2aa375a 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 3d7261604c 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 b71e2a3790 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 ca3e9f85c3 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
bmlk%gmx.de d3197a9276 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
ginn.chen%sun.com f5d4c7abbd Bug 274857 Pressing Ctrl+Backspace twice in an RTL textarea crashes the browser
r=roc sr=roc
2004-12-21 05:17:52 +00:00
smontagu%smontagu.org 5bff65e904 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
ginn.chen%sun.com 8c0e241876 Bug 256835 [crash]ctrl+left cause crash in bugzilla
[@ nsTextFrame::PeekOffset ] [@ ntdll.dll - nsFrame::GetFrameFromDirection ]
r=aaronleventhal sr=dbaron
2004-11-29 02:13:17 +00:00
ginn.chen%sun.com 59cfede2d2 Bug 256833 Right arrow skips some text after <HR>
r=aaronleventhal sr=dbaron
2004-11-26 05:51:36 +00:00
bzbarsky%mit.edu 9e94a3b521 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 b7dfbedd1f 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 fbb67978a5 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 7fd8feb31d 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
aaronleventhal%moonset.net 99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
aaronleventhal%moonset.net e9feb9853d 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
kyle.yuan%sun.com eefa1edd1b Bug 256252 ctrl+right arrow sometimes skip a word
r/sr=roc, patch=ginn.chen@sun.com
2004-10-09 06:14:44 +00:00
aaronleventhal%moonset.net 1186e2b8f0 bug 258937: form elements in Midas are focusable. r=glazou, sr=bryner 2004-09-28 18:40:50 +00:00
bryner%brianryner.com f67d250152 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 ed606a4d5d Bug 258175. Always capture the mouse at the root of the document if we haven't captured it in any child. r+sr=bzbarsky 2004-09-21 13:58:22 +00:00
roc+%cs.cmu.edu 44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
dbaron%dbaron.org 01f5e54ff0 Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc 2004-09-02 23:27:23 +00:00
kyle.yuan%sun.com 435ec50dcf Bug 254997 Caret tracking by line (down arrow) skips over huge portions of the document. r=aaronl, sr=roc, patch=ginn.chen@sun.com 2004-09-02 05:02:53 +00:00
bryner%brianryner.com dc76c57a2c deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
aaronleventhal%moonset.net 1f5edcb856 Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc 2004-09-01 14:58:34 +00:00
roc+%cs.cmu.edu 9fe7e8650d Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron 2004-09-01 13:33:17 +00:00
bryner%brianryner.com 4c15468e7d Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
bryner%brianryner.com d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org 5948a3cb75 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 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu dba4f07f62 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 80588b592f This change didn't seem to help, backing out. 2004-08-25 18:19:01 +00:00
bryner%brianryner.com 3cde0b2c62 Testing whether inlining the Get/SetProperty calls in Get/SetView helps the Tp regression from bug 253888. 2004-08-25 16:29:47 +00:00
bryner%brianryner.com b88692c5a1 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 0c08074b27 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 d86c91ac3a 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 8c24cc7e63 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 11d98b36e5 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
dbaron%dbaron.org 94bc9d26c8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu 7207e32b33 This wasn't supposed to go in... 2004-07-30 06:21:04 +00:00
bzbarsky%mit.edu e628e82cc1 Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
shared code into utility methods in nsContentUtils.  Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs.  Bug 251775 and bug 244859, r=biesi, sr=jst
2004-07-30 06:04:57 +00:00
bryner%brianryner.com 0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net cf45882e36 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 cc206bb650 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 312f627f43 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
aaronleventhal%moonset.net 910e44a7d5 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 692a414811 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 be1b821056 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
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bryner%brianryner.com 97a65f9548 Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron. 2004-06-08 23:53:59 +00:00
roc+%cs.cmu.edu e671fd534b Bug 240903. Add image input to the list of elements that can't be dragged. r+sr=roc, patch by Serge Gautherie 2004-06-02 02:25:18 +00:00
smontagu%smontagu.org 82d48e1672 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
cbiesinger%web.de 4516d769aa move nsFrame::XMLQuote to #ifdef DEBUG, like its only caller
r+sr=dbaron
2004-05-04 16:27:40 +00:00
jst%mozilla.jstenback.com 77c4322ab2 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
kyle.yuan%sun.com da65e3a121 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
2004-04-26 09:40:21 +00:00
neil%parkwaycc.co.uk 5232fbfb19 Removing unused variable and function b=217089 p=gautheri@noos.fr r/sr=dbaron 2004-04-24 13:30:23 +00:00
tor%cs.brown.edu 868dd94ecb Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
bmlk%gmx.de a3082a360e 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 2004-04-14 06:28:25 +00:00
bryner%brianryner.com 0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
dbaron%dbaron.org fcaa82359f 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 2004-04-12 21:53:22 +00:00
bzbarsky%mit.edu 04b19c480d 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
2004-04-04 01:48:16 +00:00
bzbarsky%mit.edu 809c099e33 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
2004-03-29 16:00:38 +00:00
dbaron%dbaron.org 41c16857c2 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
bzbarsky%mit.edu 345e15c6ca Make text-decorations deal with percentage padding. Bug 236175, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=dbaron
2004-03-10 04:43:59 +00:00
roc+%cs.cmu.edu 8397ac8d8f 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
bryner%brianryner.com ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
bryner%brianryner.com ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bryner%brianryner.com 225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu 8e85f2ae12 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 5b6ae6e571 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
bryner%brianryner.com 5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
dbaron%dbaron.org d1078e6485 Replaced elements should not support generated content. b=169334 r+sr=bzbarsky 2004-02-19 18:04:15 +00:00
dbaron%dbaron.org 9e5fb4244d 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 2004-02-06 23:11:46 +00:00
roc+%cs.cmu.edu 9348803726 Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
roc+%cs.cmu.edu e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com dfe3513814 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. 2003-12-21 05:36:36 +00:00
bmlk%gmx.de 167fbf7a95 show reflow targets in reflow logs bug 218961 r/sr=bzbarsky 2003-12-20 12:04:31 +00:00
jst%mozilla.jstenback.com 4183787fa9 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. 2003-11-19 01:20:56 +00:00
dbaron%dbaron.org 8856db0238 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
peter%propagandism.org f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
uid502 d521946094 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
uid502 7eecd9a0ef 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 2003-10-11 12:00:05 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 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. 2003-09-27 04:18:26 +00:00
dbaron%dbaron.org 03e89d6c99 My review comments on roc's deCOMtamination patch. b=190735 r+sr=roc 2003-09-20 21:31:18 +00:00
bmlk%gmx.de d7b849ce30 overflow area implementation for table frames (infrastructure), bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:21:41 +00:00
caillon%returnzero.com a9e2dece76 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
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
brade%netscape.com e6dbb06ce4 patch from mjudge to maintainselection; r/sr=dbaron, bug=56401 2003-07-21 19:51:34 +00:00
dbaron%dbaron.org 6160d90fcc Clean up GetView and SetView. b=208190 r+sr=roc 2003-07-12 00:50:00 +00:00
smontagu%netscape.com 6c32acf737 Bug 210110: selection at end of line spans multiple lines in embedded test editor. r+sr=bzbarsky 2003-07-11 23:34:42 +00:00
dbaron%dbaron.org d85698fd40 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 48518cc978 ongoing deCOMtamination work. Also fixes a space leak in bidi-related code. r+sr=dbaron 2003-06-28 11:48:14 +00:00
roc+%cs.cmu.edu 3d6b2b44f3 ongoing deCOMtamination work. r+sr=dbaron 2003-06-27 18:13:48 +00:00
roc+%cs.cmu.edu 33e4a9a297 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
bsmedberg%covad.net 1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu 6909e303db Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout 2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu a81f254443 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 4afcaa0e69 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 29a5d1102b Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc. 2003-06-18 22:58:51 +00:00