dbaron@dbaron.org
8eefc77d32
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
2004-08-04 03:23:37 +00:00
bryner@brianryner.com
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
dbaron@dbaron.org
73a3833b1c
Back out 236889 due to 253755.
2004-07-31 07:42:12 +00:00
dbaron@dbaron.org
b8302c99bf
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
2004-07-29 20:07:25 +00:00
bryner@brianryner.com
15745b0b06
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
2004-07-29 19:41:39 +00:00
roc+@cs.cmu.edu
fa6c1b5822
Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron
2004-07-18 12:12:46 +00:00
dbaron@dbaron.org
6b4240afc9
Backing out half of 236889.
2004-07-16 21:23:27 +00:00
dbaron@dbaron.org
18d4c86795
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland half of page to test effect on pageload.
2004-07-16 20:26:39 +00:00
aaronleventhal@moonset.net
2664407e1c
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
2004-07-16 16:56:21 +00:00
aaronleventhal@moonset.net
4626431d47
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
2004-07-15 18:57:47 +00:00
bzbarsky@mit.edu
5f2d4cc63f
Testing backout of bug 236889 to see effect on performance. a=#mozilla
2004-07-15 02:54:01 +00:00
dbaron@dbaron.org
6e6814f5aa
Pull nsStyleContent::AllocateContents out of line, to fix Windows bustage (since this file is included outside of layout and the compiler doesn't seem able to inline it. b=249809
2004-07-14 23:51:25 +00:00
dbaron@dbaron.org
de658156bb
Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky
2004-07-14 22:19:22 +00:00
dbaron@dbaron.org
9569a639df
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
2004-07-14 22:10:55 +00:00
aaronleventhal@moonset.net
d511850eee
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
2004-07-14 21:58:34 +00:00
roc+@cs.cmu.edu
1600f68744
Bug 245297. Add basic style system support for columns. r+sr=dbaron
2004-06-17 11:57:37 +00:00
bryner@brianryner.com
041d6d3a01
Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
2004-06-08 23:53:59 +00:00
bzbarsky@mit.edu
6d6181470e
Use a reflow (without forced repaint) hint for position struct changes. Bug
...
243882, r+sr=roc
2004-05-22 05:50:12 +00:00
caillon@redhat.com
9912e763f8
Remove '-moz-resizer' from the style system.
...
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
bzbarsky@mit.edu
562197ef15
Blink changes need to reflow. Bug 236897, r+sr=dbaron
2004-05-02 04:51:08 +00:00
neil@parkwaycc.co.uk
cc43c64641
Bug 240562 Remove unused variable p=gautheri@noos.fr r=glazou sr=roc
2004-04-19 22:31:12 +00:00
gerv@gerv.net
cf0b0c064a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
bryner@brianryner.com
5ddc9f91a1
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
2004-04-13 00:28:44 +00:00
dbaron@dbaron.org
d5ac7e011d
Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky
2004-04-12 21:54:45 +00:00
dbaron@dbaron.org
92743fad12
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
bmlk@gmx.de
7ebe25986f
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
bzbarsky@mit.edu
ba963c4d3e
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
2004-03-09 03:57:51 +00:00
bryner@brianryner.com
63c983177b
Trivial change to not run the nsFont default ctor here. r+sr=dbaron.
2004-02-25 23:15:11 +00:00
bryner@brianryner.com
4b3323b7b2
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
alex.fritze@crocodile-clips.com
10a947f578
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
...
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
bryner@brianryner.com
58ce615aa2
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
2004-02-02 22:17:21 +00:00
bryner@brianryner.com
191d92ce16
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
2004-02-01 10:09:07 +00:00
bryner@brianryner.com
d3fe7e39fa
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
dbaron@dbaron.org
b112622686
Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky
2004-01-18 01:12:58 +00:00
caillon@returnzero.com
2af189c495
Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron
2004-01-15 22:06:39 +00:00
dbaron@dbaron.org
85f0893832
Fix copy constructor so -moz-image-region inherits correctly. b=220717 r=bzbarsky sr=ben
2004-01-15 02:24:17 +00:00
bryner@brianryner.com
a90ec6ff21
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
bryner@brianryner.com
01533e488c
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bzbarsky@mit.edu
79d112f029
Make sure to reframe when the "rules" attribute changes, since tables cache all
...
sorts of border-collapse stuff across reflows. Bug 226593, r=bernd, sr=dbaron,
a=brendan
2003-12-04 06:26:15 +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
bzbarsky@mit.edu
11f366c8dc
Don't reframe when "float: left" changes to "float: right"; just reflow. Bug
...
55967, r+sr=dbaron
2003-11-14 22:55:46 +00:00
uid502
75fbbaffee
Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
2003-11-01 22:34:59 +00:00
dbaron@dbaron.org
e2ccc41327
Missed CalcDifference changes in previous patch. r+sr=bzbarsky b=113173
2003-10-04 06:36:33 +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
roc+@cs.cmu.edu
0857c645b4
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
2003-08-06 03:07:12 +00:00
dbaron@dbaron.org
660339f971
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +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
bryner@netscape.com
4486f8d13d
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
dbaron@dbaron.org
f70ad582fc
Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky
2003-03-13 15:29:36 +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