Skip to content

Commit

Permalink
Bug 1567156 [wpt PR 17908] - Update MathML tests for lengths now that…
Browse files Browse the repository at this point in the history
… some numbers are invalid in …, a=testonly

Automatic update from web-platform-tests
Update MathML tests for lengths now that some numbers are invalid in core.

Basically things like "7.em", "-7.em" or "5" are now invalid.

w3c/mathml#24
w3c/mathml#23

--

wpt-commits: a7bec3cae6324dfadbc93705eb8b119d550e094a
wpt-pr: 17908

UltraBlame original commit: ac0176e866080ef838ca94c26e556216aefcecfa
  • Loading branch information
marco-c committed Oct 4, 2019
1 parent 9f789e9 commit 38e0fba
Showing 1 changed file with 87 additions and 159 deletions.
246 changes: 87 additions & 159 deletions testing/web-platform/tests/mathml/relations/css-styling/lengths-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -520,22 +520,6 @@
"
)
;
assert_equals
(
getBox
(
"
unitNone
"
)
.
width
150
"
Unitless
"
)
;
}
"
Units
Expand Down Expand Up @@ -692,22 +676,6 @@
"
)
;
assert_equals
(
getBox
(
"
spaceNone
"
)
.
width
150
"
Unitless
"
)
;
}
"
Trimming
Expand Down Expand Up @@ -778,23 +746,6 @@
getBox
(
"
n3
"
)
.
width
70
epsilon
"
n3
"
)
;
assert_approx_equals
(
getBox
(
"
n4
"
)
Expand Down Expand Up @@ -1003,26 +954,6 @@
getBox
(
"
N3
"
)
.
top
-
70
epsilon
"
N3
"
)
;
assert_approx_equals
(
topRef
-
getBox
(
"
N4
"
)
Expand Down Expand Up @@ -1288,6 +1219,93 @@
"
)
;
test
(
function
(
)
{
/
/
These
values
are
invalid
in
MathML
Core
.
assert_equals
(
getBox
(
"
unitNone
"
)
.
width
30
"
Unitless
"
)
;
assert_approx_equals
(
getBox
(
"
n3
"
)
.
width
0
epsilon
"
n3
"
)
;
var
topRef
=
getBox
(
"
ref
"
)
.
top
;
assert_approx_equals
(
topRef
-
getBox
(
"
N3
"
)
.
top
0
epsilon
"
N3
"
)
;
}
"
Legacy
numbers
"
)
;
done
(
)
Expand Down Expand Up @@ -2225,96 +2243,6 @@
/
>
<
mstyle
mathsize
=
"
5
"
>
<
mspace
id
=
"
spaceNone
"
width
=
"
&
#
x20
;
&
#
x9
;
&
#
xA
;
&
#
xD
;
&
#
x20
;
&
#
x9
;
&
#
xA
;
&
#
xD
;
3em
&
#
x20
;
&
#
x9
;
&
#
xA
;
&
#
xD
;
&
#
x20
;
&
#
x9
;
&
#
xA
;
&
#
xD
;
"
/
>
<
/
mstyle
>
<
/
math
>
Expand Down

0 comments on commit 38e0fba

Please sign in to comment.