blob: 8b61620029a5568aee5bc0426861ea25ea34f129 [file] [log] [blame]
// @dart = 2.9
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);
});
}