4460 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
e1eaaf62ed Make ReconstructDocElementHierarchy work correctly even if we first blew away a
pseudo which had the root as its content.  Bug 343293, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@216439 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:35:55 +00:00
roc+%cs.cmu.edu
05cb2de3c2 Bug 357736. Use document widget for windowless plugin's reference widget whenever we can do that safely (the origin of the windowless plugin's nearest widget is equal to the origin of the document widget). Works around a regression in some cases. patch by Graham Sanderson, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216091 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 20:15:56 +00:00
sharparrow1%yahoo.com
40150360c3 Bug 345707: print selection cuts off top of selection. r+sr=src.
git-svn-id: svn://10.0.0.236/trunk@215783 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 08:14:37 +00:00
sharparrow1%yahoo.com
31c9af6683 Bug 360227: prevent framesets from taking up an extra blank page when print/print previewing. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@215782 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-24 08:12:17 +00:00
uriber%gmail.com
9d04f04293 Null-check GetContentOffsetsFromPoint's output, to avoid crashes later. bug=361229 r=roc sr=sicking
git-svn-id: svn://10.0.0.236/trunk@215672 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:34:15 +00:00
bzbarsky%mit.edu
ee561228eb Back out bug 354600 to fix regressions.
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
Olli.Pettay%helsinki.fi
f8115d25d5 Bug 360928, Un-inline nsWeakFrame a bit, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215421 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-18 06:38:15 +00:00
Olli.Pettay%helsinki.fi
c6025f4ac2 Fixing mac builds, bug Bug 354694
git-svn-id: svn://10.0.0.236/trunk@215376 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 22:37:23 +00:00
Olli.Pettay%helsinki.fi
08df7735f7 Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu
77b17ef48c Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215356 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:51:53 +00:00
benjamin%smedbergs.us
5d1671cd01 Fix extraneous semicolon
git-svn-id: svn://10.0.0.236/trunk@215286 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:18:51 +00:00
Olli.Pettay%helsinki.fi
2d30ed18cd Bug 340564, Print/Print Preview does not print text in <input text> or <textarea>, p=sharparrow, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215069 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 00:55:11 +00:00
roc+%cs.cmu.edu
170630f895 Bug 312963. Fix column layout when content in the column is out-of-flow but still needs to break vertically. rubberstamp r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215053 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 21:38:34 +00:00
mats.palmgren%bredband.net
e5aaecc35e Right arrow key (to collapse selection to right) does not scroll textbox to show caret. b=352759 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@215034 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 16:37:10 +00:00
gavin%gavinsharp.com
cfa5421ae3 Bug 355349: remove dead code from nsTextFrame.cpp, patch by Gerald <gerald_leder@gmx.at>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@214782 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 16:18:35 +00:00
gavin%gavinsharp.com
b1ef96b548 Bug 345339, attachment 243112: Revisit nsPresState, patch by Karthik Sarma <karthik3@comcast.net>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@214778 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 16:08:20 +00:00
bzbarsky%mit.edu
715b4d92fa Add asserts and documentation to enfoce correct behavior. Bug 316267 followup,
r+sr=roc.


git-svn-id: svn://10.0.0.236/trunk@214750 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 01:17:32 +00:00
Olli.Pettay%helsinki.fi
193007f58f Bug 359203, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@214607 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 18:34:55 +00:00
timeless%mozdev.org
c6467de559 Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan


