3521 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
46f9288e4d Bug 231264. Set IFRAME minimum width properly. r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/trunk@154149 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-21 22:34:58 +00:00
roc+%cs.cmu.edu
d5959dbbe6 Bug 237343. Adjust inline frame PerFrameData mCombinedArea to account for width increase due to justification.
git-svn-id: svn://10.0.0.236/trunk@154021 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-16 06:58:01 +00:00
bzbarsky%mit.edu
f979394977 Clear the line cursor when child frames are added or removed. Bug 236947,
r+sr=roc, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@153961 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-14 18:19:24 +00:00
roc+%cs.cmu.edu
c36ad8a946 Bug 235558. Make scrollframes take CSS max-width/max-height into account when they compute their preferred size (by reflowing their scrolled block to width max-width, if appropriate). r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/trunk@153939 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-13 02:51:16 +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
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
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
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
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
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
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
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