Bug 1389937 - Test the actual expected order of @font-face cascading. r?xidorn draft
authorCameron McCormack <cam@mcc.id.au>
Mon, 14 Aug 2017 17:14:30 +0800
changeset 645829 f5826c74cf303259911d447df11d8870998cb887
parent 645674 3bfcbdf5c6c381d5a8febb5c209e27a69fb89f9b
child 726039 32da7697f4d3ea2b55a8bc7eb37f5a5a9592f6ba
push id73900
push userbmo:cam@mcc.id.au
push dateMon, 14 Aug 2017 09:15:11 +0000
reviewersxidorn
bugs1389937
milestone57.0a1
Bug 1389937 - Test the actual expected order of @font-face cascading. r?xidorn MozReview-Commit-ID: IrdrlLY5wTq
layout/style/test/test_font_face_cascade.html
--- 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>