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
bzbarsky@mit.edu
c7a97563f2
Dynamic changes to border-collapse should produce the right hint. Bug 191794,
...
r=bernd, sr=dbaron, a=asa
2003-02-13 19:06:18 +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
cbiesinger@web.de
21333134c5
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
2003-01-17 12:09:23 +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
dbaron@fas.harvard.edu
53113f8eee
Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin
2002-11-12 15:17:07 +00:00
timeless@mozdev.org
d93c6bfcdc
Bug 133708 Simplify nsStyleList::CalcDifference
...
r=dbaron sr=brendan
2002-11-06 07:31:27 +00:00
bzbarsky@mit.edu
aacdb5be5a
Fix crash in nsStyleQuotes copy constructor. Bug 174178, r=caillon,
...
sr=dbaron, a=roc+moz
2002-10-13 18:55:12 +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
dbaron@fas.harvard.edu
caf11f4a59
Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227
2002-09-30 14:46:56 +00:00
roc+@cs.cmu.edu
8d1393e3de
Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
2002-09-30 11:56:37 +00:00
roc+@cs.cmu.edu
458e434a36
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
2002-08-24 14:41:28 +00:00
bzbarsky@mit.edu
e4f795fd4d
Fix placement of positioned elements with auto "top". Bug 44508, patch
...
by Mats Palmgren (mats.palmgren@bredband.net ), r=dbaron, sr=bzbarsky.
2002-08-15 23:00:23 +00:00