Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 57e4771

Browse files
committedOct 4, 2019
Bug 1567156 [wpt PR 17908] - Update MathML tests for lengths now that 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
1 parent 332aef1 commit 57e4771

File tree

1 file changed

+87
-159
lines changed

1 file changed

+87
-159
lines changed
 

‎testing/web-platform/tests/mathml/relations/css-styling/lengths-2.html

+87-159
Original file line numberDiff line numberDiff line change
@@ -520,22 +520,6 @@
520520
"
521521
)
522522
;
523-
assert_equals
524-
(
525-
getBox
526-
(
527-
"
528-
unitNone
529-
"
530-
)
531-
.
532-
width
533-
150
534-
"
535-
Unitless
536-
"
537-
)
538-
;
539523
}
540524
"
541525
Units
@@ -692,22 +676,6 @@
692676
"
693677
)
694678
;
695-
assert_equals
696-
(
697-
getBox
698-
(
699-
"
700-
spaceNone
701-
"
702-
)
703-
.
704-
width
705-
150
706-
"
707-
Unitless
708-
"
709-
)
710-
;
711679
}
712680
"
713681
Trimming
@@ -778,23 +746,6 @@
778746
getBox
779747
(
780748
"
781-
n3
782-
"
783-
)
784-
.
785-
width
786-
70
787-
epsilon
788-
"
789-
n3
790-
"
791-
)
792-
;
793-
assert_approx_equals
794-
(
795-
getBox
796-
(
797-
"
798749
n4
799750
"
800751
)
@@ -1003,26 +954,6 @@
1003954
getBox
1004955
(
1005956
"
1006-
N3
1007-
"
1008-
)
1009-
.
1010-
top
1011-
-
1012-
70
1013-
epsilon
1014-
"
1015-
N3
1016-
"
1017-
)
1018-
;
1019-
assert_approx_equals
1020-
(
1021-
topRef
1022-
-
1023-
getBox
1024-
(
1025-
"
1026957
N4
1027958
"
1028959
)
@@ -1288,6 +1219,93 @@
12881219
"
12891220
)
12901221
;
1222+
test
1223+
(
1224+
function
1225+
(
1226+
)
1227+
{
1228+
/
1229+
/
1230+
These
1231+
values
1232+
are
1233+
invalid
1234+
in
1235+
MathML
1236+
Core
1237+
.
1238+
assert_equals
1239+
(
1240+
getBox
1241+
(
1242+
"
1243+
unitNone
1244+
"
1245+
)
1246+
.
1247+
width
1248+
30
1249+
"
1250+
Unitless
1251+
"
1252+
)
1253+
;
1254+
assert_approx_equals
1255+
(
1256+
getBox
1257+
(
1258+
"
1259+
n3
1260+
"
1261+
)
1262+
.
1263+
width
1264+
0
1265+
epsilon
1266+
"
1267+
n3
1268+
"
1269+
)
1270+
;
1271+
var
1272+
topRef
1273+
=
1274+
getBox
1275+
(
1276+
"
1277+
ref
1278+
"
1279+
)
1280+
.
1281+
top
1282+
;
1283+
assert_approx_equals
1284+
(
1285+
topRef
1286+
-
1287+
getBox
1288+
(
1289+
"
1290+
N3
1291+
"
1292+
)
1293+
.
1294+
top
1295+
0
1296+
epsilon
1297+
"
1298+
N3
1299+
"
1300+
)
1301+
;
1302+
}
1303+
"
1304+
Legacy
1305+
numbers
1306+
"
1307+
)
1308+
;
12911309
done
12921310
(
12931311
)
@@ -2225,96 +2243,6 @@
22252243
/
22262244
>
22272245
<
2228-
mstyle
2229-
mathsize
2230-
=
2231-
"
2232-
5
2233-
"
2234-
>
2235-
<
2236-
mspace
2237-
id
2238-
=
2239-
"
2240-
spaceNone
2241-
"
2242-
width
2243-
=
2244-
"
2245-
&
2246-
#
2247-
x20
2248-
;
2249-
&
2250-
#
2251-
x9
2252-
;
2253-
&
2254-
#
2255-
xA
2256-
;
2257-
&
2258-
#
2259-
xD
2260-
;
2261-
&
2262-
#
2263-
x20
2264-
;
2265-
&
2266-
#
2267-
x9
2268-
;
2269-
&
2270-
#
2271-
xA
2272-
;
2273-
&
2274-
#
2275-
xD
2276-
;
2277-
3em
2278-
&
2279-
#
2280-
x20
2281-
;
2282-
&
2283-
#
2284-
x9
2285-
;
2286-
&
2287-
#
2288-
xA
2289-
;
2290-
&
2291-
#
2292-
xD
2293-
;
2294-
&
2295-
#
2296-
x20
2297-
;
2298-
&
2299-
#
2300-
x9
2301-
;
2302-
&
2303-
#
2304-
xA
2305-
;
2306-
&
2307-
#
2308-
xD
2309-
;
2310-
"
2311-
/
2312-
>
2313-
<
2314-
/
2315-
mstyle
2316-
>
2317-
<
23182246
/
23192247
math
23202248
>

0 commit comments

Comments
 (0)
Please sign in to comment.