Граф коммитов

10415 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 51e9294d5f Bug 1335987: stylo: Don't use the change hint to decide whether to recreate style contexts. r=bholley
MozReview-Commit-ID: 11Yyq8UE3LP
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-03 22:03:34 +01:00
Carsten "Tomcat" Book e95ecef88f merge mozilla-inbound to mozilla-central a=merge 2017-02-03 13:25:24 +01:00
Hiroyuki Ikezoe fd06930679 Bug 1332657 - Part 5: Adjust crashtest expectations for transform animations. r=heycam
Actually 1328535-1.html does not have transform animations, it has been passed
without these patches.

MozReview-Commit-ID: C0RcxbjiPVY
2017-02-03 14:41:29 +09:00
Hiroyuki Ikezoe 287d10e9c5 Bug 1332657 - Part 2: Implement clone_transform. r=heycam,manishearth
The implementation of clone_transform is an adaptation of set_transform.

MozReview-Commit-ID: ESE1ha0x666
2017-02-03 14:41:29 +09:00
Hiroyuki Ikezoe c219cb14f4 Bug 1332657 - Part 1: Use more proper function to set nsCSSValue. r=heycam
MozReview-Commit-ID: 94o9qXXUyXN
2017-02-03 14:41:28 +09:00
Wes Kocher 2dcccc4332 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Bobby Holley c35f772b59 Bug 1335863 - Inline common case parent access. r=emilio 2017-02-02 11:24:43 -08:00
Bobby Holley bd672b2ad1 Bug 1335863 - Inline Gecko_IsHTMLElementInHTMLDocument. r=emilio 2017-02-02 11:24:37 -08:00
Wes Kocher ad037c851d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8vGne2PAweU
2017-02-02 16:45:43 -08:00
Daniel Holbert 38f8eb48f1 Bug 1336223 part 3: Add a missing #include to nsComputedDOMStyle.cpp. r=xidorn
MozReview-Commit-ID: ERFagYJrxeA

--HG--
extra : rebase_source : 93cdd1f05529471a1fcc7b34edb029bf7ac55b89
2017-02-02 15:18:38 -08:00
Daniel Holbert f2faca025d Bug 1336223 part 2: Add some missing #includes & namespaces to nsMediaList.cpp. r=xidorn
MozReview-Commit-ID: AKOSOtH0NiD

--HG--
extra : rebase_source : 31eeaf1bfb7a0ce8906234ca44e424c72465b353
2017-02-02 15:18:37 -08:00
Daniel Holbert 9992dc8e16 Bug 1336223 part 1: Add some missing #includes to PreloadedStyleSheet.cpp and .h. r=xidorn
MozReview-Commit-ID: 1YKRjJiSUiI

--HG--
extra : rebase_source : 3991ff8ace9f466a07e1dba8aaf49b596458f97a
2017-02-02 15:18:36 -08:00
Manish Goregaokar 5b55368eda Bug 1330041 - Basic handling framework for presentation attributes in Stylo, with handling for font-size and color; r=bz,emilio
This introduces a basic framework for servo's style system to be able
to query the style of presentation attributes which it can then insert
into the cascade. It uses that framework to implement the size and
color attributes on <font>.

There are a number of improvements that can be done on top of this:

 - Implement all other properties
 - Abstractify the ruledata parameter of the mappers using templates or virtual dispatch so that it can be a Servo decl block instead
 - Implement aforementiond abstraction over Servo decl blocks (this obsoletes the code in the first item above, so it might just be better to skip that and directly do this)
 - Replace uses of nsHTMLStyleSheet with an abstract base class containing common elements between Servo and Gecko

I'd prefer for these to be done in separate steps.

MozReview-Commit-ID: GO60qfeZOfl

