3554 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
bzbarsky%mit.edu
e5136c3f58 Don't show the content viewer if it's not ours -- that means that we're
actually about to be torn down.  Bug 242282, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@156043 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 21:15:33 +00:00
roc+%cs.cmu.edu
1eea5c536c Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
roc+%cs.cmu.edu
fc99d1731c Try to fix gcc 3.4 bustage. If this fixes it, it totally lied about the line number
git-svn-id: svn://10.0.0.236/trunk@155970 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 04:38:12 +00:00
roc+%cs.cmu.edu
e7710a4890 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared
git-svn-id: svn://10.0.0.236/trunk@155965 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu
c35d4c6753 Bug 230417. When a placeholder frame lands in a block's overflowList, put its out of flow frame in a new child list, overflowOutOfFlowsList
git-svn-id: svn://10.0.0.236/trunk@155964 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:30:33 +00:00
bzbarsky%mit.edu
d901244f37 The nsBlockFrame.h include is needed for debug builds. Bustage fix, original
bug is 241833


git-svn-id: svn://10.0.0.236/trunk@155962 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 01:46:15 +00:00
dbaron%dbaron.org
39913966e5 Remove hacks no longer needed since text inputs became reflow roots (instead of using the IncrementalDamageConstrained hack. b=241833 r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@155945 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 23:56:25 +00:00
cbiesinger%web.de
b1aa21fde5 move nsFrame::XMLQuote to #ifdef DEBUG, like its only caller
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155922 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 16:27:40 +00:00
aaronleventhal%moonset.net
3c5578a239 Use win32 window class name corresponding to UI/content/general/hidden. r=ere, sr=roc
git-svn-id: svn://10.0.0.236/trunk@155914 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 12:39:42 +00:00
caillon%redhat.com
3094a5267e Bug 241140
Consolidate DrawImage and DrawScaledImage
r=biesi sr=tor


git-svn-id: svn://10.0.0.236/trunk@155889 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 01:32:26 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
bzbarsky%mit.edu
6f62f5ebfc Properly remove the context menu listener when we don't have a plugin. Bug
185714, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@155866 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:32:54 +00:00
bzbarsky%mit.edu
dd1d73eb28 Don't do bizarre sizing stuff to the root element's frame. Bug 241694; also
fixes bug 15405 and bug 57906.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155799 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-01 06:24:06 +00:00
roc+%cs.cmu.edu
1f5258aa4a Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155749 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 13:23:43 +00:00
jst%mozilla.jstenback.com
b20833c5e5 Fixing mac bustage.
git-svn-id: svn://10.0.0.236/trunk@155718 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 00:57:06 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
roc+%cs.cmu.edu
f8ae3111a6 Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it.
git-svn-id: svn://10.0.0.236/trunk@155642 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 17:48:02 +00:00
kyle.yuan%sun.com
d8d247dd3b Bug 240665 Can't navigate through some page lines using left or right arrow
r=aaronleventhal, sr=henry.jia
Patch by ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@155524 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 09:40:21 +00:00
bzbarsky%mit.edu
dce306232a Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
bzbarsky%mit.edu
7f1f8aacd3 Change mCBReflowState to mean the containing block of _this_ reflow state
instead of the containing block of kids.  Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations).  Bug 135082,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155456 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:56:23 +00:00
neil%parkwaycc.co.uk
20dfed9e53 Removing unused variable and function b=217089 p=gautheri@noos.fr r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155443 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 13:30:23 +00:00
dbaron%dbaron.org
53aba73d28 Only call SetLineWrapped when line doesn't end in BR. b=238472 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@155409 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 19:27:14 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
dbaron%dbaron.org
0f9dcd84d2 Fix windows bustage. b=241304
git-svn-id: svn://10.0.0.236/trunk@155350 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 20:58:32 +00:00
bzbarsky%mit.edu
9e22d84572 Fix bug 241304 (overflow broken on fixed-pos elements). Patch by roc,
r+sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@155344 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 19:33:56 +00:00
bzbarsky%mit.edu
811e223ae1 Let generated content content nodes know when their frames go away. Bug
237975, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155241 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 19:20:16 +00:00
neil%parkwaycc.co.uk
3729473a44 Bug 142120 Ctrl+Right Arrow in space-only mode should not stop again after crossing spaces p=vdvo@vdvo.net r=roc sr=jst hopefully also fixing bug 236172
git-svn-id: svn://10.0.0.236/trunk@155120 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-19 15:33:33 +00:00
bzbarsky%mit.edu
19a39fd9a3 Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155088 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 20:10:09 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
996688b00b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +00:00
bmlk%gmx.de
f4c784d01d table frames that dont wrap their content with scrollframes hide the overflow if NS_STYLE_OVERFLOW_SCROLLBARS_NONE is specified bug 233438 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154861 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 06:28:25 +00:00
jst%mozilla.jstenback.com
89bbaf497b Changing comment style for consistency with other similar code in this file.
git-svn-id: svn://10.0.0.236/trunk@154768 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:57:12 +00:00
roc+%cs.cmu.edu
a69c586b63 Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154761 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 02:56:03 +00:00
jst%mozilla.jstenback.com
4f465de788 Fixing bug 240340. Make key events in plugins work correctly again on the Mac. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@154756 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 01:51:00 +00:00
bzbarsky%mit.edu
138778b97e When appending frames to a block after a <br>, just put them into a new line
right away instead of waiting for reflow to come about and fix it up.  This
speeds up things that append nodes including <br> to a block one at a time
(e.g. editor or content scripts) Bug 240291, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@154754 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 01:45:57 +00:00
bzbarsky%mit.edu
3cf94c63dd Fix dirty reflows of bullets to deal with an empty first line (whitespace
followed by block) in the parent block.  Bug 206602, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@154752 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 01:38:10 +00:00
bryner%brianryner.com
2359d2f7c4 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00
sicking%bigfoot.com
e4632ed495 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
950b1a4459 Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
git-svn-id: svn://10.0.0.236/trunk@154706 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:53:22 +00:00
jst%mozilla.jstenback.com
397e8accd3 Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@154661 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-10 00:25:01 +00:00
bzbarsky%mit.edu
90dc43345e Don't do a O(N) walk over all lines when painting floats, since we already have
a nice sorted list of floats about.  Bug 52005, r+sr=dbaron, a=brendan


git-svn-id: svn://10.0.0.236/trunk@154651 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-09 21:08:09 +00:00
bzbarsky%mit.edu
0d643a702e Change the way regression tests get the framestate to make it possible to mask
out irrelevant state bits as needed.  Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@154500 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-04 01:48:16 +00:00
bzbarsky%mit.edu
0cb3f2e03b Don't look for the primary frame unless we have to on broken images. Bug
239262, r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@154451 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-02 03:07:39 +00:00
bzbarsky%mit.edu
1b69a7515b Make sure to not end up with a bogus padding when we have a list-style-image.
Bug 187419, r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@154432 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 19:48:55 +00:00
bzbarsky%mit.edu
4681cee324 Fix bug 236921. This makes the root node's style context have no parent, makes
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root.  r=caillon, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@154362 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-29 16:00:38 +00:00
roc+%cs.cmu.edu
722bca28f8 Bug 236910. Elements that clip their backgrounds do not present a uniform background. r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/trunk@154348 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 21:05:29 +00:00
roc+%cs.cmu.edu
2ec6a99fd5 Bug 235558. We don't really want to consider computed maximum widths after all. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@154330 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-27 02:44:26 +00:00