Brian Birtles
a1ae304c59
Bug 1245748 - Add a variant of StyleAnimationValue::ComputeValues that takes an nsCSSValue; r=heycam
...
MozReview-Commit-ID: 83popM8E0Q4
--HG--
extra : rebase_source : efef274a8a2a21423e6c1931d9b92739272eb72a
2016-03-22 16:31:16 +09:00
Brian Birtles
b411ad9926
Bug 1245748 - Add nsStyleContext parameter to StyleAnimationValue::ComputeValue(s); r=heycam
...
StyleAnimationValue::ComputeValue(s) will automatically look up the style
context of the supplied element. This is mostly fine, but when we start using
this method in scenarios where we are building the initial style context
(as happens later in this patch series) it can easily land us in a situation
where we iterate indefinitely.
It would be better, instead, to just explicitly pass in the style context we
want to use, as we already do for StyleAnimationValue::ExtractComputedValue.
MozReview-Commit-ID: ZoVBlBRRBI
--HG--
extra : rebase_source : 9012cc2e405fc887f070fbfaa2f9853289882862
2016-03-22 16:31:09 +09:00
Brian Birtles
5785877883
Bug 1245260 - Add crashtest; r=hiro
...
MozReview-Commit-ID: IBe0zbsCJJy
--HG--
extra : rebase_source : 9045ca886302026220dec365e63203c538c14e9a
2016-03-24 09:04:53 +09:00
Daniel Holbert
1c58c1673f
Bug 1257661: Make the CSS parser accept "display:-webkit-inline-box" as an alias for "display:inline-flex". r=heycam
...
(We already map "display:-webkit-box" to "display:flex" in this way. This is just extending that existing support to cover the inline version.)
MozReview-Commit-ID: F7gH3QMSmn0
--HG--
extra : rebase_source : f97703f074ccdb5d97ad16c282be4d24c1fb0eff
2016-03-17 16:11:28 -07:00
Carsten "Tomcat" Book
5d83e31d04
merge mozilla-inbound to mozilla-central a=merge
2016-03-22 12:14:15 +01:00
Nick Alexander
e90bd4aabb
Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
...
MozReview-Commit-ID: 63yJGdgPbhe
--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Xidorn Quan
af785a12fd
Bug 968761 - Treat nested calc() as plain parenthesis. r=dbaron
...
MozReview-Commit-ID: Lwd56FaaDWx
--HG--
extra : rebase_source : f57ac5695e6e06c568ff4cb54304a2fd5716fc41
2016-03-03 10:05:37 +08:00
Mats Palmgren
3128937295
Bug 1248371 - [css-grid] Require that each track has a definite min- or max-sizing function when the track list contains a repeat(auto-fill/fit) track. r=dholbert
2016-03-17 17:27:55 +01:00
Geoff Brown
29977660c0
Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher
2016-03-17 10:00:48 -06:00
Jonathan Hao
7bee2c98a0
Bug 1235572 - Enforce SRI if content signature is enforced r=francois
...
* * *
[mq]: sri_fix
MozReview-Commit-ID: 8vY9J4j3Eog
* * *
[mq]: loadInfo
MozReview-Commit-ID: EZ8BUfCOXO6
* * *
[mq]: add-logs
MozReview-Commit-ID: 1jeyTq9nvlW
--HG--
extra : transplant_source : %8Dj%12f%16%F5%12%8E%FE%7C%02%274%2A%A0a%C8%CB2P
2016-03-16 11:13:26 +08:00
Cameron McCormack
7cc115e18c
Bug 1256210 - Part 3: Remove agent sheet by the end of test_additional_sheets.html. r=dbaron
2016-03-17 13:17:10 +11:00
Cameron McCormack
3f7c51c2ae
Bug 1256210 - Part 2: Convert test_additional_sheets.html and test_addSheets.html to mochitest-plain. r=dbaron
...
--HG--
rename : layout/style/test/chrome/additional_sheets_helper.html => layout/style/test/additional_sheets_helper.html
rename : layout/style/test/chrome/test_addSheet.html => layout/style/test/test_addSheet.html
rename : layout/style/test/chrome/test_additional_sheets.html => layout/style/test/test_additional_sheets.html
2016-03-17 13:17:10 +11:00
Cameron McCormack
69e11e6d9e
Bug 1256210 - Part 1: Factor out getting of services in test_additional_sheets.html. r=dbaron
...
MozReview-Commit-ID: GuODc7fnYVj
2016-03-15 18:38:07 +11:00
Nicholas Nethercote
a2f068b2ad
Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
...
This is easy because it's never needed.
--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Mike Shal
49c5290021
Bug 1256033 - Remove layout/style/test/Makefile.in; r=glandium
...
The css_properties.js rule can be converted into gen-css-properties.py,
which we can install with TEST_HARNESS_FILES instead of the
mochitest.ini manifest.
MozReview-Commit-ID: F7nf71ORWsS
2016-03-11 19:28:02 -05:00
Boris Chiou
efe45f15d3
Bug 1249219 - Part 3: Replace Pair<Element*, CSSPseudoElementType> with NonOwningAnimationTarget. r=birtles
...
--HG--
extra : rebase_source : 35e69a293cdb7a25ce579dbb453289ed3521e7e2
2016-03-21 16:49:50 +08:00
Mats Palmgren
725f3ced29
Bug 1258147 - Pierce through display:contents style context ancestors when looking for CB context to compare our writing-mode to. r=jfkthame
2016-03-21 16:56:07 +01:00
Xidorn Quan
60bcaa5c0b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan
f4ef02b391
Bug 1257121 part 1 - Use struct for passing some params of font metrics. r=jfkthame
...
MozReview-Commit-ID: FTJlYS3bbTa
--HG--
extra : rebase_source : f3df5f8ebe3f223abc62dc1ae1bf5f7830d63ab8
2016-03-21 11:59:36 +08:00
Daniel Holbert
00d43c6f13
Bug 1257938 part 3: Remove support for the "layout.css.sticky.enabled" pref (so we'll unconditionally support "position: sticky"). r=corey
...
MozReview-Commit-ID: 9jYcXkUvi8S
2016-03-20 23:06:53 -07:00
Daniel Holbert
42d59af359
Bug 1257938 part 2: Remove separation between test_position_sticky.html & its helper-file, now that it doesn't need to tweak a pref. r=corey
...
MozReview-Commit-ID: 7aUlaBP1OK
2016-03-20 23:06:42 -07:00
Daniel Holbert
0a77fd87dd
Bug 1257938 part 1: Adjust automated tests to assume position:sticky is unconditionally supported. r=corey
...
MozReview-Commit-ID: IfQatzWq7q5
2016-03-20 23:05:34 -07:00
Ehsan Akhgari
a36acab5c8
Bug 1256178 - Drop the moz prefix from the MozCSSKeyframeRule and MozCSSKeyframesRule interfaces; r=bzbarsky
2016-03-15 10:23:01 -04:00
L. David Baron
8c5857d870
Bug 1256500 - Root style contexts before calling ApplyStyleFixups. r=heycam
...
MozReview-Commit-ID: 8P4AyTCvhmW
2016-03-14 20:26:53 -07:00
Morris Tseng
0f88c1a15b
Bug 594933 - Part 2: Add support for calc() to line-height. r=dbaron
...
--HG--
extra : commitid : ISfJfHKpK5Z
2016-03-15 10:37:37 +08:00
Morris Tseng
99b819272d
Bug 594933 - Part 1: Let calc() supports number. r=dbaron
...
--HG--
extra : commitid : HWZIwem6z6u
2016-03-15 10:37:37 +08:00
L. David Baron
89ad8d0c53
Bug 1142531: Check more bits in nsStyleContext::MoveTo assertion. r=heycam
...
MozReview-Commit-ID: 455suOkmdj7
2016-03-14 10:27:05 -07:00
L. David Baron
a1dea9b4fc
Bug 1251797 - Don't fault struct out of rule tree if all of the potential physical property destinations already have a winning value in the cascade. r=heycam
...
I believe this is useful for cases like having logical properties in the
UA style sheet that are commonly overridden (e.g., margins on lists).
MozReview-Commit-ID: KxojbfMYq0f
2016-03-14 10:27:05 -07:00
L. David Baron
c54f49142c
Bug 649142 followup: Correct #undef. No review.
...
MozReview-Commit-ID: BjkVBufjlBQ
2016-03-14 10:27:04 -07:00
Ryan VanderMeulen
da1885e860
Merge inbound to m-c. a=merge
2016-03-12 15:23:38 -05:00
malayaleecoder
c10c9a9612
Bug 1252368 - Move resource files in layout/style/ into layout/style/res/ directory. r=nalexander
...
MozReview-Commit-ID: HdF06H2gJYY
--HG--
rename : layout/style/arrow-left.gif => layout/style/res/arrow-left.gif
rename : layout/style/arrow-right.gif => layout/style/res/arrow-right.gif
rename : layout/style/arrow.gif => layout/style/res/arrow.gif
rename : layout/style/arrowd-left.gif => layout/style/res/arrowd-left.gif
rename : layout/style/arrowd-right.gif => layout/style/res/arrowd-right.gif
rename : layout/style/arrowd.gif => layout/style/res/arrowd.gif
rename : layout/style/counterstyles.css => layout/style/res/counterstyles.css
rename : layout/style/forms.css => layout/style/res/forms.css
rename : layout/style/html.css => layout/style/res/html.css
rename : layout/style/noframes.css => layout/style/res/noframes.css
rename : layout/style/noscript.css => layout/style/res/noscript.css
rename : layout/style/number-control.css => layout/style/res/number-control.css
rename : layout/style/plaintext.css => layout/style/res/plaintext.css
rename : layout/style/quirk.css => layout/style/res/quirk.css
rename : layout/style/ua.css => layout/style/res/ua.css
rename : layout/style/viewsource.css => layout/style/res/viewsource.css
extra : rebase_source : c56048e17a72c75a456556ee2111841184a92edf
2016-03-11 00:57:34 +05:30
Bobby Holley
abd6123240
Bug 1252611 - Hoist IsComplete/SetComplete into StyleSheet. r=dholbert
2016-03-10 22:18:59 -08:00
Bobby Holley
0ff743226a
Bug 1252611 - Add a method to get the StyleSheetInfo for a given StyleSheet. r=dholbert
...
One of the annoying things about sharing algorithms on the superclass here is that
certain members live on StyleSheet and others live on StyleSheetInfo (a situation
resulting from the split between CSSStyleSheet and CSSStyleSheetInner). This allows
us to write general algorithms on StyleSheet that touch members on StyleSheetInfo
without paying the price of virtual dispatch.
2016-03-10 22:18:57 -08:00
Bobby Holley
3293dd162c
Bug 1252611 - Hoist mDocument into StyleSheet. r=dholbert
2016-03-10 22:18:56 -08:00
Phil Ringnalda
3ceef3ef63
Back out 2 changesets (bug 1209273) for devtools failures in browser_css_autocompletion.js
...
Backed out changeset 85f7dbb76c15 (bug 1209273)
Backed out changeset 1901109091be (bug 1209273)
2016-03-10 21:32:50 -08:00
Tobias Schneider
9cfd13fa3d
Bug 1209273 - Part 1: Support for color-adjust CSS property. r=dbaron
...
--HG--
extra : rebase_source : 72919e863a59f76d24fbae31870463025aee7a40
2016-03-10 10:51:00 -05:00
Xidorn Quan
b8db274b17
Bug 1255659 part 2 - Add 'fullscreen' tag to tests which ever put window into fullscreen. r=smaug
...
MozReview-Commit-ID: EBynEGbpYQU
--HG--
extra : rebase_source : 1f777ff519e602403486d24e739b252a2dfc8428
2016-03-11 10:45:00 +08:00
Daisuke Akatsuka
cb51780a6e
Bug 1237173 - Part2: Change type of duration to Maybe<StickyTimeDuration>. r=birtles
2016-03-09 14:14:20 +09:00
Neil Deakin
038b1390a7
Bug 1246659, enable browser_bug453896.js in e10s, r=mconley
2016-03-09 09:11:56 -05:00
Ryo Motozawa
d812d0d4c6
Bug 1244635
- Part4 Add enddelay tests in layout/style/test r=hiro
...
MozReview-Commit-ID: EUvAdiPudgZ
--HG--
extra : rebase_source : 91bf3aef8f5ea8da1b990b6363d7ab40bddb2aae
2016-03-08 10:31:40 +09:00
Brian Birtles
c9d3c84ee0
Bug 1239945 part 8 - Add GetOrCreateAnimationCollection; r=dholbert
...
Rather than passing around a bool flag to indicate if we should be creating
an AnimationCollection when none is found, it would be a lot easier to read
if we simply introduce a separate method for this.
MozReview-Commit-ID: 6bg8jGoH5pL
2016-03-09 12:55:39 +09:00
Brian Birtles
065446fdcd
Bug 1239945 part 7 - Move GetAnimationCollection to AnimationCollection; r=dholbert
...
By moving GetAnimationCollection to AnimationCollection itself, we can remove
a bunch of virtual methods on the animation managers, simplify call sites,
and provide better type safety by ensuring a correspondence between element
property names and concrete animation types.
One change in behavior, however, is that in doing this we can no longer
add any newly-created AnimationCollection to the corresponding manager's linked
list of collections inside GetAnimationCollection. Instead we take a bool
outparam to indicate if a new collection was created and leave managing the
linked list to the manager. This is just a temporary measure, however, since
by the end of this patch series will will eliminate this linked list altogether
along with this flag.
MozReview-Commit-ID: 1jsc4QcmVDg
2016-03-09 12:55:39 +09:00
Brian Birtles
dd4f27f03e
Bug 1239945 part 6 - Templatize AnimationCollection based on the concrete type of Animation stored; r=dholbert
...
This patch templatizes the type of Animation stored in an AnimationCollection.
This allows us to remove a number AsCSSAnimation() calls in nsAnimationManager.
This patch also removes the AnimationPtrArray typedef. In its place we
introduce OwningCSSAnimationPtrArray and OwningCSSTransitionPtrArray but we
don't use these as widely. There was some comment previously that the typedefs
in animation code make it hard to read, particularly when these typedefs don't
make it clear if the data type is an owning reference or not.
In doing this we need to templatize CommonAnimationManager as well and move the
implementation of its (few) methods to the header file. We may be able to
remove the need for templatizing CommonAnimationManager later in this patch
series depending on how we ultimately decide to handle the lifetime of
AnimationCollection objects.
CommonAnimationManager::GetAnimationCollection is a bit messy but this will be
significantly tidied up in subsequent patches in this series.
MozReview-Commit-ID: 3ywatY53pRR
2016-03-09 12:55:39 +09:00
CJKu
9799fb0aaa
Bug 1243734 - Part 5. Add MOZ_ENABLE_MASK_AS_SHORTHAND compile flag; r=ted r=dbaron
...
MozReview-Commit-ID: 8KbrEXnJqlp
2016-03-09 11:15:09 +08:00
Mats Palmgren
35503fb698
Bug 1254000 - [css-grid] Enable Grid container properties in UA sheets to avoid warnings in the console. r=dholbert
2016-03-08 23:03:26 +01:00
Mats Palmgren
0524303c83
Bug 1253529 part 2 - [css-grid] Remove the 'grid-template' shorthand. r=dholbert
2016-03-08 23:03:26 +01:00
Bobby Holley
9440c9f754
Bug 1253149
- Use bool instead of int for boolean return values. r=SimonSapin
2016-03-05 19:58:04 -08:00
Bobby Holley
293f493107
Bug 1253149
- Remove the #ifdef __cplusplus bits from ServoBindings.h. r=SimonSapin
2016-03-05 19:58:03 -08:00
Phil Ringnalda
cabee82044
Back out 9 changesets (bug 801176) for frequent crashes in test_offscreencanvas_dynamic_fallback.html
...
Backed out changeset 82320c900699 (bug 801176)
Backed out changeset 624fb8512ba5 (bug 801176)
Backed out changeset a2a7b1c4dc5b (bug 801176)
Backed out changeset e210473d793c (bug 801176)
Backed out changeset 0fb279e041e1 (bug 801176)
Backed out changeset c090dc98c670 (bug 801176)
Backed out changeset fc509e59a0cd (bug 801176)
Backed out changeset 134a8c56335a (bug 801176)
Backed out changeset 2022afa9aef2 (bug 801176)
2016-03-05 07:20:47 -08:00
vincentliu
2b8952ed36
Bug 801176 - part3-v6: Keep CSSParser operations as threading safe. r=heycam
...
---
dom/canvas/CanvasRenderingContext2D.cpp | 13 +++++---
layout/style/ErrorReporter.cpp | 9 +++++-
layout/style/nsCSSParser.cpp | 55 ++++++++++++++++++++-------------
3 files changed, 51 insertions(+), 26 deletions(-)
2016-03-04 15:22:58 +08:00
Mats Palmgren
40399b7a96
Bug 1185140 - Change the expected computed display value to 'block' for flex items, also for table display types. r=bustage
2016-03-03 21:57:32 +01:00
Mats Palmgren
95cbb97e58
Bug 1185140 - [css-grid][flexbox] Make grid/flex item blockification happen before creating table pseudos, per the latest specs. r=dholbert
...
CSSWG resolution:
https://lists.w3.org/Archives/Public/www-style/2015Sep/0038.html
2016-03-03 19:37:58 +01:00
Nicholas Nethercote
933e726105
Bug 1252790 - Remove RuleHashTableOps. r=dbaron.
...
It's a confusing and non-standard way of doing things.
--HG--
extra : rebase_source : 0aa66f4d8b028a0b002a664f18ba3b98d936d00f
2016-03-03 09:21:49 +11:00
Mats Palmgren
a6b962bbed
Bug 1251999 - [css-grid] Reftests for repeat(auto-fill/fit, <fixed-size>) where <fixed-size> has one or more intrinsic sizing functions (one is allowed).
2016-03-02 23:39:34 +01:00
Mats Palmgren
ed62d7ab53
Bug 1251999 - [css-grid] Update <fixed-size> parsing to the latest spec. r=dholbert
2016-03-02 23:39:34 +01:00
CJKu
b33d045deb
Bug 1252739 - nsStyleImageLayers::HasLayerWithImage should return true when we have mask-image:<element-reference> | <gradient>; r=dbaron
...
MozReview-Commit-ID: 876p0IfKoUi
2016-03-02 16:27:21 +08:00
Daisuke Akatsuka
0b1a2c1ae5
Bug 1248338 - Implement iterationStart; r=birtles
2016-03-02 16:23:34 +09:00
Christoph Kerschbaumer
9ab1648f67
Bug 1195172 - Use channel->ascynOpen2 layout/style/FontFaceSet.cpp (r=bz,cam)
2016-03-01 13:06:13 -08:00
CJKu
9aa8a082cd
Bug 1243734 - Part 2. Set up gCSSProperties depends on mask-as-shorthand; r=dbaron
...
MozReview-Commit-ID: 4QBJtezm9Tt
2016-03-01 19:52:17 +08:00
CJKu
27044084c1
Bug 1243734 - Part 1. Use MOZ_ENABLE_MASK_AS_SHORTHAND to define the type of mask property; r=dbaron
...
MozReview-Commit-ID: FkPgdh8YHOC
2016-03-01 19:52:17 +08:00
Ting-Yu Lin
514007237a
Bug 1097398 Part 1 - Move AccessibleCaret default assets to layout/style/. r=nalexander, r=heycam
...
Default AccessibleCaret assets were in editor for historical reasons. Because
ua.css references them, I move them to layout/style/ and add them in jar.mn so
that we don't have to package them in various products.
MozReview-Commit-ID: 7K7qr9FK784
--HG--
rename : editor/composer/res/accessiblecaret@1.5x.png => layout/style/res/accessiblecaret-normal@1.5x.png
rename : editor/composer/res/accessiblecaret.png => layout/style/res/accessiblecaret-normal@1x.png
rename : editor/composer/res/accessiblecaret@2.25x.png => layout/style/res/accessiblecaret-normal@2.25x.png
rename : editor/composer/res/accessiblecaret@2x.png => layout/style/res/accessiblecaret-normal@2x.png
rename : editor/composer/res/accessiblecaret_tilt_left@1.5x.png => layout/style/res/accessiblecaret-tilt-left@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_left.png => layout/style/res/accessiblecaret-tilt-left@1x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2.25x.png => layout/style/res/accessiblecaret-tilt-left@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2x.png => layout/style/res/accessiblecaret-tilt-left@2x.png
rename : editor/composer/res/accessiblecaret_tilt_right@1.5x.png => layout/style/res/accessiblecaret-tilt-right@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_right.png => layout/style/res/accessiblecaret-tilt-right@1x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2.25x.png => layout/style/res/accessiblecaret-tilt-right@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2x.png => layout/style/res/accessiblecaret-tilt-right@2x.png
extra : rebase_source : bb29652fcc47725feb44397a7f9f39c89b0161b6
2016-02-16 16:55:28 +08:00
Daniel Holbert
40bd6a6b1e
Bug 1251848: Check StyleSheetHandles for being null-flavored before derefing them, in assertions within nsLayoutStylesheetCache::InvalidateSheet. r=bholley
2016-02-29 18:57:05 -08:00
Daniel Holbert
e23c4f231b
Bug 1247478: Rename FirstAdditionalAuthorSheet() to GetFirstAdditionalAuthorSheet(), since it can return null. r=heycam
2016-02-29 15:09:13 -08:00
Bogdan Postelnicu
5a04584913
Bug 1252039 - corrected MOZ_ASSERT expression in SeparatorRequiredBetweenTokens. r=dbaron
...
MozReview-Commit-ID: 89XUK8hKSSE
--HG--
extra : rebase_source : 53a336311edc4faabf20a829f58ed95461aa6cf6
2016-02-29 14:26:22 +02:00
Ryo Motozawa
35966647ca
Bug 1244641 - Part 5: Add duration tests in layout/style/test. r=hiro
...
MozReview-Commit-ID: JrsLXlvjJa8
--HG--
extra : transplant_source : H%24%12%FF%01%40%97%02%23ym%88%C2%C6%08T%ACB%20%91
2016-02-27 06:41:40 +09:00
Bobby Holley
5c409b2ed2
Bug 1251496 - Forward stylesheet management to RawServoStyleSet. r=heycam
2016-02-28 00:25:34 -08:00
Bobby Holley
205b124ab5
Bug 1251496 - Introduce a servo-side data structure to represent the style set. r=heycam
2016-02-28 00:25:33 -08:00
Bobby Holley
90a86c1a2e
Bug 1251496 - Hoist existing RefPtrTraits into a ServoBindingHelpers.h. r=heycam
...
I think we're going to have a fair number of things like this, so I'd rather
put them all in one place, rather that defining them in the header for the first
consumer that uses the type.
2016-02-28 00:25:32 -08:00
Timothy Nikkel
82b750a534
Backed out changeset 93f722efcdec (bug 1145903) for causing bug 1251796.
2016-02-27 12:53:28 -06:00
Benoit Girard
222f9bc8c4
Bug 1145903 - Use CSS to shrinkToFit instead of a racy set of width/height on the image frame. r=tnikkel
...
MozReview-Commit-ID: GnBcPLMGKDS
--HG--
extra : rebase_source : 665ac8fd0cf60745dff19940ddd1201a6cd5145f
2016-02-22 19:02:26 -05:00
Daniel Holbert
712c311be3
Bug 1251530: Use 'MakeUnique' instead of 'new' to populate UniquePtr variable in AddCSSValuePair. r=jwatt
2016-02-26 07:34:37 -08:00
Cameron McCormack
0252199029
Bug 1250788 - Unified build fix.
2016-02-26 12:51:02 +11:00
Cameron McCormack
b8519d7944
Bug 1250788 - Part 6: Create ServoStyleSheets for the pref style sheet. r=bholley
2016-02-26 12:51:02 +11:00
Cameron McCormack
4a6f4650a2
Bug 1250788 - Part 5: Create and parse ServoStyleSheets in css::Loader. r=bholley
2016-02-26 12:51:02 +11:00
Cameron McCormack
c85f997b63
Bug 1250788 - Part 4: Implement enough of ServoStyleSet to handle the UA style sheets being added to it. r=bholley
2016-02-26 12:51:02 +11:00
Cameron McCormack
bc4b843c37
Bug 1250788 - Part 3.3: Implement enough of ServoStyleSheet for Loader to be able to create and parse one. r=bholley
2016-02-26 12:51:01 +11:00
Cameron McCormack
03e9025216
Bug 1250788 - Part 3.2: Factor out CSSStyleSheet members so they can be used by ServoStyleSheet. r=bholley
2016-02-26 12:51:01 +11:00
Cameron McCormack
604555f6e0
Bug 1250788 - Part 3.1: Factor out CSSStyleSheetInner members so they can be used by ServoStyleSheet. r=bholley
2016-02-26 12:51:01 +11:00
Cameron McCormack
8a373903a7
Bug 1250788 - Part 2: Expose IsCSSSheetType method. r=bholley
2016-02-26 12:51:01 +11:00
Cameron McCormack
59c55b2932
Bug 1250788 - Part 1: Add interface to create and parse Servo style sheets. r=bholley
2016-02-26 12:51:01 +11:00
CJKu
4985b55721
Bug 1224424 - Replace mask-mode:auto keyword by mask-mode:match-source; r=dbaron
...
MozReview-Commit-ID: FKEJI1rHTIA
--HG--
extra : rebase_source : cdd72c6ae3b44e75d0f3415d99d3a897729a43fc
2016-02-25 17:31:47 +08:00
Brendan Dahl
1e077c8a5f
Bug 1104916 - Implement CSS media query display-mode. r=cam
2016-02-23 17:10:00 +01:00
Cameron McCormack
995d7af691
Preemptive unified build fix; no bug.
2016-02-25 17:26:12 +11:00
Brian Birtles
1231ac3eea
Bug 1239945 part 5 - Use MayHaveAnimations() to return early in CommonAnimationManager::GetAnimationCollection; r=dholbert
...
Currently, CommonAnimationManager::GetAnimationCollection returns early when
the referenced list of animation collections is empty. So, for example, if
we try to get the collection of CSS animations on an element on a page with no
CSS animations, we will quickly return null without possibly expensive property
lookup. However, if there is just one CSS animation on the page, we will do the
property lookup for every element in the page where this method is called.
In this bug, we would like to remove the linked list of animation collections
since this is now the only place where it is used. So, in place if this
optimization, we introduce quite a different one based on the changes from bug
1226091 which makes MayHaveAnimations() apply to animations on the element
itself as well as pseudo elements. Using this, we can return early for any
element that has never had any kind of animation on it. The page may have
dozens of other animations but we will still return early. However, if the
element has ever had any kind of animation on it, we will not return early. It
is expected that this optimization is at least as good as the one it replaces.
2016-02-24 16:09:31 +09:00
Brian Birtles
f6ce89fead
Bug 1239945 part 4 - Remove the pointer from an AnimationCollection to its manager since it is no longer used; r=dholbert
2016-02-24 16:08:56 +09:00
Brian Birtles
5413ebdb9d
Bug 1239945 part 3 - Move AnimationCollection to a separate file; r=dholbert
...
In this bug we will trim off unnecessary functionality from the animation
managers and make AnimationCollection into an independent data type
so in this patch we separate it into its own file.
It is also generally easier to navigate the source code and eliminate
cyclic dependencies between header files when there is a rough
correspondance between class names and file names (e.g. rather than having
#include "AnimationCommon.h" // For mozilla::AnimationCollection).
This patch also makes a few simplifications to include dependencies since
they're a bit of a mess (making it hard to move code around). The changes to
IncrementalClearCOMRuleArray.cpp are due to the changes to the unified build
introduced by adding AnimationCollection.cpp exposing a missing include from
that file.
2016-02-24 16:08:20 +09:00
Brian Birtles
a9218457d2
Bug 1239945 part 2 - Drop CommonAnimationManager::ContentOrAncestorHasAnimation; r=dholbert
...
This was added in bug 780692 to work around assertions that arose due to the
inconsistent state introduced by mini-flushes. However, that workaround
no longer seems necessary. In particular, the crashtest for bug 813372 no
longer reports failed assertions when we remove this method and nor do any
other tests.
I'm not sure exactly what changed about how we do mini-flushes but I suspect
it was bug 960465 or one of the related follow-ups.
2016-02-24 15:42:33 +09:00
Brian Birtles
d06f85599d
Bug 1239945 part 1 - Drop a number of animation manager/collection-related methods that are unused (and in some cases undefined); r=dholbert
2016-02-24 13:41:16 +09:00
Brian Birtles
633a6e61b2
Bug 1239945 part 0 - Fix unified build
2016-02-25 12:00:46 +09:00
Hiroyuki Ikezoe
8f7f1cc1b7
Bug 1242872 - Part 8: ElementPropertyTransition::ToValue(). r=birtles
...
MozReview-Commit-ID: 2zSAG6zcoYc
2016-02-19 16:43:06 +09:00
Hiroyuki Ikezoe
07c3358f3c
Bug 1242872 - Part 7: Eliminate creation of temporary animations. r=dbaron
...
This patch removes a loop for the new temporary animation collection in
CheckAnimationRule. The old collection is passed to CSSAnimationBuilder,
and CSSAnimationBuilder removes each animation which matches to new animation
name in it.
:birtles took care of storing animations in AnimationCollection in reverse order.
Thanks so much!
MozReview-Commit-ID: KmlnjFptKdv
2016-02-19 14:10:43 +09:00
Hiroyuki Ikezoe
606ae12164
Bug 1242872 - Part 6: Trigger a layer update explicitly when copying animation properties. r=birtles
...
MozReview-Commit-ID: AWL43ypqLPT
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
e80b4bb7b2
Bug 1242872 - Part 5: Change CopyPropertiesFrom to UpdateProperties. r=birtles
...
Once we don't create any temporary effect, we do not need to pass
the effect to CopyPropertiesFrom.
MozReview-Commit-ID: HczU5IU6Ggp
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
1cdd02df80
Bug 1242872 - Part 4: Factor updating animation properties process out. r=dbaron
...
MozReview-Commit-ID: 8VWdC3wFRZX
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
d0a6cc2bb8
Bug 1242872 - Part 3: Factor finding old animations process out. r=dbaron
...
MozReview-Commit-ID: H4bFKGpnhpX
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
67a3778e18
Bug 1242872 - Part 2: Set timeline in CSSAnimationBuilder::Build. r=dbaron
...
MozReview-Commit-ID: 6bisME1VK0d
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
e0d8bc16e9
Bug 1242872 - Part 1.1: Move AnimationManager::BuildAnimations. r=dbaron
...
MozReview-Commit-ID: ENfBlECSiDP
2016-02-19 09:16:15 +09:00
Hiroyuki Ikezoe
ed1cf18658
Bug 1242872 - Part 1: Introduce CSSAnimationBuilder to factor a bunch of stuff in BuildAnimations and CheckAnimationRule out. r=dbaron
...
MozReview-Commit-ID: 7921De3IVA6
2016-02-19 09:16:15 +09:00
Cameron McCormack
0ea3fe0527
Bug 1250767 - Unified build bustage fixups.
2016-02-25 11:09:34 +11:00
Bobby Holley
3b95f5b981
Bug 1250767 - Reorder Gecko EventState to match Servo's ElementState, and add an API to let Servo access it. r=heycam,r=bz
2016-02-23 17:51:47 -08:00
Bobby Holley
eb6ef53678
Bug 1250767 - Add support for hanging servo node data off Gecko nodes. r=heycam,r=bz
2016-02-23 17:28:50 -08:00
Bobby Holley
bb80449368
Bug 1250767 - Basic Servo Bindings. r=heycam
2015-11-24 17:14:39 -08:00
L. David Baron
b64070584c
Bug 1187851 patch 6 - Make dynamic changes to filter change fixed position containing block for descendants. r=roc
...
MozReview-Commit-ID: DDSadc3yzDL
2016-02-24 16:08:31 -08:00
Sebastian Hengst
7988324ccb
Backed out changeset 24309d9b5c7e (bug 1250767) for Windows bustage. r=bustage on a CLOSED TREE
2016-02-24 22:51:02 +01:00
Sebastian Hengst
48649adbe3
Backed out changeset 59ee7ae2519d (bug 1250767)
2016-02-24 22:50:51 +01:00
Sebastian Hengst
005b11b368
Backed out changeset 796b681561a7 (bug 1250767)
2016-02-24 22:50:40 +01:00
Bobby Holley
628b01c94e
Bug 1250767 - Reorder Gecko EventState to match Servo's ElementState, and add an API to let Servo access it. r=heycam,r=bz
2016-02-24 13:01:18 -08:00
Bobby Holley
e1f6eb4ca5
Bug 1250767 - Add support for hanging servo node data off Gecko nodes. r=heycam,r=bz
2016-02-24 13:01:15 -08:00
Bobby Holley
3ee259b378
Bug 1250767 - Basic Servo Bindings. r=heycam
2016-02-24 13:01:04 -08:00
L. David Baron
1182aed626
Bug 1250342 patch 3: Rename preference layout.css.text-align-true-value.enabled to layout.css.text-align-unsafe-value.enabled . r=mats
...
MozReview-Commit-ID: 6IKnuvxZQcI
2016-02-24 10:40:30 -08:00
L. David Baron
96d86ab5e7
Bug 1250342 patch 2: Rename NS_STYLE_TEXT_ALIGN_TRUE to NS_STYLE_TEXT_ALIGN_UNSAFE. r=mats
...
MozReview-Commit-ID: LuHepP37jtr
2016-02-24 10:40:30 -08:00
L. David Baron
b6111122f6
Bug 1250342 patch 1: Rename exposed keyword for text-align: true to unsafe. r=mats
...
MozReview-Commit-ID: LYR3LtMtT2Q
2016-02-24 10:40:30 -08:00
Cameron McCormack
3633214b94
Bug 1250379 - Create css::Loaders for specific style backend types. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
4385370753
Bug 1250377 - Part 2: Stub out enough ServoStyleSet methods to be able to create one for a document. r=bholley
2016-02-24 18:01:12 +11:00
Cameron McCormack
89cac5abd1
Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
736a5f47e7
Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
0ecd5593cc
Bug 1244074
- Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
8b44372832
Bug 1244074
- Part 3: Add skeleton ServoStyleSheet and a StyleSheetHandle smart pointer. r=dholbert
2016-02-24 18:01:11 +11:00
Cameron McCormack
c30825ac6f
Bug 1244074
- Part 2: Add HandleRefPtr for refcounting StyleSheetHandles. r=dholbert r=waldo
2016-02-24 18:01:11 +11:00
Cameron McCormack
919e1a53c7
Bug 1244074
- Part 1: Move SheetParsingMode to a separate file. r=dholbert
2016-02-24 18:01:11 +11:00
Cameron McCormack
7c95c39734
Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert
2016-02-24 18:01:11 +11:00
Cameron McCormack
c7df59c911
Bug 1244068 - Part 2: Add skeleton ServoStyleSet and a StyleSetHandle smart pointer. r=dholbert
2016-02-24 18:01:10 +11:00
Cameron McCormack
33e2e009b1
Bug 1244068 - Part 1: Add enum to represent the style system backend type. r=dholbert
2016-02-24 18:01:10 +11:00
Wes Kocher
42c013e034
Backed out 3 changesets (bug 1250342) for reftest failures in text-align-true.html CLOSED TREE
...
Backed out changeset 0eae0890ee11 (bug 1250342)
Backed out changeset e82e430d0eda (bug 1250342)
Backed out changeset 866f8a7337df (bug 1250342)
--HG--
extra : commitid : Gme2p6OagcA
2016-02-23 13:10:40 -08:00
Jonathan Watt
b7a8647630
Bug 1110460, part 5 - Factor out a nsStyleBasicShape::GetShapeTypeName method. r=dholbert
2016-02-17 00:19:27 +00:00
Jonathan Watt
169c41ba88
Bug 1110460, part 4 - Fix MOZ_ASSERT bug in nsComputedDOMStyle.cpp. r=dholbert
2016-02-17 00:19:26 +00:00
Jonathan Watt
33c16bb994
Bug 1110460, part 3 - Factor out a AddCSSValuePair helper in StyleAnimationValue.cpp. r=dholbert
2016-02-17 00:19:26 +00:00
Jonathan Watt
888be2d909
Bug 1110460, part 2 - Move AddPositions() further up StyleAnimationValue.cpp and add asserts. r=dholbert
2016-02-17 00:19:26 +00:00
Jonathan Watt
d4faa9c0c1
Bug 1110460, part 1 - Add operator= to nsCSSValuePair. r=dholbert
2016-02-17 00:19:26 +00:00
L. David Baron
ec4c382804
Bug 1250342 patch 3: Rename preference layout.css.text-align-true-value.enabled to layout.css.text-align-unsafe-value.enabled . r=mats
...
MozReview-Commit-ID: 6IKnuvxZQcI
2016-02-23 09:41:48 -08:00
L. David Baron
44d6843d2e
Bug 1250342 patch 2: Rename NS_STYLE_TEXT_ALIGN_TRUE to NS_STYLE_TEXT_ALIGN_UNSAFE. r=mats
...
MozReview-Commit-ID: LuHepP37jtr
2016-02-23 09:41:48 -08:00
L. David Baron
1a1f378269
Bug 1250342 patch 1: Rename exposed keyword for text-align: true to unsafe. r=mats
...
MozReview-Commit-ID: LYR3LtMtT2Q
2016-02-23 09:41:47 -08:00
Boris Chiou
5c37ed6ba0
Bug 1244049 - Part 4: Define CSSPseudoElementTypeBase. r=dbaron
...
In order to convert CSSPseudoElementType into its underlying type easier,
we define CSSPseudoElementTypeBase. However, keep using uint8_t directly for
forward declarations.
2016-02-18 19:18:00 +01:00
Nicholas Nethercote
2abcf180f1
Bug 1249171 - Simplify nsCOMArray::SizeOfExcludingThis(). r=erahm.
...
Using explicit iteration at measurement sites is much simpler and nicer than
using callbacks.
--HG--
extra : rebase_source : 8b3f7aa702743b665383766b66a866a2c3d17240
2016-02-19 14:54:45 +11:00
Boris Chiou
f9b04f2758
Bug 1244049 - Part 3: Replace the type of nsCSSSelector::mPseudoType. r=dbaron
...
--HG--
extra : rebase_source : 4bb852ab13bd448da20f9af4a3f13c5704e3a007
2016-02-17 22:04:00 +01:00
Boris Chiou
e436478f26
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
--HG--
extra : rebase_source : c00eb9753e8f618a33aa711538ac45c0132b353c
2016-02-17 21:37:00 +01:00
Boris Chiou
185a769719
Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
...
--HG--
extra : rebase_source : e53dd269e47fa97eb259ebd9295d012eacbdb612
2016-02-16 23:07:00 +01:00
Jamie Nicol
1c46abe6c4
Bug 1247336 - De-dupe changes in ActiveLayerTracker before treating property as animated. r=roc
...
In ActiveLayerTracker check if the value of a property has actually
changed, rather than being set to its existing value, before treating
the property as animated. This will help avoid over-layerization of some
frames.
2016-02-12 14:38:50 +00:00
Martijn Wargers
842cd6d33f
Bug 1160342 - Implement marquee using mutation observers, r=smaug
2016-02-17 18:47:14 +01:00
Daniel Holbert
2cdfef61a2
Bug 1249134: Remove support for -webkit-appearance as an alias for -moz-appearance, since the two prefixed properties behave differently in practice. r=heycam
2016-02-17 19:03:39 -08:00
Xidorn Quan
510a3f68bd
Bug 743198 part 7 - Add :fullscreen pseudo class. r=heycam
...
--HG--
extra : source : 245ce2e3f4f51029f8b70bdbd0ca327385be9cdf
2016-02-17 08:47:11 +08:00
Xidorn Quan
6b28759520
Bug 1218706 - Make 'unicode-bidi: isolate' the default for elements with a dir attribute. r=dbaron,jfkthame
...
--HG--
extra : source : b558ee0be0a413438660e1e858ac535930cf6603
extra : amend_source : c833b22b855610750c47f47b24e6816931782895
2016-02-17 08:39:54 +08:00
Brian Birtles
c3fe45107c
Bug 1246046 part 1 - Get the animation rule in nsStyleSet::GetContext even if there are no CSS animations; r=heycam
...
Without this patch, when we have script-generated animations but *no* CSS
animations, nsStyleSet::GetContext will not use the updated animation rule.
2016-02-15 16:08:33 +09:00
L. David Baron
fe18585912
Bug 1247865 - Fix assertion to handle restyling of a table::after. r=birtles
...
I confirmed locally that this patch does fix the assertion in the
crashtest.
MozReview-Commit-ID: L1TIAZZ1aNu
--HG--
extra : transplant_source : %FE_N%7D%AE%11%0D%92B%93%F6%3D%CFyY%3D5%7EFt
2016-02-12 22:54:26 -08:00
L. David Baron
15f112aaec
Bug 1247865 - Add crashtest for assertion. r=birtles
...
I confirmed locally that, without the following patch, the crashtest
harness does detect the single assertion.
MozReview-Commit-ID: FRkCdxSSa7V
--HG--
extra : transplant_source : xF%BC%7E%03%B3%1Bp%EF%07%D9%28%F6C%B5s%C7%C2%15%C1
2016-02-12 22:54:26 -08:00
Chris Peterson
ad0b562df7
Bug 1247533 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in layout/style/. r=dbaron
...
layout/style/nsStyleTransformMatrix.cpp:642:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-02-10 23:16:29 -08:00
Hiroyuki Ikezoe
714b328cdf
Bug 1228137 - Test that mouse events on the finished animation is surely fired on the animation element when the mouse events happen immediately after animation.finish() is called. r=birtles
2016-02-11 14:20:00 +01:00
Carsten "Tomcat" Book
106a8ed3ab
Bug 1244250 - r=mats
2016-02-10 14:17:05 +01:00
Trevor Saunders
8585d6f683
bug 1246772 - work around x87 floating point truncation issues in gecko r=dholbert
...
test_value_storage.html needs floating point numbers to round trip through css
parsing and serialization, but floating point isn't exact so we should be
careful what numbers we test. It turns out the value 0.9 the test was using is
close to the border between 229 and 230 when converted to an 8 bit int, but 0.8
is safer so change to that since the test doesn't depend on the value. Note
that this does not fix the issue that numbers don't always round trip, but only
wall papers over it by changing the test.
2016-02-10 00:10:56 -05:00
Boris Chiou
8627ee5709
Bug 1174575 - Part 5: Support pseudo-element type in StyleAnimation. r=birtles
...
Add one more argument, nsCSSPseudoElement::Type, for
StyleAnimation::ComputeValue and StyleAnimation::ComputeValues
2016-02-09 05:04:00 +01:00
Dirk Schulze
7d71b51c43
Bug 1075457, part 1 - Implement rendering for |clip-path:polygon()|. r=mstange, r=jwatt
...
--HG--
extra : rebase_source : 17ddbe04589e146c5e64497527b5a74b54337b8b
2016-02-08 22:08:09 +00:00
Mats Palmgren
126a749fe4
Bug 1246101 - Restore some auto-completion for the align-/justify-* properties. r=dholbert
2016-02-08 17:35:01 +01:00
John Daggett
535864fddf
Bug 1188802 - only rebuild local webfont rules when needed. r=heycam
2016-02-08 10:11:39 +09:00
Boris Zbarsky
6019ca23a6
Bug 812899 part 2. Change the centering code in nsImageDocument to only try vertically centering via auto margins when we're not overflowing in the vertical direction, because if we _are_ overflowing that should cut off part of the image per spec. r=khuey
2016-02-05 23:31:19 -05:00
Christoph Kerschbaumer
f2bea555bd
Bug 1245681 - Fix addOverrideStyleSheet. r=bz
...
CLOSED TREE
--HG--
extra : commitid : LomXovfnO8d
extra : source : b71df90db19e917b0195c89e76593c8312d2ec68
2016-02-05 11:07:04 -08:00
Wes Kocher
83138fba54
Backed out 2 changesets (bug 1245681) for android mochitest-14 failures in test_css_chrome_load_access.html CLOSED TREE
...
Backed out changeset 82803bc92f37 (bug 1245681)
Backed out changeset b71df90db19e (bug 1245681)
--HG--
extra : commitid : 3yd1sKw3rn5
2016-02-05 15:16:36 -08:00
Christoph Kerschbaumer
933878145c
Bug 1245681 - Fix addOverrideStyleSheet. r=bz
...
--HG--
extra : rebase_source : 9f865f40a8085b816dafde6a15ac72fe98971d8a
2016-02-05 11:07:04 -08:00
Wes Kocher
ddcc30c564
Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE
...
--HG--
extra : commitid : HW3icAqLZUB
2016-02-05 11:42:55 -08:00
Mike Taylor
e96c48b929
Bug 1245997. Remove -webkit-mask-mode alias. r=dholbert
...
This has not yet been implemented in WebKit, hence there shouldn't
be any legacy compat concerns.
2016-02-05 09:27:45 -06:00
Brendan Dahl
b25b48552b
Bug 1104916 - Implement CSS media query display-mode. r=cam
2016-02-04 13:34:00 +01:00
Carsten "Tomcat" Book
745be97723
Backed out changeset 2257088c6b04 (bug 1188802)
2016-02-05 11:19:11 +01:00
John Daggett
a4c7835ada
Bug 1188802 - only rebuild local webfont rules when needed. r=heycam
2016-02-05 16:46:27 +09:00
William Chen
a7c2c21d89
Bug 1245242 - Normalize to unit vector for DOMMatrix.rotateAxisAngleSelf. r=roc
2016-02-04 00:30:00 -08:00
Ting-Yu Lin
ea65853708
Bug 591737 - Construct details and summary in nsCSSFrameConstructor. r=bz
...
--HG--
extra : commitid : 7tnA5fqdD6L
extra : rebase_source : 452368859fb99183605edcf47fd48ff026bf3a50
2016-02-02 17:39:49 +08:00
CJKu
eae7e3b398
Bug 1244628: compare nsStyleImageLayers::mAttachmentCount in nsStyleImageLayers::CalcDifference. r=dbaron.
...
--HG--
extra : commitid : JlCMq3C9wwB
extra : rebase_source : f9da96c973cc556b091623611157d25d94f5fd87
2016-02-04 14:11:35 +08:00
Daniel Holbert
f249f40239
Bug 1241021 part 4: Extend mochitest test_initial_storage.html to test that uppercase Webkit DOM accessors for css properties are functional. r=bz
2016-02-03 20:17:48 -08:00
Daniel Holbert
6318b75bf5
Bug 1241021 part 3: Refactor CSS mochitest test_initial_storage.html to perform its DOM accessor consistency-checks via a helper-function. r=bz
2016-02-03 20:17:46 -08:00
Christoph Kerschbaumer
d8d683d81b
Bug 1195173 - Test asyncopen2 security checks for stylesheets (r=bz,ehsan)
2016-02-02 20:35:42 -08:00
Christoph Kerschbaumer
c53a2ff8b7
Bug 1195173 - Apply CSP to preloaded styles within layout/style/Loader.cpp (r=bz)
2016-02-02 20:35:30 -08:00
Christoph Kerschbaumer
de9089189c
Bug 1195173 - Use channel->ascynOpen2 layout/style/Loader.cpp (r=bz)
2016-02-02 20:35:02 -08:00
Nicholas Nethercote
6462925455
Bug 1244992 - Avoid double-counting in various refcounted types related to nsCSSValue. r=heycam.
...
Also, GridTemplateAreasValue::SizeOfIncludingThis() wasn't measuring |this|, so
the patch fixes that.
--HG--
extra : rebase_source : e3460dbcfd79daf08fa275e58a08e98a3a657f3c
2016-02-02 15:18:16 +11:00
Birunthan Mohanathas
e00f212825
Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj
2016-02-02 17:36:31 +02:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
William Chen
96cc20f039
Bug 1241575 - Use transform property syntax to parse WebKitCSSMatrix transform list. r=heycam
2016-02-01 16:45:09 -08:00
Daniel Holbert
870d8a05e3
Bug 1244166: Don't ignore stroke/fill properties in high-contrast mode, since doing so can produce icons that are invisible or whose colors are unrelated to the user's chosen high-contrast colors. r=longsonr
2016-02-01 11:23:09 -08:00
Hiroyuki Ikezoe
ba1bb81b2e
Bug 1216842 - Part 3: Change ComputedTimingFunction* to Maybe<ComputedTimingFunction>. r=cam
...
Nothing() represents linear function, i.e. skip calculation.
ParseEasing is changed to return a Maybe<ComputedTimingFunction>,
if timing function is linear function, ParseEasing returns Nothing().
2016-01-29 14:44:00 +01:00
Nicholas Nethercote
ac9a8bf77c
Bug 1181444 (part 1.5) - Remove dead PLDHashOperator declarations. r=froydnj.
...
--HG--
extra : rebase_source : 82888ad8037a6024508b042030469fac5a8f5fa4
2016-01-28 14:08:19 -08:00
Phil Ringnalda
543a769809
Merge m-c to m-i
2016-01-31 17:58:26 -08:00
Cameron McCormack
c3c9182dd9
Bug 1244585 - Remove unused Declaration::HasVariableDeclaration method. r=xidorn
2016-02-01 12:19:13 +11:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
b00cdd6088
Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Markus Stange
77d52c0a79
Bug 1241275 - Change the way -moz-window-dragging works. r=heycam,roc
...
This adds the value -moz-window-dragging: default as the initial value of the property,
and makes it a [reset] property. This allows us to change the way the window dragging
region is calculated: Elements with -moz-window-dragging: no-drag will now always be
undraggable, even if they are overlapped by -moz-window-dragging: drag elements. That
way we can keep the region calculation simple and don't have to add code to respect
z-ordering.
--HG--
extra : commitid : GX3ApAyzKi7
extra : rebase_source : 61cab4e535c6c5da75fe79eb1886b6c5b7d136ea
extra : amend_source : 0f461782b8f65eca1009c2f6c192b5b80b908233
2016-01-27 11:58:33 +01:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Ting-Yu Lin
1889f6bc41
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
...
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Cameron McCormack
3b1d48a397
Bug 1243912 - Remove unused Loader::RemoveEntriesWithURI declaration. r=njn
2016-01-29 10:16:05 +11:00
CJKu
7b577b9c98
Bug 686281 - Rename nsStyleSVGReset::mLayers to nsStyleSVGReset::mMask; Rename nsStyleBackground::mLayers to nsStyleBackground::mImage. r=dbaron
2016-01-28 06:39:00 +01:00
CJKu
93fe52cf88
Bug 686281 - Remove nsStyleSVGReset::mMask; r=dbaron
2016-01-28 06:37:00 +01:00
CJKu
88df6fdaef
Bug 686281 - A static assertion to keep value correctness of NS_RULE_NODE_IS_ANIMATION_RULE; r=dbaron.
2016-01-28 06:36:00 +01:00
CJKu
caf47bbd0d
Bug 686281 - Expands will-change of a shorthand prop to longhand ones; r=dbaron.
2016-01-28 06:34:00 +01:00
CJKu
dd1218e042
Bug 686281 - Mask mochitest; r=dbaron.
2016-01-28 06:32:00 +01:00
CJKu
c2a0ef852c
Bug 686281 - Mask CSS webkit-alias; r=dbaron.
2016-01-28 06:31:00 +01:00
CJKu
64eff5f755
Bug 686281 - Mask CSS animation; r=dbaron.
2016-01-28 06:31:00 +01:00
CJKu
5c685aa7f6
Bug 686281 - Mask CSS parsing and Mask DOM API. r=dbaron
2016-01-28 06:28:00 +01:00
CJKu
577578571f
Bug 686281 - Implement CSS mask style; r=dbaron.
2016-01-28 06:28:00 +01:00
CJKu
538b854ad1
Bug 686281 - Rename *background* to *imagelayer*; r=dbaron.
2016-01-28 06:27:00 +01:00
CJKu
2d363d1b79
Bug 686281 - Implement nsStyleImageLayers; r=dbaron
2016-01-28 06:24:00 +01:00
Chris Manchester
d6f59759cd
Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps
...
--HG--
extra : commitid : FyLge9QyfDF
2016-01-27 17:46:34 -08:00
Xidorn Quan
ee035ed239
Bug 1064843 part 7 - Add backdrop pseudo-element and add related UA stylesheet. r=heycam
...
--HG--
extra : source : 79eadc4133fe81da5e01d9abbd0c5b1f95ae8d19
2016-01-28 10:11:00 +11:00
Sebastian Hengst
9969f938e7
Backed out 4 changesets (bug 1195173) for webtest failures. r=oranges on a CLOSED TREE
...
Backed out changeset 92b7c3c6e875 (bug 1195173)
Backed out changeset d026d6f185ab (bug 1195173)
Backed out changeset 3b51d7bae8e4 (bug 1195173)
Backed out changeset a75bb8d083e8 (bug 1195173)
2016-01-27 20:24:52 +01:00