Daniel Holbert
42771dcfef
Bug 867454: Treat a flex container's ::before and ::after generated content nodes as flex items. r=bz
2013-05-02 14:04:47 -07:00
Aryeh Gregor
e78504c9a9
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Daniel Holbert
62f493f674
Bug 847211: When reparenting style contexts, skip flex-item style fixup if our element is the root of an anonymous subtree. r=bz
2013-04-16 08:33:41 -07:00
Joshua Cranmer
c763b1352e
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
1e1929f0f1
bug 856779 - make nsStyleSet::Init() return void r=dholbert
2013-03-31 18:08:29 -04:00
Boris Zbarsky
2d4598b39b
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
022d9c4763
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
6ed333dbb5
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
bbe4c3065e
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
4a0f5f39ca
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
90f13c7e56
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
David Zbarsky
c596ef885a
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Daniel Holbert
4987835a8d
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
dc9d1895ce
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
938d346252
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
5ef4421fa5
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
ed0e6eb8a7
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
8f3a364f1f
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
f41ff81c5c
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
85dbbf856b
Bug 840317 - Re-evaluate media queries in scoped style sheets. r=dbaron
2013-02-12 11:48:44 +11:00
Daniel Holbert
1afe51a6f8
Bug 836604: Collapse nsStyleSet::GetContext()'s boolean parameters into a 'flags' parameter. r=bz
2013-02-01 08:02:29 -08:00
David Zbarsky
6168609ec2
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00
Daniel Holbert
bccf9d2a1a
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
e94d9ec2e9
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
1e351dcb1e
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
343037880d
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
ecfc7c3212
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
9549910503
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
4129a6997c
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
3a91b6b9fc
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
51af9cdaa4
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
d0727939f7
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-08 19:09:22 +11:00
Cameron McCormack
df56da34c4
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
2113f619d0
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
04b5f33ba1
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
3575f84d30
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
L. David Baron
643f1a5461
Bug 813373, patch 4: fix printfs that crept in in patch 3.
2012-11-20 13:22:35 -08:00
L. David Baron
6bcf5f5075
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
fc1f8956b9
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Cameron McCormack
2302c9d358
Bug 811581 - Add a base class for all *RuleProcessorData classes. r=bz
2012-11-15 06:09:01 +11:00
Ryan VanderMeulen
b4426aaaa0
Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures.
2012-11-13 20:19:18 -05:00
Brendan Dahl
1ad7f91f17
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
L. David Baron
7f929eddbd
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
9c3b9fbc79
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
6a87d375cf
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
d3f9d1f8ce
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
87f73c1de7
Bug 676054: part3: nsStyleSheetService::GetInstance. r=bz
2012-10-16 21:45:56 +02:00
Gabor Krizsanits
b38c7dcb1a
Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz
2012-10-16 21:45:50 +02:00