Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit f3d5370

Browse files
committed
Update testcase
1 parent 7a06393 commit f3d5370

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,9 @@ fn test_font_family_specific() {
334334
335335
#[test]
336336
fn test_font_size() {
337-
let style = "span { font-size: 10pt; }";
337+
let style = "span { font-size: 10px; }";
338338
do child_test(style) |computed| {
339-
assert!(computed.font_size() == Specified(CSSFontSizeLength(Pt(10.0))));
339+
assert!(computed.font_size() == Specified(CSSFontSizeLength(Px(10.0))));
340340
}
341341
let style = "span { font-size: 10%; }";
342342
do child_test(style) |computed| {

0 commit comments

Comments
 (0)