Merge inbound to mozilla-central. a=merge

This commit is contained in:
Ciure Andrei 2018-10-28 11:52:04 +02:00
Родитель 3269c2c585 fa3de00c1c
Коммит 5b3b6b8fd9
4 изменённых файлов: 19 добавлений и 0 удалений

Просмотреть файл

@ -25,7 +25,9 @@
* Based on fbmmx.c by Owen Taylor, Søren Sandmann and Nicholas Miell
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "pixman-private.h"
#include "pixman-combine32.h"
#include <altivec.h>

Просмотреть файл

@ -26,6 +26,19 @@ function run_test() {
input: "see www.mozilla.org maybe",
url: "http://www.mozilla.org"
},
// -- delimiters
{
input: "see http://www.mozilla.org/maybe today", // Spaces
url: "http://www.mozilla.org/maybe"
},
{
input: "see \"http://www.mozilla.org/maybe today\"", // Double quotes
url: "http://www.mozilla.org/maybetoday" // spaces ignored
},
{
input: "see <http://www.mozilla.org/maybe today>", // Angle brackets
url: "http://www.mozilla.org/maybetoday" // spaces ignored
},
// -- freetext
{
input:"I mean http://www.mozilla.org/.",

Просмотреть файл

@ -3000,7 +3000,9 @@ fn static_assert() {
% for value in keyword.gecko_values():
structs::${keyword.gecko_constant(value)} => Keyword::${to_camel_case(value)},
% endfor
% if keyword.gecko_inexhaustive:
_ => panic!("Found unexpected value for animation-${ident}"),
% endif
}
}
${impl_animation_count(ident, gecko_ffi_name)}

Просмотреть файл

@ -247,6 +247,7 @@ ${helpers.single_keyword(
gecko_enum_prefix="PlaybackDirection",
custom_consts=animation_direction_custom_consts,
extra_prefixes=animation_extra_prefixes,
gecko_inexhaustive=True,
spec="https://drafts.csswg.org/css-animations/#propdef-animation-direction",
allowed_in_keyframe_block=False,
)}
@ -271,6 +272,7 @@ ${helpers.single_keyword(
vector=True,
gecko_enum_prefix="FillMode",
extra_prefixes=animation_extra_prefixes,
gecko_inexhaustive=True,
spec="https://drafts.csswg.org/css-animations/#propdef-animation-fill-mode",
allowed_in_keyframe_block=False,
)}