diff --git a/layout/reftests/font-matching/reftest.list b/layout/reftests/font-matching/reftest.list index 1c0ac3103cfa..a4585fda251c 100644 --- a/layout/reftests/font-matching/reftest.list +++ b/layout/reftests/font-matching/reftest.list @@ -70,3 +70,8 @@ HTTP(..) == stretchmapping-137.html stretchmapping-137-ref.html # test for font-stretch using @font-face HTTP(..) == font-stretch-1.html font-stretch-1-ref.html +# bug 724231 - applying synthetic styles to a single @font-face font +# should apply artificial obliquing, not switch to a true styled face +!= synthetic-style-1.html synthetic-style-1-notref.html +!= synthetic-style-2.html synthetic-style-2-notref.html + diff --git a/layout/reftests/font-matching/synthetic-style-1-notref.html b/layout/reftests/font-matching/synthetic-style-1-notref.html new file mode 100644 index 000000000000..0cc51da48fa2 --- /dev/null +++ b/layout/reftests/font-matching/synthetic-style-1-notref.html @@ -0,0 +1,15 @@ + + + +Synthetic italic should not use true italic face + + + + +

Synthetic italics should not use the true italic face. + + diff --git a/layout/reftests/font-matching/synthetic-style-1.html b/layout/reftests/font-matching/synthetic-style-1.html new file mode 100644 index 000000000000..4db379273c46 --- /dev/null +++ b/layout/reftests/font-matching/synthetic-style-1.html @@ -0,0 +1,19 @@ + + + +Synthetic italic should not use true italic face + + + + +

Synthetic italics should not use the true italic face. + + diff --git a/layout/reftests/font-matching/synthetic-style-2-notref.html b/layout/reftests/font-matching/synthetic-style-2-notref.html new file mode 100644 index 000000000000..e3fa7fb6af65 --- /dev/null +++ b/layout/reftests/font-matching/synthetic-style-2-notref.html @@ -0,0 +1,15 @@ + + + +Synthetic bold should not use true bold face + + + + +

Synthetic bold should not use the true bold face. + + diff --git a/layout/reftests/font-matching/synthetic-style-2.html b/layout/reftests/font-matching/synthetic-style-2.html new file mode 100644 index 000000000000..3885119112a2 --- /dev/null +++ b/layout/reftests/font-matching/synthetic-style-2.html @@ -0,0 +1,19 @@ + + + +Synthetic bold should not use true bold face + + + + +

Synthetic bold should not use the true bold face. + +