зеркало из https://github.com/mozilla/gecko-dev.git
Merge inbound to mozilla-central. a=merge
This commit is contained in:
Коммит
5b3b6b8fd9
|
@ -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,
|
||||
)}
|
||||
|
|
Загрузка…
Ссылка в новой задаче