Skip to content

Commit 2bf2b42

Browse files
committed
servo: Merge #1388 - Fixed this issue (rust-lang/rust#10683) (from hyunjunekim:cssissues); r=kmcallister
Fixed this issue ( rust-lang/rust#10683 ) Source-Repo: https://github.com/servo/servo Source-Revision: c5d81f13c167ba46836b78359389e8d1a3f817d6 UltraBlame original commit: 19615f9ab014ee097b16427c1c85db9c1a353b6d
1 parent 08bdc64 commit 2bf2b42

File tree

5 files changed

+307
-13
lines changed

5 files changed

+307
-13
lines changed

servo/src/components/script/dom/htmliframeelement.rs

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,15 +517,41 @@ split_iter
517517
'
518518
)
519519
{
520-
modes
521-
|
520+
/
521+
/
522+
FIXME
523+
:
524+
Workaround
525+
for
526+
https
527+
:
528+
/
529+
/
530+
github
531+
.
532+
com
533+
/
534+
mozilla
535+
/
536+
rust
537+
/
538+
issues
539+
/
540+
10683
541+
let
542+
word_lower
522543
=
523-
match
524544
word
525545
.
526546
to_ascii_lower
527547
(
528548
)
549+
;
550+
modes
551+
|
552+
=
553+
match
554+
word_lower
529555
.
530556
as_slice
531557
(

servo/src/components/style/common_types.rs

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,12 +367,38 @@ Option
367367
Length
368368
>
369369
{
370-
match
370+
/
371+
/
372+
FIXME
373+
:
374+
Workaround
375+
for
376+
https
377+
:
378+
/
379+
/
380+
github
381+
.
382+
com
383+
/
384+
mozilla
385+
/
386+
rust
387+
/
388+
issues
389+
/
390+
10683
391+
let
392+
unit_lower
393+
=
371394
unit
372395
.
373396
to_ascii_lower
374397
(
375398
)
399+
;
400+
match
401+
unit_lower
376402
.
377403
as_slice
378404
(

servo/src/components/style/media_queries.rs

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,12 +408,38 @@ value
408408
=
409409
>
410410
{
411-
match
411+
/
412+
/
413+
FIXME
414+
:
415+
Workaround
416+
for
417+
https
418+
:
419+
/
420+
/
421+
github
422+
.
423+
com
424+
/
425+
mozilla
426+
/
427+
rust
428+
/
429+
issues
430+
/
431+
10683
432+
let
433+
value_lower
434+
=
412435
value
413436
.
414437
to_ascii_lower
415438
(
416439
)
440+
;
441+
match
442+
value_lower
417443
.
418444
as_slice
419445
(

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

Lines changed: 114 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,12 +1452,39 @@ value
14521452
)
14531453
=
14541454
>
1455-
match
1455+
{
1456+
/
1457+
/
1458+
FIXME
1459+
:
1460+
Workaround
1461+
for
1462+
https
1463+
:
1464+
/
1465+
/
1466+
github
1467+
.
1468+
com
1469+
/
1470+
mozilla
1471+
/
1472+
rust
1473+
/
1474+
issues
1475+
/
1476+
10683
1477+
let
1478+
value_lower
1479+
=
14561480
value
14571481
.
14581482
to_ascii_lower
14591483
(
14601484
)
1485+
;
1486+
match
1487+
value_lower
14611488
.
14621489
as_slice
14631490
(
@@ -1525,6 +1552,7 @@ _
15251552
>
15261553
None
15271554
}
1555+
}
15281556
_
15291557
=
15301558
>
@@ -2564,12 +2592,39 @@ value
25642592
)
25652593
=
25662594
>
2567-
match
2595+
{
2596+
/
2597+
/
2598+
FIXME
2599+
:
2600+
Workaround
2601+
for
2602+
https
2603+
:
2604+
/
2605+
/
2606+
github
2607+
.
2608+
com
2609+
/
2610+
mozilla
2611+
/
2612+
rust
2613+
/
2614+
issues
2615+
/
2616+
10683
2617+
let
2618+
value_lower
2619+
=
25682620
value
25692621
.
25702622
to_ascii_lower
25712623
(
25722624
)
2625+
;
2626+
match
2627+
value_lower
25732628
.
25742629
as_slice
25752630
(
@@ -2605,6 +2660,7 @@ _
26052660
>
26062661
None
26072662
}
2663+
}
26082664
_
26092665
=
26102666
>
@@ -3446,6 +3502,27 @@ value
34463502
=
34473503
>
34483504
{
3505+
/
3506+
/
3507+
FIXME
3508+
:
3509+
Workaround
3510+
for
3511+
https
3512+
:
3513+
/
3514+
/
3515+
github
3516+
.
3517+
com
3518+
/
3519+
mozilla
3520+
/
3521+
rust
3522+
/
3523+
issues
3524+
/
3525+
10683
34493526
let
34503527
value
34513528
=
@@ -3455,12 +3532,17 @@ as_slice
34553532
(
34563533
)
34573534
;
3458-
match
3535+
let
3536+
value_lower
3537+
=
34593538
value
34603539
.
34613540
to_ascii_lower
34623541
(
34633542
)
3543+
;
3544+
match
3545+
value_lower
34643546
.
34653547
as_slice
34663548
(
@@ -3796,12 +3878,39 @@ value
37963878
)
37973879
=
37983880
>
3799-
match
3881+
{
3882+
/
3883+
/
3884+
FIXME
3885+
:
3886+
Workaround
3887+
for
3888+
https
3889+
:
3890+
/
3891+
/
3892+
github
3893+
.
3894+
com
3895+
/
3896+
mozilla
3897+
/
3898+
rust
3899+
/
3900+
issues
3901+
/
3902+
10683
3903+
let
3904+
value_lower
3905+
=
38003906
value
38013907
.
38023908
to_ascii_lower
38033909
(
38043910
)
3911+
;
3912+
match
3913+
value_lower
38053914
.
38063915
as_slice
38073916
(
@@ -3848,6 +3957,7 @@ _
38483957
>
38493958
None
38503959
}
3960+
}
38513961
&
38523962
Number
38533963
(

0 commit comments

Comments
 (0)