Commit Graph

10547 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
0023b793ea 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, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155461 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 21:48:57 +00:00
bzbarsky%mit.edu
b36c2edf49 Don't allow text in a combobox to wrap. Bug 206937, r+sr=dbaron, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155365 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 01:52:09 +00:00
bzbarsky%mit.edu
318b5e7d66 Fix bug 241304 (overflow broken on fixed-pos elements). Patch by roc,
r+sr=bzbarsky, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155351 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 21:02:32 +00:00
bzbarsky%mit.edu
7c0405666e Let generated content content nodes know when their frames go away. Bug
237975, r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155287 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 15:15:17 +00:00
bmlk%gmx.de
64a4056706 avoid array boundary violations due to wrong colindex information in colframes bug 240854 r/sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155270 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 04:13:46 +00:00
jst%mozilla.jstenback.com
19cf31264e Fixing bug 240340. Fix mac key event regression in plugins. r+sr=bryner@brianryner.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154993 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 21:46:05 +00:00
dbaron%dbaron.org
2cacc07836 Fix logic error causing certain patterns of table rows to spread themselves over many pages when printing. b=231823,212984 r=bernd sr=roc a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154989 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 21:21:09 +00:00
bzbarsky%mit.edu
f5647214f9 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, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154841 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 02:25:46 +00:00
bzbarsky%mit.edu
7bbc962aef Make sure to null out mStyleSet if Init() fails, since the caller will delete
it in that case. Bug 240240, r+sr=bryner, a=dbaron


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154839 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 02:01:29 +00:00
bzbarsky%mit.edu
e0d9dc65ee 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, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154838 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 01:59:15 +00:00
bzbarsky%mit.edu
cdf30ade82 Don't clobber 'pseudoTag' with random atoms from other style contexts; we need
it later on. Bug 231166, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154837 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 01:56:47 +00:00
roc+%cs.cmu.edu
bc15224ff7 Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron,a=choffman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154830 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 22:25:52 +00:00
(no author)
e847ebc758 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_7_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154703 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 07:25: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
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