Joshua Cranmer
697498ab75
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Trevor Saunders
6d162c470d
bug 856779 - make nsStyleSet::Init() return void r=dholbert
2013-03-31 18:08:29 -04:00
Boris Zbarsky
bf10c23520
Bug 607441 part 2. Mark the scoped sheet rule processor dirty when author styles are enabled or disabled. r=dbaron
2013-03-27 22:47:26 -04:00
Boris Zbarsky
4abc3be327
Bug 607441 part 1. Don't disable SVG presentational attributes when page styles are disabled. r=dbaron,jwatt
2013-03-27 22:47:25 -04:00
Benoit Girard
f4b3710284
Bug 851611 - Part 3: Rename headers. r=jrmuizel
2013-03-18 15:25:50 +01:00
Benoit Girard
4146042cfd
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
2013-03-16 00:47:02 -04:00
Ed Morley
90c9bf415e
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
627fcd7895
Backed out changeset d195190adc48 (bug 851611)
2013-03-18 14:10:30 +00:00
Benoit Girard
0b880319f3
Bug 851611 - Part 3: Rename headers. r=jrmuizel
2013-03-18 14:41:02 +01:00
Benoit Girard
6d0dfa5b89
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
2013-03-16 00:47:02 -04:00
David Zbarsky
1c27c4d045
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Daniel Holbert
5a44241678
Bug 812822 part 3: Add a TreeMatchContext flag to indicate that we should skip flex item style fixup, and use it when framing anonymous content in ConstructFrame(). r=bz
2013-02-20 23:35:03 -08:00
Daniel Holbert
78ddb0a6c3
Bug 812822 part 2: Skip flex-item style fixup when resolving style for pseudo-elements. r=bz
2013-02-20 23:35:02 -08:00
Daniel Holbert
48da2bbf1f
Bug 812822 part 1: Add flag 'eSkipFlexItemStyleFixup' to let our nsStyleContext creation functions skip the flex-item-specific chunk of ApplyStyleFixups(). r=bz
2013-02-20 23:34:58 -08:00
L. David Baron
ca6c366dc6
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
L. David Baron
aac304acbb
Bug 781360 patch 2: Rename nsRuleNode::GetPresContext to PresContext, since it can never return null. r=dholbert
2013-02-16 13:04:54 -08:00
L. David Baron
a23c632b48
Bug 781360 patch 1: Rename nsStyleContext::GetRuleNode to RuleNode, since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
nsStyleContext's rule node is never null because we require a rule node
in order to construct a style context.
2013-02-16 13:04:53 -08:00
Daniel Holbert
d20ea3c090
Followup for Bug 840317: use an unsigned loop variable when iterating up to an unsigned value, to fix warnings-as-errors build error. r=bustage,trivial CLOSED TREE
2013-02-11 17:27:14 -08:00
Cameron McCormack
a66c7bac8a
Bug 840317 - Re-evaluate media queries in scoped style sheets. r=dbaron
2013-02-12 11:48:44 +11:00
Daniel Holbert
e42848d220
Bug 836604: Collapse nsStyleSet::GetContext()'s boolean parameters into a 'flags' parameter. r=bz
2013-02-01 08:02:29 -08:00
David Zbarsky
506bcc0ab0
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00
Daniel Holbert
5fdda962ba
Bug 829112: Fix "comparison between signed and unsigned integer expressions" warnings in nsStyleSet.cpp. r=bz
2013-01-10 10:40:53 -08:00
Cameron McCormack
c3aabb8cc2
Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron
2013-01-09 10:25:48 +11:00
Cameron McCormack
928f53fb61
Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
27ece3d947
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
b34c426f37
Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
a1b3b0001b
Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
7acdf057ce
Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE.
2013-01-08 19:36:21 +11:00
Cameron McCormack
c5a68a5dc2
Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
735e7f6646
Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
b525ea3869
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-08 19:09:22 +11:00
Cameron McCormack
f0e1195f0a
Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron
2013-01-08 19:09:22 +11:00
Cameron McCormack
1d7fa13b6a
Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron
2013-01-08 19:09:22 +11:00
Boris Zbarsky
79d8607314
Bug 822766. Be a bit more careful with our level assert in ReplaceAnimationRule. r=dbaron
2012-12-22 00:27:27 -08:00
Nicholas Cameron
6edbdb7f5a
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
2012-12-12 10:12:43 +13:00
L. David Baron
229cfce8e4
Bug 813373, patch 4: fix printfs that crept in in patch 3.
2012-11-20 13:22:35 -08:00
L. David Baron
9727e2c0c0
Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky
2012-11-20 11:55:14 -08:00
Brendan Dahl
7e5f38db9d
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Cameron McCormack
1c716ff434
Bug 811581 - Add a base class for all *RuleProcessorData classes. r=bz
2012-11-15 06:09:01 +11:00
Ryan VanderMeulen
5240f9d681
Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures.
2012-11-13 20:19:18 -05:00
Brendan Dahl
a41fcdd8da
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
L. David Baron
9c06e44b1f
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
507ad1b9ab
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
e8d55165ec
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
f4370f3911
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
Gabor Krizsanits
84d59b38a4
Bug 676054: part3: nsStyleSheetService::GetInstance. r=bz
2012-10-16 21:45:56 +02:00
Gabor Krizsanits
2766760a79
Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz
2012-10-16 21:45:50 +02:00
L. David Baron
1c76cae9f7
Remove aPresContext parameter to nsStyleContext constructor and document parameters to constructor. (Bug 791416) r=bzbarsky
2012-09-18 11:37:13 -07:00
L. David Baron
96f9601525
Add more profile labels for the separate parts of restyle processing. (Bug 790379) rs=cjones
2012-09-14 14:12:34 -07:00
L. David Baron
c6cda401d5
Make author !important rules override CSS animations. (Bug 783714) r=bzbarsky
...
This was resolved at the CSS Working Group meeting on 2012-08-15.
2012-08-29 18:27:01 -07:00