Michael Wu
ac54b41b01
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Brian Birtles
1d82717b5c
Bug 562815 part 6 - Check if property is cached in rule tree; r=dbaron
...
--HG--
extra : rebase_source : 9a7d2388bd00e2c8177cebc9d2a1339626cdd3ab
2011-08-23 08:34:12 +09:00
L. David Baron
0e94875a83
Make nsRuleNode's use of font metrics for ch and ex units pass the correct language. (Bug 678671, patch 3) r=roc
...
This makes these users (which are exceptions within layout, although
low-level enough that it won't matter for font inflation work) call
through to GetMetricsFor explicitly with the correct language, rather
than using the broken nsPresContext::GetMetricsFor and its
charset-detected language.
This improves the correctness of our behavior for 'ch' and 'ex' CSS
units when the font selection (or defaults) are language-dependent. It
should also reduce the number of unique sets of font metrics requested
(which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Makoto Kato
93109e7bf5
Bug 660587 - Remove nsRuleNode::gLangService. r=roc
2011-05-31 14:18:50 +09:00
L. David Baron
a6b72237ee
Remove nsCSSStruct.h/cpp. (Bug 645620, patch 4) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
4c2491cf79
Make nsCachedStyleData store arrays of nsStyleStruct*, and use style struct IDs for faster access to those arrays. (Bug 639231, patch 3) r=bzbarsky
2011-03-17 20:14:32 -07:00
L. David Baron
5a5e98acac
Instead of stack-allocating nsRuleData* structs in separate methods for each style struct, allocate an array of nsCSSValue using alloca. (Bug 636039, patch 15) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
f25a4ed96e
Convert nsRuleNode::Compute*Data to property getters instead of accessing struct members. (Bug 636039, patch 11) r=bzbarsky
2011-03-17 20:14:31 -07:00
Boris Zbarsky
dd3e262caa
Bug 625434. Make sure we don't get into a situation where we're failing to gc the ruletree for a page. r=dbaron, a=blocker
2011-01-18 21:20:35 -05:00
L. David Baron
32ccfc5fe1
Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:13 -07:00
Zack Weinberg
89773eab2f
Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
L. David Baron
35d6e8b694
There's no need for a separate CoordPercentCalc implementation; ComputeCalc can handle that. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
6d89485bb6
Add API to compute length, percentage or calc() style coords. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
48839160e2
Add API to compute computed-value calc() expressions to lengths. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
timeless
b8ead92b6a
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
timeless
a3ec5f1f96
Bug 334571 strip trailing whitespace. r=zwol
2010-04-27 18:15:01 +02:00
Zack Weinberg
f090f9fe6b
Eliminate NS_HIDDEN and NS_HIDDEN_ from layout/style/. Search-and-replace plus formatting fixes. rs=bzbarsky, no bug.
2010-04-06 14:52:17 -07:00
Boris Zbarsky
8a96c657a1
Bug 527977 part 2. Add a way to destroy the structs in an nsInheritedStyleData without trying to deallocate the object itself. r=zwol
2010-03-02 18:27:20 -05:00
Boris Zbarsky
513c4392ea
Bug 527977 part 1. Remove unused ClearInheritedData functions. r=zwol
2010-03-02 18:27:20 -05:00
Robert Longson
a6785ce27f
Bug 523576 - Fix compilation with disable-svg. r=dbaron
2009-12-12 19:43:34 +00:00
Boris Zbarsky
1333943c85
Bug 529749. Make sure nsRuleWalker never has a null mCurrent. r=dbaron
2009-12-11 22:36:34 -08:00
Boris Zbarsky
751e9657f6
Bug 514773. Don't trigger rulenode gc unless we have rulenodes to gc. r=dbaron
2009-09-24 13:59:43 -04:00
Boris Zbarsky
32c180cfae
Bug 495798. Drop native theming for controls styled with transparent backgrounds, even if the user said to not use the page colors. r+sr=dbaron
2009-06-16 15:05:12 -07:00
Michael Ventnor
7a2af3b188
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
L. David Baron
014d19fb8b
Rename aInherited/inherited to aCanStoreInRuleTree/canStoreInRuleTree. (Bug 476598) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
L. David Baron
f1ff878765
Make the aInherited parameters to Compute*Data const. (Bug 476598) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
Keith Rarick
5d54fa9735
Implement 'rem' unit from css3-values. (Bug 472195) r+sr=dbaron
2009-01-20 13:58:48 -08:00
L. David Baron
6f23b866cb
Prevent posting media query changed events during construction. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Arpad Borsos
4460c617be
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
L. David Baron
bd5d71139f
Fix warnings about breaking strict aliasing rules by making mChildren a union. (Bug 458813) r+sr=bzbarsky
2008-10-07 15:10:19 -07:00
Keith Schwarz
728bf55458
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
L. David Baron
4fec0ad28a
Implement Media Queries. (Bug 156716) r+sr=bzbarsky
2008-07-26 09:14:48 -07:00
L. David Baron
6abe5617a7
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
a955d915f9
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
1190bfd2d8
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
vladimir@pobox.com
835cebc63e
b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner
2008-04-25 16:12:45 -07:00
vladimir@pobox.com
f7a5c34236
backing out
2008-04-20 01:24:42 -07:00
vladimir@pobox.com
d6855804be
b=427122, padding on select elements ignored, r=dbaron,a=beltzner
2008-04-19 23:42:00 -07:00
dwitte@stanford.edu
3e4369bbb5
get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner
2008-01-10 12:56:49 -08:00
roc+@cs.cmu.edu
03669b637b
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
roc+@cs.cmu.edu
79d7272cef
backing out bug 355548 due to test failures
2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
2c6f996889
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
dbaron@dbaron.org
d8addc0ca6
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
dbaron@dbaron.org
07fa5e0002
Remove comment about exceptions that no longer exist thanks to bug 386640.
2007-09-27 09:26:22 -07:00
dbaron@dbaron.org
09ff2914f8
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
dbaron@dbaron.org
0198f88736
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
sharparrow1@yahoo.com
4fd6f0aaf2
Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz
2007-07-25 10:14:13 -07:00
dbaron@dbaron.org
3945296b61
Make aRuleDetail parameters to Compute*Data not be references. b=388546 r+sr=bzbarsky
2007-07-22 10:56:56 -07:00
jwalden@mit.edu
12e960c504
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
dbaron@dbaron.org
9edabebb5d
Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron
2007-07-04 11:51:16 -07:00