3819 Commits

Author SHA1 Message Date
bryner%brianryner.com
7de757ef1d Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@168946 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 23:53:47 +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
roc+%cs.cmu.edu
5c926511eb Bug 263099. Fix coordinate translation in event handling when finding the relevant line of nested blocks. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168891 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:09:58 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
smfr%smfr.org
13d07288ac Fix bug 269832: crash when scrolling some plugins. Add null-check on mWidget in XP_MACOSX code. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@168741 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 05:31:42 +00:00
roc+%cs.cmu.edu
1984f9a568 Bug 274249. Stop double-counting the top margin of collapsed-through empty blocks, by moving the line bounds back up above its empty block by the top margin amount (while leaving the empty block in the same (correct) place). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168685 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 01:33:20 +00:00
bzbarsky%mit.edu
e3efa23663 Overflowing inlines have transparent content in the view even if they have
non-visible overflow set, since overflow does not apply to inlines.  Bug
277200, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168680 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 00:29:43 +00:00
roc+%cs.cmu.edu
b6636b035e Bug 277355. Make columns get the right containing block width and height. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168604 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 01:21:25 +00:00
bryner%brianryner.com
8ed5dd41fb Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@168595 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 23:47:26 +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
bzbarsky%mit.edu
193ff9051d Make non-<object>s not look at classid. Bug 276797, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@168498 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-29 04:39:54 +00:00
emaijala%kolumbus.fi
a85772433d Fix for bug 212034: Page break before huge table row inconsistent in print, preview, XP, Linux
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168447 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-28 16:24:09 +00:00
bryner%brianryner.com
3437ee229a Remove nsIPresState (bug 279699). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@168423 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 22:52:53 +00:00
roc+%cs.cmu.edu
f29d6c1b55 Bug 273946. We actually don't need to correct the y-position of empty blocks; it's already correct for both the collapsing-with-parent and not-collapsing-with-parent cases. Also, clearance on an empty line should force subsequent lines to apply their top margins. Also, clearance on an empty line should *not* prevent its top and bottom margins from collapsing. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168416 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 20:54:27 +00:00
roc+%cs.cmu.edu
19c46ac733 Bug 261238. Make widget z-ordering a closer approximation to what CSS2 wants. Also make GTK2 actually implement widget z-ordering. r=bzbarsky,blizzard sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168415 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 20:49:47 +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
mats.palmgren%bredband.net
9c8e99db31 Move caret normally even if it collapses a selection. b=207623 r=aaronleventhal sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168330 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 22:38:37 +00:00
roc+%cs.cmu.edu
c3a175543d Bug 273193. Make sure empty blocks get the same margin and relative positioning adjustments that non-empty blocks get. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168327 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 22:29:59 +00:00
roc+%cs.cmu.edu
9b5587fb9c Bug 265857. Make sure we never split blocks when height is unconstrained, even if integer overflow in y-coord calculations makes it look like we're out of space. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168324 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 22:20:35 +00:00
cvshook%sicking.cc
12f074b44e Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@168269 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 00:02:58 +00:00
bzbarsky%mit.edu
e412607690 Fix percentage heights on auto-width floats. Bug 216303, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168267 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 23:38:11 +00:00
mats.palmgren%bredband.net
26139cb8af Consider min/max-width/height and box-sizing when calculating abs.pos. auto margins. b=182748 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168265 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 23:24:05 +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
fc8a086a86 Don't do shrink-to-fit reflow for replaced elements (regression). b=279579 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168255 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 21:45:21 +00:00
bzbarsky%mit.edu
aea50874fc Make incremental reflow of abs pos elements less eager to actually reflow
them.  Bug 277760, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168209 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-23 21:44:46 +00:00
mrbkap%gmail.com
8b9e29714b bug 71191: Cannot apply bindings on the root element in a document. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168118 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 04:42:30 +00:00
bzbarsky%mit.edu
8489f8d24b Flush out reflows before processing invalidates and paint events. Fixes a
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor.  Bug 244366 and
various dependencies, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168044 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:39:09 +00:00
neil%parkwaycc.co.uk
e717d9b1f9 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
dbaron%dbaron.org
38de2f0512 Add comment.
git-svn-id: svn://10.0.0.236/trunk@167955 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:32:48 +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
mats.palmgren%bredband.net
19ab527ce1 Translate events to child frame's closest view before delegating them. b=180015 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167830 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 18:10:05 +00:00
bmlk%gmx.de
3aaa480127 if a non percent min width is specified it should be the lower bound of the MEW bug 273361 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167825 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 16:17:31 +00:00
bzbarsky%mit.edu
a3b35cfa22 Restore placeholder-based positioning of fixed-pos frames to the way it used to
work.  Bug 268111, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@167795 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 19:29:14 +00:00
bryner%brianryner.com
55e775a8a2 Less-than-ideal fix for the problem where XTF insertion points don't work if the insertion point has only inline frame ancestors (which are not in the primary frame map) in the anonymous content tree. Track the insertion point content node as we're constructing anonymous content frames and insert the explicit content when we reach the insertion point. Bug 269023, r=bzbarsky, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@167749 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 23:12:20 +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
bryner%brianryner.com
2474296ae5 Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
tor%cs.brown.edu
67e1e80fda Bug 277433 - plugin finder landing broke svg embed. r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@167471 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-10 05:56:13 +00:00
jst%mozilla.jstenback.com
4134face66 Landing the low-level code for using the plugin finder service from the aviary branch. Bug 244125 etc.
git-svn-id: svn://10.0.0.236/trunk@167276 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 00:21:06 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +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
cbiesinger%web.de
729a4545e1 Bug 250493 make nsHTMLFramesetFrame::Init check for failure
patch by Zbigniew Braniecki <gandalf@firefox.pl> r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@167118 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 22:05:22 +00:00
cbiesinger%web.de
a8dbace73d 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


git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +00:00
bmlk%gmx.de
adcb976e59 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167045 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-27 15:05:18 +00:00
bmlk%gmx.de
e547c59f49 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
ginn.chen%sun.com
455ab0ab27 Bug 274857 Pressing Ctrl+Backspace twice in an RTL textarea crashes the browser
r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@166907 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-21 05:17:52 +00:00
dbaron%dbaron.org
13decbac15 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166823 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 20:40:48 +00:00
dbaron%dbaron.org
450568c011 Add comment.
git-svn-id: svn://10.0.0.236/trunk@166775 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-16 01:20:57 +00:00
bsmedberg%covad.net
3edf9d37c8 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
git-svn-id: svn://10.0.0.236/trunk@166737 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 04:07:01 +00:00