10507 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
b4fa944df8 Fix MSVC.net bustage. Bug 236956, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@153914 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 16:51:26 +00:00
dbaron%dbaron.org
1a94650e48 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
3fae0da191 Bug 232838. Remove unnecessary assertions on minsizes that we don't use. r+sr=dbaron, a=choffman
git-svn-id: svn://10.0.0.236/trunk@153892 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 03:35:53 +00:00
kyle.yuan%sun.com
c768be9121 Bug 237067 Solaris (forte) build is broken since nsTablePainter.h landing
r/sr/a=dbaron
Fix the bustage on Solaris.


git-svn-id: svn://10.0.0.236/trunk@153859 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 02:41:34 +00:00
roc+%cs.cmu.edu
b2431bbad8 Bug 232838. Properly relayout scrollbars if we need to hide one because there's no room. Prefer to hide the horizontal scrollbar if we have to choose between them. r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/trunk@153851 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 23:52:01 +00:00
dbaron%dbaron.org
693eed6a2d Backing out my checkin from yesterday. b=199673
git-svn-id: svn://10.0.0.236/trunk@153837 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 17:13:39 +00:00
bzbarsky%mit.edu
843ca20382 Make text-decorations deal with percentage padding. Bug 236175, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153817 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 04:43:59 +00:00
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
dbaron%dbaron.org
08e9edd47d Add tests for bug 199673.
git-svn-id: svn://10.0.0.236/trunk@153796 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 00:31:23 +00:00
dbaron%dbaron.org
2cefb8b1dd In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@153794 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 00:28:17 +00:00
alex.fritze%crocodile-clips.com
4c772c8887 Remove unused includes. SVG only - not part of default build.
git-svn-id: svn://10.0.0.236/trunk@153744 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 09:53:40 +00:00
bmlk%gmx.de
bc6dd3a017 implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
git-svn-id: svn://10.0.0.236/trunk@153736 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 06:48:35 +00:00
bzbarsky%mit.edu
e7ad4f7000 Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
varga%nixcorp.com
d7c38982c0 Fix for bug 234740. <fieldset> default view is nicer under IE
r+sr=dbaron patch by aha


git-svn-id: svn://10.0.0.236/trunk@153700 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 20:57:31 +00:00
dbaron%dbaron.org
4a13b518b3 Fix badly delimited comment from previous patch. b=236202
git-svn-id: svn://10.0.0.236/trunk@153686 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 14:15:32 +00:00
hpradhan%hotpop.com
316b0a826c bug 236202 : caption should inherit all font properties in quirks mode r=bernd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153671 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 07:57:16 +00:00
bzbarsky%mit.edu
baf58dcfe0 Make sure to fire XBL constructors on bindings attached to display:none nodes.
Bug 188496, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153656 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 20:33:56 +00:00
roc+%cs.cmu.edu
24a379bd0e Fixing bustage, hopefully, THIS TIME
git-svn-id: svn://10.0.0.236/trunk@153655 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 19:23:53 +00:00
roc+%cs.cmu.edu
8da34bf465 Fixing bustage, hopefully
git-svn-id: svn://10.0.0.236/trunk@153652 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 18:50:11 +00:00
roc+%cs.cmu.edu
b3c7e5391b Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@153649 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 18:04:24 +00:00
roc+%cs.cmu.edu
182434aad8 Bustage fix
git-svn-id: svn://10.0.0.236/trunk@153621 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 14:55:21 +00:00
roc+%cs.cmu.edu
7633733c24 Bug 236438. Make nsImageControlFrame translate its event point properly even if it has no view
git-svn-id: svn://10.0.0.236/trunk@153604 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 04:48:15 +00:00
roc+%cs.cmu.edu
7c28614d74 Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@153603 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 04:46:11 +00:00
sicking%bigfoot.com
611753ba16 Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@153597 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 00:22:03 +00:00
pinkerton%aol.net
a0e4ce1cf3 force selects to ltr so they display correctly, as mac widgets aren't set up
to draw rtl like gecko expects. (bug 154632, r=bryner). not part of build.


