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
Craig Topper
2c49365804
Bug 577002 Part 2: Remove nsICSSImportRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
97d98c95c9
Bug 577002 Part 1: Rename CSSImportRuleImpl to mozilla::css::ImportRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
aebe7f886b
Bug 576877 Part 3: De-virtualize methods in NameSpaceRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
404fe175b4
Bug 576877 Part 2: Remove nsICSSNameSpaceRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
Craig Topper
c4b510f192
Bug 576877 Part 1: Rename CSSNameSpaceRuleImpl to mozilla::css::NameSpaceRule. r=bzbarsky
2011-03-17 13:41:52 -04:00
L. David Baron
1fec453cc4
Add NS_FINAL_CLASS annotations to rule classes. r=bzbarsky Add virtual that I missed on nsCSSGroupRule. (Bug 596140) a=me
2010-09-18 12:15:31 -07:00
L. David Baron
7bcf1e0c10
Eliminate all virtual functions from nsCSSRule to eliminate its vtable pointer. (Bug 596140) r=bzbarsky a2.0=roc
2010-09-18 11:43:17 -07:00
Jonathan Kew
b0cc524110
bug 585718 - support -moz-font-feature-settings and -moz-font-language-override in nsCSSFontFaceStyleDecl::GetPropertyValue. r+a=dbaron
2010-08-23 11:32:03 +01:00
Ms2ger
621c7d4822
Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron
2010-08-15 11:19:34 -04:00
Zack Weinberg
fb8bbf2eb6
Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron
2010-07-23 11:00:27 -07:00
Zack Weinberg
367002c2df
Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
2010-06-28 15:49:35 -07:00
Zack Weinberg
867b6d344a
Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron
2010-06-28 15:49:35 -07:00
Craig Topper
45054c246a
Bug 575900 - Remove unneeded QIs from CSS Rule classes. r=bz
2010-07-18 22:23:12 +02:00
Craig Topper
5ca7d5f5b3
Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz
2010-07-18 16:39:20 +02:00
Jonathan Kew
355ace69be
bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron
2010-07-13 21:30:42 +01:00
Daniel Holbert
1c62ea87f0
Bug 574750: Use size_t for counter, in loops over contents of an nsCSSValue::Array. r=bz
2010-06-25 12:38:57 -07:00
Craig Topper
1d651a630e
Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
...
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)
2010-05-19 22:28:00 -04:00
Craig Topper
186ab3c152
Bug 569189. Remove unneeded QIs for style sheets, part 2. r=dbaron
2010-06-01 11:51:40 +12:00
Craig Topper
72fba4ed7d
Bug 569189. Remove unneeded QIs for style sheets. r=dbaron
2010-06-01 11:51:06 +12:00
Craig Topper
5ec7efbb3a
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Craig Topper
4a5942c63b
DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Peter Van der Beken
ca30200583
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
2010-01-12 14:08:43 +01:00
Peter Van der Beken
0ae62d1769
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
2010-03-17 16:09:05 +01:00
Jonas Sicking
6b5d698011
Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz
2010-03-08 07:45:00 -08:00
Zack Weinberg
5dd3db87bf
Bug 443976: Parsing support for the unicode-range: descriptor in @font-face. r=dbaron
2009-08-20 14:52:47 -07:00
L. David Baron
6dcdd25076
Avoid crashing on fontFaceRule.style.getPropertyValue('font-family') when there's no font-family descriptor. (Bug 482148) r=zweinberg
2009-03-09 16:14:34 -07:00
L. David Baron
1a50367f58
Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
7af84253de
Quote and escape contents of url() when serializing. (Bug 478160) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
469e7d6df1
Change nsStyleUtil::EscapeCSSString to nsStyleUtil::AppendEscapedCSSString, since almost all callers prefer append behavior anyway. (Bug 478160) r+sr=bzbarsky
2009-03-06 13:05:00 +09:00
L. David Baron
4bc903c074
Backed out changeset eec3076f3bab (Bug 474655, Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called) because we trigger the warning too much ourselves (Bug 475311)
2009-02-04 13:22:45 -08:00
L. David Baron
791b82e41a
Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called. (Bug 474655) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
Jeff Walden
82c3c74224
Bug 473911 - Crash due to too much recursion in nsCSSDocumentRule::URL::~URL. r+sr=dbaron
2009-01-16 15:33:57 -08:00