Commit Graph

3834 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
07f72886c9 Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@170153 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 02:01:54 +00:00
bzbarsky%mit.edu
7c2b893117 When an image is resized, make it invalidate its mRect, since it needs to
repaint that area.  Bug 284166, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@170119 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 04:42:48 +00:00
bzbarsky%mit.edu
54df69c399 Use the content policy REJECT reason as a basis for our "whether to show alt
text" decision instead of reading prefs ourselves.  Bug 202906, r=mvl, sr=jst


git-svn-id: svn://10.0.0.236/trunk@170075 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 04:05:12 +00:00
roc+%cs.cmu.edu
e6d641f6aa Bug 236996. Underline IME preedit text on Mac. Patch by waverider, r=masayuki, sr=roc
git-svn-id: svn://10.0.0.236/trunk@170018 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 23:39:26 +00:00
bzbarsky%mit.edu
1c1365dc03 Create a service that can be asked whether a given webnavigation (or a
"typical" webnavigation) supports loading of a certain MIME type.  Bug 283125,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@169951 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-27 18:33:27 +00:00
bsmedberg%covad.net
fc4099e666 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector)
git-svn-id: svn://10.0.0.236/trunk@169868 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 20:46:35 +00:00
darin%meer.net
2f1d8a824a s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan
git-svn-id: svn://10.0.0.236/trunk@169576 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 22:21:21 +00:00
darin%meer.net
55f157bc26 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169569 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 20:58:01 +00:00
aaronleventhal%moonset.net
471693dd0b Bug 282588. MozillaContentWindowClass on frames and iframes confuses screen readers. r=ere, sr=neil
git-svn-id: svn://10.0.0.236/trunk@169380 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 14:24:43 +00:00
roc+%cs.cmu.edu
0f923db490 Bug 274516. Tables should use the ordered rowgroup array to decide which children to push, not just follow the sibling list. Also, repeating footers should not be pushed. r=bernd, sr=bzbarsky, a=choffman
git-svn-id: svn://10.0.0.236/trunk@169282 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 20:02:14 +00:00
mvl%exedo.nl
ef6e7f1f43 Show alt text when imagee blocking is enabled
bug 281492, r=dwitte, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@169010 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 22:10:52 +00:00
bzbarsky%mit.edu
649b7c1f3f Fix fallout from the nsIFrameLoader changes of yesterday. Bug 280992, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@169005 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 21:30:47 +00:00
bryner%brianryner.com
37cfe9da74 Resurrect nsIFrameLoader[Owner] as scriptable interfaces; bug 280992 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168966 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 06:55:00 +00:00
roc+%cs.cmu.edu
e0d871feb8 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168959 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 02:15:26 +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
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