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
bmlk%gmx.de
0d1c2f46fe
row view needs to synced after we resized the cells bug 239101 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@154860 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 06:22:52 +00:00
bzbarsky%mit.edu
c2c4cce304
Make sure to apply our styles to our anonymous content no matter what the
...
page's style language is. Bug 234761, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@154840 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 02:05:52 +00:00
dbaron%dbaron.org
05856970f1
Fix logic error causing certain patterns of table rows to spread themselves over many pages when printing. b=231823,212984 r=bernd sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@154824 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 20:47:52 +00:00
bmlk%gmx.de
50ee50ad30
move HasMoreThanOneCell from nsTableRowGroupFrame.cpp into nsCellMap.cpp where it belongs. Don't try to repair the cellmap on every reflow, this might help with with large table rendering performance, bug 240318 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@154778 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 06:21:16 +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
05f7f23201
Fix a few warnings. Patch by gautheri, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@154765 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:13:46 +00:00
roc+%cs.cmu.edu
80b27683f0
Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@154764 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:11:05 +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
bzbarsky%mit.edu
91063d56d4
Make sure to null out mStyleSet if Init() fails, since the caller will delete
...
it in that case. Bug 240240, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@154741 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:27:29 +00:00
jim_nance%yahoo.com
d0e0a7f7dd
Fix Bug 236703 - Make the table layout code faster and smaller.
...
r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@154731 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 23:51:33 +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
bzbarsky%mit.edu
4c0299d092
Don't clobber 'pseudoTag' with random atoms from other style contexts; we need
...
it later on. Bug 231166, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@154721 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:42:50 +00:00
dbaron%dbaron.org
a12a464f6d
De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@154709 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:56:09 +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
kyle.yuan%sun.com
22c4c82052
Bug 239962 Incorrect table layout caused by Sun compiler with -xO5
...
r=roland.mainz, sr=roc, a=mkaply
a workaround for the Sun Forte compiler's bug.
git-svn-id: svn://10.0.0.236/trunk@154624 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-08 13:46:57 +00:00
dbaron%dbaron.org
9bc8c564db
Add -moz- prefix to :first-node and :last-node. b=141397 r+sr=bzbarsky a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154601 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-07 23:25:06 +00:00
cbiesinger%web.de
18efa7a5e6
Bug 167224 Cleanup marquee
...
patch bv doron r=neil sr=bryner a=tor
git-svn-id: svn://10.0.0.236/trunk@154589 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-07 19:48:11 +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
dbaron%dbaron.org
bb012ccb38
Fix crashes by making CreateContinuingFrame able to deal with a frame that already has a next-in-flow. b=140948 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154448 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-02 00:09:57 +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
b897a5e2fc
Fix assert. Bug 236921, r+sr=dbaron, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154403 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-31 03:13:54 +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
bmlk%gmx.de
4ab8cd3e7f
synchronize the view of a table cell if we dont realign the cell content vertically, bug 237734, r/sr=roc a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154345 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 15:13:31 +00:00
bmlk%gmx.de
31e840fa5c
snychronize the view of a table cell once we have vertically aligned the cell content and know the correct overflow area, bug 230730, r/sr=roc a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154343 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-28 06:31:03 +00:00
bmlk%gmx.de
a5eddc3a94
Protect during border collapse computations against zero child frames. This is another fallout from the checkin 3.556 for bug 4510, bug 238537, patch by fantasai@escape.com sr=dbaron r=bernd a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154333 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-27 06:02:09 +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
bmlk%gmx.de
97b33f1cad
bring col frames and cellmap in sync when due to row removal the number of column rises, as rowspans will then span in the rows below, bug 237421, r/sr=dbaron a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154227 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-24 17:22:12 +00:00
bmlk%gmx.de
e6b7c2ce27
layout regression tests for table background not part of any build
...
git-svn-id: svn://10.0.0.236/trunk@154202 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-23 19:16:24 +00:00
bryner%brianryner.com
f9f12d233a
Fix following an image map link by pressing enter. Bug 214373, r+sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@154163 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-22 18:13:11 +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
bryner%brianryner.com
5050533b67
Make GetFrameProperty return NS_IFRAME_MGR_PROP_NOT_THERE when the property is not found (instead of NS_ERROR_FAILURE). Fixes bug 236590. r+sr=dbaron, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154140 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-21 05:22:46 +00:00
bmlk%gmx.de
553532d79b
wallpaper over a zero pointer deref rev2, bug 237421, r/sr=dbaron a=asa
...
git-svn-id: svn://10.0.0.236/trunk@154111 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-19 17:25:16 +00:00
dbaron%dbaron.org
8f775f7f90
Use correct 'vertical-align' for XHTML tables without tbody. b=237860 r=bernd sr=roc a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154102 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-19 01:34:47 +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
bmlk%gmx.de
7eba618f24
wallpaper over a zero pointer deref, bug 237421, r/sr=dbaron a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@153981 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 16:09:40 +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
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