Commit Graph
240 Commits
Author SHA1 Message Date
Boris Zbarsky a07931ef51 Bug 765588. Make CSSFontFaceStyleDecl an nsICSSDeclaration. r=dbaron 2012-08-05 22:14:47 -04:00
Cameron McCormack 01ec6b6358 Bug 778600 - Indent closing brace when listing GroupRules. r=dbaron 2012-08-04 17:07:03 +10:00
Cameron McCormack 0470b4ceb7 Bug 649740 - Implement @supports. r=dbaron,bz 2012-08-02 10:32:12 +10:00
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer a9921e1d15 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan 2012-07-06 15:14:07 -05:00
Olli Pettay 2067752f5b Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Emmanuele Bassi 82d892004e Bug 762302 - Unprefix CSS Animation properties and @keyframes rule and provide temporary aliases for -moz-animation and exposed subproperties. r=dbaron 2012-07-08 21:25:10 -04:00
Jignesh Kakadiya f3a5929e45 Bug 765590 - CSSNameSpaceRule.type should be 10, not 0. r=dbaron 2012-06-21 12:58:19 -07:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
John Daggett 67617f9a5d Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron 2012-04-26 15:24:26 +09:00
Boris Zbarsky eaa1dc0627 Bug 723446. Be a little more careful changing declarations on keyframe rules. r=dbaron 2012-02-02 11:59:39 -05:00
Nicholas Nethercote 4762ea78a3 Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Boris Zbarsky d30e0d421a Bug 716226. When using insertRule on a keyframes rule, set up the child keyframe rule correctly. r=dbaron 2012-01-11 14:36:43 -05:00
Nathan Froyd 5e807a653e Bug 712299 - don't require manual syncing of font data; r=bz 2011-12-20 11:49:16 -05:00
Jeff Walden e50145754d Bug 704687 - Mark final classes as MOZ_FINAL, now that nsDerivedSafe no longer exists again. r=dbaron 2011-12-19 13:48:15 -05:00
Jeff Walden a076867204 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones 2011-11-20 22:21:16 -08:00
Zack Weinberg 0bdf036262 Bug 659963: consistently use infallible malloc in the CSS parser. r=dbaron 2011-05-28 15:38:48 -07:00
Ehsan Akhgari 478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Matheus Kerschbaum 9dd50930c3 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
L. David Baron 588e1d64cd Add missing break (Bug 398962) r=bzbarsky 2011-06-12 18:52:32 -07:00
Craig Topper 08abd5bf90 Bug 648925 - Part 5: Make nsCSSKeyframeRule use inherited AddRef/Release from Rule. r=bzbarsky 2011-05-06 00:33:57 -07:00
Craig Topper 8b8b6986cb Bug 648925 - Part 4: DeCOMtaminate GetDOMRule and GetDOMRuleWeak. r=bzbarsky 2011-04-07 23:36:09 -07:00
Craig Topper 4382f36c4b Bug 648925 - Part 3: Factor some common method bodies into css::Rule. r=bzbarsky 2011-04-11 19:46:35 -07:00
Craig Topper 7492b61c9d Bug 648925 - Part 2: Make several css::Rule methods non-virtual and inline. r=bzbarsky 2011-04-07 20:51:25 -07:00
Craig Topper ebb550cdf5 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
L. David Baron f0144db772 Audit for places in style rule code that need to check for a null sheet. (Bug 634373) r=bzbarsky 2011-05-02 18:43:44 -07:00
L. David Baron e615e7e2d4 Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky 2011-04-28 10:21:37 -07:00
Boris Zbarsky 6a971e7ee6 Bug 649163. Stop refcounting the return values from GetCSSParsingEnvironment, where possible. r=dbaron 2011-04-27 16:53:49 -04:00
L. David Baron d900fcd932 Allow null media query cache key in some places. (Bug 542058, patch 2) r=bzbarsky 2011-04-21 20:17:31 -07:00
L. David Baron 3b29a39226 Remove null-checks of nsCSSParser, since construction is infallible. (Bug 542058, patch 1) r=bzbarsky
Note that many callers already skipped the null-checks.
2011-04-21 20:17:31 -07:00
L. David Baron 1185309a8d 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 2351b7fd01 Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron 8390f053f6 Fix style rule inheritance macros. (Bug 435442, patch 4) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron e728f99fb2 Clean up handling of CSSOM modifications to rules that are non-child descendants of a sheet. (Bug 435442, patch 3) r=bzbarsky
This fixes handling of a number of cases:
 1. Modifications to a style rule inside a group rule now trigger
    GetRuleCascades.
 2. A sheet that has been (potentially) modified is reliably marked as
    such, and thus never cloned.
2011-04-11 23:18:43 -07:00
Craig Topper 342ae297f4 Bug 645956 - Part 5: Remove NS_NewCSSCharsetRule, r=bzbarsky 2011-03-22 23:20:09 -07:00
Craig Topper 3a654a1dd0 Bug 645956 - Part 4: Move CSSCharsetRule to header file and put in css namespace, r=bzbarsky 2010-08-07 22:34:19 -07:00
Craig Topper 526b6c0139 Bug 645956 - Part 3: Remove NS_NewCSSNamespaceRule, r=bzbarsky 2011-03-22 22:23:04 -07:00
Craig Topper f5f09258d6 Bug 645956 - Part 2: Remove NS_NewCSSImportRule, r=bzbarsky 2011-03-22 22:22:59 -07:00
Craig Topper 662a2163bc Bug 577976 - Part 5: Remove AddRef from GetStyleSheet, r=bzbarsky 2010-08-07 22:33:15 -07:00
Craig Topper 3b1be64aff Bug 577976 - Part 4: Move AddRef/Release back to nsCSSRule, r=bzbarsky 2011-03-17 22:18:08 -07:00
Craig Topper 4dd63018ca Bug 577976 - Part 3: Rename nsCSSRule and put in css namespace, r=bzbarsky 2011-03-06 19:59:03 -08:00
Craig Topper 1495e807e6 Bug 577976 - Part 2: Remove forwarding methods to nsCSSRule from Rule classes, r=bzbarsky 2010-08-07 22:30:57 -07:00
Craig Topper 11f607273b Bug 577976 - Part 1: Make nsCSSRule inherit from nsICSSRule and remove inheritance of nsICSSRule from other classes, r=bzbarsky 2011-03-28 20:21:20 -07:00
Craig Topper a44ec82e19 Bug 577974 - Part 4: DeCOM and de-virtualize methods in GroupRule, r=bzbarsky 2010-08-07 22:29:28 -07:00
Craig Topper c4c8840d32 Bug 577974 - Part 3: Rename nsCSSDocumentRule and nsCSSMediaRule, r=bzbarsky 2011-03-17 22:18:08 -07:00
Craig Topper 2c68d86266 Bug 577974 - Part 2: Remove nsICSSGroupRule, r=bzbarsky 2010-08-07 22:28:33 -07:00
Craig Topper 22d3106b16 Bug 577974 - Part 1: Rename CSSGroupRuleListImpl. r=bzbarsky 2010-08-07 22:23:17 -07:00
L. David Baron c1e259f95b Don't call SetSheet with a null sheet. (Bug 645951) r=bzbarsky 2011-03-29 20:46:12 -07:00
Craig Topper 8f195aec45 Bug 577002 Part 3: Make various ImportRule functions non-virtual and cleanup some return types. r=bzbarsky 2011-03-17 13:41:52 -04:00