Add tests for :-moz-tree-* pseudo-elements. (Bug 521044)

This commit is contained in:
L. David Baron 2009-10-07 20:22:42 -07:00
Родитель 76e92e0d78
Коммит 85ea814467
1 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -682,6 +682,20 @@ function run() {
test_parseable(":-moz-lwtheme-brighttext");
test_parseable(":-moz-lwtheme-darktext");
test_parseable(":-moz-tree-row(selected)");
test_parseable("::-moz-tree-row(selected)");
test_parseable(":-moz-tree-row(selected focus)");
test_parseable(":-moz-tree-row(selected , focus)");
test_parseable("::-moz-tree-row(selected ,focus)");
test_parseable(":-moz-tree-row(selected, focus)");
test_parseable("::-moz-tree-row(selected,focus)");
test_parseable(":-moz-tree-row(selected focus)");
test_parseable("::-moz-tree-row(selected , focus)");
test_parseable("::-moz-tree-twisty( hover open )");
test_balanced_unparseable("::-moz-tree-row(selected {[]} )");
test_balanced_unparseable(":-moz-tree-twisty(open())");
test_balanced_unparseable("::-moz-tree-twisty(hover ())");
run_deferred_tests();
}