Commit Graph

502723 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
aa35d16aa2 Bug 1305325 - Part 9: Send animations even if it's paused, finished or zero playback rate. r=birtles.
If all of animations on an element are paused, finished or zero playback rate,
we don't send those animations to the compositor.
Also in this change, we send zero active duration animations to the compositor
in the same way as normail animations.

MozReview-Commit-ID: CHjv6Buy5fa
2016-12-02 15:34:13 +09:00
Hiroyuki Ikezoe
401e2cd152 Bug 1305325 - Part 8: Tests composed style for missing keyframe for properties running on the main thread. r=birtles
MozReview-Commit-ID: 7QuksI30bwY
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe
8a350b750d Bug 1305325 - Part 7: The expected value of offset is 1.0 for input value whose offset is 1.0. r=birtles
MozReview-Commit-ID: JnsWmDBfW3p
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe
1f8b99b847 Bug 1305325 - Part 6: Handle missing keyframe whose offset 0 or 1 on the main thread. r=birtles
MozReview-Commit-ID: 5WMiTJQKfZd

--HG--
rename : dom/animation/test/chrome/test_animation_properties.html => dom/animation/test/chrome/test_simulate_compute_values_failure.html
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe
aa1cc722cf Bug 1305325 - Part 5: Add AnimationUtils::IsCoreAPIEnabled. r=birtles
To check simulateComputeValuesFailure flag in chrome privilege, we will need
to know the core Web Animations API preference is enabled in chrome privilege.

MozReview-Commit-ID: GYRMc9Od4Bm
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe
0f16539110 Bug 1305325 - Part 4: Add a function that returns the resolved base style on an element for a given property with nsStyleContext. r=birtles
MozReview-Commit-ID: FPzyX9fxxx3
2016-11-16 06:30:57 +09:00
Hiroyuki Ikezoe
20bc31d6c8 Bug 1305325 - Part 3: Make AnimationPropertyValueDetails::mValue optional. r=birtles,smaug
MozReview-Commit-ID: H2fhRfC0Uoh
2016-12-04 08:07:39 +09:00
Hiroyuki Ikezoe
d4826bcff3 Bug 1305325 - Part 2: Add AnimValuesStyleRule::GetValue and HasValue to get the last composed style. r=birtles
HasValue() will be used to check that we have already composed style
for a given property or not.

MozReview-Commit-ID: L8lezGyON5o
2016-12-04 08:07:39 +09:00
Hiroyuki Ikezoe
abe0821c03 Bug 1305325 - Part 1: Move test cases in file_partial_keyframes.html into file_disable_animations_api_core.html. r=boris
Missing keyframe will be handled only if the Web Animatins API is enabled.
Test cases in file_partial_keyframes.html will not throw any exceptions once
we handle missing keyframe because they are run with the Animations API pref,
but still we should run the test cases with disabled the pref. So we are now
going to move the test cases into file_disable_animations_api_code.html.

We can't use KeyframeEffectReadOnly contructor in a new test file since the
constructor is also behind the Web Animations API pref.

