bryner@brianryner.com
01533e488c
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner@brianryner.com
640685cbe9
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
8891f27a52
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
d47517f6dc
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
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner@brianryner.com
1f9609e30b
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
f168a82bc2
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
0f6cfe86d1
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
157963efa9
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
aab877b6d0
Fixing bustage
2003-07-30 09:09:30 +00:00
caillon@returnzero.com
ae8d4e8713
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
634c6e9bdc
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
roc+@cs.cmu.edu
9fc6172009
Ongoing deCOMtamination. r+sr=dbaron
2003-07-05 15:04:34 +00:00
dbaron@dbaron.org
384f320c3a
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
c8a200d763
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
b56be89443
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
f98e358469
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
9061c0fae8
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
64a0e971e9
Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky
2003-04-06 02:49:40 +00:00
darin@netscape.com
bf9e9f7959
backing out roc+%cs.cmu.edu check-in for bug 113232
2003-03-25 00:07:00 +00:00
bmlk@gmx.de
c4ad82c729
dont clip composite borders, bug 197086 r/sr=roc+moz
2003-03-24 10:17:25 +00:00
roc+@cs.cmu.edu
0fc50b9ddb
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
3e87fd6c7f
clip the border at the dirty rectangle, bug 86249 r+sr=roc+moz
2003-03-11 15:15:08 +00:00
paper@animecity.nu
b74296febf
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
76bc22515a
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
5a57d2f42b
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
ba58162e96
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
d98f6c2f7a
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
e7d68bd7e6
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
1169b8baa0
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
82a3644262
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
335bf15f44
186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron
2002-12-28 00:03:33 +00:00
caillon@returnzero.com
ff126d3d84
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
8ab6207e49
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
9a64ab0a71
186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp
2002-12-21 10:33:38 +00:00
bzbarsky@mit.edu
04b64ac192
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
39f7aebfb1
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
0d9875f0a1
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
bcb6aea72a
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
1bd2f2fd4d
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
8ca6bfa788
Bug 45557 - Rounded transparent borders are not transparent.
...
r=bzbarsky sr=jag
2002-08-30 06:39:34 +00:00
dcone@netscape.com
c78e7e7845
b=148598 r=mcclusky,sr=kin Speed up scrolling
2002-08-18 00:46:00 +00:00
dbaron@fas.harvard.edu
1fdfddcd42
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
d8ed4aa2b6
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
e5f4f7c44d
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
b063d053c8
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
9566846bb8
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
9d081110f3
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
3f9ae484b0
fix build bustage
2002-04-12 15:26:05 +00:00
dcone@netscape.com
8140d2428c
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