194 Commits

Author SHA1 Message Date
dholbert%cs.stanford.edu
e41e063ded Bug 406646. Make sure to only search *visible* popups for mouse event targets. Patch by Robert O'Callahan <robert@ocallahan.org> r=enndeakin a1.9.0.10=dveditz
git-svn-id: svn://10.0.0.236/trunk@256914 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-14 19:24:10 +00:00
smontagu%smontagu.org
ebbb7491d6 Bug 435856: LTR overwrite after printing a page. r+sr=roc, a=ss
git-svn-id: svn://10.0.0.236/trunk@253197 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-22 11:59:15 +00:00
gavin%gavinsharp.com
f584b00aef Bug 430785: Caret not visible with right-clicking on a text input, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc, a=damon
git-svn-id: svn://10.0.0.236/trunk@250988 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-30 16:54:17 +00:00
roc+%cs.cmu.edu
210ed669a9 Bug 335359. Make the caret thicker when it's at a Kanji character. r+sr=mrbkap,a=damon
git-svn-id: svn://10.0.0.236/trunk@250647 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 03:13:55 +00:00
roc+%cs.cmu.edu
003254f093 Bug 420987. The caret size should be specified in CSS pixels and it should be rounded like borders --- rounding down to the nearest device pixel, but not down to zero. r+sr=mrbkap,a=schrep
git-svn-id: svn://10.0.0.236/trunk@250223 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 21:09:23 +00:00
reed%reedloden.com
43fdadd8ea Bug 427163 - "Crash [@ nsContentUtils::ContentIsDescendantOf] with contenteditable, right-clicking and document.write" (add null check) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@249897 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 06:16:09 +00:00
reed%reedloden.com
5d6e2d6e88 Bug 420499 - "Caret browsing mode wrongly engaged" (Mochitest) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@249832 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 18:53:07 +00:00
reed%reedloden.com
87c28b7833 Bug 420499 - "Caret browsing mode wrongly engaged" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@248942 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-01 08:35:11 +00:00
roc+%cs.cmu.edu
228ea44f31 Bug 400057. Make nsBlockInFlowLineIterator useful for finding the line containing a frame, searching across block continuations and their overflow lines. Use it in various places, especially in textrun construction. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@246660 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 09:53:48 +00:00
reed%reedloden.com
cd15018c12 Bug 394473 - "caret/cursor in View Source is invisible since 20070628 {not rendered, seen, can't, cannot, shown, displayed}" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@246598 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 01:49:47 +00:00
Olli.Pettay%helsinki.fi
e60089b398 Bug 368760, r=mats, sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@239843 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 20:47:35 +00:00
reed%reedloden.com
75efb2acd2 Bug 394473 - "caret/cursor in View Source is invisible since 20070628 {not rendered, seen, can't, cannot, shown, displayed}" [p=cpearce r=peterv sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@239269 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 05:42:52 +00:00
roc+%cs.cmu.edu
76e933ed77 Bug 403048. Be more careful about looking for the line containing the caret. r+sr=mrbkap
git-svn-id: svn://10.0.0.236/trunk@239000 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 01:59:20 +00:00
reed%reedloden.com
2c0d6728c5 Bug 336408 - Allow the caret to be positioned at the end of trimmed whitespace, as if the whitespace wasn't trimmed [p=roc r=smontagu sr=mrbkap a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238950 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:07:00 +00:00
tglek%mozilla.com
1b2f5bc689 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237496 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 00:00:06 +00:00
joshmoz%gmail.com
7fbad72616 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237027 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 23:20:38 +00:00
philringnalda%gmail.com
a10e4df6c0 Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@232249 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 03:43:01 +00:00
mrbkap%gmail.com
fb15536c44 Redragging over empty text field doesn't show drag caret, except for the last text field. bug 390228, r+sr=roc a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231983 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 21:33:25 +00:00
mrbkap%gmail.com
9fa96160c8 Clamp the caret's position so that we always draw within the nearest scrollframe. Not doing this allows the scrollframe to clip the caret, causing it to not show up at all. bug 335560, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@231981 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 20:51:16 +00:00
peterv%propagandism.org
3715685fe5 Fix for bug 387380 (No visible caret when caret browsing). r=smaug, sr=jst, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@231795 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 13:19:14 +00:00
sharparrow1%yahoo.com
66c4c37428 Bug 390740: Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231596 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 19:07:44 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
peterv%propagandism.org
9e04fca5dd Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36 Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
sharparrow1%yahoo.com
ac106dc516 Bug 370379: Create views less frequently. Stops creating views for -moz-hidden-unscrollable, opacity, fixed backgrounds, and scrollbars, plus removes some unneeded methods from views and view managers. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220852 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 00:23:42 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
uriber%gmail.com
0de5189c5b Bug 233348: BiDi marker is hidden when the caret is at the edge of a textarea. Patch by Haamed Gheibi <gheibi@gmail.com>. r=mrbkap sr=roc
git-svn-id: svn://10.0.0.236/trunk@214539 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 18:31:42 +00:00
uriber%gmail.com
78cfa593e6 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, plus some more related refactoring. bug=300131 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209768 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 20:43:01 +00:00
uriber%gmail.com
fcf4d1b5af Backing out bug 300131 until I figure out how to deal with the bustage.
git-svn-id: svn://10.0.0.236/trunk@209689 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 08:03:28 +00:00
uriber%gmail.com
09e8c4f558 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, and some related refactoring. bug=300131 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209685 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 06:39:56 +00:00
uriber%gmail.com
bf3c2a0692 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206807 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 05:14:52 +00:00
uriber%gmail.com
17a6df652a Enable PeekOffset to find the visual beginning/end of a line, and use use it for bidi caret positioning. bug=302051 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@206472 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 06:24:11 +00:00
sharparrow1%yahoo.com
f7e771c4b2 Bug 345371: add null checks for weak pointers in nsCaret. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@203306 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 23:26:05 +00:00
smontagu%smontagu.org
eedadb760a Only display a bidirectional caret on platforms that implement nsIBidiKeyboard. Bug 272096, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201667 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 08:29:53 +00:00
mrbkap%gmail.com
2f57fc6f5e Only recalculate the caret's rect when we're not currently drawn in an attempt to avoid caret turds when we're being notified of the caret movement after the frame has already been marked dirty. bug 335834, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195947 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 00:05:22 +00:00
mrbkap%gmail.com
64f5c8e34a Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 04:33:41 +00:00
roc+%cs.cmu.edu
0efb95265d Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
mrbkap%gmail.com
07437f7122 Make the caret paint in the same color as the foreground so it's not always painted black. bug 334635, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195087 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 19:13:58 +00:00
mrbkap%gmail.com
b8eef2bbb9 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194553 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:16:46 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
uriber%gmail.com
60d1fa7f53 In nsTextEditRules::CheckBidiLevelForDeletion(), use nsSelection::GetPrevNextBidiLevels to determine bidi levels. bug=330460 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@192841 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:20:29 +00:00
smontagu%smontagu.org
1500b61ab0 Bug 305798: Bidi: After deleting last character of reverse-direction text, arrow keys move caret incorrectly. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc
git-svn-id: svn://10.0.0.236/trunk@184752 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 09:37:01 +00:00
mark%moxienet.com
b54efc8cca Bug 311399, Crash [@ SetOrigin] during rendering context destruction. Remove QD save/restore from rendering context, it was placed there as a workaround for scrollbar functional and aesthetic bugs. Add OS event handler to fix aesthetic problems, and check for bad states to work around functional problems. r=josh sr=smfr
git-svn-id: svn://10.0.0.236/trunk@184389 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 03:46:52 +00:00
masayuki%d-toybox.com
286962ae64 Bug 313918 IME candidate list is positioned to wrong position if the caret is positioned non-root view r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183235 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:43:51 +00:00
roc+%cs.cmu.edu
5e553cf7c6 Bug 311152. Make DOM selection changes repaint the caret in the new position. r=mrbkap,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182107 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 18:40:38 +00:00
aaronleventhal%moonset.net
3d26c8dcab Bug 193316. Caret not visible in readonly fields (HTML or XUL). r=mrbkap, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@181542 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 03:14:03 +00:00
mats.palmgren%bredband.net
2c5ee7ad68 Caret drawn at incorrect position after typing a single LTR character in a blank RTL input field (or vice versa) while caret is visible. b=307533 r=uriber sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179957 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 11:14:48 +00:00
mrbkap%gmail.com
210f1d6d3a bug 303399: Bidi: Problems with caret positioning on blank lines. Patch by Uri Bernstein <uriber@gmail.com>. r=mrbkap sr=roc
git-svn-id: svn://10.0.0.236/trunk@178798 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 17:44:28 +00:00