Skip to content

Commit

Permalink
servo: Merge #1388 - Fixed this issue (rust-lang/rust#10683) (from hy…
Browse files Browse the repository at this point in the history
…unjunekim:cssissues); r=kmcallister

Fixed this issue ( rust-lang/rust#10683 )

Source-Repo: https://github.com/servo/servo
Source-Revision: c5d81f13c167ba46836b78359389e8d1a3f817d6

UltraBlame original commit: 19615f9ab014ee097b16427c1c85db9c1a353b6d
  • Loading branch information
marco-c committed Sep 30, 2019
1 parent 08bdc64 commit 2bf2b42
Show file tree
Hide file tree
Showing 5 changed files with 307 additions and 13 deletions.
32 changes: 29 additions & 3 deletions servo/src/components/script/dom/htmliframeelement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -517,15 +517,41 @@ split_iter
'
)
{
modes
|
/
/
FIXME
:
Workaround
for
https
:
/
/
github
.
com
/
mozilla
/
rust
/
issues
/
10683
let
word_lower
=
match
word
.
to_ascii_lower
(
)
;
modes
|
=
match
word_lower
.
as_slice
(
Expand Down
28 changes: 27 additions & 1 deletion servo/src/components/style/common_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,38 @@ Option
Length
>
{
match
/
/
FIXME
:
Workaround
for
https
:
/
/
github
.
com
/
mozilla
/
rust
/
issues
/
10683
let
unit_lower
=
unit
.
to_ascii_lower
(
)
;
match
unit_lower
.
as_slice
(
Expand Down
28 changes: 27 additions & 1 deletion servo/src/components/style/media_queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,38 @@ value
=
>
{
match
/
/
FIXME
:
Workaround
for
https
:
/
/
github
.
com
/
mozilla
/
rust
/
issues
/
10683
let
value_lower
=
value
.
to_ascii_lower
(
)
;
match
value_lower
.
as_slice
(
Expand Down
118 changes: 114 additions & 4 deletions servo/src/components/style/properties.rs.mako
Original file line number Diff line number Diff line change
Expand Up @@ -1452,12 +1452,39 @@ value
)
=
>
match
{
/
/
FIXME
:
Workaround
for
https
:
/
/
github
.
com
/
mozilla
/
rust
/
issues
/
10683
let
value_lower
=
value
.
to_ascii_lower
(
)
;
match
value_lower
.
as_slice
(
Expand Down Expand Up @@ -1525,6 +1552,7 @@ _
>
None
}
}
_
=
>
Expand Down Expand Up @@ -2564,12 +2592,39 @@ value
)
=
>
match
{
/
/
FIXME
:
Workaround
for
https
:
/
/
github
.
com
/
mozilla
/
rust
/
issues
/
10683
let
value_lower
=
value
.
to_ascii_lower
(
)
;
match
value_lower
.
as_slice
(
Expand Down Expand Up @@ -2605,6 +2660,7 @@ _
>
None
}
}
_
=
>
Expand Down Expand Up @@ -3446,6 +3502,27 @@ value
=
>
{
/
/
FIXME
:
Workaround
for
https
:
/
/
github
.
com
/
mozilla
/
rust
/
issues
/
10683
let
value
=
Expand All @@ -3455,12 +3532,17 @@ as_slice
(
)
;
match
let
value_lower
=
value
.
to_ascii_lower
(
)
;
match
value_lower
.
as_slice
(
Expand Down Expand Up @@ -3796,12 +3878,39 @@ value
)
=
>
match
{
/
/
FIXME
:
Workaround
for
https
:
/
/
github
.
com
/
mozilla
/
rust
/
issues
/
10683
let
value_lower
=
value
.
to_ascii_lower
(
)
;
match
value_lower
.
as_slice
(
Expand Down Expand Up @@ -3848,6 +3957,7 @@ _
>
None
}
}
&
Number
(
Expand Down
Loading

0 comments on commit 2bf2b42

Please sign in to comment.