Commit Graph

288 Commits

Author SHA1 Message Date
gerv%gerv.net
708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
b07ccf833c Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:55:11 +00:00
tor%cs.brown.edu
83eb215db9 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
bzbarsky%mit.edu
ffb723d84a Fix assert. Bug 236921, r+sr=dbaron, a=chofmann 2004-03-31 03:13:54 +00:00
bmlk%gmx.de
ea9e726b8b implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron 2004-03-09 06:48:35 +00:00
bryner%brianryner.com
ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
bzbarsky%mit.edu
476679f7f9 Position fixed backgrounds with respect to the viewport, not "nearest
scrollframe or viewport".  Bug 235768, r+sr=roc
2004-02-27 05:40:16 +00:00
bryner%brianryner.com
5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu
3802922e91 Remove bogus method that makes backgrounds on the canvas unhappy. Bug 219302,
r+sr=roc
2004-02-20 00:39:09 +00:00
bryner%brianryner.com
92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
dbaron%dbaron.org
d303de959b Remove NS_STYLE_BORDER_STYLE_BLANK. r+sr=bzbarsky 2004-02-11 04:34:12 +00:00
bryner%brianryner.com
08f53379c4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
tor%cs.brown.edu
6e0bbb9e6a Bug 113561 - handle tiling of images where the frame is smaller
than the container.  r=pavlov, sr=bryner
2004-01-16 23:28:51 +00:00
roc+%cs.cmu.edu
3bfe589ac4 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com
d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com
dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
dbaron%dbaron.org
a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
jst%mozilla.jstenback.com
4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
uid502
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bryner%brianryner.com
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
189bbda3e5 More bug 214969 -- HTML nodes lie about their namespace, so check the
document's case-sensitivity instead.  r+sr=tor
2003-10-15 05:54:46 +00:00
bzbarsky%mit.edu
8bc8454c15 Only propagate the body background to the canvas in HTML documents; don't do it
for XHTML.   Bug 214969, r+sr=dbaron
2003-10-15 02:48:25 +00:00
dbaron%dbaron.org
5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
caillon%returnzero.com
627a4c5b6d Fixing bustage 2003-07-30 09:09:30 +00:00
caillon%returnzero.com
a9e2dece76 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
roc+%cs.cmu.edu
c98e21aba3 Ongoing deCOMtamination. r+sr=dbaron 2003-07-05 15:04:34 +00:00
dbaron%dbaron.org
4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
caillon%returnzero.com
2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
smontagu%netscape.com
62b4d0e97f Fix rounding issue in DrawTile() and remove a bogus assertion. Bug 194791, Author=paper@animecity.nu, r=smontagu, sr=roc+moz 2003-05-29 23:29:37 +00:00
dbaron%dbaron.org
75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
roc+%cs.cmu.edu
f601bd510e Bug 199897. Fix regression by being smarter about how we clip border painting to the dirty rect. r=bernd,sr=dbaron,a=asa 2003-05-14 00:44:38 +00:00
roc+%cs.cmu.edu
d21b664b22 Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky 2003-04-06 02:49:40 +00:00
darin%netscape.com
06db7d7b43 backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
bmlk%gmx.de
1072447013 dont clip composite borders, bug 197086 r/sr=roc+moz 2003-03-24 10:17:25 +00:00
roc+%cs.cmu.edu
4f81dc78d1 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky 2003-03-24 04:57:22 +00:00
bmlk%gmx.de
b3aae54563 clip the border at the dirty rectangle, bug 86249 r+sr=roc+moz 2003-03-11 15:15:08 +00:00
paper%animecity.nu
16306ed28c Bug 194108 Don't PaintBackgroundColor when tiled image is opaque and fully covering. r=caillon sr=roc+moz 2003-03-05 23:34:48 +00:00
roc+%cs.cmu.edu
67a197918a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu
d0154df805 Bug 189723. Fix valgrind warning on uninitialized value when GetPenMode isn't implemented. r+sr=bzbarsky 2003-02-22 22:27:45 +00:00
bryner%netscape.com
e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
caillon%returnzero.com
0ab3beee78 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron
2003-01-19 02:36:04 +00:00
caillon%returnzero.com
22e1ca93e3 Fix build bustage. OS/2 and Sun Workshop won't do implicit type conversions (like .get() on an nsCOMPtr) while trying to match a template.
See also revision 3.188 of this file.
2003-01-17 12:16:36 +00:00
caillon%returnzero.com
8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu
48739cd3f1 Change the algorithm used to darken text when printing a tad to produce better
results.  Bug 141232, r/sr=roc+moz
2003-01-05 04:52:27 +00:00
caillon%returnzero.com
f7d4925db8 186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron 2002-12-28 00:03:33 +00:00
caillon%returnzero.com
681064b65e Bug 186752 - Crash during background painting when there is no scrollable frame. Add a null check.
r+sr=dbaron
2002-12-27 07:32:17 +00:00
caillon%returnzero.com
4c18fa1dda Bug 46814 - Fixed attachment background images should not be positioned underneath scrollbars, when positioning on a side which has scrollbars.
r=dbaron sr=bzbarsky
2002-12-23 22:08:04 +00:00
cbiesinger%web.de
80d57247d7 186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp 2002-12-21 10:33:38 +00:00
bzbarsky%mit.edu
09fe043cd1 Fix build bustage. OS/2 and Sun Workshop won't do implicit type
conversions (like .get() on an nsCOMPtr) while trying to match a
template, apparently...  r=cls
2002-10-09 04:51:59 +00:00
bzbarsky%mit.edu
279ffda515 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
caillon%returnzero.com
5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
hyatt%netscape.com
e8710c1495 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
alecf%netscape.com
214146625e fix for bug 163736 - consolidate gfx2 into gfx, and remove the gfx2 DLL from the build.
r=pavlov, sr=rbs
includes creating a new "Shared" library which shares gfx code between all platforms
2002-09-12 04:43:31 +00:00
caillon%returnzero.com
add1e76599 Bug 45557 - Rounded transparent borders are not transparent.
r=bzbarsky sr=jag
2002-08-30 06:39:34 +00:00
dcone%netscape.com
53276bf5e0 b=148598 r=mcclusky,sr=kin Speed up scrolling 2002-08-18 00:46:00 +00:00
dbaron%fas.harvard.edu
839c83ca5d Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky 2002-08-11 17:56:15 +00:00
dcone%netscape.com
a0cbe2a500 Backing out changes for the background speedup.. it broke some hoovering code.. on a web page.
I want to investigate this before I leave the patch in.
2002-08-02 18:21:33 +00:00
dcone%netscape.com
218c5049d8 b=148598 r=peterl sr=kin a=asa. This speeds up scrolling with very large backgrounds. 2002-07-31 17:13:25 +00:00
dcone%netscape.com
a064c6edca Backing out changes. Something is interacting wrong with scroll bars.. so I will investigate. 2002-07-29 17:48:22 +00:00
dcone%netscape.com
2aed7eb5c6 b=148598 Very Slow scrolling. r=rods sr=kin a=asa. Fixed the update area for the background images. Improves scrolling 100% 2002-07-29 13:28:32 +00:00
dbaron%fas.harvard.edu
6a089b4f2a Replace assertion with a comment explaining why we need to null-check the result of |nsIDOMHTMLDocument::GetBody|. b=119351 r=kin sr=waterson 2002-05-08 19:27:40 +00:00
pinkerton%netscape.com
bb66767179 fix build bustage 2002-04-12 15:26:05 +00:00
dcone%netscape.com
02e7316517 b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
have a background.
2002-04-12 14:30:00 +00:00
karnaze%netscape.com
ef8486e013 bug 134845 - avoid dividing by zero during pixel rounding. a=asa, adt=jamiejr, sr=attinasi, r=kin 2002-04-06 22:28:39 +00:00
kmcclusk%netscape.com
6ae53f54f8 suppress the painting of partially decoded background images bug 129908; r=pavlov sr=attinasi a=asa 2002-03-23 04:33:37 +00:00
bzbarsky%mit.edu
ff83e74591 Make FindBackground not QI to nsIHTMLBodyElement -- this makes it much
faster.  Bug 129079, r=rjesup@wgate.com, sr=jst, a=asa
2002-03-05 23:17:32 +00:00
bzbarsky%mit.edu
15ad250cad Make <body> backgrounds draw in XHTML as XML. Bug 127374, r=dbaron,
sr=attinasi, a=shaver
2002-02-25 22:18:26 +00:00
pinkerton%netscape.com
ecc86da3a2 fix crash where we could dereference a null reference. shuffle some code around to ensure that can't happen anymore. r=ben/sr=blake/a=thesteve for smoketest blocker bug 126770 2002-02-20 21:51:25 +00:00
pinkerton%netscape.com
07a4e16549 don't bail on bg drawing when moz-appearance is set on a root. r=bryner/sr=hyatt. bug#119736 2002-02-20 02:14:18 +00:00
roc+%cs.cmu.edu
59d3d1ebd0 Bug 91516. Organize view managers into a tree so that IFRAMEs can be rendered and event-processed coherently with their containing documents. r=kmcclusk,rods,sr=attinasi 2002-02-19 21:33:26 +00:00
karnaze%netscape.com
679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
dcone%netscape.com
f7e8a4bf6d b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
dcone%netscape.com
998f5ccf40 Fix print preview. r=rods sr = attinasi bug =117072. Only control backgrounds painting for printing. 2002-01-15 22:37:15 +00:00
dbaron%fas.harvard.edu
e6598e05b6 Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt 2002-01-14 15:00:30 +00:00
dbaron%fas.harvard.edu
f833b1af22 Fix background painting as the default color while leaving a page. b=118867 r=sfraser sr=jst 2002-01-11 19:38:21 +00:00
dbaron%fas.harvard.edu
8c29d1138a Fix crash on certain pages. b=118829 r=jag sr=waterson 2002-01-09 02:36:49 +00:00
dbaron%fas.harvard.edu
568a104e66 Remove unused and incorrect code, clean up some other similar code. b=116301 r=jag sr=jst 2002-01-08 15:13:02 +00:00
dbaron%fas.harvard.edu
887e35d7b3 Remove bogus/noisy assertion. b=118676 / 116161 2002-01-08 04:11:25 +00:00
dbaron%fas.harvard.edu
c9c0a97163 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
pinkerton%netscape.com
4c5dccf906 Fix infinite loop when |shrinkage| goes below zero. Blocker for mach-o
build. r=dbaron/sr=blake. bug#116240
2001-12-20 18:02:43 +00:00
hyatt%netscape.com
0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
hewitt%netscape.com
c580303351 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt 2001-12-11 11:13:16 +00:00
dcone%netscape.com
6c7808bbc0 bug=96870 Add methods onto the nsIPresContext for setting and getting the background painting
boolean so printing can turn on and off backgrounds.  r=peterl sr=attinasi
2001-12-11 05:57:37 +00:00
dbaron%fas.harvard.edu
2541b83e4f Tweaking XP_MACOSX ifdefs in a few more places, including a fix for background image clipping. b=111795 r=pinkerton sr=sfraser 2001-12-06 00:09:21 +00:00
hyatt%netscape.com
91bc6c4a6e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
roc+%cs.cmu.edu
c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
dcone%netscape.com
30419dc2d1 Put in a check so backgrounds are not printed. This is temporary until 96870 is fixed. r=rods sr=attinasi 2001-11-27 14:50:35 +00:00
roc+%cs.cmu.edu
c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
hyatt%netscape.com
0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
attinasi%netscape.com
2046bd1c34 Improvements for invert outline colors (Mac and Linux work now). b=73884 r=kmcclusk sr=kin 2001-10-03 00:08:25 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
917fff3b3e Null check to fix topcrash bug 97226. r=hixie sr=waterson 2001-09-10 19:36:59 +00:00
dcone%netscape.com
61c42e0de0 b=73884 r=peterl sr=attinasi invert mode support added 2001-08-21 22:37:17 +00:00
ian%hixie.ch
0da971e40c Make the canvas background use the root element's frame's origin instead of the canvas frame's origin. Bug 46446; r=dcone, sr=attinasi 2001-08-17 23:26:29 +00:00
pavlov%netscape.com
880bac0d69 fixing 94933 r=jst sr=hyatt 2001-08-15 05:24:29 +00:00
pavlov%netscape.com
1e20984ef0 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
dbaron%fas.harvard.edu
9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00