Skip to content

Commit

Permalink
Bug 1858832 [wpt PR 42517] - Add additional tests for multiplication/…
Browse files Browse the repository at this point in the history
…division of mixed units, a=testonly

Automatic update from web-platform-tests
Add additional tests for multiplication/division of mixed units (#42517)

This PR adds tests for testing multiplication/division of mixed units,
both in simple expressions as well as calc() inside media query expressions.

This is done in support of Interop 2024 ticket:
web-platform-tests/interop#513

--

wpt-commits: 47d5fbd0947420fa271416f2ae3e06f1c3bc0dd2
wpt-pr: 42517

UltraBlame original commit: d447d22cc1cbf776692b3d43c32298effdf63ffa
  • Loading branch information
marco-c committed Nov 8, 2023
1 parent 0c4dee6 commit 23f44ff
Show file tree
Hide file tree
Showing 23 changed files with 1,516 additions and 1,186 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@
property_name
specified_value
expected_value
description
)
{
test
Expand Down Expand Up @@ -425,7 +424,14 @@
)
;
}
description
testing
{
property_name
}
:
{
specified_value
}
)
;
}
Expand All @@ -436,7 +442,6 @@
specified_value
epsilon
expected_value
description
)
{
test
Expand Down Expand Up @@ -532,7 +537,14 @@
)
;
}
description
testing
{
property_name
}
:
{
specified_value
}
)
;
}
Expand All @@ -549,14 +561,6 @@
"
4
"
"
testing
tab
-
size
:
4
"
)
;
/
Expand All @@ -567,7 +571,6 @@
initial_value
specified_value
expected_value
description
)
*
/
Expand Down Expand Up @@ -601,16 +604,6 @@
"
48px
"
"
testing
tab
-
size
:
0
.
5in
"
)
;
verifyComputedStyle
Expand All @@ -628,16 +621,6 @@
"
96px
"
"
testing
tab
-
size
:
2
.
54cm
"
)
;
verifyComputedStyle
Expand All @@ -655,16 +638,6 @@
"
96px
"
"
testing
tab
-
size
:
25
.
4mm
"
)
;
verifyComputedStyle
Expand All @@ -680,14 +653,6 @@
"
24px
"
"
testing
tab
-
size
:
18pt
"
)
;
verifyComputedStyle
Expand All @@ -703,14 +668,6 @@
"
80px
"
"
testing
tab
-
size
:
5pc
"
)
;
verifyComputedStyle
Expand All @@ -728,16 +685,6 @@
"
96px
"
"
testing
tab
-
size
:
101
.
6Q
"
)
;
verifyComputedStyle
Expand All @@ -753,14 +700,6 @@
"
7px
"
"
testing
tab
-
size
:
7px
"
)
;
/
Expand All @@ -770,7 +709,6 @@
property_name
specified_value
expected_value
description
)
*
/
Expand Down Expand Up @@ -798,14 +736,6 @@
"
20px
"
"
testing
tab
-
size
:
1em
"
)
;
/
Expand All @@ -816,7 +746,6 @@
specified_value
epsilon
expected_value
description
)
*
/
Expand All @@ -836,14 +765,6 @@
"
32px
"
"
testing
tab
-
size
:
2ex
"
)
;
/
Expand Down Expand Up @@ -888,14 +809,6 @@
"
48px
"
"
testing
tab
-
size
:
3rem
"
)
;
/
Expand Down Expand Up @@ -925,14 +838,6 @@
?
px
"
"
testing
tab
-
size
:
4vw
"
)
;
verifyComputedStyle
Expand All @@ -949,14 +854,6 @@
?
px
"
"
testing
tab
-
size
:
5vh
"
)
;
verifyComputedStyle
Expand All @@ -973,14 +870,6 @@
?
px
"
"
testing
tab
-
size
:
6vmin
"
)
;
verifyComputedStyle
Expand All @@ -997,14 +886,6 @@
?
px
"
"
testing
tab
-
size
:
7vmax
"
)
;
verifyComputedStyle
Expand All @@ -1021,14 +902,6 @@
?
px
"
"
testing
tab
-
size
:
8ch
"
)
;
*
Expand Down
Loading

0 comments on commit 23f44ff

Please sign in to comment.