--HG--
extra : rebase_source : 516d369a8627e413983361aaf85ccb7132b0a06c
2017-01-19 15:56:53 -08:00
Cameron McCormack 2000e89fcc Bug 1323715 - stylo: Re-enable tests depending on CSS.supports(). r=xidorn
MozReview-Commit-ID: KazD2l0tFuy
2017-02-01 12:03:03 +08:00
Cameron McCormack 41bbd156cf Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 15:10:45 +08:00
Sebastian Hengst 2664cfc0a9 Backed out changeset 0d069e7395e9 (bug 1314045) for Windows build bustage: warning at Loader.cpp(1885). r=backout on a CLOSED TREE 2017-01-31 18:17:09 +01:00
Cameron McCormack 8731638062 Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me on a CLOSED TREE
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 17:38:24 +01:00
Cameron McCormack 0ba5cf9cc4 Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 17:38:16 +01:00
Cameron McCormack 590058f927 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 17:37:08 +01:00
Sebastian Hengst ed5bd31f9b Backed out changeset ad45a3da5e4a (bug 1324669) for Windows build bustage: OverflowChangedTracker.h(44). r=backout on a CLOSED TREE 2017-01-31 17:32:12 +01:00
Sebastian Hengst 24430aff14 Backed out changeset 4787d54f7aa6 (bug 1314045) 2017-01-31 17:30:25 +01:00
Sebastian Hengst 79a42c161e Backed out changeset e3687105be00 (bug 1334768) 2017-01-31 17:30:16 +01:00
Cameron McCormack 0333846acf Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 23:36:46 +08:00
Cameron McCormack e64744beef Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 23:36:21 +08:00
Cameron McCormack 946b5c3633 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 23:36:12 +08:00
Hiroyuki Ikezoe 94cf7d46a6 Bug 1335261 - Initialize StyleAnimation value when expanding the array. r=heycam
MozReview-Commit-ID: 3G0fnVId6nd
2017-01-31 17:09:18 +09:00
Hiroyuki Ikezoe 97a3868830 Bug 1334982 - Convert animation restyle hints only if we are not in process of restyling. r=heycam
MozReview-Commit-ID: 4pWeWhGaTJv
2017-01-31 16:37:39 +09:00
Cameron McCormack 59d7d77114 Bug 1334768 - stylo: Annotate one crashtest.
MozReview-Commit-ID: Jk0rMNpA9aK
2017-01-30 23:10:59 +08:00
Carsten "Tomcat" Book 86d6d898a4 Merge mozilla-central to mozilla-inbound 2017-01-30 16:02:19 +01:00
Carsten "Tomcat" Book 29cd257175 merge mozilla-inbound to mozilla-central a=merge 2017-01-30 15:59:14 +01:00
Cameron McCormack 01afae2b4b Bug 1334768 - stylo: Test expectation adjustments for 2017-01-30 merge.
MozReview-Commit-ID: 5Uua9zyS9Db
2017-01-30 21:27:43 +08:00
Cameron McCormack 9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Cameron McCormack 7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Hiroyuki Ikezoe 5e33af310e Bug 1328787 - Part 13: Call nsAnimationManager.UpdateAnimations(). r=heycam
MozReview-Commit-ID: CcA3dJaxuYY
2017-01-29 12:59:00 +09:00
Hiroyuki Ikezoe fc6d8f711b Bug 1328787 - Part 12: Fill Gecko's Keyframe. r=heycam
MozReview-Commit-ID: 5QdUtFj9lK9
2017-01-29 12:58:51 +09:00
Hiroyuki Ikezoe e4b48af5ae Bug 1328787 - Part 4: Add Gecko_AnimationAppendKeyframe. r=heycam
This is a function which is called in Servo_StyleSet_FillKeyframesForName to
append a Gecko's Keyframe into nsTArray<Keyframe>.

Without this function we need to end up exposing ComputedTimingFunction class
and Maybe<> as FFI.

MozReview-Commit-ID: 2EpltR4rMVh
2017-01-29 12:58:39 +09:00
Hiroyuki Ikezoe 8d8004331b Bug 1328787 - Part 3: Add functions for filling each servo's animation keyframes into nsTArray<Keyframe>. r=heycam
The argument, ServoComputedValues*, will be used the case where keyframe is not specified.

MozReview-Commit-ID: HqqEXuYajCi
2017-01-29 12:58:28 +09:00
Hiroyuki Ikezoe b760727ba4 Bug 1328787 - Part 2: Don't pass nsCSSKeyframesRule* to CSSAnimationBuild::Build. r=heycam
Because, in case of stylo, we don't have nsCSSKeyframesRule.

MozReview-Commit-ID: uWlrFihjbx
2017-01-29 12:58:25 +09:00
Phil Ringnalda 5d4072a82c Merge m-i to m-c, a=merge 2017-01-28 13:09:00 -08:00
Emilio Cobos Álvarez 1c4f61bf3d Bug 1334579: Ensure constructors for nsStyleContentData run. r=bholley
MozReview-Commit-ID: 9Y6tQ6BD2c8
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-28 14:38:27 +01:00
Wes Kocher 4cf8a40463 Merge m-c to autoland, a=merge
MozReview-Commit-ID: J5UyPvoy89k
2017-01-27 16:39:56 -08:00
Wes Kocher 7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Neerja Pancholi 461f03f96f Bug 1334680 - Use the same box shadow on every page in print preview. r=dholbert
MozReview-Commit-ID: KLxShMkwh0L

--HG--
extra : rebase_source : 79004587b80f1a752c3a664e0a8093fdf7872cd9
2017-01-27 14:36:02 -08:00
Boris Chiou 56b53b069d Bug 1324691 - Part 4: Remove conditions on some crashtests. r=heycam
We should pass these animation tests now:
* 1216842-3.html
* 1216842-4.html
* 1278485-1.html
* 1290535-1.html
* layout/style/crashtest/1290994-1.html
* layout/style/crashtest/1290994-2.html
* layout/style/crashtest/1290994-3.html

And these tests still need to be verified by Bug 1334036.
* 1216842-1.html
* 1216842-2.html
* 1216842-5.html
* 1216842-6.html

MozReview-Commit-ID: 1qLcS9ovsYp

--HG--
extra : rebase_source : 7b013fd62a79352d429e2bf28246a2587a327db5
2017-01-27 14:38:55 +08:00
Florian Quèze 2cf30507bd Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze f187782ccf Bug 1334250 - script-generated patch to avoid removeEventListener calls when a variable is used for the event name, r=jaws. 2017-01-27 10:48:00 +01:00
Kartikaya Gupta 1af1a82edf Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois

--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Phil Ringnalda 39e57631eb Merge m-c to m-i 2017-01-25 20:48:39 -08:00