MozReview-Commit-ID: 9ApVxJebBUj
2016-12-04 08:07:39 +09:00
Phil Ringnalda
6f0154b40f Merge m-i to m-c, a=merge
MozReview-Commit-ID: DhWG5cpaeyZ
2016-12-03 13:38:35 -08:00
Phil Ringnalda
b1e004e261 Merge autoland to m-c, a=merge
MozReview-Commit-ID: 1loR89aNn8E
2016-12-03 13:37:47 -08:00
Jonathan Kew
4ab3ae7306 Bug 1319668 - Check for null context before trying to draw canvas text. r=mats 2016-12-03 14:49:46 +00:00
Jonathan Kew
7b177ba9bc Bug 1321022 followup, refresh devtools css db to fix xpcshell errors. 2016-12-03 14:48:09 +00:00
ffxbld
3188d133bf No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2016-12-03 06:28:37 -08:00
ffxbld
399a5aa3a6 No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2016-12-03 06:28:35 -08:00
Daniel Holbert
c6501e5cff Bug 1321022 pt 6: Use UniquePtr instead of nsAutoPtr (& nsCSSValue setters) in font-variations-setting StyleAnimationValue code. r=jfkthame
MozReview-Commit-ID: CSj2wcZlTJs
2016-12-03 12:18:43 +00:00
Jonathan Kew
7e62ee048d Bug 1321022 pt 5 - Add support for animating the font-variations-setting property. r=dholbert 2016-12-03 12:18:41 +00:00
Jonathan Kew
1c18c32f59 Bug 1321022 pt 4.2 - Fix up some nits in existing font-feature-settings code as per review comments on the new font-variation-settings code. r=dholbert 2016-12-03 12:18:39 +00:00
Jonathan Kew
eac09cd359 Bug 1321022 pt 4.1 - Regenerate the devtools property db (auto-generated using ./mach devtools-css-db). r=dholbert 2016-12-03 12:18:37 +00:00
Jonathan Kew
cd6fcd068a Bug 1321022 pt 4 - Implement CSS parsing of the font-variations-setting property, storing the value into nsFont. r=dholbert 2016-12-03 12:18:36 +00:00
Jonathan Kew
9edd951825 Bug 1321022 pt 3 - Add an array of variation settings to nsFont, and hook it up to gfxFontStyle. r=dholbert 2016-12-03 12:18:33 +00:00
Jonathan Kew
9317d239af Bug 1321022 pt 2.1 - While we're here, remove an obsolete declaration. r=dholbert 2016-12-03 12:18:31 +00:00
Jonathan Kew
19f9ad164e Bug 1321022 pt 2 - Add an array of font variations to gfxFontStyle. r=dholbert 2016-12-03 12:18:29 +00:00
Jonathan Kew
72436283c9 Bug 1321022 pt 1.5 - Delete the redundant copy constructor in gfxFontStyle (default copy constructor is fine), and rationalize field ordering a bit. r=dholbert 2016-12-03 12:18:28 +00:00
Jonathan Kew
9d079aaf03 Bug 1321022 pt 1 - Add a gfxFontVariation struct to represent a <variation-axis, value> pair. r=dholbert 2016-12-03 12:18:25 +00:00
Jonathan Kew
5dac703c3a Bug 1321512 - Add tags containing double-quote and backslash to font-feature-settings tests. r=dholbert 2016-12-03 10:58:57 +00:00
Jonathan Kew
7ce761007c Bug 1321512 - Fix serialization of font-feature-settings tags to properly escape quote and backslash characters. r=dholbert 2016-12-03 10:58:44 +00:00
Phil Ringnalda
2edc2d42db Merge m-i to m-c, a=merge
MozReview-Commit-ID: ByPMe4s1FrG
2016-12-02 22:17:31 -08:00
Shu-yu Guo
72e9231d47 Bug 1315592 - Handle JS compilation errors in the async subscript loader. (r=bholley) 2016-12-02 17:36:42 -08:00
Tomislav Jurin
348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Tooru Fujisawa
ca98c3a8c4 Bug 883377 - Part 6: Update browser and dom tests to follow displayName change. r=smaug 2016-12-03 07:44:23 +09:00
Tooru Fujisawa
be551e20bb Bug 883377 - Part 5: Update devtools to follow displayName change. r=miker 2016-12-03 07:44:22 +09:00
Tooru Fujisawa
e1bf7549b2 Bug 883377 - Part 4: Fix existing tests. r=jandem 2016-12-03 07:44:22 +09:00
Tooru Fujisawa
9f3f54d9e4 Bug 883377 - Part 3: Support JSOP_SETFUNNAME in Baseline and Ion. r=jandem 2016-12-03 07:44:21 +09:00
Tooru Fujisawa
c206625993 Bug 883377 - Part 2: Call NameFunctions after emitting. r=jandem 2016-12-03 07:44:21 +09:00
Tooru Fujisawa
8f33b32c92 Bug 883377 - Part 1: Implement ES6 function name property semantics. r=jandem,anba 2016-12-03 07:44:20 +09:00
Gregory Szorc
c7c65f2fb5 Bug 1321750 - Remove automatic color flags from HOST_CFLAGS, HOST_CXXFLAGS; r=glandium
moz.configure only sets the color flags value for the target compiler.
If the host compiler is a different version and doesn't support color
flags, we may pass unrecognized command line options.