git-svn-id: svn://10.0.0.236/trunk@153588 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-05 21:14:59 +00:00
bryner%brianryner.com
4b70febae6 inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
bmlk%gmx.de
018f4cb8aa when dead cells are replaced in the cellmap, the corresponding column should be informed that it now contains one more cell bug 235535 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@153486 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 17:45:50 +00:00
scott%scott-macgregor.org
de903528ff Back out Bug #132561 until we can figure out how to fix the regression it causes in HTML composer with spaces
(See Bug #235223).

a=brendan


git-svn-id: svn://10.0.0.236/trunk@153416 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 01:23:13 +00:00
cbiesinger%web.de
636c6a237c Bug 188288 caret movement erratic with CTL enabled
patch by prabhat.hegde@sun.com r=roland.mainz@nrubsig.org sr=roc


git-svn-id: svn://10.0.0.236/trunk@153408 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-01 21:36:35 +00:00
dbaron%dbaron.org
798ec8156a Table rows/cols and groups don't paint their backgrounds, so CanPaintBackground must return false. b=236053 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@153397 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-01 08:17:59 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
roc+%cs.cmu.edu
1321f26cd6 Bug 53966. Remove unnecessary view creation from nsImageControlFrame, and remove unused fields and functions from nsImageControlFrame/nsHTMLButtonControlFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@153354 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 15:01:38 +00:00
roc+%cs.cmu.edu
cc468b71ce Bug 235778. Overflow area of relatively positioned inlines must be preserved by line layout. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153351 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 02:55:58 +00:00
bryner%brianryner.com
62dee43850 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
kairo%kairo.at
e4d71ded63 bug 234014 - Use the XUL preprocessor for build-time inserting of skinVersion strings, r=bsmedberg, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@153329 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 11:54:28 +00:00
bzbarsky%mit.edu
3dddb6f9bc Position fixed backgrounds with respect to the viewport, not "nearest
scrollframe or viewport".  Bug 235768, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@153320 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 05:40:16 +00:00
bryner%brianryner.com
80fe50d37f Try to fix some crashes from calling PresShell methods after Destroy() has called. Bug 235395, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153206 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 09:10:06 +00:00
sicking%bigfoot.com
d0464befea Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@153183 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 23:55:18 +00:00
bzbarsky%mit.edu
2491411ab1 Make sure to pass <embed> attributes to plugins in the source order. Bug
234675, r=peterlubczynski, sr=jst


git-svn-id: svn://10.0.0.236/trunk@153131 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 02:44:33 +00:00
bzbarsky%mit.edu
3c685fcdeb Apply the bug 200568 fix to types derived from the "data" attribute too. Bug
235053, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@153117 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 22:41:15 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
1b122ed826 Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position.
git-svn-id: svn://10.0.0.236/trunk@153080 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-22 03:31:30 +00:00
dbaron%dbaron.org
e5ad15e520 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
sicking%bigfoot.com
f53242a13f Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
r=bryner sr=jst


git-svn-id: svn://10.0.0.236/trunk@153025 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 19:00:43 +00:00
bryner%brianryner.com
3191a1feaa Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu
6160f76c82 Remove bogus method that makes backgrounds on the canvas unhappy. Bug 219302,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@152988 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 00:39:09 +00:00
bzbarsky%mit.edu
8a5b5bbe43 Don't lie about our scrollable view, and don't claim to have one if we're not
scrollable.  Bug 209807, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@152983 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 23:04:51 +00:00
bzbarsky%mit.edu
812532152c Fix comment. Bug 132561, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152978 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 22:16:00 +00:00
bzbarsky%mit.edu
ec79b3d7ab Fire onchange event when a file is selected from the filepicker. Bug 67873,
r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@152977 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 22:13:47 +00:00
bzbarsky%mit.edu
fed1bb3ece Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@152976 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 22:12:38 +00:00