584 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
906863a0f9 Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr.
git-svn-id: svn://10.0.0.236/trunk@179728 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 21:34:50 +00:00
roc+%cs.cmu.edu
84761d32e5 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
git-svn-id: svn://10.0.0.236/trunk@179638 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 20:04:23 +00:00
roc+%cs.cmu.edu
0d3ee201f7 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.
git-svn-id: svn://10.0.0.236/trunk@179368 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 02:16:03 +00:00
smontagu%smontagu.org
376ef18d28 Bug 306049: Crash in nsFrame::PeekOffsetParagraph when triple-clicking not in a block. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@179157 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 08:20:34 +00:00
roc+%cs.cmu.edu
1819e04911 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
git-svn-id: svn://10.0.0.236/trunk@178667 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 04:20:02 +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
roc+%cs.cmu.edu
4a089a3fff Bug 305239. Fix regression in text entry. r+sr=roc, patch by Uri Bernstein
git-svn-id: svn://10.0.0.236/trunk@178581 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 01:32:03 +00:00
roc+%cs.cmu.edu
f9da0cb923 Bug 32807. Make triple-click select paragraphs, not lines. Patch by uriber, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@178170 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:09:16 +00:00
roc+%cs.cmu.edu
a4c1d29439 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
git-svn-id: svn://10.0.0.236/trunk@178168 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:04:51 +00:00
bzbarsky%mit.edu
9104cb9303 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


git-svn-id: svn://10.0.0.236/trunk@177914 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:52:48 +00:00
bzbarsky%mit.edu
35e2c59780 Replace warning with assert, since this should now never happen. Bug 297850,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177844 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 14:39:08 +00:00
gavin%gavinsharp.com
53e7a1828f Backing out patch for bug 292581, because it caused bug 302804, by author's request
git-svn-id: svn://10.0.0.236/trunk@177484 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 03:05:43 +00:00
mozilla.mano%sent.com
3333ae0254 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.
git-svn-id: svn://10.0.0.236/trunk@177314 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 07:32:14 +00:00
timeless%mozdev.org
c2fcb662c5 Bug 277553 clicking on Textarea with a RTL direction doesnt work
patch by uriber@gmail.com r=bz sr=bz a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@177023 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 21:55:55 +00:00
timeless%mozdev.org
445d7950b2 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


git-svn-id: svn://10.0.0.236/trunk@176992 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 17:19:43 +00:00
gavin%gavinsharp.com
d981855e8b 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
git-svn-id: svn://10.0.0.236/trunk@176798 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 19:48:01 +00:00
aaronleventhal%moonset.net
827b578eb2 Bug 300284. Can't shift+tab out of mail compose. r+sr=bzbarsky, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176407 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 19:27:18 +00:00
mrbkap%gmail.com
2d857d4b73 bug 299533: Fix hang when dragging across a select down arrow. r+sr=roc a=chofmann
git-svn-id: svn://10.0.0.236/trunk@175681 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 05:55:22 +00:00
dbaron%dbaron.org
25b210b22c Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00
mrbkap%gmail.com
6321ac3cb3 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
git-svn-id: svn://10.0.0.236/trunk@175435 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 22:50:15 +00:00
peterv%propagandism.org
aac2b47f2a Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
ginn.chen%sun.com
faa408df6e Bug 295142 Crash when using option(ctrl)-left arrow at the end of RTL textarea [@nsFrame::PeekOffset]
r=roc sr=roc a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174162 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-06 02:22:53 +00:00
vladimir%pobox.com
8ed9af21f3 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver
git-svn-id: svn://10.0.0.236/trunk@173239 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 00:28:30 +00:00
bzbarsky%mit.edu
3f6088524e 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


git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu
131435cb9a 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
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
roc+%cs.cmu.edu
d302ae559d Bug 289431. Don't include overflow from children in frames that are overflow:-moz-hidden-unscrollable. r+sr=bzbarsky,a=brendan
git-svn-id: svn://10.0.0.236/trunk@171995 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 22:03:23 +00:00
roc+%cs.cmu.edu
89977d9b7c 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.
git-svn-id: svn://10.0.0.236/trunk@171875 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 23:54:28 +00:00
roc+%cs.cmu.edu
c10d27a704 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.
git-svn-id: svn://10.0.0.236/trunk@171843 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 03:59:02 +00:00
roc+%cs.cmu.edu
7021bee02b Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171539 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
72020748e5 Implement CSS2 counters. b=3247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
dbaron%dbaron.org
f7e591cd27 Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
git-svn-id: svn://10.0.0.236/trunk@171429 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
edd9381478 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171419 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:40:12 +00:00
aaronleventhal%moonset.net
db0b88cf7a Bug 245349. Puzzle piece placeholder that says click here to download plugin is not focusable or accessible. r=bz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171414 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 01:38:04 +00:00
ginn.chen%sun.com
80daf58017 Bug 256269 Caret browsing: up/down arrow should not get into button text
r=mats.palmgren sr=roc


git-svn-id: svn://10.0.0.236/trunk@171312 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 03:28:10 +00:00
roc+%cs.cmu.edu
3b6fa5f822 Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171281 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 21:08:22 +00:00
roc+%cs.cmu.edu
7f1a3c9c93 Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171036 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu
66d9120653 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171034 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:21:04 +00:00
bzbarsky%mit.edu
b545c9a067 Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171033 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:07:10 +00:00
roc+%cs.cmu.edu
5ef4f18208 Bug 276892. Cancel selection if the mouse button is released in some subdocument. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170254 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 00:34:44 +00:00
bzbarsky%mit.edu
807f289552 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs


git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
roc+%cs.cmu.edu
a4e7035e7c 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
git-svn-id: svn://10.0.0.236/trunk@168935 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 21:59:35 +00:00
bzbarsky%mit.edu
2bea98552c 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


git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
scott%scott-macgregor.org
48f07cde0c 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


git-svn-id: svn://10.0.0.236/trunk@168554 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 17:57:35 +00:00
ginn.chen%sun.com
3ad030d95e Bug 278197
Ctrl+HOME/END doesn't work correctly on www.google.com and www.microsoft.com
r=brade sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168346 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 06:46:35 +00:00
bzbarsky%mit.edu
9f486c92b5 Fix error in GetScreenRect. Bug 271891, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168261 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 22:41:59 +00:00
mats.palmgren%bredband.net
9c18d9f96a 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
git-svn-id: svn://10.0.0.236/trunk@167833 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 18:44:01 +00:00
jshin%mailaps.org
082ef42cc3 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
git-svn-id: svn://10.0.0.236/trunk@167680 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 19:21:18 +00:00
neil%parkwaycc.co.uk
b6cfbdda85 Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167161 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 17:26:29 +00:00
bugzilla%arlen.demon.co.uk
e4daffa10a Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00