#[allow(clippy::wildcard_imports)] // widget/render module pulls in the css property/value types it builds with
assert_eq!(pv.metric, SizeMetric::Px, "label lengths must be absolute px, got {:?}", pv.metric);
for (name, table, want) in [("default", LABEL_STYLE_DEFAULT, 13.0), ("mac", LABEL_STYLE_MAC, 12.0)] {
assert_eq!(font_size_px(&label.label_style), expected_font_size(), "the 42px override survived");
assert_eq!(inline_properties(&dom).len(), expected_table().len(), "style varies with the text");
assert_eq!(dom.root.get_ids_and_classes().as_ref().len(), 1, "the text leaked into the class list");
assert!(has_class(&dom, LABEL_CLASS_NAME), "round {round}: the static class list was corrupted");