blob: 481aca9f0e609229852c35d38d1e672f56a0bc45 [file] [log] [blame]
import 'dart:html';
import 'package:expect/minitest.dart';
main() {
var isCssRuleList =
predicate((x) => x is List<CssRule>, 'is a List<CssRule>');
test("ClientRectList test", () {
var sheet = document.styleSheets[0] as CssStyleSheet;
List<CssRule> rulesList = sheet.cssRules;
expect(rulesList, isCssRuleList);
});
}