Bug 1389937 - Test the actual expected order of @font-face cascading. r?xidorn
MozReview-Commit-ID: IrdrlLY5wTq
--- a/layout/style/test/test_font_face_cascade.html
+++ b/layout/style/test/test_font_face_cascade.html
@@ -27,11 +27,11 @@ load_sheet(
"@font-face { font-family: TestAuthor; src: url(about:invalid); }",
"AUTHOR_SHEET");
load_sheet(
"@font-face { font-family: TestUser; src: url(about:invalid); }",
"USER_SHEET");
is([...document.fonts].map(f => f.family).join(" "),
- '"TestAuthor" "TestUser" "TestAgent"',
+ '"TestAgent" "TestUser" "TestAuthor"',
"@font-face rules are returned in correct cascade order");
</script>