5121 Commits

Author SHA1 Message Date
jag%tty.nl
8897e07fdd Bug 334829: FindFrameWithContent() can't find certain frames
If the hint frame's location in the frame tree doesn't match its element's location in the content tree, the hint is useless, and we don't correctly reboot the search without the hint. Add a flag to make the reboot work.
Patch courtesy of Danger Inc., r=dbaron, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@195051 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 11:13:41 +00:00
bzbarsky%mit.edu
bcc16c3ae5 Treat background images more like background colors when printing. Bug 311526,
r=roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195026 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:57:47 +00:00
sharparrow1%yahoo.com
a3720e22e4 Bug 334547: get rid of scrollframe code which never executes. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@194756 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:22:48 +00:00
dbaron%dbaron.org
c41de8cf6d Initialize rv. b=334655 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194708 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 21:14:57 +00:00
bzbarsky%mit.edu
b83ab3e969 Only parse those XUL display styles that we can actually construct. Bug
312120, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194677 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 15:10:50 +00:00
bzbarsky%mit.edu
673234f805 Remove the layout.reflow.async.duringDocLoad pref -- setting it to false just
makes us buggy.  Bug 334543, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194676 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 15:08:44 +00:00
bzbarsky%mit.edu
144aa50acf By the time we're processing reflow callbacks, reflow is done. Bug 334518,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 21:48:12 +00:00
sharparrow1%yahoo.com
6febafd105 Bug 334416: Misc view usage cleanups. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@194582 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 06:05:24 +00:00
dbaron%dbaron.org
3a99a82178 Add assertions to verify no-reentry invariants in layout. b=310985 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194581 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 05:44:02 +00:00
mrbkap%gmail.com
3c487a18f8 Fixing bustage from bug 287813.
git-svn-id: svn://10.0.0.236/trunk@194568 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 00:17:42 +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
roc+%cs.cmu.edu
4fb2b61671 Bug 333481. Sort table-part event-handling display items to ensure that the table comes before all row-groups, which come before all rows, which come before all cells. r=bernd
git-svn-id: svn://10.0.0.236/trunk@194544 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:16:24 +00:00
bzbarsky%mit.edu
80e17d2c14 Unregister our placeholder before destroying it. Bug 316267, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194489 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 01:40:14 +00:00
mrbkap%gmail.com
57d1babd65 [BeOS]Bug 322051, restructuring nsWindow code, patch by thesuckiestemail@yahoo.se r=sergei_d
git-svn-id: svn://10.0.0.236/trunk@194172 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 20:44:17 +00:00
masayuki%d-toybox.com
bb38c2225d Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@194136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 16:37:58 +00:00
sharparrow1%yahoo.com
b1c51e04df Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
git-svn-id: svn://10.0.0.236/trunk@194085 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:48:48 +00:00
martijn.martijn%gmail.com
1aae630881 Bug 332499 - Misplaced listbox for floated select, patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194082 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:18:41 +00:00
uriber%gmail.com
17fe458f2c Set NS_FRAME_IS_BIDI on skipped fluid continuations. bug=333433 r=smontagu sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194007 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:05:01 +00:00
Olli.Pettay%helsinki.fi
52e2d4c325 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:04:54 +00:00
atremon%elansoftware.com
5f4bf18a2e Bug 332701 remove timeless' comment (patch for rev 1.477 sr=roc)
git-svn-id: svn://10.0.0.236/trunk@193991 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 13:48:13 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
uriber%gmail.com
f7fdeca918 Implemented bidi.edit.caret_movement_style pref, default is "visual, but logical during selection". bug=330175 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@193942 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 14:45:48 +00:00
uriber%gmail.com
8c98c0f04f Bug 331958: Crash when selecting text, using rtl object with css generated content and designMode. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193941 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 14:17:35 +00:00
bmlk%gmx.de
06b019c740 make sure that we process colgroup and rowgroup pseudos in parallel, otherwise we would lose one of them 325984 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193921 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 06:10:39 +00:00
martijn.martijn%gmail.com
c5466a75d1 Bug 331040 - Crash when removing parent iframe in onbeforunload handler. Patch by Feng Qian, r=bryner, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193646 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 23:57:30 +00:00
timeless%mozdev.org
25b04072d0 Bug 332701 build fails in nsDocumentViewer.cpp due to unguarded use of SetUseAltDC if NS_PRINT_PREVIEW undefined
r=atremon@elansoftware.com,roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@193588 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 04:37:44 +00:00
sharparrow1%yahoo.com
757b9a58dd Remove NS_IPRESCONTEXT_IID because it is unused. rs=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193575 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:55:57 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
b172db7ae3 Make ReconstructDocElementHierarchy not assume bogus things about the frame
tree.  Bug 330903, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@193413 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 15:52:08 +00:00
sharparrow1%yahoo.com
6de1b08e94 Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Trémon, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193366 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 01:19:28 +00:00
gerv%gerv.net
c061325c8a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@193303 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 06:28:40 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
gerv%gerv.net
b759f30f5f Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines.
git-svn-id: svn://10.0.0.236/trunk@193253 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 07:57:05 +00:00
dbaron%dbaron.org
b9dc54e659 Oops, added the comment in the wrong place.
git-svn-id: svn://10.0.0.236/trunk@193247 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 06:16:27 +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
sharparrow1%yahoo.com
4faf77261e Bug 331415: some printing code cleanup. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
dbaron%dbaron.org
39a926c190 Fix two regressions related to sizing of canvas frames. b=331458 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193023 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 22:12:54 +00:00
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
bmlk%gmx.de
05ec63bbda also limit the table pseudo frame processing if colgroups are the limiting frame, bug 329900, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193016 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 18:32:13 +00:00
dbaron%dbaron.org
e92900026b Always use the UI direction for the scrollbar side, which is what we used to do in the most common case, but make it a pref. b=330863 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@193001 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 00:48:03 +00:00
cvshook%sicking.cc
825f8563f9 Relanding patches that (hopefully) don't affect Tdhtml
git-svn-id: svn://10.0.0.236/trunk@192885 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 00:09:50 +00:00
cvshook%sicking.cc
e2c22d1f10 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +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
dbaron%dbaron.org
cd07526c63 Fix asymmetry so things are the same with scrollbars on the left. b=330732 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192819 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 00:11:01 +00:00
bryner%brianryner.com
1de3fc0366 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
tor%cs.brown.edu
692424f15f Bug 328527 - make all SVG content special for frame constructor, use
leaf frame for filter leaves.  r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@192638 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-20 17:39:08 +00:00
pavlov%pavlov.net
39afaa56de draw image selection using thebes in cairo builds instead of tiling an image. bug 328390. r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@192499 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 21:42:50 +00:00
bzbarsky%mit.edu
0332048377 Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@192462 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 01:30:38 +00:00
uriber%gmail.com
83e152722a Mark lines for which bidi continuations were created or removed dirty, instead of marking everything dirty when continuations removed. bug=330373 r=roc sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192444 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 20:52:02 +00:00
dbaron%dbaron.org
8cfdd67955 Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192422 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 16:55:19 +00:00