Граф коммитов

124 Коммитов

Автор SHA1 Сообщение Дата
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) ab1b3db5e6 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
L. David Baron ce5bae4097 Add missing break (Bug 398962) r=bzbarsky 2011-06-12 18:52:32 -07:00
Craig Topper 5861c8fee0 Bug 648925 - Part 5: Make nsCSSKeyframeRule use inherited AddRef/Release from Rule. r=bzbarsky 2011-05-06 00:33:57 -07:00
Craig Topper 878fd75b31 Bug 648925 - Part 4: DeCOMtaminate GetDOMRule and GetDOMRuleWeak. r=bzbarsky 2011-04-07 23:36:09 -07:00
Craig Topper 8d9497a824 Bug 648925 - Part 3: Factor some common method bodies into css::Rule. r=bzbarsky 2011-04-11 19:46:35 -07:00
Craig Topper a366a29ece 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 28bd394604 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
L. David Baron e5934eca2e 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 8e14793054 Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky 2011-04-28 10:21:37 -07:00
Boris Zbarsky 6fe7aab98c Bug 649163. Stop refcounting the return values from GetCSSParsingEnvironment, where possible. r=dbaron
--HG--
extra : rebase_source : 13d75f3954dd1597d58f7741ac8cfc4de51ebe46
2011-04-27 16:53:49 -04:00
L. David Baron ffc5ced2fc 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 e96d9c92da 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 058a80b273 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 dbff9d529d Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron 8b0b392e7a Fix style rule inheritance macros. (Bug 435442, patch 4) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron 7131773be8 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 508c107c8f Bug 645956 - Part 5: Remove NS_NewCSSCharsetRule, r=bzbarsky 2011-03-22 23:20:09 -07:00
Craig Topper fae2ff768e 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 3954d790c7 Bug 645956 - Part 3: Remove NS_NewCSSNamespaceRule, r=bzbarsky 2011-03-22 22:23:04 -07:00
Craig Topper 592772b0d6 Bug 645956 - Part 2: Remove NS_NewCSSImportRule, r=bzbarsky 2011-03-22 22:22:59 -07:00
Craig Topper 247eec6f18 Bug 577976 - Part 5: Remove AddRef from GetStyleSheet, r=bzbarsky 2010-08-07 22:33:15 -07:00
Craig Topper 5d21e90225 Bug 577976 - Part 4: Move AddRef/Release back to nsCSSRule, r=bzbarsky 2011-03-17 22:18:08 -07:00
Craig Topper 1761a6f4c0 Bug 577976 - Part 3: Rename nsCSSRule and put in css namespace, r=bzbarsky
--HG--
rename : layout/style/nsCSSRule.h => layout/style/Rule.h
2011-03-06 19:59:03 -08:00
Craig Topper e5acfe6b19 Bug 577976 - Part 2: Remove forwarding methods to nsCSSRule from Rule classes, r=bzbarsky 2010-08-07 22:30:57 -07:00
Craig Topper a1e678f59b 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 8471ba83fd Bug 577974 - Part 4: DeCOM and de-virtualize methods in GroupRule, r=bzbarsky 2010-08-07 22:29:28 -07:00
Craig Topper 4f3b570428 Bug 577974 - Part 3: Rename nsCSSDocumentRule and nsCSSMediaRule, r=bzbarsky 2011-03-17 22:18:08 -07:00
Craig Topper ba94c59f46 Bug 577974 - Part 2: Remove nsICSSGroupRule, r=bzbarsky
--HG--
rename : layout/style/nsICSSGroupRule.h => layout/style/GroupRule.h
2010-08-07 22:28:33 -07:00
Craig Topper 8b1d4ff8bf Bug 577974 - Part 1: Rename CSSGroupRuleListImpl. r=bzbarsky 2010-08-07 22:23:17 -07:00
L. David Baron aaf96ddd6d Don't call SetSheet with a null sheet. (Bug 645951) r=bzbarsky 2011-03-29 20:46:12 -07:00
Craig Topper 1f2acc01f9 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 435a97bcbe Bug 577002 Part 2: Remove nsICSSImportRule. r=bzbarsky
--HG--
rename : layout/style/nsICSSImportRule.h => layout/style/ImportRule.h
2011-03-17 13:41:52 -04:00
Craig Topper 8bb0fba53b Bug 577002 Part 1: Rename CSSImportRuleImpl to mozilla::css::ImportRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper 593acaf148 Bug 576877 Part 3: De-virtualize methods in NameSpaceRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper b187409e0b Bug 576877 Part 2: Remove nsICSSNameSpaceRule. r=bzbarsky
--HG--
rename : layout/style/nsICSSNameSpaceRule.h => layout/style/NameSpaceRule.h
2011-03-17 13:41:52 -04:00
Craig Topper 0ce0277213 Bug 576877 Part 1: Rename CSSNameSpaceRuleImpl to mozilla::css::NameSpaceRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
L. David Baron 05117387fb 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 0428eed0da 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 41bfde5126 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 f970abf55d 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 bc58e80a26 Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron 2010-07-23 11:00:27 -07:00
Zack Weinberg ccdce3a45d Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg c1bd367c86 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Craig Topper bd1ab3db86 Bug 575900 - Remove unneeded QIs from CSS Rule classes. r=bz 2010-07-18 22:23:12 +02:00
Craig Topper 061005a298 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 f759645c9b 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 1ff3d04ed2 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 2fcf298bd1 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
Craig Topper 99b0743754 Bug 569189. Remove unneeded QIs for style sheets, part 2. r=dbaron 2010-06-01 11:51:40 +12:00
Craig Topper f73eb4636e Bug 569189. Remove unneeded QIs for style sheets. r=dbaron 2010-06-01 11:51:06 +12:00