L. David Baron
04a2340b4d
Bug 822721 followup: remove bogus assertion to fix orange.
2013-01-09 08:51:14 -08:00
L. David Baron
38ab2a49a6
Fix bustage from bug 822721.
2013-01-08 20:53:16 -08:00
L. David Baron
7ca32cab95
Bug 827704: Fix 'visibility' animation so that it doesn't animate between values when one of them is not 'visibile'. r=bzbarsky
2013-01-08 20:37:29 -08:00
L. David Baron
9814666177
Bug 827579: Remove post-resolve callback concept from style system. r=bzbarsky
2013-01-08 20:37:29 -08:00
L. David Baron
328a3e5be7
Bug 822721: Call CalcStyleDifference and process the style change list resulting from the miniflush we do to update throttled animations prior to seeing if we need to start transitions. r=bzbarsky
...
The CalcStyleDifference call is absolutely necessary even if we didn't
need to process the change list, because it causes the new style
context to have cached structs that we might need for a later
comparison. This is important because, as an optimization, we only
compare structs that have been retrieved. This optimization requires
that when we replace a style context, we fetch all the structs on the
new style context that had been fetched on the old style context (which
is normally necessary anyway in order to do comparison so we can process
the changes appropriately).
However, actually processing the change list is also necessary to fix
the bug; it's the actual change from the miniflush that matters here.
Based on dholbert's debugging information, I think it's mostly likely
because we were failing to process the UpdateOverflow hint.
2013-01-08 20:37:29 -08:00
Daniel Holbert
87223f36ee
Bug 829112: Fix "comparison between signed and unsigned integer expressions" warnings in nsStyleSet.cpp. r=bz
2013-01-10 10:40:53 -08:00
Daniel Holbert
13884b7d1d
Bug 828838: Fix nsCSSRuleProcessor init-list order. r=heycam
2013-01-10 07:55:43 -08:00
Cameron McCormack
4f4a1d1d74
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
c2964df438
Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron
2013-01-09 10:25:48 +11:00
Cameron McCormack
a448143019
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
42c46424b4
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
4a4eda5e13
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
2f72089890
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
c067646b00
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
John Daggett
fe983be1cc
Bug 605231 - Don't parse unquoted reserved keywords 'initial' or 'default' in font family names. r=dbaron
2013-01-08 17:13:17 +09:00
John Daggett
69561f8ae3
Bug 605231 - Move transform parsing code out of font property parsing code. r=dbaron
2013-01-08 17:13:17 +09:00
John Daggett
c19c961a4b
Bug 605231 - Tests for font family name parsing. r=dbaron
2013-01-08 17:13:16 +09:00
Cameron McCormack
f83b36df21
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
5000fec383
Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
e4d74ce02b
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
6b90406bb3
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-08 19:09:22 +11:00
Cameron McCormack
894a529cc1
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
cf1ba04fcb
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
Ehsan Akhgari
d807a8997a
Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc
2013-01-05 23:07:27 -05:00
Jet Villegas
2dcb0b50f3
Bug 822854: Crash [@ nsRuleNode::ComputeColumnData] with -moz-column-rule-color: inherit r=heycam
2013-01-04 16:30:15 -08:00
Jet Villegas
480e7cc1c8
Bug 822854: Crash [@ nsRuleNode::ComputeColumnData] with -moz-column-rule-color: inherit r=heycam
2013-01-04 16:17:33 -08:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Jeff Muizelaar
47c921e73e
Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
...
This doesn't switch all of the users yet, but is a step in the right
direction.
--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
Nicholas Nethercote
b7723e3c58
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Mike Hommey
970436c3f8
Bug 821618 - Fix build failure with some compilers due to nsComputedDOMStyle::GetPropertyCSSValue definition. r=bz
2012-12-14 18:40:38 +01:00
Matt Woodrow
716946b5d9
Backout changeset e8f5182d94c5 (Bug 805343) for regressing android talos tests
2012-12-14 11:50:57 +13:00
Trevor Saunders
2d1d432957
bug 798567 - convert css values to webidl r=bz
2012-10-01 12:49:41 -04:00
Ms2ger
2536d3e260
Bug 820864 - Fix new build warnings in nsTransitionManager.cpp; r=nrc
2012-12-12 20:32:29 +01:00
Nicholas Cameron
daa58006c6
Bug 797520; improve OMTA logging. r=cjones
...
--HG--
extra : rebase_source : 25adf63183d996433b9b6b68ccf195820f662ca1
2012-12-12 10:12:47 +13:00
Nicholas Cameron
c54f8d4754
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Robert O'Callahan
f3332e603a
Bug 805343. Identify DisplayItemDatas that are completely hidden by other opaque content in their ThebesLayer, and ignore them when we check to see whether there's an image we might need to invalidate. r=mattwoodrow
...
--HG--
extra : rebase_source : 7e68dc33324d8ff26286723bdbaaea18060354ac
2012-12-10 18:47:33 +13:00
Jonathan Kew
a294160dcc
bug 816483 - cache instantiated user fonts and share them across pages that use the same resources. r=roc
2012-12-10 09:31:07 +00:00
Daniel Holbert
7fa8f1dacd
Bug 783409: Enable "layout.css.flexbox.enabled" pref. r=dbaron
2012-12-07 10:58:34 -08:00
Daniel Holbert
dc33e393e8
back out 75cab729c971 because it landed with the wrong bug number
2012-12-07 11:15:27 -08:00
Daniel Holbert
fb0c7c3a70
Bug 783490: Enable "layout.css.flexbox.enabled" pref. r=dbaron
2012-12-07 10:58:34 -08:00
Robert O'Callahan
8e7070bef2
Bug 816458. Instead of removing the MAY_BE_TRANSFORMED bit in certain frame classes, add an nsIFrame::SupportsCSSTransforms method and call it when necessary. r=mats
2012-12-04 17:50:05 +13:00
Boris Zbarsky
b8f5cf0684
Bug 648722 part 2. Make :scope match the context node for selectors API calls. r=dbaron
2012-12-04 23:15:47 -05:00
Boris Zbarsky
cd6c640261
Bug 648722 part 1. Add a :scope pseudo-class that just matches the same thing as :root for now. r=dbaron
2012-12-04 23:15:47 -05:00
Eric Wong
cee09a8520
Bug 763001 - Typo in layout/style/nsCSSPseudoClassList.h. r=jaws
2012-12-03 22:32:27 -08:00
Patrick McManus
aef0638b1c
bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz
2012-12-04 18:06:29 -05:00
Mats Palmgren
924e59e0d0
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Edwin Flores
0c9f80a9ea
Bug 789390 - Fix crash when using -moz-objectStroke paint value with transitions r=dbaron
2012-09-24 00:10:00 +12:00
Ms2ger
0a0b1561d2
Bug 810668 - Fix some gcc4.6 build warnings; r=bz
2012-12-02 09:54:55 +01:00
Cameron McCormack
5bab670499
Bug 816720 - Allow CSSRule.insertRule to insert non-style rules. r=bz
2012-12-01 15:10:45 +11:00
Boris Zbarsky
fcf0a3e4fb
Bug 811021. Tell catalog sheets they have the document as an owning node so they won't get double-counted by memory reporters. r=dbaron
2012-11-29 18:24:04 -05:00
Boris Zbarsky
f0c76c3f82
Bug 815671 part 7. Fixes to layout code to not copy arrays implicitly. r=roc
2012-11-29 11:14:14 -05:00
Cameron McCormack
169d8c6267
Bug 816431 - Add unprefixed CSSRule.KEYFRAME{,S}_RULE constants. r=bz
2012-11-29 18:57:32 +11:00
Kyle Huey
83feb11ffb
Bug 812824: Use a clean struct for inheritance on root nodes. r=dbaron,Waldo
2012-11-28 13:21:36 -08:00
Cameron McCormack
557949bf7e
Bug 815021 - Implement MediaRule.conditionText setter. r?
2012-11-27 16:30:31 +11:00
Cameron McCormack
76405ff947
Bug 814907 - Add new CSS GroupingRule and ConditionRule interfaces. r=bz
2012-11-27 16:30:30 +11:00
Cameron McCormack
4a54741fec
Bug 815499 - Force @supports pref on for test_supports_rules.html. r=bz
2012-11-27 16:30:29 +11:00
David Zbarsky ext:(%2C%20David%20Baron%20%3Cdbaron%40dbaron.org%3E%2C%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
49219cce40
Bug 788409: When the compositor runs past the end of an animation, just fill forwards until the main thread catches up. r=dbaron a=blocking-basecamp
2012-11-22 15:49:06 -08:00
Cameron McCormack
4a492da39b
Bug 814310 - Force pref on for @supports reftests and skip mochitest if pref not set. r=bz
2012-10-06 11:17:02 +10:00
L. David Baron
f75d9419d4
border-image-* properties should clamp negative calc(). (Bug 802279) r=jwalden
2012-11-21 21:51:39 -08:00
Nils Maier
9f3f38d2c9
Bug 812887 - Fix nsUserFontSet not dropping the channel when nsIChannel::AsyncOpen fails. r=bz
2012-11-21 13:31:57 -05:00
Simon Montagu
07e8a16de0
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv.
2012-11-21 02:13:57 -08:00
Seth Fowler
cd421a0e5e
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
L. David Baron
2d99cbf924
Bug 813373, patch 4: fix printfs that crept in in patch 3.
2012-11-20 13:22:35 -08:00
L. David Baron
43366dc10f
Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky
2012-11-20 11:55:14 -08:00
L. David Baron
f04e40072d
Bug 813373, patch 1: Remove pres context parameters from nsStyleAnimation::UncomputeValue. r=dholbert
2012-11-20 11:55:14 -08:00
Mounir Lamouri
bc72f9ee9e
Bug 810796 - Fix invalid CSS in forms.css. r=bz
2012-11-20 18:21:39 +00:00
Phil Ringnalda
54e6244801
Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange
2012-11-20 08:44:04 -08:00
Simon Montagu
ef21364c12
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv
2012-11-20 06:21:15 -08:00
John Schoenick
afe0548a59
Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh
2012-11-19 11:38:03 -08:00
Zack Weinberg
f6d51ce9b0
Bug 229827: escape unprintable characters in CSS parser diagnostics. r=dbaron
2012-11-16 21:53:38 -05:00
Ryan VanderMeulen
8a64b526bc
Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
...
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
04aa42be23
Bug 229827: escape unprintable characters in CSS parser diagnostics. r=dbaron
...
--HG--
extra : rebase_source : 9298095c2cd7669b5ca1a07cd5378a852c4a7f36
2012-11-16 15:29:21 -05:00
Ms2ger
332116e1c8
Bug 812344 - Don't use a qualified enum in CSSParserImpl::ParseDeclaration; r=roc
2012-11-16 08:30:18 +01:00
Robert O'Callahan
65b20a64a3
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow
...
--HG--
extra : rebase_source : c9141ba46d034fc496a3e9e33efce5b022bec41c
2012-11-08 10:05:32 -05:00
Zack Weinberg
b63ce42eb9
Bug 455839: simplify the CSS error reporting API. r=dbaron
2012-11-15 11:36:15 -05:00
Zack Weinberg
662e668d9f
Bug 516091: Split CSS error reporting to its own file and class. Allows CSS scanner to become a stack object. r=dbaron
2012-11-15 11:36:15 -05:00
Henri Sivonen
d8f35376f4
Bug 796882 - Implement CSS charset handling according to CSS3 Syntax. r=bzbarsky.
2012-11-15 10:47:30 +02:00
Benoit Jacob
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
7cc7c472e5
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
06bfb63973
Bug 806279 - CC macros refactoring: part 2: generic BEGIN_ macros folding in the NATIVE case - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Ryan VanderMeulen
98268dbc6a
Backed out 8 changesets (bug 810470) due OSX reftest failures.
2012-11-14 22:14:44 -05:00
Brendan Dahl
6adcd0523c
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Robert O'Callahan
b528a1b610
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow
...
--HG--
extra : rebase_source : 2a4f44b98000d52301053c685e50f81e251e7e8c
2012-11-08 10:05:32 -05:00
Boris Zbarsky
05ba9f02c1
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Cameron McCormack
28fd36a685
Bug 811581 - Add a base class for all *RuleProcessorData classes. r=bz
2012-11-15 06:09:01 +11:00
Ryan VanderMeulen
9cb0f91d55
Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures.
2012-11-13 20:19:18 -05:00
Brendan Dahl
ec5ca0d279
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Andrew McCreight
fa6de6f241
Bug 810103 - Make nsCSSStyleSheet::mRuleCollection into an nsRefPtr. r=bz
2012-11-12 11:19:01 -08:00
Luke Wagner
24bb8ac700
Bug 810192 - don't require a default constructor for Hash{Map,Set}; only construct objects for live elements (r=terrence)
2012-11-12 15:30:39 -08:00
Jesse Ruderman
8b32923325
Testcase for bug 806310.
2012-11-09 20:18:36 -08:00
L. David Baron
1db0bbcf60
Fix CheckFontCallback to match 'rem' unit changes. (Bug 806310) r=bzbarsky
2012-11-09 20:18:36 -08:00
L. David Baron
8ebe785103
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
8644ce2020
Bug 556145 - Use opacity instead of GrayText for ::-moz-placeholder UA's style. r=bz,davidb
2012-11-09 10:30:54 +00:00
Mounir Lamouri
f7ee629089
Bug 737786 - 5/5 - Add pointer-events: none; in ::-moz-placeholder styling and test it. r=bz
2012-11-09 10:27:03 +00:00
Mounir Lamouri
b172bb3de1
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
Mounir Lamouri
a69affa1ba
Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz
2012-11-09 10:24:23 +00:00
Mounir Lamouri
8edfbaf7e4
Bug 737786 - 1/5 - Show/hide placeholder based on display lists instead of CSS class. r=bz
2012-11-09 10:22:29 +00:00
Jonathan Kew
db6979f76c
bug 774560 pt 2 - implement text-transform:full-width. r=smontagu
2012-11-09 09:43:48 +00:00
Daniel Holbert
bc2b8feb07
Bug 790903: Accept unitless 0 as 'flex-basis' component in 'flex' shorthand. r=dbaron
2012-11-08 17:27:47 -08:00
Mats Palmgren
25ea524bba
Bug 685012 - Implement page-break-inside:avoid in the style system. r=dbaron
2012-11-08 17:09:37 +01:00
Daniel Holbert
40b7aac450
Bug 794748: Add mochitest to check computed value of "min-width:auto" and "min-height:auto". r=dbaron
2012-11-07 13:32:53 -08:00
L. David Baron
cc4392ab07
Bug 572200, part 3: Cache data that lives in the rule tree on every relevant rule node that has a style context directly pointing to it directly. r=bzbarsky
2012-11-07 11:55:53 -08:00
L. David Baron
77488fc894
Bug 572200, part 2: Allow rule nodes to cache data owned by an ancestor rule node: don't destroy structs that we don't own. r=bzbarsky
2012-11-07 11:55:53 -08:00
L. David Baron
559e6b289a
Bug 572200, part 1: Make rule nodes know whether they're used directly by a style context. r=bzbarsky
2012-11-07 11:55:53 -08:00
Daniel Holbert
0038724369
Bug 783415 part 2: Add mochitest to check the computed value of various specified "display" values on flex-container-children. r=dbaron
2012-11-07 11:29:00 -08:00
Daniel Holbert
b4b593c4d3
Bug 783415 part 1: Make "display" value of flex items compute to their blockified forms. r=dbaron
2012-11-07 11:28:59 -08:00
Ed Morley
33efb139e8
Bug 701060 - Disable test_bug401046.html & test_lang.xhtml for too many intermittent failures
2012-11-06 22:26:56 +00:00
Matt Woodrow
ced424bb37
Bug 798964 - Don't invalidate nsDisplayBackgroundColor if only the image changed. r=roc
2012-11-07 11:04:53 +13:00
Robert O'Callahan
9a45cc9183
Bug 796452. Add mozpasspointerevents attribute for IFRAMEs in chrome windows. r=mats
2012-11-02 23:42:59 +13:00
Chris Lord
f3f7e1b020
Bug 797021 - Allow unsigned start parameter in NS_FOR_VISIBLE_BACKGROUND_LAYERS_BACK_TO_FRONT_WITH_RANGE. r=me
...
This was causing build failures on debug builds, as unsigned compare >= 0 is
always true.
2012-11-02 09:28:03 +00:00
Jet Villegas
a55ebc12a4
Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert
2012-10-30 16:57:36 +01:00
Jet Villegas
1958bd71d6
Bug 806068 part 1: Add support for unprefixed "initial" keyword in CSS (retaining prefixed keyword as an alias, for now). r=dholbert
2012-10-30 16:40:33 +01:00
Boris Zbarsky
a14a96d2cf
Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron
2012-10-30 17:14:06 -04:00
Nathan Froyd
4c61ef9ec5
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Gabor Krizsanits
11266e6b35
Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz
2012-10-29 12:21:15 +01:00
L. David Baron
3325f882d7
Add preferences (defaulting to enabled, for now) to control whether certain prefixed aliases for CSS properties are supported, so that authors can have a way to test what happens when they're turned off in advance of our disabling them. (Bug 804944) r=bzbarsky
2012-10-26 19:04:20 +02:00
L. David Baron
37f22adf75
Bug 804970, patch 6: Don't force rem units out of the rule tree. r=bzbarsky
2012-10-26 19:04:20 +02:00
L. David Baron
12c8120dc8
Bug 804970, patch 5: Handle dynamic changes to the basis for 'rem' units by rebuilding all style data. r=bzbarsky
2012-10-26 19:04:20 +02:00
L. David Baron
0fac8d37bf
Bug 804970, patch 3: Don't force vw/vh/vmin/vmax units out of the rule tree. r=bzbarsky
2012-10-26 19:04:20 +02:00
L. David Baron
fb3133d38e
Bug 804970, patch 2: Add test for dynamic changes of viewport units. r=bzbarsky
...
--HG--
rename : layout/style/test/test_rem_unit.html => layout/style/test/test_viewport_units.html
2012-10-26 19:04:20 +02:00
L. David Baron
26b86aa5e3
Bug 804970, patch 1: Don't force calc() units out of the rule tree. r=bzbarsky
...
This moves the calc() handling above the aCanStoreInRuleTree = false,
which it had no reason to be below.
calc() units are still forced out of the rule tree when there's an em,
ex, or rem unit inside the calc() structure, since aCanStoreInRuleTree
is passed through to the leaf CalcLengthWith calls.
2012-10-26 19:04:20 +02:00
Nikhil Marathe
1acf12dfe6
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
03b0de5c8a
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Jonathan Kew
fcf46d88fe
bug 804644 - convert Cocoa points to _un_scaled device pixels for system font sizes. r=roc
2012-10-23 21:09:23 +01:00
Nick Hurley
3b308213ec
Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman
2012-10-22 10:51:07 -07:00
Mats Palmgren
3b1169b70e
Bug 798853, style system. r=roc,dbaron
2012-10-22 15:53:31 +02:00
Seth Fowler
ed0c222ddd
Bug 503720: Implement vw/vh/vmin/vmax. r=dbaron
2012-10-19 16:21:06 -07:00
Peter Van der Beken
e4c543b77c
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Boris Zbarsky
7cca383dd4
Bug 799796. Do memory reporting for stylesheets that only the CSS loader might know about. r=dbaron,njn
2012-10-17 17:01:56 -04:00
Boris Zbarsky
05fd81befd
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
Boris Zbarsky
255b11d2cd
Bug 795520. Don't fail to return a computed CSS declaration just because the style change that will give us a presshell has not been processed yet. r=dbaron
...
Another, more risky, option would be to always return a declaration
from getComputedStyle, even if we have no presshell, then just throw
(after flushing, as needed) if people try to get style info for it
just like we already do for declarations whose document loses a
presshell. This might cause compat issues on sites that can deal with
null but not exceptions, though. :(
2012-10-17 17:01:56 -04:00
Emmanuele Bassi
412ec49d18
Bug 784467 - Switch computed style's url(invalid-url:) to [css3-values]'s url(about:invalid). r=dbaron
2012-10-17 15:33:57 -04:00
Gabor Krizsanits
5d3a0e3c38
Bug 676054: part3: nsStyleSheetService::GetInstance. r=bz
2012-10-16 21:45:56 +02:00
Gabor Krizsanits
a731451bde
Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz
2012-10-16 21:45:50 +02:00
Emmanuele Bassi
c8c63750f6
Bug 784466 - [css3-animations] Drop declarations in keyframe rules that have !important. r=dbaron
2012-10-16 09:21:35 -07:00
Daniel Holbert
f6b7d73947
Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron
2012-10-15 12:42:43 -07:00
Nicholas Nethercote
33aebdc9f2
Bug 800187 (part 1) - Add memory reporter for the nsStyleSheetService. r=bz.
...
--HG--
extra : rebase_source : fc5c04daa0fd919f11470b090e38e9e8a5f19db6
2012-10-11 21:05:38 -07:00
Jeff Muizelaar
89f298eb02
Bug 799335. Rename nsStyleImage::RequestDecode to StartDecoding. r=dholbert
...
Now that RequestDecode call StartDecoding this make more sense.
--HG--
extra : rebase_source : ded757b8c90cbc4e5d221c79d2704105e1051183
2012-10-12 16:04:03 -04:00
Josh Matthews
c8eb573b6f
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-12 12:11:23 -04:00
Josh Matthews
b84562cef3
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
138935b14a
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Josh Matthews
fcd1ce5c84
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
abbb0715c2
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-11 21:34:23 -04:00
Daniel Holbert
a0ca51613a
Bug 799775 part 2: Add decl to inherit "-moz-order" on table outer frames in ua.css. r=dbaron
...
--HG--
rename : layout/style/test/file_flexbox_order.html => layout/style/test/file_flexbox_order_table.html
rename : layout/style/test/test_flexbox_order.html => layout/style/test/test_flexbox_order_table.html
2012-10-11 14:33:24 -07:00
Daniel Holbert
6aef003494
Bug 799775 part 1: General mochitest for 'order' property reordering items in a flex container. rs=dbaron
2012-10-11 14:33:24 -07:00
David Zbarsky
4085f74a3f
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Nicholas Nethercote
00e9bd3387
Bug 768901 - Don't double-count shared nsCSSStyleSheetInners. r=bz.
...
--HG--
extra : rebase_source : f8ba1cce0b4b12915bc5faf2f9edfd56a5305178
2012-10-09 20:03:18 -07:00
Jeff Walden
85c3da4e2b
Eliminate a few nullptr-to-bool conversions to avoid a clang warning (which we upgrade to error) in some clang revs. No bug, r=sparky
...
--HG--
extra : rebase_source : 6b45c8e1dd07449a5ebc34704c19e05fe155f628
2012-10-09 16:14:42 -07:00
Robert O'Callahan
90b99242be
Bug 816359. Part 2: Make nsStyleDisplay::HasTransform take a frame parameter and check that the frame supports transforms. r=mats"
2012-12-31 11:45:57 +13:00