10621 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
598f949492 Let pages set explicit line-height on textarea if they want to. Bug 243100, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156173 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-09 19:42:53 +00:00
bmlk%gmx.de
22419ff22a reset the cell offset when a row becomes again visible, order the rowgroups before collapsing the rows bug 242253 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156121 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-08 05:11:29 +00:00
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
0602ebe56a Make table cell frame construction handle errors from children without
crashing.  Bug 237760, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@156101 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 19:45:41 +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
rbs%maths.uq.edu.au
58f6833e11 Fix the inconsistent behavior of the caret on text controls when their readonly attribute is changed, b=235294, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156014 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 22:48:51 +00:00
bmlk%gmx.de
96b6ce8c80 remove unused code that causes crashes, bug 242368, p=fantasai r=bernd sr=rbs a=asa
git-svn-id: svn://10.0.0.236/trunk@155999 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 16:05:27 +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
ba11ee5bec Bug 232540. List controls should not scroll an item into view if it is only outside the list in the horizontal direction.
git-svn-id: svn://10.0.0.236/trunk@155968 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:49:57 +00:00
roc+%cs.cmu.edu
201c5e7ba4 Backing out the part of the patch that was incorrectly checked in.
git-svn-id: svn://10.0.0.236/trunk@155967 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:48:53 +00:00
roc+%cs.cmu.edu
a5495595a6 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@155966 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:41:19 +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
bzbarsky%mit.edu
112b38901a Subtract out the reflow hint from aMinChange when re-resolving out-of-flow
kids, in case they're not our descendants and need a reflow.  Bug 170644,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155952 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 00:34:22 +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
bzbarsky%mit.edu
a6e1e6353e Make sure to not finish the reflow command hash till we've cancelled all
commands on shutdown.  Bug 242602, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155936 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 21:59:56 +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
roc+%cs.cmu.edu
42df013a50 No bug. Remove unused code and variables from nsListControlFrame. rs=shaver
git-svn-id: svn://10.0.0.236/trunk@155897 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 04:30:23 +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
bmlk%gmx.de
b3d3fb986a add colframe documentation, fix a colframe renumbering problem, bug 238999 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@155857 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 18:31:34 +00:00
bzbarsky%mit.edu
2627a4e419 Don't clear undo/redo buffers when JS changes the value. Bug 158071, patch by
Martijn Wargers <m.wargers@hccnet.nl>, r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155848 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 22:14:49 +00:00
bzbarsky%mit.edu
96e46e00ab Minor tweak to hashkey calculation. Bug 240934.
git-svn-id: svn://10.0.0.236/trunk@155840 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 19:56:06 +00:00
bzbarsky%mit.edu
f28b15a9f5 Switch AlreadyInQueue to use a hashtable (which is maintained sorta in parallel
with the reflow command list) instead of walking the array each time.  Bug
240934, r=roc, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@155834 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 18:07:12 +00:00
bmlk%gmx.de
7f0b859644 remove bogus conversions bug 241997 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@155819 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 09:51:57 +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
bmlk%gmx.de
8cea43fadb make visibility collapse work during incr reflows bug 77019 r= bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155641 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 16:42:59 +00:00
kyle.yuan%sun.com
40325268e9 Bug 220187 TABINDEX property ignored for input type=file
r=aaronleventhal, sr=jst
Two children of <input type=file> should have same tabindex with their parent.
Patch by neo.liu@sun.com


git-svn-id: svn://10.0.0.236/trunk@155629 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-28 09:29:10 +00:00
dbaron%dbaron.org
48b55c6f36 Fix leak of content on all key and IME events. b=241591 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155558 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 23:19:50 +00:00
bmlk%gmx.de
d684511c4c remove special handling for rows with rowspans as table frames report now the overflow area. bug 240275 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@155538 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 17:56:48 +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
neil%parkwaycc.co.uk
cd18ad3408 Bug 241151 nsSpringFrame was a useless subclass of nsLeafBoxFrame r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@155460 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 21:27:11 +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
roc+%cs.cmu.edu
35624cc5bd Bug 234851. Minor performance optimization to make sure we only try overflow propagation for HTML BODY elements, not BODY elements from any XML namespace. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@155449 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:02:34 +00:00
bzbarsky%mit.edu
c7e51a42fa When we push a pseudo cell frame, the block inside it needs to become the float
containing block.  Otherwise, floats inside this cellframe get very confused.
Bug 233094 and various dependencies, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@155446 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 16:00:46 +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
1f540003bd Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155395 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 16:13:26 +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
bzbarsky%mit.edu
9e5c0504eb Don't allow text in a combobox to wrap. Bug 206937, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155358 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 22:20:29 +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