Brendan Dahl
fc1f8956b9
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Cameron McCormack
2302c9d358
Bug 811581 - Add a base class for all *RuleProcessorData classes. r=bz
2012-11-15 06:09:01 +11:00
Ryan VanderMeulen
b4426aaaa0
Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures.
2012-11-13 20:19:18 -05:00
Brendan Dahl
1ad7f91f17
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
L. David Baron
7f929eddbd
Bug 809533, patch 3: Stop handling allocation failures in the style system that no longer need to be handled. r=bzbarsky
2012-11-09 10:30:28 -08:00
Mounir Lamouri
9c3b9fbc79
Bug 737786 - 3/5 - Restrictions for ::-moz-placeholder. r=bz
...
The restrictions are basicially the one used for ::first-line with a few additions required to style the placeholder by the UA or for the users. See the bug comments for more details (hopefully, there will be a doc and a spec soon enough).
2012-11-09 10:25:52 +00:00
Gabor Krizsanits
6a87d375cf
Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz
2012-10-29 12:21:15 +01:00
Boris Zbarsky
d3f9d1f8ce
Bug 800983. Expose a getter for default computed style. r=dbaron
...
An alternative implementation strategy is to add "default-only"
versions of ResolveStyleFor and ResolvePseudoElementStyle and then
modify FileRules to support those, or use a cut-down custom version of
FileRules for them. That would be faster, but more complicated on the
style set side. We can always make that switch if we need to, I guess.
2012-10-17 17:01:56 -04:00
Arnaud Sourioux
b20a9a4654
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
217735f725
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
...
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Nathan Froyd
57bc1add80
Bug 746276 - pack style structures more carefully; r=bz
2012-04-17 15:22:49 -04:00
Jeff Walden
5d0d2b2e73
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Nicholas Nethercote
2a7afd1ec3
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Michael Wu
d8e503c38b
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
b1f72bbd99
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
Kyle Huey
f2a2e3cbf4
Bug 675624: Enumerate style sets in about:memory. r=bz
2011-08-01 14:24:38 -04:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6469811981
Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron
2011-06-20 16:47:09 -07:00
L. David Baron
a4f3b61041
Lower the level in the cascade of animations. (Bug 653645) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
7e86462271
ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
d1dba7e001
Implement and test animation of css3-animations. (Bug 435442, patch 11) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
079314787c
Add support for cascading of keyframes rules. (Bug 435442, patch 6) r=bzbarsky
2011-04-11 23:18:43 -07:00
Boris Zbarsky
8a877093bc
Bug 598832 part 16. Use a single TreeMatchContext for all the style resolution that the frame constructor does as part of a single frame construction batch. r=dbaron
2011-03-29 13:29:21 -04:00
Boris Zbarsky
f650e1ccdc
Bug 589615 part 2. Rename the HTML preshint level to just the preshint level, since it's the only preshint level now. r=dbaron, a=dbaron
2011-01-14 21:14:41 -05:00
Boris Zbarsky
c58b055ea9
Bug 589615 part 1. Get rid of the non-HTML preshint level. r=dbaron
2011-01-14 21:14:41 -05:00
Mounir Lamouri
66067bcb7b
Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz
2010-10-20 13:26:32 +02:00
Boris Zbarsky
7f14719c4d
Bug 573241. When reparenting a style context, don't include any transition rules the old context might have had in the new one, since that can confuse transitions. r=dbaron
2010-06-23 00:46:27 -04:00
Craig Topper
00d9a2b835
Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
...
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)
--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Peter Van der Beken
9d8cde356a
Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3a. r=jst.
2010-04-19 17:41:39 +02:00
Boris Zbarsky
f5243e5ab2
Bug 565818. Pass Elements to HasAttributeDependentStyle and HasStateDependentStyle. r=dbaron
2010-05-14 13:04:51 -04:00
Peter Van der Beken
7f4e72d2de
Back out fixes for bug 560462 to fix orange.
...
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Peter Van der Beken
f9b24fc187
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst.
2010-04-19 17:41:39 +02:00
Boris Zbarsky
ca01cf3893
Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron
2010-04-30 09:12:06 -04:00
Zack Weinberg
8a88b3f08f
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
L. David Baron
562295a495
Set NS_STYLE_RELEVANT_LINK_IS_VISITED when appropriate. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
d1f6c99d69
Pass through desired link-visitedness on the rule walker and construct if-visited style contexts in the style set when visited styles are present. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
3eacc25287
Split nsStyleSet::ResolveStyleForRules into two different APIs for the two different types of uses. (Bug 147777) r=bzbarsky
2010-04-02 18:58:25 -07:00
Zack Weinberg
7186dd3ecb
Bug 494117: remove PresContext argument to nsStyleSet::GetContext. r=bzbarsky
2010-04-01 23:07:42 -07:00
Zack Weinberg
ee4e0f1e56
Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc
2010-03-31 17:43:32 -07:00
Markus Stange
b5b991d41d
Bug 554061 - Also check XBL stylesheets when determining whether a restyle is necessary when document state changes. r=dbaron
2010-03-25 10:22:58 +01:00
Markus Stange
5fb3e948bb
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Markus Stange
4a997d3554
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
L. David Baron
1d3abc0523
Add method to nsStyleSet to call EnsureUniqueInner on all CSS sheets. (Bug 536379) r=bzbarsky
2009-12-31 10:56:33 -05:00
Boris Zbarsky
4a2975a003
Bug 525608 part 7. Make tree pseudos use a separate hashtable instead of riding along on the rulehash. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
6b4f1d994c
Bug 525608 part 5. Change anonymous box rule matching to just use a separate hashtable and not ever run SelectorMatches. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
414b184d55
Bug 525608 part 4. Change pseudo-element probing and resolution to not use EnumerateTagRules. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
99027aa785
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-11 02:37:40 -05:00