blob: 6b2fc0f4241a0c258af1e23868628659cb5b195b [file] [log] [blame]
description(
'Test parsing of @font-face rule using insertRule(). <a href="http://bugs.webkit.org/show_bug.cgi?id=15986">http://bugs.webkit.org/show_bug.cgi?id=15986</a>'
);
var rule = "@font-face { }";
shouldBe("document.styleSheets[0].insertRule(rule, 0)", "0");
shouldBe("document.styleSheets[0].rules[0].cssText", "rule");