Until we have better distinction between host and target compilers
throughout the build system, just disable automatic color flags for
host invocations. We don't have too many host binaries, so this should
have negligible impact.

MozReview-Commit-ID: KWTLkKvtwHs

--HG--
extra : rebase_source : 97a7240a796bae42221b2952d4dc1e66294e6219
2016-12-02 10:10:24 -08:00
Cameron McCormack
a7c175e671 Bug 1321284 - Part 5: Process document level NAC when restyling. r=bholley
MozReview-Commit-ID: GigSrTHXXte

--HG--
extra : rebase_source : 30d6f5b3b32c921ae15e69b29a9cc3d5372ad8bc
2016-12-01 16:19:50 +08:00
Cameron McCormack
6ee4ee5531 Bug 1321284 - Part 4.2: Add iterator class to find all restyle roots. r=bholley
MozReview-Commit-ID: JZrwvCS2YAe

--HG--
extra : rebase_source : 3e479a152c1cafabb2ee4c0d8941fd872274ba28
2016-12-02 16:55:40 +08:00
Cameron McCormack
72b73ba67c Bug 1321284 - Part 4.1: Add function to determine if we need to traverse from a given node for restyling. r=bholley
MozReview-Commit-ID: 3MaLp9AOJKm

--HG--
extra : rebase_source : 7481fb118731cf544524e162c947ceef730bade4
2016-12-02 16:54:43 +08:00
Cameron McCormack
382ed70f19 Bug 1321284 - Part 4: Factor out AllChildrenIterator's getting of document level NAC to a utility method. r=bholley
MozReview-Commit-ID: 862Yi82D2Ij

--HG--
extra : rebase_source : d612e27061ec3ccec3c30792127a53bb7010d30c
2016-12-03 09:37:00 +08:00
Cameron McCormack
bd110300be Bug 1321284 - Part 3: Make Servo-based styling use the "flattened tree parent for style". r=bholley
MozReview-Commit-ID: BnW5VZ3xLpG

--HG--
extra : rebase_source : 2315408fb39fc52f272731ce0e936ec6ba4ea195
2016-12-01 14:55:49 +08:00
Cameron McCormack
a72478f6c9 Bug 1321284 - Part 2: Add nsINode::GetFlattenedTreeParentNodeForStyle. r=bholley
MozReview-Commit-ID: AmDyeE21N8g

--HG--
extra : rebase_source : 7e0d8f40ce513283f7262dca332fddc1e92ff810
2016-12-01 14:55:09 +08:00
Cameron McCormack
c7423798c3 Bug 1321284 - Part 1: Make StyleChildrenIterator skip NAC generated by root element primary frame ancestors. r=bholley
MozReview-Commit-ID: HICYWQgkE77

--HG--
extra : rebase_source : 7c5a533ada4eaa9839ca0497426f2c9c2a2d6c0b
2016-12-01 11:34:57 +08:00
Cameron McCormack
91631cac25 Bug 1320000 - Part 2: Make XBLChildrenElement::ParseAttribute delegate to its superclass. r=mrbkap
MozReview-Commit-ID: 8qXryZXKi4m
2016-12-01 09:25:21 +08:00
Cameron McCormack
5a2bc39008 Bug 1320000 - Part 1: Force xbl:children elements to be display:none. r=mrbkap
MozReview-Commit-ID: IbM0KAIGWqi
2016-12-01 09:25:18 +08:00
Phil Ringnalda
e4a1fb8975 Merge m-c to m-i
MozReview-Commit-ID: 5bYzmy6C41c
2016-12-02 22:28:05 -08:00
Justin Dolske
61503af5c4 Bug 1291770 - [HiDPI] Globe icon is too small, ends up being scaled up. r=dao
MozReview-Commit-ID: 2VEDWl3Bq3P
2016-12-02 20:32:00 -08:00
Luca Greco
ce1cef68ba Bug 1320181 - Storage sanitizer should return an empty object belonging to the correct scope. r=kmag
MozReview-Commit-ID: Bx95Cgx0EuH

--HG--
extra : rebase_source : bdc82cee761ab389ee17235ca115e3a964a55797
2016-11-28 20:11:06 +01:00
Wes Kocher
1dd5ea0353 Merge m-c to autoland, a=merge 2016-12-02 13:14:06 -08:00