Commit Graph

4027 Commits

Author SHA1 Message Date
mats.palmgren%bredband.net
3c8349304e Fix compile warning from my last checkin. b=217903
git-svn-id: svn://10.0.0.236/trunk@179413 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 19:53:39 +00:00
mats.palmgren%bredband.net
1d54524a29 Avoid trying to make an inside bullet frame its own sibling. b=217903 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179411 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 19:38:59 +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
roc+%cs.cmu.edu
1f87133eec Bug 305120. Make overflow/underflow events be posted by HTML again. Also, only post an overflow event when we go from not-overflowing to overflowing instead of every time we reflow with overflow. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@179365 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 00:57:27 +00:00
mats.palmgren%bredband.net
6b73cb4c6c Fix crash on unicode "zero width non-joiner" sequence. b=217903 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@179360 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 00:35:17 +00:00
mats.palmgren%bredband.net
06ad257375 Implement HTML4 align=middle according to spec. Correct the DOM attribute value mapping for some of the other values as well. b=192077 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@179347 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 22:46:45 +00:00
bmlk%gmx.de
90cf9eb05b reset the cached ascent if the block is empty, bug 206516 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@179307 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 16:14:07 +00:00
dbaron%dbaron.org
2be505f301 Base factor line-height values on the same concept of font size as em-based line-height values. b=196270 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179226 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 19:30:06 +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
mozilla.mano%sent.com
85437d5bd7 Bug 305083 - When using ctrl+right-arrow on last word in a wrapping line, caret moves to end of line instead of to beginning of next line. patch from Eyal Rozenberg <eyalroz@technion.ac.il>, r=uriber, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@178953 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 15:57:12 +00:00
roc+%cs.cmu.edu
e62ae2d243 Bug 293714. Be smart about guessing whether a vertical scrollbar is needed when we do the first real reflow of a scrollframe; remember in global history whether the page needed a scrollbar or not. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178883 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 00:10:37 +00:00
bmlk%gmx.de
0606f552eb pixel align pct based scroll frames bug 139843 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@178802 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 18:11:45 +00:00
mrbkap%gmail.com
1886a2ba22 bug 299622: BiDi: Pressing End in a blank line moves the caret back, to the end of the previous line. Patch by Uri Bernstein <uriber@gmail.com>. r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@178799 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 17:46:45 +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
bzbarsky%mit.edu
3e0b5109c5 Restore the ability to tab to links in an imagemap. Bug 304467, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@178753 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 00:03:59 +00:00
roc+%cs.cmu.edu
01b8ec2e94 Bug 303458. Check in rest of patch for 295673. Doh!
git-svn-id: svn://10.0.0.236/trunk@178727 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 20:44:23 +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
pavlov%pavlov.net
78af32406c moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@178659 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 02:11:54 +00:00
bzbarsky%mit.edu
b327d4361b Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
instead.  Bug 294114, r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@178656 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 01:29:02 +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
5fffa99b09 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@178592 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 04:45:18 +00:00
roc+%cs.cmu.edu
7bb639f3e7 Bug 189308. Checking in the changes to address dbaron's comments, left out of the orginal checkin.
git-svn-id: svn://10.0.0.236/trunk@178590 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 04:16:38 +00:00
roc+%cs.cmu.edu
d225763725 Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!)
git-svn-id: svn://10.0.0.236/trunk@178583 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 03:00:06 +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
6a0f96c99e Fixing build bustage ... variable named 'min' seems to conflict with some macro. r+sr=NOBODY AT ALL\! HAHAHAHA\!
git-svn-id: svn://10.0.0.236/trunk@178576 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 00:22:41 +00:00
roc+%cs.cmu.edu
9f0e76cac1 Bug 189308. Fire onscroll for all kinds of scrollling, and consolidate multiple scrolls into one event, and delay firing the event until we've returned to our PLevent loop. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178574 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 23:37:13 +00:00
roc+%cs.cmu.edu
75081db330 Bug 295767. Simplify and thoroughly analyze previous-margin-dirty determination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178573 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 23:18:11 +00:00
bzbarsky%mit.edu
e79cce1c42 Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@178242 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 15:00:01 +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
mozilla.mano%sent.com
c1f98a5ee9 Bug 299239 - BiDi: Caret is stuck when reaching a single LTR character in RTL text. patch from Eyal Rozenberg <eyalroz@technion.ac.il>. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@177837 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 14:19:59 +00:00
bzbarsky%mit.edu
9362c1e1ca Don't invalidate the whole imagemap on unrelated attribute changes in the
subtree.  Bug 304753, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@177811 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 04:47:36 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +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
65281ba197 Bug 301033 - Bidi: Caret placed in wrong position when arrowing over a single reverse-direction character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa.
git-svn-id: svn://10.0.0.236/trunk@177316 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 07:35:48 +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
roc+%cs.cmu.edu
6fd1b09b01 Bug 295673. Fix up GetActualScrollbarSizes so that padding doesn't confuse it. r+sr=dbaron, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177011 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:19:34 +00:00
roc+%cs.cmu.edu
419aa6d88e Bug 189739. During SHRINKWRAP, lines that skip being reflowed need to add their right margin to their mBounds.XMost for the shrink-wrap width computation. Fixes an incremental reflow regression. r+sr=dbaron,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177008 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:17:36 +00:00
dbaron%dbaron.org
956038a9e0 Remove check for GECKO_USE_COMPUTED_HEIGHT environment variable. b=196270 r+sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177006 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:15:27 +00:00
bzbarsky%mit.edu
0a6556c02c Make sure to not return a negative containing block height when computing a
quirks percentage height containing block.  Bug 303005, r+sr=dbaron,
a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@177003 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:09:49 +00:00
roc+%cs.cmu.edu
47f6eb2817 Bug 298893. Collapse the leading and trailing margins of a column set. Makes columns degrade more gracefully.
git-svn-id: svn://10.0.0.236/trunk@177002 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:05:52 +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
bzbarsky%mit.edu
edb46c15b4 Insert child frames that belong at the front of our list after mBullet if we
have an inside bullet.  Bug 295947, r+sr=dbaron, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176973 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:38:16 +00:00
bzbarsky%mit.edu
c25a517378 Make sure to reset our intrinsic size if we're doing a GetDesiredSize and have
no image; this way if we later get an image we'll make sure to reflow.  Bug
294718, r+sr=roc, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176972 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:35:32 +00:00
bzbarsky%mit.edu
a76c585865 Don't carry out the bottom margins of kids if the block's height is affected by
min-height or max-height.  Bug 295309, r+sr=roc, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176971 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:32:46 +00:00
rbs%maths.uq.edu.au
71eb574482 Avoing crashing due to outdated text pointers by flushing pending reflows before finding out where to scroll the selection, b=252970, r+sr=bzbarsky, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176866 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 02:43:17 +00:00