280 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
bcc16c3ae5 Treat background images more like background colors when printing. Bug 311526,
r=roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195026 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:57:47 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
dbaron%dbaron.org
8cfdd67955 Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192422 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 16:55:19 +00:00
dbaron%dbaron.org
c256ad5ef8 Don't convert to floating point and back when we don't need to. b=326040 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@189290 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 06:05:00 +00:00
dbaron%dbaron.org
213a922499 Fix regression of background positioning for inline elements. b=324960 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@188977 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-05 21:58:46 +00:00
masayuki%d-toybox.com
d98e11f5cd Bug 161179 background image (no-repeat, repeat-x and repeat-y) size reduced when printing page (print preview is ok, scaling only happens in the repeat direction) r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@188837 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 09:45:28 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bmlk%gmx.de
0284cfcc93 remove some prescontexts bug 321907 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@187958 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 09:20:04 +00:00
masayuki%d-toybox.com
0d749aaa2f Bug 310124 Double border is incorrectly compressed when rendered; regression. original idea by Takeshi Ichimaru <ayakawa.m@gmail.com> r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185438 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 13:26:34 +00:00
masayuki%d-toybox.com
4cbb72cb3b Oops, currently the Tree is closed, backing out previous check-in. b=310124
git-svn-id: svn://10.0.0.236/trunk@185366 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 05:52:19 +00:00
masayuki%d-toybox.com
e6ed7ec283 Bug 310124 Double border is incorrectly compressed when rendered; regression. original idea by Takeshi Ichimaru <ayakawa.m@gmail.com> r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185362 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 05:33:59 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bmlk%gmx.de
630e2ffe42 fix oversight, the function can be called with a null pointer, bug 316821 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@184853 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-17 21:24:05 +00:00
dbaron%dbaron.org
2551ced323 Only ignore the body background that's actually propagated to the canvas. b=314998 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184116 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 23:06:54 +00:00
bmlk%gmx.de
4a0204b784 array boundary protection, second round, bug 265736 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@183322 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 05:15:10 +00:00
bmlk%gmx.de
457c18e0bc array boundary protection, initial idea Ben Fowler, bug 265736 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@183239 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 13:40:38 +00:00
mats.palmgren%bredband.net
b8e83b79cb Don't go below BODY in search for a background color (Print only bug). b=294836 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179185 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 04:39:31 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
dbaron%dbaron.org
b141f06f84 Prevent background propagation code from trying to operate on pseudo-elements. b=302040 r+sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177005 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:11:09 +00:00
gavin%gavinsharp.com
6ab5cb2465 Bug 298545: border-style: double displayed as solid, patch by gandalf@aviary.pl, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@176465 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 20:57:36 +00:00
gandalf%firefox.pl
74babd8e1e Bug 1781: 1px double border invisible; r+sr=roc,a=asa
git-svn-id: svn://10.0.0.236/trunk@174293 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 14:34:16 +00:00
bzbarsky%mit.edu
3f6088524e Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
dbaron%dbaron.org
8b93b2aa52 Fix coverity uninitialized variable warnings in layout. b=288092 r=bernd sr=roc
git-svn-id: svn://10.0.0.236/trunk@171357 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 01:50:56 +00:00
mats.palmgren%bredband.net
d5dcb62486 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 11:36:08 +00:00
paper%animecity.nu
3b008daf52 Bug 274244: Display more broken GIFs. r=stuart sr=tor
git-svn-id: svn://10.0.0.236/trunk@170359 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 03:44:28 +00:00
bzbarsky%mit.edu
f53f98f7f3 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
aaronleventhal%moonset.net
53a4f4090a Bug 251498. Implement outline-offset. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164430 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 12:57:15 +00:00
bzbarsky%mit.edu
b8ac5fb4b6 Put back missing QI. Bug 264987, patch by Bernard Alleysson
<balleysson@bigfoot.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@163993 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 00:35:46 +00:00
bzbarsky%mit.edu
fa206da134 Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
r+sr=peterv.


git-svn-id: svn://10.0.0.236/trunk@163530 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 16:29:42 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
ae9e02402a deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161637 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 03:08:51 +00:00
roc+%cs.cmu.edu
d82b9d3db0 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@161292 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 00:07:56 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net
68db552d54 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
aac51e9f0b Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
roc+%cs.cmu.edu
92e59ef827 Backing out 233441.
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
1eea5c536c Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
tor%cs.brown.edu
1f540003bd Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155395 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 16:13:26 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
b93772cbd4 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155065 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:55:11 +00:00
tor%cs.brown.edu
996688b00b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +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
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
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
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
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