git-svn-id: svn://10.0.0.236/trunk@214560 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 23:02:18 +00:00
cvshook%sicking.cc
5b1363f0be Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957
git-svn-id: svn://10.0.0.236/trunk@214128 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-25 20:24:00 +00:00
cvshook%sicking.cc
7a22e1ec80 Bug 357445: Some cleanup of range code. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@213947 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-21 01:30:54 +00:00
roc+%cs.cmu.edu
c423eac088 Fixing Mac bustage
git-svn-id: svn://10.0.0.236/trunk@213838 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 02:17:51 +00:00
roc+%cs.cmu.edu
f06ba26d9e Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@213836 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 01:47:47 +00:00
jwatt%jwatt.org
132641cabd Replace aDesiredSize in comment with aReflowMetrics to make it match the parameter name (no bug)
git-svn-id: svn://10.0.0.236/trunk@213584 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-13 13:47:19 +00:00
Olli.Pettay%helsinki.fi
49abd2076b Bug 355100, Remove XTF visuals (part I/II, not removing files), r=alex,bryner,aaronr,doronr sr=bz
git-svn-id: svn://10.0.0.236/trunk@213305 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 14:15:02 +00:00
smontagu%smontagu.org
b34a757087 SetTransformedTextIsAscii() should depend on no multibyte text having been detected as well as on LeaveAsAscii(). Bug 333535 (relanding), r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@213302 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 06:57:34 +00:00
smontagu%smontagu.org
c347bdb40b Backing out patch from bug 333535 to test performance impact
git-svn-id: svn://10.0.0.236/trunk@213294 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-07 18:36:27 +00:00
mats.palmgren%bredband.net
a9d91dc390 Avoid crashing on OOM. b=352335 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@213288 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-07 08:53:06 +00:00
smontagu%smontagu.org
a6a5b3502e SetTransformedTextIsAscii() should depend on no multibyte text having been detected as well as on LeaveAsAscii(). Bug 333535, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@213105 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-04 11:40:49 +00:00
aaronleventhal%moonset.net
5d90ded709 Bug 354832. Support nsIAccessibleText for html buttons and list options. r=ginn.chen, sr=roc
git-svn-id: svn://10.0.0.236/trunk@213008 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 19:33:49 +00:00
roc+%cs.cmu.edu
f59ad5c466 Bug 354451. Fix uppercasing of &szlig; and possibly other regressions from bug 345071. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@212981 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 05:38:34 +00:00
uriber%gmail.com
7de18fd0a8 Do the correction of caret position due to trimmed whitespace only when the caret is logically after the whitespace. bug=336408 r=rbs sr=roc
git-svn-id: svn://10.0.0.236/trunk@212288 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 11:39:10 +00:00
flamingice%sourmilk.net
5356b2670d Bug 351575, Dereference before null check in |nsTypedSelection::GetRangesForInterval|, patch by Adam Guthrie <ispiked@gmail.com>, r=brettw, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@212234 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 06:04:00 +00:00
roc+%cs.cmu.edu
a39e1632ea Bug 312963. Apply aTryPull to pulls of inline frames as well as lines. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212140 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 02:04:56 +00:00
roc+%cs.cmu.edu
5082d0a3b4 Bug 350137. Don't forget to apply BR-clearance when the BR is on the last line of a block. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212138 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 01:53:13 +00:00
roc+%cs.cmu.edu
4339568eee Update nsIFrame IID
git-svn-id: svn://10.0.0.236/trunk@212036 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 23:54:28 +00:00
roc+%cs.cmu.edu
2cdafb8452 Bug 350148. Improve scrolling of large documents generally by only searching descendants of the moving frame for position-varying graphics when we know we've actually painted position-varying graphics in this prescontext. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212028 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 22:05:33 +00:00
roc+%cs.cmu.edu
9414980ef8 Bug 350148. Fix gmail scrolling speed by not creating nsDisplayBorder items for zero-width borders. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212023 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 21:46:01 +00:00
roc+%cs.cmu.edu
8d851a39b2 Bug 351268. Remove nsIFrame::AdjustFrameSize, it's unused. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@212018 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 21:04:06 +00:00
roc+%cs.cmu.edu
4d75bdec5d Bug 349477. Generalize handling of non-inline frames in inline contexts so they all make pseudo-stacking-contexts. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212016 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 20:58:36 +00:00
aaronleventhal%moonset.net
a91bbb546f Bug 349519. Crash and incorrect results for getOffsetAtPoint. r=ginn.chen, sr=roc
git-svn-id: svn://10.0.0.236/trunk@211996 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 17:29:10 +00:00
timeless%mozdev.org
4c8b94c084 Bug 352523 Warning: String literal converted to char* in formal argument aAttr in call to nsFrameUtil::Tag::GetAttr(char*).
r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@211973 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 06:41:07 +00:00
bzbarsky%mit.edu
b869f56794 Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@211969 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:26:20 +00:00
bzbarsky%mit.edu
44797a0245 If we have to do a second pass because we found clearance on the first pass,
invalidate the entire area we're being moved to.  Otherwise invalidates from
the first pass will be lost.  Bug 352417, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@211967 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 00:15:15 +00:00
Olli.Pettay%helsinki.fi
f4d5b8a9f7 Bug 349931, crashes during drag-and-drop, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@211914 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-18 08:47:06 +00:00
smontagu%smontagu.org
a898ca275a When text is displayed from right to left natively, reverse the coordinates of selection decoration to match. Bug 349352, r=uriber, sr=bz
git-svn-id: svn://10.0.0.236/trunk@210006 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 08:10:19 +00:00
mats.palmgren%bredband.net
a2deb14fca Remove an optimisation that prevented views from being reparented in some situations. b=351225 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209825 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 03:47:38 +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
d818162f1c Change nsIFrame::PeekOffset back to NS_IMETHOD to fix bustage from bug 300131
git-svn-id: svn://10.0.0.236/trunk@209687 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 07:44:59 +00:00