Skip to content

Commit 7148b28

Browse files
committed
servo: Merge #1328 - Work around Rust bug causing nondeterministic CSS parse failure (from kmcallister:properties); r=jdm
The bug is rust-lang/rust#10683 and there's no fix yet, plus it would take us a while to upgrade Rust anyway. Fixes #1258. Source-Repo: https://github.com/servo/servo Source-Revision: 148d1720e539c36ed44efdc7ebf3e45f25388f13 UltraBlame original commit: 28bc03c8fa39fea27af15f247cb7cc3c3f6fe31d
1 parent de2b9d2 commit 7148b28

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

servo/src/components/style/properties.rs.mako

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6907,12 +6907,29 @@ PropertyDeclaration
69076907
>
69086908
PropertyDeclarationParseResult
69096909
{
6910-
match
6910+
/
6911+
/
6912+
FIXME
6913+
:
6914+
local
6915+
variable
6916+
to
6917+
work
6918+
around
6919+
Rust
6920+
#
6921+
10683
6922+
let
6923+
name_lower
6924+
=
69116925
name
69126926
.
69136927
to_ascii_lower
69146928
(
69156929
)
6930+
;
6931+
match
6932+
name_lower
69166933
.
69176934
as_slice
69186935
(

0 commit comments

Comments
 (0)