4404 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
tor%cs.brown.edu
f06b3be285 Bug 234752 - Print code returns NS_OK in cases where it should return
an error.  Patch by roland.mainz@nrubsig.org, r+sr=roc.


git-svn-id: svn://10.0.0.236/trunk@152971 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 21:58:40 +00:00
cbiesinger%web.de
af62af08a0 233890, misc cleanup in some layout files, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@152949 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:56:13 +00:00
dbaron%dbaron.org
6dd1e040bf Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152945 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:04:15 +00:00
neil%parkwaycc.co.uk
47153f97aa checked in wrong file, sorry
git-svn-id: svn://10.0.0.236/trunk@152941 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 13:23:46 +00:00
neil%parkwaycc.co.uk
8ea620c210 (on bsmedberg's advice) third time lucky?
git-svn-id: svn://10.0.0.236/trunk@152940 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 13:20:57 +00:00
neil%parkwaycc.co.uk
3294806770 Trying to fix bustage again...
git-svn-id: svn://10.0.0.236/trunk@152939 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 12:38:16 +00:00
neil%parkwaycc.co.uk
1233292ccc Trying to fix beast build bustage
git-svn-id: svn://10.0.0.236/trunk@152938 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 12:12:06 +00:00
neil%parkwaycc.co.uk
690c52c7f7 Bug 232321 Make layout.word_select.stop_at_punctuation work as a user preference r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@152928 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 11:10:31 +00:00
bzbarsky%mit.edu
9c2f7023ff Fix bug 231280 (printing not honoring OS date format). Patch by Constantine
A. Murenin <cnst.bmo@bugmail.mojo.ru>, r=jshin, sr=roc, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@152811 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-16 05:31:25 +00:00
dbaron%dbaron.org
18c65e7769 Back out bug 20022. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@152780 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-14 20:29:19 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
cbiesinger%web.de
e8f5d1d6ef move debug-only function into #ifdef DEBUG. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152616 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 23:06:23 +00:00
cbiesinger%web.de
8f5b033ffb Bug 233587 small nsImageFrame cleanup - use nsILink to get a link href.
r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@152597 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 16:57:00 +00:00
jst%mozilla.jstenback.com
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
bzbarsky%mit.edu
38a6e197cd Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
by pushing the relevant helpers up to nsGenericElement..  Remove referrer code
in nsSVGDocument, since nsDocument handles that.  Bug 233370,
r=alex@croczilla.com, sr=jst


git-svn-id: svn://10.0.0.236/trunk@152562 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 20:48:20 +00:00
cbiesinger%web.de
b116d275ac fixing bustage
git-svn-id: svn://10.0.0.236/trunk@152560 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 17:52:48 +00:00
cbiesinger%web.de
1c0102020c Bug 233457 nsObjectFrame cleanup
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@152558 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 17:33:45 +00:00
dbaron%dbaron.org
1f7a84c373 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152541 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 06:55:14 +00:00
dbaron%dbaron.org
251f155cb8 A little cleanup. b=229654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152538 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 05:22:58 +00:00
dbaron%dbaron.org
564b504848 Don't handle auto margins when the container has an unconstrained width. (This still doesn't handle max-width computation with a constrained reflow.) b=229654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152537 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 05:22:23 +00:00
bzbarsky%mit.edu
e94a4a8364 Collapse trailing whitespace even if there is a placeholder after it. Bug
233451, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@152533 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 01:01:06 +00:00