Граф коммитов

227 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 0ea3c127ae 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 40912d05d5 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 c70c9c9de3 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 2a50602bc0 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com 5aeafaa8a6 deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com 7264501b7b 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 cd013628a9 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 6380d7fd12 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 50383ff50a Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bryner%brianryner.com a0e219b348 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 ad85b8e859 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 8fcc59fcaf 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 19a12727ec 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 7e9f601322 Fixing bustage 2003-07-30 09:09:30 +00:00
caillon%returnzero.com 422dde1351 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 1c89273d3a DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
roc+%cs.cmu.edu fd9155e0a0 Ongoing deCOMtamination. r+sr=dbaron 2003-07-05 15:04:34 +00:00
dbaron%dbaron.org 42b06cc4f5 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 ba75de772b 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 e03a31c002 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 a15b9f2cf4 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 0800459251 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 513d28330f Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky 2003-04-06 02:49:40 +00:00
darin%netscape.com fbab8a3edd backing out roc+%cs.cmu.edu check-in for bug 113232 2003-03-25 00:07:00 +00:00
bmlk%gmx.de eada4dbcaa dont clip composite borders, bug 197086 r/sr=roc+moz 2003-03-24 10:17:25 +00:00
roc+%cs.cmu.edu 4826fbd1c4 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 79a60cddf3 clip the border at the dirty rectangle, bug 86249 r+sr=roc+moz 2003-03-11 15:15:08 +00:00
paper%animecity.nu bd21cb55b0 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 77e5c960ef 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 35fe4b6f27 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 cc390fbe51 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 6134063f7b 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 d339c650c4 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 ead3cd7ea8 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 d3b3d716a0 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 df3d2eb90a 186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron 2002-12-28 00:03:33 +00:00
caillon%returnzero.com 27c6aebd18 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 65cab10d50 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 4b1cd1bb3f 186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp 2002-12-21 10:33:38 +00:00
bzbarsky%mit.edu e20a728a09 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 a272a96238 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 7871a3af0d 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 369f0ad4fd 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 bab99a09b0 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 65a253728b Bug 45557 - Rounded transparent borders are not transparent.
r=bzbarsky sr=jag
2002-08-30 06:39:34 +00:00
dcone%netscape.com 65198a0ce9 b=148598 r=mcclusky,sr=kin Speed up scrolling 2002-08-18 00:46:00 +00:00
dbaron%fas.harvard.edu bc1f6b8829 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 b9cb9bdc9b 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 02d54e7d21 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 a3a82d4549 Backing out changes. Something is interacting wrong with scroll bars.. so I will investigate. 2002-07-29 17:48:22 +00:00