Michael Ventnor
eef84f4a47
Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron
2008-07-19 12:38:25 +02:00
Andrew Smith
925ffa073b
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 23:30:25 -07:00
L. David Baron
f51a50d4ed
Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough.
2008-07-16 22:59:14 -07:00
Andrew Smith
97a13b7ef1
Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold
2008-07-16 22:18:38 -07:00
Zack Weinberg
6071687c64
Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron
2008-07-15 14:31:36 -07:00
Zack Weinberg
8f33e8124a
Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron
2008-07-15 14:31:36 -07:00
L. David Baron
8ae61ad8ea
Make rule node children destruction happen in a queue from the root rule node (or root of the subtree being destroyed) rather than using recursion. (Bug 439184.) r+sr=bzbarsky
2008-07-13 13:57:38 -07:00
L. David Baron
bd84221a85
Replace nsRuleList with a next sibling pointer on the rule node itself (saving one word in the normal linked list case, and wasting one in the hash table case). (Bug 439184.) r+sr=bzbarsky
2008-07-13 13:57:38 -07:00
Michael Ventnor
eadc6a3e8d
Bug 444237 - "Crash with -moz-box-shadow: -moz-initial on input" [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron]
2008-07-12 03:52:32 -05:00
Michael Ventnor
7b71f03ac0
Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron]
2008-07-07 19:56:52 -05:00
L. David Baron
c1f8f1fb91
Backed out changeset f6b609b0af6e
2008-06-17 16:10:53 -07:00
Zack Weinberg
4a5886c570
Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units. (Bug 363706) r=roc sr=dbaron
2008-06-17 14:37:56 -07:00
Simon Montagu
5e37057a2d
Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc
2008-06-16 02:28:17 -07:00
Christian Biesinger
007b771557
Implement the computed value of text-shadow in the style system. (Bug 10713) r+sr=dbaron
2008-06-05 16:06:34 -07:00
Vladimir Vukicevic
2c744deeed
b=346189, children should optionally not affect size of XUL stack; r+sr=roc
2008-06-04 23:46:24 -07:00
L. David Baron
6839a59d63
Backed out changeset cf005233ebad (text-shadow style system changes) due to mochitest crash on Windows (which I can reproduce on Windows).
2008-06-03 16:42:13 -07:00
Christian Biesinger
6a4c651d21
Implement the computed value of text-shadow in the style system. b=10713 r+sr=dbaron
2008-06-03 15:25:31 -07:00
L. David Baron
79fb0318ac
Allow the initial value of -moz-user-select to be specified with 'auto'. b=432888 r+sr=bzbarsky
2008-06-03 15:25:31 -07:00
34fdcdc3b9
b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner
2008-04-25 16:12:45 -07:00
7dec1246a5
backing out
2008-04-20 01:24:42 -07:00
a78898baf6
b=427122, padding on select elements ignored, r=dbaron,a=beltzner
2008-04-19 23:42:00 -07:00
1d87302e3a
Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner
2008-03-05 16:05:26 -08:00
4a9bf486a6
Make 'top' and 'bottom' captions follow the CSS2.1 behavior and put the old behavior into 'top-outside' and 'bottom-outside'. b=363248,386704 r+sr=roc a=blocking1.9+
2008-02-26 18:02:20 -08:00
ffc1d7d8d8
Make the minimum font size preference leave font-size:0 untouched. b=401046 r+sr=bzbarsky a=schrep
2008-02-09 11:15:09 -08:00
fa0251bc13
Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep
2008-02-08 11:51:41 -08:00
b996bb115e
Bug 413274 - ""ASSERTION: How can this ever happen?: '*aUnconstrainedSize <= scriptLevelSize'"" [p=vladimir.sukhoy@gmail.com (Vlad Sukhoy) r+sr=roc a1.9=beltzner]
2008-01-26 19:55:40 -08:00
4f264ea3c1
Bug 411603. Avoid circular definition and infinite recursion by interpreting 'scriptminsize' in em/ex units as relative to the parent font size. r+sr=dbaron
2008-01-13 12:57:03 -08:00
7f1beaf030
get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner
2008-01-10 12:56:49 -08:00
36e749a35a
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-09 01:38:28 -08:00
fd3e382209
backing out bug 355548 due to test failures
2008-01-08 15:11:27 -08:00
c325f84c55
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-08 14:36:46 -08:00
5d9f3dd84d
Implement hixie's first-line proposal: only inherit properties that inherit by default from ::first-line. Inherit the reset properties from its style parent (which is the node that we'd inherit from if the ::first-line were not there). Bug 395623, r+sr=dbaron, a=beltzner
2007-11-07 09:13:00 -08:00
a8db8ea04a
Bug 399289 - leak of nsBaseURLParser with svg paint. r+sr+a=dbaron
2007-10-19 08:36:15 -07:00
b62311f6e5
Backout of 399289.
2007-10-15 11:59:22 -07:00
9bbbca2bf2
Bug 399289 - leak of nsBaseURLParser with svg paint. r=dbaron, sr=roc, a=dbaron
2007-10-15 09:37:04 -07:00
3b6b080a64
Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc
2007-10-08 16:11:01 -07:00
3d19607d03
Allow MapRuleInfoInto to map data for multiple structs at the same time. b=240117 r+sr=bzbarsky a=roc
2007-10-08 14:58:22 -07:00
bb140ff4b9
Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc
2007-08-15 16:20:25 -07:00
170c24997f
Bug 383184 - Implement SVG lighting filters.
...
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
f79b489db0
Remove additional unused code from system font redesign, and add one comment. b=377947 r+sr=bzbarsky
2007-07-25 23:41:37 -07:00
15421497a3
Make SetGenericFont not use aStartStruct-based computation since it's fundamentally incompatible with it. b=216456 r+sr=bzbarsky
2007-07-25 23:32:19 -07:00
8fc5bc463b
Fix enumerated values of font-size to depend on the right preference. b=389464 r+sr=bzbarsky
2007-07-25 16:12:38 -07:00
babae45ed6
Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
2007-07-25 10:14:13 -07:00
5af34128ec
Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky
2007-07-24 08:27:11 -07:00
664b1ab6f3
Avoid potential recursion into Compute*Data on the same rule node (for an inherited struct), which can cause a leak. Add bolder and lighter font-weight to CheckFontProperties. Fix incorrect propagation of generic fonts in ComputeFontData. b=383979 r+sr=bzbarsky
2007-07-23 21:13:45 -07:00
62b700008e
Implement remaining properties in computed style (with some hacks for counter() values for content), and fix some page-break-* bugs exposed by the added test coverage. b=316981 r+sr=bzbarsky
2007-07-22 10:58:37 -07:00
bea010a6bf
Make CheckFontProperties consider font-size:larger and font-size:smaller as well. b=388548 r+sr=bzbarsky
2007-07-22 10:57:35 -07:00
0dd5f752c3
Make aRuleDetail parameters to Compute*Data not be references. b=388546 r+sr=bzbarsky
2007-07-22 10:56:56 -07:00
4d8e8f146b
Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron
2007-07-21 07:20:25 -07:00
a156fb7111
Propagate stylesheet principals through to XBL binding loads; streamline load
...
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo). Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.
In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00