Bug 1321512 - Add tags containing double-quote and backslash to font-feature-settings tests. r=dholbert
authorJonathan Kew <jkew@mozilla.com>
Sat, 03 Dec 2016 10:58:57 +0000
changeset 325207 612dfd756ef78a09827ad2287d4635b50368ce81
parent 325206 9ccafe6922c61dd962c4da4f3f1edc7e3ac8746e
child 325208 ee75de0e12acc2c7557daa437fdb4d5c53393304
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersdholbert
bugs1321512
milestone53.0a1
Bug 1321512 - Add tags containing double-quote and backslash to font-feature-settings tests. r=dholbert
layout/style/test/property_database.js
--- a/layout/style/test/property_database.js
+++ b/layout/style/test/property_database.js
@@ -3027,17 +3027,18 @@ var gCSSProperties = {
     inherited: true,
     type: CSS_TYPE_LONGHAND,
     initial_values: [ "normal" ],
     other_values: [
       "'liga' on", "'liga'", "\"liga\" 1", "'liga', 'clig' 1",
       "\"liga\" off", "\"liga\" 0", '"cv01" 3, "cv02" 4',
       '"cswh", "smcp" off, "salt" 4', '"cswh" 1, "smcp" off, "salt" 4',
       '"cswh" 0, \'blah\', "liga", "smcp" off, "salt" 4',
-      '"liga"        ,"smcp" 0         , "blah"'
+      '"liga"        ,"smcp" 0         , "blah"',
+      '"ab\\"c"', '"ab\\\\c"'
     ],
     invalid_values: [
       'liga', 'liga 1', 'liga normal', '"liga" normal', 'normal liga',
       'normal "liga"', 'normal, "liga"', '"liga=1"', "'foobar' on",
       '"blahblah" 0', '"liga" 3.14', '"liga" 1 3.14', '"liga" 1 normal',
       '"liga" 1 off', '"liga" on off', '"liga" , 0 "smcp"', '"liga" "smcp"'
     ]
   },