Gabriel Luong
0db3e380b1
Bug 591303 - Part 3: Set line and column number for all rules in nsCSSParser. r=bz
2014-07-14 15:57:54 -07:00
Birunthan Mohanathas
ad2cce83e8
Bug 591303 - Part 2: Add getCSSRule function to nsIDOMCSSRule. r=bz
2014-07-14 15:57:46 -07:00
Benoit Jacob
79c308b707
Bug 1035394 - Fix dangerous public destructors in layout - r=dbaron
2014-07-08 17:23:18 -04:00
Cameron McCormack
c5b5f9ebf6
Bug 1031153 - Move unicode-range descriptor serialization to nsStyleUtil. r=dbaron
2014-07-04 11:19:33 +10:00
Ms2ger
45efada15c
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
1ab8344d82
Backout revision 308e51eae10c for build bustage.
...
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
530bc74c8d
Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
...
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Xidorn Quan
ab361e10f1
Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz
2014-06-11 21:10:00 -04:00
Giovanni Sferro
b7a2ac3cac
Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz
...
--HG--
rename : layout/style/nsICSSRuleList.cpp => layout/style/CSSRuleList.cpp
rename : layout/style/nsICSSRuleList.h => layout/style/CSSRuleList.h
2014-06-09 22:11:00 -04:00
John Daggett
b569224dce
Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam
2014-06-06 15:09:23 +09:00
Birunthan Mohanathas
411a8639b4
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:50 +03:00
Ms2ger
76d4b3a6bf
Bug 995664 - Move CSSRuleList to WebIDL; r=bz
...
As CSSRuleList is the last consumer of nsArraySH and nsGenericArraySH, this
also removes those classes.
2014-05-03 09:32:54 +02:00
Boris Zbarsky
35fca5eeeb
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
L. David Baron
99fe2c6a0f
Bug 978648: Handle dynamic changes to @keyframes rules and keyframe rules better. r=heycam
2014-03-04 20:13:20 -08:00
Ehsan Akhgari
ebd358dfd7
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Cameron McCormack
72b756658d
Bug 731271 - Part 6: Add a chrome-only CSSDeclaration.getAuthoredPropertyValue() method to expose a property value in its original syntactic form. r=dbaron
2013-09-16 09:35:49 +10:00
Cameron McCormack
29ef1c10ec
Bug 731271 - Part 4: Add ability for nsCSSValues to serialize themselves in their original syntactic form. r=dbaron
2013-09-16 09:35:49 +10:00
Ehsan Akhgari
4ff4da4197
Bug 938123 - Build layout/style in unified mode; r=roc
2013-11-14 21:42:57 -05:00
Ms2ger
13e017e4f4
Bug 921718 - Part b: Move MediaList to WebIDL; r=bz
2013-11-11 09:03:17 +01:00
Ms2ger
3e6b8f6896
Bug 923251 - Part i: Outparamdel nsMediaList::Clone; r=heycam
2013-11-11 09:00:55 +01:00
Masatoshi Kimura
6e9df15ac0
Bug 916871 - Remove classinfo bits for CSSGroupRuleRuleList. r=bz
2013-09-18 07:56:41 +09:00
Ehsan Akhgari
bdb172ee45
Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
...
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Ms2ger
5c2b63d2c7
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
68579be592
Bug 896277 - Don't return nsresult from GroupRule::AppendRulesToCssText; r=dbaron
2013-08-02 09:04:31 +02:00
Ms2ger
62183dfe63
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Mike Hommey
d01b5df996
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Ms2ger
38c131d4be
Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz
2013-07-24 09:27:17 +02:00
Catalin Iacob
4f03e5bb1a
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Andrew McCreight
2bdf1d7bcf
Bug 829817 - Cycle collect nsCSSPageRule. r=dbaron
2013-06-13 15:13:13 -07:00
Jon Coppeard
8a68ce4b84
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
John Daggett
18ea34f1e4
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
c80e8cd5c6
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
John Daggett
935216a597
Bug 549861. Implement support for @font-feature-values rule. r=dbaron
2013-05-13 18:45:37 +09:00
Boris Zbarsky
9c1973b5d2
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Masatoshi Kimura
e5e5a90814
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
David Zbarsky
2c3499b66c
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
L. David Baron
ba8841c136
Bug 841896: Rename CSSKeyframesRule.insertRule to appendRule to match spec change.
...
Note that this does not change the IID of nsIDOMMozCSSKeyframesRule
since neither the method signature nor semantics have changed; only the
name is different.
2013-02-15 21:38:34 -08:00
L. David Baron
f8ff60d603
Bug 765599: Make CSS insertRule methods throw SYNTAX_ERR when given an empty rule or more than one rule. r=bzbarsky
...
This implements the proposed spec clarification in
http://lists.w3.org/Archives/Public/www-style/2013Feb/0229.html which
makes us compatible with WebKit on the insertRule tests in this patch.
I confirmed that the test reports 7 failures without the patch, but
passes with the patch. (I'm a little disturbed by the way our
testharness.js integration elides runs of successive passes.)
2013-02-09 22:56:49 -08:00
Boris Zbarsky
2a81855e95
Bug 837031. When unlinking a keyframe rule, make sure to DropReference on its declaration. r=smaug
2013-02-06 14:24:04 +00:00
Boris Zbarsky
889e1ea478
Bug 774980. Hook up nsCSSKeyframeRule to cycle collection. r=smaug
2013-01-18 23:32:12 -05:00
Trevor Saunders
9f0ad48b28
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Brendan Dahl
d282d196eb
Bug 827591 - Be more careful changing declarations on page rules. r=dbaron
2013-01-09 10:33:09 -08:00
Trevor Saunders
a78d6c805a
bug 798567 - convert css values to webidl r=bz
2012-10-01 12:49:41 -04:00
Cameron McCormack
f0af12d6b2
Bug 816431 - Add unprefixed CSSRule.KEYFRAME{,S}_RULE constants. r=bz
2012-11-29 18:57:32 +11:00
Cameron McCormack
5923576757
Bug 815021 - Implement MediaRule.conditionText setter. r?
2012-11-27 16:30:31 +11:00
Cameron McCormack
a4292916ca
Bug 814907 - Add new CSS GroupingRule and ConditionRule interfaces. r=bz
2012-11-27 16:30:30 +11:00
L. David Baron
be38660c66
Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky
2012-11-20 11:55:14 -08:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00