From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- layout/reftests/font-matching/1367860-1.htm | 20 + layout/reftests/font-matching/1367860-2.htm | 20 + layout/reftests/font-matching/1367860-3.htm | 20 + layout/reftests/font-matching/1367860-ref.htm | 15 + layout/reftests/font-matching/1394311-ref.htm | 22 + layout/reftests/font-matching/1394311.htm | 22 + layout/reftests/font-matching/1458158-1-ref.html | 26 ++ layout/reftests/font-matching/1458158-1.html | 22 + layout/reftests/font-matching/1850672-1-ref.html | 11 + layout/reftests/font-matching/1850672-1.html | 11 + .../CSS21-t1502-no-inherited-font-family-ref.xhtml | 43 ++ .../CSS21-t1502-no-inherited-font-family.xhtml | 61 +++ .../font-matching/apple-symbols-1-notref.html | 25 + layout/reftests/font-matching/apple-symbols-1.html | 25 + .../reftests/font-matching/arial-arabic-ref.html | 25 + layout/reftests/font-matching/arial-arabic.html | 26 ++ .../font-matching/arial-variations-1-ref.html | 43 ++ .../reftests/font-matching/arial-variations-1.html | 43 ++ .../font-matching/arial-variations-2-ref.html | 43 ++ .../reftests/font-matching/arial-variations-2.html | 43 ++ .../font-matching/arial-variations-3-ref.html | 43 ++ .../reftests/font-matching/arial-variations-3.html | 43 ++ .../font-matching/arial-variations-4-ref.html | 43 ++ .../reftests/font-matching/arial-variations-4.html | 43 ++ .../font-matching/arial-variations-5-ref.html | 43 ++ .../reftests/font-matching/arial-variations-5.html | 43 ++ .../font-matching/arial-variations-6-ref.html | 43 ++ .../reftests/font-matching/arial-variations-6.html | 43 ++ .../reftests/font-matching/arialunicode-bold.html | 10 + .../font-matching/arialunicode-bolditalic.html | 10 + .../font-matching/arialunicode-italic.html | 10 + .../font-matching/arialunicode-oblique.html | 10 + layout/reftests/font-matching/arialunicode.html | 10 + .../bold-system-fallback-1-notref.html | 19 + .../font-matching/bold-system-fallback-1.html | 19 + .../bold-system-fallback-2-notref.html | 19 + .../font-matching/bold-system-fallback-2.html | 19 + .../reftests/font-matching/defaultfont-bold.html | 10 + .../font-matching/defaultfont-bolditalic.html | 10 + .../reftests/font-matching/defaultfont-italic.html | 10 + .../font-matching/defaultfont-oblique.html | 10 + layout/reftests/font-matching/defaultfont.html | 9 + .../font-matching/defaultjapanese-bold.html | 9 + .../font-matching/defaultjapanese-bolditalic.html | 9 + .../font-matching/defaultjapanese-italic.html | 9 + .../font-matching/defaultjapanese-oblique.html | 10 + layout/reftests/font-matching/defaultjapanese.html | 9 + .../font-matching/descriptor-ranges-ref.html | 19 + .../reftests/font-matching/descriptor-ranges.html | 20 + layout/reftests/font-matching/descriptor-ranges.js | 79 ++++ .../font-matching/emoji-fallback-1-ref.html | 21 + .../reftests/font-matching/emoji-fallback-1.html | 20 + .../font-matching/emoji-fallback-2-ref.html | 21 + .../reftests/font-matching/emoji-fallback-2.html | 24 + .../font-matching/emoji-fallback-3-ref.html | 21 + .../reftests/font-matching/emoji-fallback-3.html | 24 + .../font-matching/emoji-keycap-2-notref.html | 3 + layout/reftests/font-matching/emoji-keycap-2.html | 3 + .../font-matching/emoji-keycap-notref.html | 20 + layout/reftests/font-matching/emoji-keycap.html | 20 + .../reftests/font-matching/emoji-skintone-ref.html | 19 + layout/reftests/font-matching/emoji-skintone.html | 19 + .../font-matching/emoji-subregion-flag-notref.html | 4 + .../font-matching/emoji-subregion-flag.html | 4 + .../fallback-respects-generic-1-ref.html | 12 + .../font-matching/fallback-respects-generic-1.html | 12 + .../familyname-escapedidents-ref.html | 16 + .../font-matching/familyname-escapedidents.html | 17 + .../font-matching/font-shorthand-stretch-1.html | 79 ++++ .../reftests/font-matching/font-stretch-1-ref.html | 73 +++ layout/reftests/font-matching/font-stretch-1.html | 79 ++++ .../font-matching/font-synthesis-1-ref.html | 23 + .../reftests/font-matching/font-synthesis-1.html | 23 + .../font-matching/font-synthesis-2-ref.html | 28 ++ .../reftests/font-matching/font-synthesis-2.html | 28 ++ .../font-matching/hiragino-kaku-1-notref.html | 2 + layout/reftests/font-matching/hiragino-kaku-1.html | 3 + .../font-matching/illformed-lang-tags-1.html | 55 +++ layout/reftests/font-matching/impact-bold.html | 10 + .../reftests/font-matching/impact-bolditalic.html | 10 + layout/reftests/font-matching/impact-italic.html | 10 + layout/reftests/font-matching/impact-oblique.html | 10 + layout/reftests/font-matching/impact.html | 10 + .../reftests/font-matching/italic-oblique-1.html | 31 ++ .../reftests/font-matching/italic-oblique-2.html | 31 ++ .../reftests/font-matching/italic-oblique-3.html | 37 ++ .../reftests/font-matching/italic-oblique-4.html | 37 ++ .../reftests/font-matching/italic-oblique-5.html | 37 ++ .../reftests/font-matching/italic-oblique-6.html | 37 ++ .../reftests/font-matching/italic-oblique-7.html | 37 ++ .../reftests/font-matching/italic-oblique-8.html | 43 ++ .../reftests/font-matching/italic-oblique-9.html | 43 ++ .../font-matching/italic-oblique-kinnari-ref.html | 37 ++ .../font-matching/italic-oblique-kinnari.html | 37 ++ .../reftests/font-matching/italic-oblique-ref.html | 24 + .../font-matching/legacy-family-names-1-ref.html | 9 + .../font-matching/legacy-family-names-1.html | 9 + .../font-matching/legacy-family-names-2-ref.html | 9 + .../font-matching/legacy-family-names-2.html | 9 + .../localized-family-names-001-ref.html | 46 ++ .../font-matching/localized-family-names-001.html | 46 ++ .../localized-family-names-002-ref.html | 46 ++ .../font-matching/localized-family-names-002.html | 46 ++ .../localized-family-names-003-ref.html | 47 ++ .../font-matching/localized-family-names-003.html | 47 ++ .../localized-family-names-004-ref.html | 38 ++ .../font-matching/localized-family-names-004.html | 38 ++ .../reftests/font-matching/lucidaconsole-bold.html | 10 + .../font-matching/lucidaconsole-bolditalic.html | 10 + .../font-matching/lucidaconsole-italic.html | 10 + .../font-matching/lucidaconsole-oblique.html | 10 + layout/reftests/font-matching/lucidaconsole.html | 10 + .../font-matching/normalmedium-notref.html | 42 ++ .../reftests/font-matching/normalmedium-ref.html | 42 ++ layout/reftests/font-matching/normalmedium.html | 44 ++ .../font-matching/osaka-mono-exists-ref.html | 21 + .../reftests/font-matching/osaka-mono-exists.html | 25 + layout/reftests/font-matching/osaka-mono-ref.html | 10 + layout/reftests/font-matching/osaka-mono.html | 10 + layout/reftests/font-matching/reftest.list | 201 ++++++++ .../reftests/font-matching/simple-oblique-ref.html | 33 ++ layout/reftests/font-matching/simple-oblique.html | 33 ++ .../font-matching/stretchmapping-137-ref.html | 348 ++++++++++++++ .../reftests/font-matching/stretchmapping-137.html | 268 +++++++++++ .../font-matching/stretchmapping-35-ref.html | 320 +++++++++++++ .../reftests/font-matching/stretchmapping-35.html | 240 ++++++++++ .../font-matching/stretchmapping-all-ref.html | 366 +++++++++++++++ .../reftests/font-matching/stretchmapping-all.html | 505 +++++++++++++++++++++ .../font-matching/stretchmapping-reverse-ref.html | 54 +++ .../font-matching/stretchmapping-reverse.html | 102 +++++ .../font-matching/synthetic-bold-1-ref.html | 11 + .../reftests/font-matching/synthetic-bold-1.html | 12 + .../font-matching/synthetic-bold-2-ref.html | 11 + .../reftests/font-matching/synthetic-bold-2.html | 12 + .../font-matching/synthetic-style-1-notref.html | 15 + .../reftests/font-matching/synthetic-style-1.html | 19 + .../font-matching/synthetic-style-2-notref.html | 15 + .../reftests/font-matching/synthetic-style-2.html | 19 + .../font-matching/syntheticbold-rotated-ref.html | 35 ++ .../font-matching/syntheticbold-rotated.html | 36 ++ .../reftests/font-matching/system-font-pref.html | 2 + .../system-generic-fallback-1-ref.html | 39 ++ .../font-matching/system-generic-fallback-1.html | 39 ++ .../system-generic-fallback-2-ref.html | 38 ++ .../font-matching/system-generic-fallback-2.html | 38 ++ .../system-generic-fallback-3-ref.html | 38 ++ .../font-matching/system-generic-fallback-3.html | 38 ++ .../system-generic-fallback-4-ref.html | 38 ++ .../font-matching/system-generic-fallback-4.html | 38 ++ .../font-matching/system-generic-fallback-ja.html | 33 ++ .../font-matching/system-generic-fallback-ko.html | 33 ++ .../system-generic-fallback-zh-cn.html | 33 ++ .../system-generic-fallback-zh-tw.html | 33 ++ .../font-matching/system-ui-fallback-2-ref.html | 2 + .../font-matching/system-ui-fallback-2.html | 2 + .../font-matching/system-ui-fallback-notref.html | 2 + .../reftests/font-matching/system-ui-fallback.html | 9 + .../font-matching/weightmapping-12-ref.html | 222 +++++++++ .../reftests/font-matching/weightmapping-12.html | 174 +++++++ .../font-matching/weightmapping-12579-ref.html | 255 +++++++++++ .../font-matching/weightmapping-12579.html | 207 +++++++++ .../font-matching/weightmapping-25-ref.html | 222 +++++++++ .../reftests/font-matching/weightmapping-25.html | 174 +++++++ .../font-matching/weightmapping-45-ref.html | 222 +++++++++ .../reftests/font-matching/weightmapping-45.html | 174 +++++++ .../font-matching/weightmapping-458-ref.html | 233 ++++++++++ .../reftests/font-matching/weightmapping-458.html | 185 ++++++++ .../font-matching/weightmapping-478-ref.html | 233 ++++++++++ .../reftests/font-matching/weightmapping-478.html | 185 ++++++++ .../font-matching/weightmapping-7-ref.html | 211 +++++++++ layout/reftests/font-matching/weightmapping-7.html | 163 +++++++ .../reftests/font-matching/wingdings-1-notref.html | 9 + layout/reftests/font-matching/wingdings-1-ref.html | 13 + layout/reftests/font-matching/wingdings-1.html | 12 + 174 files changed, 9041 insertions(+) create mode 100644 layout/reftests/font-matching/1367860-1.htm create mode 100644 layout/reftests/font-matching/1367860-2.htm create mode 100644 layout/reftests/font-matching/1367860-3.htm create mode 100644 layout/reftests/font-matching/1367860-ref.htm create mode 100644 layout/reftests/font-matching/1394311-ref.htm create mode 100644 layout/reftests/font-matching/1394311.htm create mode 100644 layout/reftests/font-matching/1458158-1-ref.html create mode 100644 layout/reftests/font-matching/1458158-1.html create mode 100644 layout/reftests/font-matching/1850672-1-ref.html create mode 100644 layout/reftests/font-matching/1850672-1.html create mode 100644 layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family-ref.xhtml create mode 100644 layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml create mode 100644 layout/reftests/font-matching/apple-symbols-1-notref.html create mode 100644 layout/reftests/font-matching/apple-symbols-1.html create mode 100644 layout/reftests/font-matching/arial-arabic-ref.html create mode 100644 layout/reftests/font-matching/arial-arabic.html create mode 100644 layout/reftests/font-matching/arial-variations-1-ref.html create mode 100644 layout/reftests/font-matching/arial-variations-1.html create mode 100644 layout/reftests/font-matching/arial-variations-2-ref.html create mode 100644 layout/reftests/font-matching/arial-variations-2.html create mode 100644 layout/reftests/font-matching/arial-variations-3-ref.html create mode 100644 layout/reftests/font-matching/arial-variations-3.html create mode 100644 layout/reftests/font-matching/arial-variations-4-ref.html create mode 100644 layout/reftests/font-matching/arial-variations-4.html create mode 100644 layout/reftests/font-matching/arial-variations-5-ref.html create mode 100644 layout/reftests/font-matching/arial-variations-5.html create mode 100644 layout/reftests/font-matching/arial-variations-6-ref.html create mode 100644 layout/reftests/font-matching/arial-variations-6.html create mode 100644 layout/reftests/font-matching/arialunicode-bold.html create mode 100644 layout/reftests/font-matching/arialunicode-bolditalic.html create mode 100644 layout/reftests/font-matching/arialunicode-italic.html create mode 100644 layout/reftests/font-matching/arialunicode-oblique.html create mode 100644 layout/reftests/font-matching/arialunicode.html create mode 100644 layout/reftests/font-matching/bold-system-fallback-1-notref.html create mode 100644 layout/reftests/font-matching/bold-system-fallback-1.html create mode 100644 layout/reftests/font-matching/bold-system-fallback-2-notref.html create mode 100644 layout/reftests/font-matching/bold-system-fallback-2.html create mode 100644 layout/reftests/font-matching/defaultfont-bold.html create mode 100644 layout/reftests/font-matching/defaultfont-bolditalic.html create mode 100644 layout/reftests/font-matching/defaultfont-italic.html create mode 100644 layout/reftests/font-matching/defaultfont-oblique.html create mode 100644 layout/reftests/font-matching/defaultfont.html create mode 100644 layout/reftests/font-matching/defaultjapanese-bold.html create mode 100644 layout/reftests/font-matching/defaultjapanese-bolditalic.html create mode 100644 layout/reftests/font-matching/defaultjapanese-italic.html create mode 100644 layout/reftests/font-matching/defaultjapanese-oblique.html create mode 100644 layout/reftests/font-matching/defaultjapanese.html create mode 100644 layout/reftests/font-matching/descriptor-ranges-ref.html create mode 100644 layout/reftests/font-matching/descriptor-ranges.html create mode 100644 layout/reftests/font-matching/descriptor-ranges.js create mode 100644 layout/reftests/font-matching/emoji-fallback-1-ref.html create mode 100644 layout/reftests/font-matching/emoji-fallback-1.html create mode 100644 layout/reftests/font-matching/emoji-fallback-2-ref.html create mode 100644 layout/reftests/font-matching/emoji-fallback-2.html create mode 100644 layout/reftests/font-matching/emoji-fallback-3-ref.html create mode 100644 layout/reftests/font-matching/emoji-fallback-3.html create mode 100644 layout/reftests/font-matching/emoji-keycap-2-notref.html create mode 100644 layout/reftests/font-matching/emoji-keycap-2.html create mode 100644 layout/reftests/font-matching/emoji-keycap-notref.html create mode 100644 layout/reftests/font-matching/emoji-keycap.html create mode 100644 layout/reftests/font-matching/emoji-skintone-ref.html create mode 100644 layout/reftests/font-matching/emoji-skintone.html create mode 100644 layout/reftests/font-matching/emoji-subregion-flag-notref.html create mode 100644 layout/reftests/font-matching/emoji-subregion-flag.html create mode 100644 layout/reftests/font-matching/fallback-respects-generic-1-ref.html create mode 100644 layout/reftests/font-matching/fallback-respects-generic-1.html create mode 100644 layout/reftests/font-matching/familyname-escapedidents-ref.html create mode 100644 layout/reftests/font-matching/familyname-escapedidents.html create mode 100644 layout/reftests/font-matching/font-shorthand-stretch-1.html create mode 100644 layout/reftests/font-matching/font-stretch-1-ref.html create mode 100644 layout/reftests/font-matching/font-stretch-1.html create mode 100644 layout/reftests/font-matching/font-synthesis-1-ref.html create mode 100644 layout/reftests/font-matching/font-synthesis-1.html create mode 100644 layout/reftests/font-matching/font-synthesis-2-ref.html create mode 100644 layout/reftests/font-matching/font-synthesis-2.html create mode 100644 layout/reftests/font-matching/hiragino-kaku-1-notref.html create mode 100644 layout/reftests/font-matching/hiragino-kaku-1.html create mode 100644 layout/reftests/font-matching/illformed-lang-tags-1.html create mode 100644 layout/reftests/font-matching/impact-bold.html create mode 100644 layout/reftests/font-matching/impact-bolditalic.html create mode 100644 layout/reftests/font-matching/impact-italic.html create mode 100644 layout/reftests/font-matching/impact-oblique.html create mode 100644 layout/reftests/font-matching/impact.html create mode 100644 layout/reftests/font-matching/italic-oblique-1.html create mode 100644 layout/reftests/font-matching/italic-oblique-2.html create mode 100644 layout/reftests/font-matching/italic-oblique-3.html create mode 100644 layout/reftests/font-matching/italic-oblique-4.html create mode 100644 layout/reftests/font-matching/italic-oblique-5.html create mode 100644 layout/reftests/font-matching/italic-oblique-6.html create mode 100644 layout/reftests/font-matching/italic-oblique-7.html create mode 100644 layout/reftests/font-matching/italic-oblique-8.html create mode 100644 layout/reftests/font-matching/italic-oblique-9.html create mode 100644 layout/reftests/font-matching/italic-oblique-kinnari-ref.html create mode 100644 layout/reftests/font-matching/italic-oblique-kinnari.html create mode 100644 layout/reftests/font-matching/italic-oblique-ref.html create mode 100644 layout/reftests/font-matching/legacy-family-names-1-ref.html create mode 100644 layout/reftests/font-matching/legacy-family-names-1.html create mode 100644 layout/reftests/font-matching/legacy-family-names-2-ref.html create mode 100644 layout/reftests/font-matching/legacy-family-names-2.html create mode 100644 layout/reftests/font-matching/localized-family-names-001-ref.html create mode 100644 layout/reftests/font-matching/localized-family-names-001.html create mode 100644 layout/reftests/font-matching/localized-family-names-002-ref.html create mode 100644 layout/reftests/font-matching/localized-family-names-002.html create mode 100644 layout/reftests/font-matching/localized-family-names-003-ref.html create mode 100644 layout/reftests/font-matching/localized-family-names-003.html create mode 100644 layout/reftests/font-matching/localized-family-names-004-ref.html create mode 100644 layout/reftests/font-matching/localized-family-names-004.html create mode 100644 layout/reftests/font-matching/lucidaconsole-bold.html create mode 100644 layout/reftests/font-matching/lucidaconsole-bolditalic.html create mode 100644 layout/reftests/font-matching/lucidaconsole-italic.html create mode 100644 layout/reftests/font-matching/lucidaconsole-oblique.html create mode 100644 layout/reftests/font-matching/lucidaconsole.html create mode 100644 layout/reftests/font-matching/normalmedium-notref.html create mode 100644 layout/reftests/font-matching/normalmedium-ref.html create mode 100644 layout/reftests/font-matching/normalmedium.html create mode 100644 layout/reftests/font-matching/osaka-mono-exists-ref.html create mode 100644 layout/reftests/font-matching/osaka-mono-exists.html create mode 100644 layout/reftests/font-matching/osaka-mono-ref.html create mode 100644 layout/reftests/font-matching/osaka-mono.html create mode 100644 layout/reftests/font-matching/reftest.list create mode 100644 layout/reftests/font-matching/simple-oblique-ref.html create mode 100644 layout/reftests/font-matching/simple-oblique.html create mode 100644 layout/reftests/font-matching/stretchmapping-137-ref.html create mode 100644 layout/reftests/font-matching/stretchmapping-137.html create mode 100644 layout/reftests/font-matching/stretchmapping-35-ref.html create mode 100644 layout/reftests/font-matching/stretchmapping-35.html create mode 100644 layout/reftests/font-matching/stretchmapping-all-ref.html create mode 100644 layout/reftests/font-matching/stretchmapping-all.html create mode 100644 layout/reftests/font-matching/stretchmapping-reverse-ref.html create mode 100644 layout/reftests/font-matching/stretchmapping-reverse.html create mode 100644 layout/reftests/font-matching/synthetic-bold-1-ref.html create mode 100644 layout/reftests/font-matching/synthetic-bold-1.html create mode 100644 layout/reftests/font-matching/synthetic-bold-2-ref.html create mode 100644 layout/reftests/font-matching/synthetic-bold-2.html create mode 100644 layout/reftests/font-matching/synthetic-style-1-notref.html create mode 100644 layout/reftests/font-matching/synthetic-style-1.html create mode 100644 layout/reftests/font-matching/synthetic-style-2-notref.html create mode 100644 layout/reftests/font-matching/synthetic-style-2.html create mode 100644 layout/reftests/font-matching/syntheticbold-rotated-ref.html create mode 100644 layout/reftests/font-matching/syntheticbold-rotated.html create mode 100644 layout/reftests/font-matching/system-font-pref.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-1-ref.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-1.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-2-ref.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-2.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-3-ref.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-3.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-4-ref.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-4.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-ja.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-ko.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-zh-cn.html create mode 100644 layout/reftests/font-matching/system-generic-fallback-zh-tw.html create mode 100644 layout/reftests/font-matching/system-ui-fallback-2-ref.html create mode 100644 layout/reftests/font-matching/system-ui-fallback-2.html create mode 100644 layout/reftests/font-matching/system-ui-fallback-notref.html create mode 100644 layout/reftests/font-matching/system-ui-fallback.html create mode 100644 layout/reftests/font-matching/weightmapping-12-ref.html create mode 100644 layout/reftests/font-matching/weightmapping-12.html create mode 100644 layout/reftests/font-matching/weightmapping-12579-ref.html create mode 100644 layout/reftests/font-matching/weightmapping-12579.html create mode 100644 layout/reftests/font-matching/weightmapping-25-ref.html create mode 100644 layout/reftests/font-matching/weightmapping-25.html create mode 100644 layout/reftests/font-matching/weightmapping-45-ref.html create mode 100644 layout/reftests/font-matching/weightmapping-45.html create mode 100644 layout/reftests/font-matching/weightmapping-458-ref.html create mode 100644 layout/reftests/font-matching/weightmapping-458.html create mode 100644 layout/reftests/font-matching/weightmapping-478-ref.html create mode 100644 layout/reftests/font-matching/weightmapping-478.html create mode 100644 layout/reftests/font-matching/weightmapping-7-ref.html create mode 100644 layout/reftests/font-matching/weightmapping-7.html create mode 100644 layout/reftests/font-matching/wingdings-1-notref.html create mode 100644 layout/reftests/font-matching/wingdings-1-ref.html create mode 100644 layout/reftests/font-matching/wingdings-1.html (limited to 'layout/reftests/font-matching') diff --git a/layout/reftests/font-matching/1367860-1.htm b/layout/reftests/font-matching/1367860-1.htm new file mode 100644 index 0000000000..53516dfe86 --- /dev/null +++ b/layout/reftests/font-matching/1367860-1.htm @@ -0,0 +1,20 @@ + + + + + + + + +
+ These two lines should be exactly the same. +
+
+ These two lines should be exactly the same. +
+ + diff --git a/layout/reftests/font-matching/1367860-2.htm b/layout/reftests/font-matching/1367860-2.htm new file mode 100644 index 0000000000..977743989e --- /dev/null +++ b/layout/reftests/font-matching/1367860-2.htm @@ -0,0 +1,20 @@ + + + + + + + + +
+ These two lines should be exactly the same. +
+
+ These two lines should be exactly the same. +
+ + diff --git a/layout/reftests/font-matching/1367860-3.htm b/layout/reftests/font-matching/1367860-3.htm new file mode 100644 index 0000000000..6791e2f167 --- /dev/null +++ b/layout/reftests/font-matching/1367860-3.htm @@ -0,0 +1,20 @@ + + + + + + + + +
+ These two lines should be exactly the same. +
+
+ These two lines should be exactly the same. +
+ + diff --git a/layout/reftests/font-matching/1367860-ref.htm b/layout/reftests/font-matching/1367860-ref.htm new file mode 100644 index 0000000000..c78ead43ab --- /dev/null +++ b/layout/reftests/font-matching/1367860-ref.htm @@ -0,0 +1,15 @@ + + + + + + + + +
These two lines should be exactly the same.
+
These two lines should be exactly the same.
+ + diff --git a/layout/reftests/font-matching/1394311-ref.htm b/layout/reftests/font-matching/1394311-ref.htm new file mode 100644 index 0000000000..f5ef6ef41f --- /dev/null +++ b/layout/reftests/font-matching/1394311-ref.htm @@ -0,0 +1,22 @@ + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/font-matching/1394311.htm b/layout/reftests/font-matching/1394311.htm new file mode 100644 index 0000000000..186ae11cb4 --- /dev/null +++ b/layout/reftests/font-matching/1394311.htm @@ -0,0 +1,22 @@ + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/font-matching/1458158-1-ref.html b/layout/reftests/font-matching/1458158-1-ref.html new file mode 100644 index 0000000000..18af0c3352 --- /dev/null +++ b/layout/reftests/font-matching/1458158-1-ref.html @@ -0,0 +1,26 @@ + + + +

bold العربي bolder العربيA

diff --git a/layout/reftests/font-matching/1458158-1.html b/layout/reftests/font-matching/1458158-1.html new file mode 100644 index 0000000000..b4d04a18c4 --- /dev/null +++ b/layout/reftests/font-matching/1458158-1.html @@ -0,0 +1,22 @@ + + + +

bold العربي bolder العربيA

diff --git a/layout/reftests/font-matching/1850672-1-ref.html b/layout/reftests/font-matching/1850672-1-ref.html new file mode 100644 index 0000000000..af7c90d773 --- /dev/null +++ b/layout/reftests/font-matching/1850672-1-ref.html @@ -0,0 +1,11 @@ + + +

Both lines should look the same:

+
+
+lorem ipsum +
+
+lorem ipsum +
+ \ No newline at end of file diff --git a/layout/reftests/font-matching/1850672-1.html b/layout/reftests/font-matching/1850672-1.html new file mode 100644 index 0000000000..3d411c121b --- /dev/null +++ b/layout/reftests/font-matching/1850672-1.html @@ -0,0 +1,11 @@ + + +

Both lines should look the same:

+
+
+lorem ipsum +
+
+lorem ipsum +
+ \ No newline at end of file diff --git a/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family-ref.xhtml b/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family-ref.xhtml new file mode 100644 index 0000000000..fb00a9aa95 --- /dev/null +++ b/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family-ref.xhtml @@ -0,0 +1,43 @@ + + + + CSS 2.1: Font matching algorithm (reference) + + + + + +
+ Every line of text in this page should be in the same font. +
+ +
+ Every line of text in this page should be in the same font. +
+ +
+ Every line of text in this page should be in the same font. +
+ +
+ Every line of text in this page should be in the same font. +
+ +
+ Every line of text in this page should be in the same font. +
+ +
+ Every line of text in this page should be in the same font. +
+ +
+ Every line of text in this page should be in the same font. +
+ +
+ Every line of text in this page should be in the same font. +
+ + + diff --git a/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml b/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml new file mode 100644 index 0000000000..a3dcdba69c --- /dev/null +++ b/layout/reftests/font-matching/CSS21-t1502-no-inherited-font-family.xhtml @@ -0,0 +1,61 @@ + + + + CSS 2.1: Font matching algorithm + + + + + + + +
+
+ Every line of text in this page should be in the same font. +
+
+ +
+
+ Every line of text in this page should be in the same font. +
+
+ +
+
+ Every line of text in this page should be in the same font. +
+
+ +
+
+ Every line of text in this page should be in the same font. +
+
+ +
+
+ Every line of text in this page should be in the same font. +
+
+ +
+
+ Every line of text in this page should be in the same font. +
+
+ +
+
+ Every line of text in this page should be in the same font. +
+
+ +
+
+ Every line of text in this page should be in the same font. +
+
+ + + diff --git a/layout/reftests/font-matching/apple-symbols-1-notref.html b/layout/reftests/font-matching/apple-symbols-1-notref.html new file mode 100644 index 0000000000..b216a4ff50 --- /dev/null +++ b/layout/reftests/font-matching/apple-symbols-1-notref.html @@ -0,0 +1,25 @@ + + + + +Apple Symbols test + + + +∙◦◎☑☞ + + diff --git a/layout/reftests/font-matching/apple-symbols-1.html b/layout/reftests/font-matching/apple-symbols-1.html new file mode 100644 index 0000000000..ba92206f17 --- /dev/null +++ b/layout/reftests/font-matching/apple-symbols-1.html @@ -0,0 +1,25 @@ + + + + +Apple Symbols test + + + +∙◦◎☑☞ + + diff --git a/layout/reftests/font-matching/arial-arabic-ref.html b/layout/reftests/font-matching/arial-arabic-ref.html new file mode 100644 index 0000000000..f5665f6c53 --- /dev/null +++ b/layout/reftests/font-matching/arial-arabic-ref.html @@ -0,0 +1,25 @@ + + + + +Bug 769475 - test for italicized Arabic script in Arial + + + + +
العربي العربي العربي
+ + diff --git a/layout/reftests/font-matching/arial-arabic.html b/layout/reftests/font-matching/arial-arabic.html new file mode 100644 index 0000000000..5f363ca261 --- /dev/null +++ b/layout/reftests/font-matching/arial-arabic.html @@ -0,0 +1,26 @@ + + + + +Bug 769475 - test for italicized Arabic script in Arial + + + + +
العربي العربي العربي
+ + diff --git a/layout/reftests/font-matching/arial-variations-1-ref.html b/layout/reftests/font-matching/arial-variations-1-ref.html new file mode 100644 index 0000000000..5956b40c8d --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-1-ref.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: Arial, sans-serif; }

+

{ font-family: Arial Bold, Georgia, serif; }

+

{ font-family: Arial Italic, Georgia, serif; }

+

{ font-family: Arial Bold Italic, Georgia, serif; }

+
+ + + diff --git a/layout/reftests/font-matching/arial-variations-1.html b/layout/reftests/font-matching/arial-variations-1.html new file mode 100644 index 0000000000..72c93ef9b8 --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-1.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: Arial, sans-serif; }

+

{ font-family: Arial Bold, Georgia, serif; }

+

{ font-family: Arial Italic, Georgia, serif; }

+

{ font-family: Arial Bold Italic, Georgia, serif; }

+
+ + + diff --git a/layout/reftests/font-matching/arial-variations-2-ref.html b/layout/reftests/font-matching/arial-variations-2-ref.html new file mode 100644 index 0000000000..04c8c8601a --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-2-ref.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: arial, sans-serif; }

+

{ font-family: arial bold, georgia, serif; }

+

{ font-family: arial italic, georgia, serif; }

+

{ font-family: arial bold italic, georgia, serif; }

+
+ + + diff --git a/layout/reftests/font-matching/arial-variations-2.html b/layout/reftests/font-matching/arial-variations-2.html new file mode 100644 index 0000000000..a6daf7157b --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-2.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: arial, sans-serif; }

+

{ font-family: arial bold, georgia, serif; }

+

{ font-family: arial italic, georgia, serif; }

+

{ font-family: arial bold italic, georgia, serif; }

+
+ + + diff --git a/layout/reftests/font-matching/arial-variations-3-ref.html b/layout/reftests/font-matching/arial-variations-3-ref.html new file mode 100644 index 0000000000..625a51a49c --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-3-ref.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: ArialMT, Georgia, serif; }

+

{ font-family: Arial-BoldMT, Georgia, serif; }

+

{ font-family: Arial-ItalicMT, Georgia, serif; }

+

{ font-family: Arial-BoldItalicMT, Georgia, serif; }

+
+ + + diff --git a/layout/reftests/font-matching/arial-variations-3.html b/layout/reftests/font-matching/arial-variations-3.html new file mode 100644 index 0000000000..ce1ca3ffc7 --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-3.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: ArialMT, Georgia, serif; }

+

{ font-family: Arial-BoldMT, Georgia, serif; }

+

{ font-family: Arial-ItalicMT, Georgia, serif; }

+

{ font-family: Arial-BoldItalicMT, Georgia, serif; }

+
+ + + diff --git a/layout/reftests/font-matching/arial-variations-4-ref.html b/layout/reftests/font-matching/arial-variations-4-ref.html new file mode 100644 index 0000000000..843851d254 --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-4-ref.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: arialmt, georgia, serif; }

+

{ font-family: arial-boldmt, georgia, serif; }

+

{ font-family: arial-italicmt, georgia, serif; }

+

{ font-family: arial-bolditalicmt, georgia, serif; }

+
+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/arial-variations-4.html b/layout/reftests/font-matching/arial-variations-4.html new file mode 100644 index 0000000000..a52d97daa6 --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-4.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: arialmt, georgia, serif; }

+

{ font-family: arial-boldmt, georgia, serif; }

+

{ font-family: arial-italicmt, georgia, serif; }

+

{ font-family: arial-bolditalicmt, georgia, serif; }

+
+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/arial-variations-5-ref.html b/layout/reftests/font-matching/arial-variations-5-ref.html new file mode 100644 index 0000000000..583c5d51d7 --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-5-ref.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: "Arial", sans-serif; }

+

{ font-family: "Arial Bold", Georgia, serif; }

+

{ font-family: "Arial Italic", Georgia, serif; }

+

{ font-family: "Arial Bold Italic", Georgia, serif; }

+
+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/arial-variations-5.html b/layout/reftests/font-matching/arial-variations-5.html new file mode 100644 index 0000000000..73d2371282 --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-5.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: "Arial", sans-serif; }

+

{ font-family: "Arial Bold", Georgia, serif; }

+

{ font-family: "Arial Italic", Georgia, serif; }

+

{ font-family: "Arial Bold Italic", Georgia, serif; }

+
+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/arial-variations-6-ref.html b/layout/reftests/font-matching/arial-variations-6-ref.html new file mode 100644 index 0000000000..60fba9530e --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-6-ref.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: "arial", sans-serif; }

+

{ font-family: "arial bold", georgia, serif; }

+

{ font-family: "arial italic", georgia, serif; }

+

{ font-family: "arial bold italic", georgia, serif; }

+
+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/arial-variations-6.html b/layout/reftests/font-matching/arial-variations-6.html new file mode 100644 index 0000000000..0dd1e3b407 --- /dev/null +++ b/layout/reftests/font-matching/arial-variations-6.html @@ -0,0 +1,43 @@ + + + +Arial Variations + + + + + + + +

Text in black should appear in Arial and text in red in Georgia or the default serif font:

+ +
+

{ font-family: "arial", sans-serif; }

+

{ font-family: "arial bold", georgia, serif; }

+

{ font-family: "arial italic", georgia, serif; }

+

{ font-family: "arial bold italic", georgia, serif; }

+
+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/arialunicode-bold.html b/layout/reftests/font-matching/arialunicode-bold.html new file mode 100644 index 0000000000..3b765c3801 --- /dev/null +++ b/layout/reftests/font-matching/arialunicode-bold.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/arialunicode-bolditalic.html b/layout/reftests/font-matching/arialunicode-bolditalic.html new file mode 100644 index 0000000000..728bead4fc --- /dev/null +++ b/layout/reftests/font-matching/arialunicode-bolditalic.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/arialunicode-italic.html b/layout/reftests/font-matching/arialunicode-italic.html new file mode 100644 index 0000000000..c9ab0231c3 --- /dev/null +++ b/layout/reftests/font-matching/arialunicode-italic.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/arialunicode-oblique.html b/layout/reftests/font-matching/arialunicode-oblique.html new file mode 100644 index 0000000000..c9ab0231c3 --- /dev/null +++ b/layout/reftests/font-matching/arialunicode-oblique.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/arialunicode.html b/layout/reftests/font-matching/arialunicode.html new file mode 100644 index 0000000000..92469691e7 --- /dev/null +++ b/layout/reftests/font-matching/arialunicode.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/bold-system-fallback-1-notref.html b/layout/reftests/font-matching/bold-system-fallback-1-notref.html new file mode 100644 index 0000000000..c6f8709f2e --- /dev/null +++ b/layout/reftests/font-matching/bold-system-fallback-1-notref.html @@ -0,0 +1,19 @@ + + + + +Test for bold when system fallback is used + + + +

ᏩᎦᏧᎧᏅᏍᏕᎾ ᎤᏂᎾᏗᏅᏗ ᎨᏒᎢ ᎠᏂᏙᎾᎥ ᎠᎴᏫᏍᏙᏗ ᎢᏳᏩᎪᏗ ᎯᎳᎪ ᎢᏳ ᏚᏂᎬᏩᎶᏔᏅ ᎠᎴ ᎠᎵᏌᎳᏗᏍᎬ +ᎭᏫᎾᏗᏢ ᎠᏕᎸ ᏄᎾᏍᏛ ᎤᏂᎾᏗᏅᏗ ᎦᏣᏄᎳᎯᎨ ᎬᎾᏬᏍᎬ ᎤᎾᏤᎵ ᎧᏃᎮᏍᎩ ᏄᎵᏍᏔᏅ ᎢᎦᏘᎭ ᎢᎬᏁᎸ, ᎭᏫᎾᏗᏢ ᏧᏓᎴᎾᎢ +ᎠᎵᏐᏆᎸᏗ ᎤᏂᎾᏗᏅᏗ ᎦᏙ ᎤᏍᏗ ᎨᏒᎢ ᎠᏂᏙᎾᎥ ᎠᎴᏫᏍᏙᏗ ᎢᏳᏩᎪᏗ ᎯᎳᎪ ᎢᏳ ᏚᏂᎬᏩᎶᏔᏅ ᎠᎴ ᎦᎶᏍᎬ.

+ + diff --git a/layout/reftests/font-matching/bold-system-fallback-1.html b/layout/reftests/font-matching/bold-system-fallback-1.html new file mode 100644 index 0000000000..037f7306e3 --- /dev/null +++ b/layout/reftests/font-matching/bold-system-fallback-1.html @@ -0,0 +1,19 @@ + + + + +Test for bold when system fallback is used + + + +

ᏩᎦᏧᎧᏅᏍᏕᎾ ᎤᏂᎾᏗᏅᏗ ᎨᏒᎢ ᎠᏂᏙᎾᎥ ᎠᎴᏫᏍᏙᏗ ᎢᏳᏩᎪᏗ ᎯᎳᎪ ᎢᏳ ᏚᏂᎬᏩᎶᏔᏅ ᎠᎴ ᎠᎵᏌᎳᏗᏍᎬ +ᎭᏫᎾᏗᏢ ᎠᏕᎸ ᏄᎾᏍᏛ ᎤᏂᎾᏗᏅᏗ ᎦᏣᏄᎳᎯᎨ ᎬᎾᏬᏍᎬ ᎤᎾᏤᎵ ᎧᏃᎮᏍᎩ ᏄᎵᏍᏔᏅ ᎢᎦᏘᎭ ᎢᎬᏁᎸ, ᎭᏫᎾᏗᏢ ᏧᏓᎴᎾᎢ +ᎠᎵᏐᏆᎸᏗ ᎤᏂᎾᏗᏅᏗ ᎦᏙ ᎤᏍᏗ ᎨᏒᎢ ᎠᏂᏙᎾᎥ ᎠᎴᏫᏍᏙᏗ ᎢᏳᏩᎪᏗ ᎯᎳᎪ ᎢᏳ ᏚᏂᎬᏩᎶᏔᏅ ᎠᎴ ᎦᎶᏍᎬ.

+ + diff --git a/layout/reftests/font-matching/bold-system-fallback-2-notref.html b/layout/reftests/font-matching/bold-system-fallback-2-notref.html new file mode 100644 index 0000000000..2a019c6de6 --- /dev/null +++ b/layout/reftests/font-matching/bold-system-fallback-2-notref.html @@ -0,0 +1,19 @@ + + + + +Test for bold when system fallback is used + + + +

♔♕♖♗♘♙

+

♔♕♖♗♘♙

+ + diff --git a/layout/reftests/font-matching/bold-system-fallback-2.html b/layout/reftests/font-matching/bold-system-fallback-2.html new file mode 100644 index 0000000000..40400a846e --- /dev/null +++ b/layout/reftests/font-matching/bold-system-fallback-2.html @@ -0,0 +1,19 @@ + + + + +Test for bold when system fallback is used + + + +

♔♕♖♗♘♙

+

♔♕♖♗♘♙

+ + diff --git a/layout/reftests/font-matching/defaultfont-bold.html b/layout/reftests/font-matching/defaultfont-bold.html new file mode 100644 index 0000000000..8d4de33951 --- /dev/null +++ b/layout/reftests/font-matching/defaultfont-bold.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/defaultfont-bolditalic.html b/layout/reftests/font-matching/defaultfont-bolditalic.html new file mode 100644 index 0000000000..d8db0d7d9c --- /dev/null +++ b/layout/reftests/font-matching/defaultfont-bolditalic.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/defaultfont-italic.html b/layout/reftests/font-matching/defaultfont-italic.html new file mode 100644 index 0000000000..76d4ca0e52 --- /dev/null +++ b/layout/reftests/font-matching/defaultfont-italic.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/defaultfont-oblique.html b/layout/reftests/font-matching/defaultfont-oblique.html new file mode 100644 index 0000000000..9930095dcb --- /dev/null +++ b/layout/reftests/font-matching/defaultfont-oblique.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/defaultfont.html b/layout/reftests/font-matching/defaultfont.html new file mode 100644 index 0000000000..18629c8052 --- /dev/null +++ b/layout/reftests/font-matching/defaultfont.html @@ -0,0 +1,9 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/defaultjapanese-bold.html b/layout/reftests/font-matching/defaultjapanese-bold.html new file mode 100644 index 0000000000..d25f250fae --- /dev/null +++ b/layout/reftests/font-matching/defaultjapanese-bold.html @@ -0,0 +1,9 @@ + + + + +

魅力的な人

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/defaultjapanese-bolditalic.html b/layout/reftests/font-matching/defaultjapanese-bolditalic.html new file mode 100644 index 0000000000..3487e2eea8 --- /dev/null +++ b/layout/reftests/font-matching/defaultjapanese-bolditalic.html @@ -0,0 +1,9 @@ + + + + +

魅力的な人

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/defaultjapanese-italic.html b/layout/reftests/font-matching/defaultjapanese-italic.html new file mode 100644 index 0000000000..0d7d4d0560 --- /dev/null +++ b/layout/reftests/font-matching/defaultjapanese-italic.html @@ -0,0 +1,9 @@ + + + + +

魅力的な人

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/defaultjapanese-oblique.html b/layout/reftests/font-matching/defaultjapanese-oblique.html new file mode 100644 index 0000000000..fb0c3d5429 --- /dev/null +++ b/layout/reftests/font-matching/defaultjapanese-oblique.html @@ -0,0 +1,10 @@ + + + + + +

魅力的な人

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/defaultjapanese.html b/layout/reftests/font-matching/defaultjapanese.html new file mode 100644 index 0000000000..ff3ad7b822 --- /dev/null +++ b/layout/reftests/font-matching/defaultjapanese.html @@ -0,0 +1,9 @@ + + + + +

魅力的な人

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/descriptor-ranges-ref.html b/layout/reftests/font-matching/descriptor-ranges-ref.html new file mode 100644 index 0000000000..b76460fb98 --- /dev/null +++ b/layout/reftests/font-matching/descriptor-ranges-ref.html @@ -0,0 +1,19 @@ + + + + + +
+
+ + + + diff --git a/layout/reftests/font-matching/descriptor-ranges.html b/layout/reftests/font-matching/descriptor-ranges.html new file mode 100644 index 0000000000..573e4398da --- /dev/null +++ b/layout/reftests/font-matching/descriptor-ranges.html @@ -0,0 +1,20 @@ + + + + + +
+
+ + + + diff --git a/layout/reftests/font-matching/descriptor-ranges.js b/layout/reftests/font-matching/descriptor-ranges.js new file mode 100644 index 0000000000..e59bd0d45c --- /dev/null +++ b/layout/reftests/font-matching/descriptor-ranges.js @@ -0,0 +1,79 @@ +/* Script used by descriptor-ranges.html and descriptor-ranges-ref.html + to create @font-face rules and test elements for a collection of + font-matching testcases. */ + +// To create unique font-family names for each testcase. +let serial = 0; + +// Accumulators for the lists of @font-face rules and test elements. +let fontFaceRules = ""; +let testElements = ""; + +// Create a
element with the font properties to match. Its text reports +// the property-value and corresponding pair of descriptors being tested. +// (The associated createFontFaceRules() function is defined separately in the +// test and reference files.) +function createTestElement(family, weight, style, stretch, value, expected, unexpected) { + return `
` + + `${family} ${value} (${expected} vs ${unexpected})
\n`; +} + +// Create testcases for the given descriptor. +// Each testcase has a test property value, and a list of @font-face descriptors +// to be matched against the property, where each descriptor in the list should +// be preferred over the next. +function testDescriptor(descriptorName, testCases) { + testElements += `
Tests of ${descriptorName} descriptor:
\n`; + testCases.forEach(function (testCase) { + // Go though test cases, checking each descriptor has higher priority than next in the list + for (let i = 0; i < testCase.testDescriptors.length - 1; i++) { + serial++; + let expectedMatch = testCase.testDescriptors[i]; + let unexpectedMatch = testCase.testDescriptors[i + 1]; + let familyName = "test_" + serial; + fontFaceRules += createFontFaceRules(familyName, descriptorName, expectedMatch, unexpectedMatch); + let testWeight = (descriptorName == "font-weight") ? testCase.value : "normal"; + let testStyle = (descriptorName == "font-style") ? testCase.value : "normal"; + let testStretch = (descriptorName == "font-stretch") ? testCase.value : "normal"; + testElements += createTestElement(familyName, testWeight, testStyle, testStretch, + testCase.value, expectedMatch, unexpectedMatch); + } + }); +} + +// Testcases (from web-platform/tests/css/css-fonts/variations/at-font-face-font-matching.html, +// with a couple of extras). In each case, for the given property value, the testDescriptors +// are listed from 'best' to 'worse' match, as evaluated by the font-matching algorithm in +// https://drafts.csswg.org/css-fonts-4/#font-style-matching. +testDescriptor("font-weight", [ + { value: "400", testDescriptors: ["400", "450 460", "500", "350 399", "351 398", "501 550", "502 560"] }, + { value: "430", testDescriptors: ["420 440", "450 460", "500", "400 425", "350 399", "340 398", "501 550", "502 560"] }, + { value: "500", testDescriptors: ["500", "450 460", "400", "350 399", "351 398", "501 550", "502 560"] }, + { value: "501", testDescriptors: ["501", "502 510", "503 520", "500", "450 460", "390 410", "300 350"] }, + { value: "399", testDescriptors: ["350 399", "340 360", "200 300", "400", "450 460", "500 501", "502 510"] }, + { value: "350", testDescriptors: ["200 300", "250 280", "420 450", "430 440", "445"] }, + { value: "550", testDescriptors: ["600 800", "700 900", "420 450", "430 440", "425"] } +]); + +testDescriptor("font-stretch", [ + { value: "100%", testDescriptors: ["100%", "110% 120%", "115% 116%"] }, + { value: "110%", testDescriptors: ["110% 120%", "115% 116%", "105%", "100%", "50% 80%", "60% 70%"] }, + { value: "90%", testDescriptors: ["90% 100%", "50% 80%", "60% 70%", "110% 140%", "120% 130%"] }, +]); + +testDescriptor("font-style", [ + { value: "normal", testDescriptors: ["normal", "oblique 0deg", "oblique 10deg 40deg", "oblique 20deg 30deg", "oblique -50deg -20deg", "oblique -40deg -30deg" ] }, + { value: "italic", testDescriptors: ["italic", "oblique 20deg", "oblique 30deg 60deg", "oblique 40deg 50deg", "oblique 5deg 10deg", "oblique 5deg", "normal", "oblique 0deg", "oblique -60deg -30deg", "oblique -50deg -40deg" ] }, + { value: "oblique 20deg", testDescriptors: ["oblique 20deg", "oblique 30deg 60deg", "oblique 40deg 50deg", "oblique 10deg", "italic", "oblique 0deg", "oblique -50deg -20deg", "oblique -40deg -30deg" ] }, + { value: "oblique 21deg", testDescriptors: ["oblique 21deg", "oblique 30deg 60deg", "oblique 40deg 50deg", "oblique 20deg", "oblique 10deg", "italic", "oblique 0deg", "oblique -50deg -20deg", "oblique -40deg -30deg" ] }, + { value: "oblique 10deg", testDescriptors: ["oblique 10deg", "oblique 5deg", "oblique 15deg 20deg", "oblique 30deg 60deg", "oblique 40deg 50deg", "italic", "oblique 0deg", "oblique -50deg -20deg", "oblique -40deg -30deg" ] }, + { value: "oblique 0deg", testDescriptors: ["oblique 0deg", "oblique 5deg", "oblique 15deg 20deg", "oblique 30deg 60deg", "oblique 40deg 50deg", "italic", "oblique -50deg -20deg", "oblique -40deg -30deg" ] }, + { value: "oblique -10deg", testDescriptors: ["oblique -10deg", "oblique -5deg", "oblique -1deg 0deg", "oblique -20deg -15deg", "oblique -60deg -30deg", "oblique -50deg -40deg", "italic", "oblique 0deg 10deg", "oblique 40deg 50deg" ] }, + { value: "oblique -20deg", testDescriptors: ["oblique -20deg", "oblique -60deg -40deg", "oblique -10deg", "italic", "oblique 0deg", "oblique 30deg 60deg", "oblique 40deg 50deg"] }, + { value: "oblique -21deg", testDescriptors: ["oblique -21deg", "oblique -60deg -40deg", "oblique -10deg", "italic", "oblique 0deg", "oblique 30deg 60deg", "oblique 40deg 50deg"] }, +]); + +// Stuff the @font-face rules and test elements into the document. +// Any testcases that render Ahem glyphs are failures. +document.getElementById("dynamicStyles").innerHTML = fontFaceRules; +document.getElementById("testContents").innerHTML = testElements; diff --git a/layout/reftests/font-matching/emoji-fallback-1-ref.html b/layout/reftests/font-matching/emoji-fallback-1-ref.html new file mode 100644 index 0000000000..d7c6eb6a83 --- /dev/null +++ b/layout/reftests/font-matching/emoji-fallback-1-ref.html @@ -0,0 +1,21 @@ + + + + +emoji fallback + + + + +
⌚⌛🌀🌁
+ + + diff --git a/layout/reftests/font-matching/emoji-fallback-1.html b/layout/reftests/font-matching/emoji-fallback-1.html new file mode 100644 index 0000000000..57fda93275 --- /dev/null +++ b/layout/reftests/font-matching/emoji-fallback-1.html @@ -0,0 +1,20 @@ + + + + +emoji fallback + + + + +
⌚⌛🌀🌁
+ + + diff --git a/layout/reftests/font-matching/emoji-fallback-2-ref.html b/layout/reftests/font-matching/emoji-fallback-2-ref.html new file mode 100644 index 0000000000..144f08f1b8 --- /dev/null +++ b/layout/reftests/font-matching/emoji-fallback-2-ref.html @@ -0,0 +1,21 @@ + + + + +emoji fallback to text font + + + + +
⌚︎⌛︎🌀︎🌁︎
+ + + diff --git a/layout/reftests/font-matching/emoji-fallback-2.html b/layout/reftests/font-matching/emoji-fallback-2.html new file mode 100644 index 0000000000..e9aa618d6a --- /dev/null +++ b/layout/reftests/font-matching/emoji-fallback-2.html @@ -0,0 +1,24 @@ + + + + +emoji fallback to text font + + + + +
⌚︎⌛︎🌀︎🌁︎
+ + + diff --git a/layout/reftests/font-matching/emoji-fallback-3-ref.html b/layout/reftests/font-matching/emoji-fallback-3-ref.html new file mode 100644 index 0000000000..94fee73901 --- /dev/null +++ b/layout/reftests/font-matching/emoji-fallback-3-ref.html @@ -0,0 +1,21 @@ + + + + +emoji fallback to color font + + + + +
🅰🅱
+ + + diff --git a/layout/reftests/font-matching/emoji-fallback-3.html b/layout/reftests/font-matching/emoji-fallback-3.html new file mode 100644 index 0000000000..42f4d09ec7 --- /dev/null +++ b/layout/reftests/font-matching/emoji-fallback-3.html @@ -0,0 +1,24 @@ + + + + +emoji fallback to color font + + + + +
🅰️🅱️
+ + + diff --git a/layout/reftests/font-matching/emoji-keycap-2-notref.html b/layout/reftests/font-matching/emoji-keycap-2-notref.html new file mode 100644 index 0000000000..78ca47f02e --- /dev/null +++ b/layout/reftests/font-matching/emoji-keycap-2-notref.html @@ -0,0 +1,3 @@ + + +
0️⃣
diff --git a/layout/reftests/font-matching/emoji-keycap-2.html b/layout/reftests/font-matching/emoji-keycap-2.html new file mode 100644 index 0000000000..16b9f6ab63 --- /dev/null +++ b/layout/reftests/font-matching/emoji-keycap-2.html @@ -0,0 +1,3 @@ + + +
0️⃣
diff --git a/layout/reftests/font-matching/emoji-keycap-notref.html b/layout/reftests/font-matching/emoji-keycap-notref.html new file mode 100644 index 0000000000..d4ec6f4003 --- /dev/null +++ b/layout/reftests/font-matching/emoji-keycap-notref.html @@ -0,0 +1,20 @@ + + + + +keycap emoji + + + + +
+
#⃣0⃣
+
##⃣0⃣
+
+ + + diff --git a/layout/reftests/font-matching/emoji-keycap.html b/layout/reftests/font-matching/emoji-keycap.html new file mode 100644 index 0000000000..5bc803566e --- /dev/null +++ b/layout/reftests/font-matching/emoji-keycap.html @@ -0,0 +1,20 @@ + + + + +keycap emoji + + + + +
+
#️⃣0️⃣
+
##️⃣0️⃣
+
+ + + diff --git a/layout/reftests/font-matching/emoji-skintone-ref.html b/layout/reftests/font-matching/emoji-skintone-ref.html new file mode 100644 index 0000000000..77efa66820 --- /dev/null +++ b/layout/reftests/font-matching/emoji-skintone-ref.html @@ -0,0 +1,19 @@ + + + + +emoji with skintone + + + + +
+☝🏻☝︎☝🏻
+
+ + + diff --git a/layout/reftests/font-matching/emoji-skintone.html b/layout/reftests/font-matching/emoji-skintone.html new file mode 100644 index 0000000000..dcb4f106df --- /dev/null +++ b/layout/reftests/font-matching/emoji-skintone.html @@ -0,0 +1,19 @@ + + + + +emoji with skintone + + + + +
+☝🏻☝︎☝🏻
+
+ + + diff --git a/layout/reftests/font-matching/emoji-subregion-flag-notref.html b/layout/reftests/font-matching/emoji-subregion-flag-notref.html new file mode 100644 index 0000000000..83d4c9a5de --- /dev/null +++ b/layout/reftests/font-matching/emoji-subregion-flag-notref.html @@ -0,0 +1,4 @@ + + +

England: 🏴

+ diff --git a/layout/reftests/font-matching/emoji-subregion-flag.html b/layout/reftests/font-matching/emoji-subregion-flag.html new file mode 100644 index 0000000000..9ba29cf276 --- /dev/null +++ b/layout/reftests/font-matching/emoji-subregion-flag.html @@ -0,0 +1,4 @@ + + +

England: 🏴󠁧󠁢󠁥󠁮󠁧󠁿

+ diff --git a/layout/reftests/font-matching/fallback-respects-generic-1-ref.html b/layout/reftests/font-matching/fallback-respects-generic-1-ref.html new file mode 100644 index 0000000000..c812c5a03b --- /dev/null +++ b/layout/reftests/font-matching/fallback-respects-generic-1-ref.html @@ -0,0 +1,12 @@ + + + + +

The first Chinese line should use the serif font setting from prefs; +the second should use the sans-serif font setting.

+

你好吗? 

+

你好吗? 

diff --git a/layout/reftests/font-matching/fallback-respects-generic-1.html b/layout/reftests/font-matching/fallback-respects-generic-1.html new file mode 100644 index 0000000000..a4b504e289 --- /dev/null +++ b/layout/reftests/font-matching/fallback-respects-generic-1.html @@ -0,0 +1,12 @@ + + + + +

The first Chinese line should use the serif font setting from prefs; +the second should use the sans-serif font setting.

+

你好吗? 

+

你好吗? 

diff --git a/layout/reftests/font-matching/familyname-escapedidents-ref.html b/layout/reftests/font-matching/familyname-escapedidents-ref.html new file mode 100644 index 0000000000..2f54eb85a7 --- /dev/null +++ b/layout/reftests/font-matching/familyname-escapedidents-ref.html @@ -0,0 +1,16 @@ + + + +Escaped family names test + + + + + +

Should be serif

+

Should be serif

+ + \ No newline at end of file diff --git a/layout/reftests/font-matching/familyname-escapedidents.html b/layout/reftests/font-matching/familyname-escapedidents.html new file mode 100644 index 0000000000..0a328d6b13 --- /dev/null +++ b/layout/reftests/font-matching/familyname-escapedidents.html @@ -0,0 +1,17 @@ + + + +Escaped family names test + + + + + +

Should be serif

+

Should be serif

+ + \ No newline at end of file diff --git a/layout/reftests/font-matching/font-shorthand-stretch-1.html b/layout/reftests/font-matching/font-shorthand-stretch-1.html new file mode 100644 index 0000000000..1ac3073bf5 --- /dev/null +++ b/layout/reftests/font-matching/font-shorthand-stretch-1.html @@ -0,0 +1,79 @@ + + + + + + + +
ultra-condensed italic bold italic light italic
+
extra-condensed italic bold italic light italic
+
condensed italic bold italic light italic
+
semi-condensed italic bold italic light italic
+ +
normal italic bold italic light italic
+
semi-expanded italic bold italic light italic
+
expanded italic bold italic light italic
+
extra-expanded italic bold italic light italic
+
ultra-expanded italic bold italic light italic
+ + + diff --git a/layout/reftests/font-matching/font-stretch-1-ref.html b/layout/reftests/font-matching/font-stretch-1-ref.html new file mode 100644 index 0000000000..2fe8f2cf31 --- /dev/null +++ b/layout/reftests/font-matching/font-stretch-1-ref.html @@ -0,0 +1,73 @@ + + + + + + + +
ultra-condensed italic bold italic light italic
+
extra-condensed italic bold italic light italic
+
condensed italic bold italic light italic
+
semi-condensed italic bold italic light italic
+ +
normal italic bold italic light italic
+
semi-expanded italic bold italic light italic
+
expanded italic bold italic light italic
+
extra-expanded italic bold italic light italic
+
ultra-expanded italic bold italic light italic
+ + + diff --git a/layout/reftests/font-matching/font-stretch-1.html b/layout/reftests/font-matching/font-stretch-1.html new file mode 100644 index 0000000000..ca86a08ed9 --- /dev/null +++ b/layout/reftests/font-matching/font-stretch-1.html @@ -0,0 +1,79 @@ + + + + + + + +
ultra-condensed italic bold italic light italic
+
extra-condensed italic bold italic light italic
+
condensed italic bold italic light italic
+
semi-condensed italic bold italic light italic
+ +
normal italic bold italic light italic
+
semi-expanded italic bold italic light italic
+
expanded italic bold italic light italic
+
extra-expanded italic bold italic light italic
+
ultra-expanded italic bold italic light italic
+ + + diff --git a/layout/reftests/font-matching/font-synthesis-1-ref.html b/layout/reftests/font-matching/font-synthesis-1-ref.html new file mode 100644 index 0000000000..35e5911db3 --- /dev/null +++ b/layout/reftests/font-matching/font-synthesis-1-ref.html @@ -0,0 +1,23 @@ + + + + + + + +

Hello, cruel world! +

Hello, cruel world! +

Hello, cruel world! +

Hello, cruel world! + + diff --git a/layout/reftests/font-matching/font-synthesis-1.html b/layout/reftests/font-matching/font-synthesis-1.html new file mode 100644 index 0000000000..ebccfcac81 --- /dev/null +++ b/layout/reftests/font-matching/font-synthesis-1.html @@ -0,0 +1,23 @@ + + + + + + + +

Hello, cruel world! +

Hello, cruel world! +

Hello, cruel world! +

Hello, cruel world! + + diff --git a/layout/reftests/font-matching/font-synthesis-2-ref.html b/layout/reftests/font-matching/font-synthesis-2-ref.html new file mode 100644 index 0000000000..3bec8c0147 --- /dev/null +++ b/layout/reftests/font-matching/font-synthesis-2-ref.html @@ -0,0 +1,28 @@ + + + + + + + +

Hello, cruel world! +

Hello, cruel world! +

Hello, cruel world! +

Hello, cruel world! + + diff --git a/layout/reftests/font-matching/font-synthesis-2.html b/layout/reftests/font-matching/font-synthesis-2.html new file mode 100644 index 0000000000..408d5f7537 --- /dev/null +++ b/layout/reftests/font-matching/font-synthesis-2.html @@ -0,0 +1,28 @@ + + + + + + + +

Hello, cruel world! +

Hello, cruel world! +

Hello, cruel world! +

Hello, cruel world! + + diff --git a/layout/reftests/font-matching/hiragino-kaku-1-notref.html b/layout/reftests/font-matching/hiragino-kaku-1-notref.html new file mode 100644 index 0000000000..c0f052d4b8 --- /dev/null +++ b/layout/reftests/font-matching/hiragino-kaku-1-notref.html @@ -0,0 +1,2 @@ + +

こんにちは
diff --git a/layout/reftests/font-matching/hiragino-kaku-1.html b/layout/reftests/font-matching/hiragino-kaku-1.html new file mode 100644 index 0000000000..a3eee129db --- /dev/null +++ b/layout/reftests/font-matching/hiragino-kaku-1.html @@ -0,0 +1,3 @@ + + +
こんにちは
diff --git a/layout/reftests/font-matching/illformed-lang-tags-1.html b/layout/reftests/font-matching/illformed-lang-tags-1.html new file mode 100644 index 0000000000..31ae0914b7 --- /dev/null +++ b/layout/reftests/font-matching/illformed-lang-tags-1.html @@ -0,0 +1,55 @@ + + + + + +

In each line, the green glyphs should exactly overlay the red ones:

+ + diff --git a/layout/reftests/font-matching/impact-bold.html b/layout/reftests/font-matching/impact-bold.html new file mode 100644 index 0000000000..78a17c14cc --- /dev/null +++ b/layout/reftests/font-matching/impact-bold.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/impact-bolditalic.html b/layout/reftests/font-matching/impact-bolditalic.html new file mode 100644 index 0000000000..c0c273ce40 --- /dev/null +++ b/layout/reftests/font-matching/impact-bolditalic.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/impact-italic.html b/layout/reftests/font-matching/impact-italic.html new file mode 100644 index 0000000000..ce6a3ca7df --- /dev/null +++ b/layout/reftests/font-matching/impact-italic.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/impact-oblique.html b/layout/reftests/font-matching/impact-oblique.html new file mode 100644 index 0000000000..f9e378a0b4 --- /dev/null +++ b/layout/reftests/font-matching/impact-oblique.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/impact.html b/layout/reftests/font-matching/impact.html new file mode 100644 index 0000000000..4644a88e7b --- /dev/null +++ b/layout/reftests/font-matching/impact.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/italic-oblique-1.html b/layout/reftests/font-matching/italic-oblique-1.html new file mode 100644 index 0000000000..ae7e70fa6b --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-1.html @@ -0,0 +1,31 @@ + + +style matching - italic/oblique + + + + + + + + + +

BBB

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-2.html b/layout/reftests/font-matching/italic-oblique-2.html new file mode 100644 index 0000000000..f5ae4c33b5 --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-2.html @@ -0,0 +1,31 @@ + + +style matching - italic/oblique + + + + + + + + + +

CCC

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-3.html b/layout/reftests/font-matching/italic-oblique-3.html new file mode 100644 index 0000000000..5d1c95bfe6 --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-3.html @@ -0,0 +1,37 @@ + + +style matching - italic/oblique + + + + + + + + + +

BBB

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-4.html b/layout/reftests/font-matching/italic-oblique-4.html new file mode 100644 index 0000000000..92438c6a19 --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-4.html @@ -0,0 +1,37 @@ + + +style matching - italic/oblique + + + + + + + + + +

BBB

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-5.html b/layout/reftests/font-matching/italic-oblique-5.html new file mode 100644 index 0000000000..d71ffa7803 --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-5.html @@ -0,0 +1,37 @@ + + +style matching - italic/oblique + + + + + + + + + +

BBB

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-6.html b/layout/reftests/font-matching/italic-oblique-6.html new file mode 100644 index 0000000000..3d249c504b --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-6.html @@ -0,0 +1,37 @@ + + +style matching - italic/oblique + + + + + + + + + +

CCC

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-7.html b/layout/reftests/font-matching/italic-oblique-7.html new file mode 100644 index 0000000000..3064fa534c --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-7.html @@ -0,0 +1,37 @@ + + +style matching - italic/oblique + + + + + + + + + +

AAA

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-8.html b/layout/reftests/font-matching/italic-oblique-8.html new file mode 100644 index 0000000000..13783610dd --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-8.html @@ -0,0 +1,43 @@ + + +style matching - italic/oblique + + + + + + + + + +

CCC

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-9.html b/layout/reftests/font-matching/italic-oblique-9.html new file mode 100644 index 0000000000..a669682abf --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-9.html @@ -0,0 +1,43 @@ + + +style matching - italic/oblique + + + + + + + + + +

CCC

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-kinnari-ref.html b/layout/reftests/font-matching/italic-oblique-kinnari-ref.html new file mode 100644 index 0000000000..4499ebc0b4 --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-kinnari-ref.html @@ -0,0 +1,37 @@ + + +style matching - italic/oblique + + + + + + + + + +

AAA

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-kinnari.html b/layout/reftests/font-matching/italic-oblique-kinnari.html new file mode 100644 index 0000000000..f465d247e4 --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-kinnari.html @@ -0,0 +1,37 @@ + + +style matching - italic/oblique + + + + + + + + + +

AAA

+ + + + diff --git a/layout/reftests/font-matching/italic-oblique-ref.html b/layout/reftests/font-matching/italic-oblique-ref.html new file mode 100644 index 0000000000..d1fc2939cb --- /dev/null +++ b/layout/reftests/font-matching/italic-oblique-ref.html @@ -0,0 +1,24 @@ + + +style matching - italic/oblique + + + + + + + + + +

AAA

+ + + + diff --git a/layout/reftests/font-matching/legacy-family-names-1-ref.html b/layout/reftests/font-matching/legacy-family-names-1-ref.html new file mode 100644 index 0000000000..71be452695 --- /dev/null +++ b/layout/reftests/font-matching/legacy-family-names-1-ref.html @@ -0,0 +1,9 @@ + + + + + +Hello world + diff --git a/layout/reftests/font-matching/legacy-family-names-1.html b/layout/reftests/font-matching/legacy-family-names-1.html new file mode 100644 index 0000000000..7cec0ffd45 --- /dev/null +++ b/layout/reftests/font-matching/legacy-family-names-1.html @@ -0,0 +1,9 @@ + + + + + +Hello world + diff --git a/layout/reftests/font-matching/legacy-family-names-2-ref.html b/layout/reftests/font-matching/legacy-family-names-2-ref.html new file mode 100644 index 0000000000..2a9ba84246 --- /dev/null +++ b/layout/reftests/font-matching/legacy-family-names-2-ref.html @@ -0,0 +1,9 @@ + + + + + +Hello world + diff --git a/layout/reftests/font-matching/legacy-family-names-2.html b/layout/reftests/font-matching/legacy-family-names-2.html new file mode 100644 index 0000000000..112a540742 --- /dev/null +++ b/layout/reftests/font-matching/legacy-family-names-2.html @@ -0,0 +1,9 @@ + + + + + +Hello world + diff --git a/layout/reftests/font-matching/localized-family-names-001-ref.html b/layout/reftests/font-matching/localized-family-names-001-ref.html new file mode 100644 index 0000000000..6cd0c22188 --- /dev/null +++ b/layout/reftests/font-matching/localized-family-names-001-ref.html @@ -0,0 +1,46 @@ + + + +Localized font family names (ref) + + + + + + + + + +

蘋果儷細宋 Apple LiSung

+

바탕체 BatangChe

+

돋움 Dotum

+

仿宋 FangSong

+

굴림 Gulim

+

궁서 Gungsuh

+

HY각헤드라인 Std HY Kak Headline Std

+

ヒラギノ角ゴ Pro Hiragino Kaku Gothic Pro

+

ヒラギノ角ゴ StdN Hiragino Kaku Gothic StdN

+

ヒラギノ角ゴ Std Hiragino Kaku Gothic Std

+ + + diff --git a/layout/reftests/font-matching/localized-family-names-001.html b/layout/reftests/font-matching/localized-family-names-001.html new file mode 100644 index 0000000000..d5396a62b1 --- /dev/null +++ b/layout/reftests/font-matching/localized-family-names-001.html @@ -0,0 +1,46 @@ + + + +Localized font family names + + + + + + + + + +

蘋果儷細宋 Apple LiSung

+

바탕체 BatangChe

+

돋움 Dotum

+

仿宋 FangSong

+

굴림 Gulim

+

궁서 Gungsuh

+

HY각헤드라인 Std HY Kak Headline Std

+

ヒラギノ角ゴ Pro Hiragino Kaku Gothic Pro

+

ヒラギノ角ゴ StdN Hiragino Kaku Gothic StdN

+

ヒラギノ角ゴ Std Hiragino Kaku Gothic Std

+ + + diff --git a/layout/reftests/font-matching/localized-family-names-002-ref.html b/layout/reftests/font-matching/localized-family-names-002-ref.html new file mode 100644 index 0000000000..6ab9a06e39 --- /dev/null +++ b/layout/reftests/font-matching/localized-family-names-002-ref.html @@ -0,0 +1,46 @@ + + + +Localized font family names (ref) + + + + + + + + + +

ヒラギノ丸ゴ ProN Hiragino Maru Gothic ProN

+

ヒラギノ明朝 ProN Hiragino Mincho ProN

+

ヒラギノ明朝 Pro Hiragino Mincho Pro

+

楷体 KaiTi

+

儷黑 Pro LiHei Pro

+

儷宋 Pro LiSong Pro

+

MS 明朝 MS Mincho

+

MS Pゴシック MS PGothic

+

MS P明朝 MS PMincho

+

맑은 고딕 Malgun Gothic

+ + + diff --git a/layout/reftests/font-matching/localized-family-names-002.html b/layout/reftests/font-matching/localized-family-names-002.html new file mode 100644 index 0000000000..5a7fffc2aa --- /dev/null +++ b/layout/reftests/font-matching/localized-family-names-002.html @@ -0,0 +1,46 @@ + + + +Localized font family names + + + + + + + + + +

ヒラギノ丸ゴ ProN Hiragino Maru Gothic ProN

+

ヒラギノ明朝 ProN Hiragino Mincho ProN

+

ヒラギノ明朝 Pro Hiragino Mincho Pro

+

楷体 KaiTi

+

儷黑 Pro LiHei Pro

+

儷宋 Pro LiSong Pro

+

MS 明朝 MS Mincho

+

MS Pゴシック MS PGothic

+

MS P明朝 MS PMincho

+

맑은 고딕 Malgun Gothic

+ + + diff --git a/layout/reftests/font-matching/localized-family-names-003-ref.html b/layout/reftests/font-matching/localized-family-names-003-ref.html new file mode 100644 index 0000000000..c1be37bdae --- /dev/null +++ b/layout/reftests/font-matching/localized-family-names-003-ref.html @@ -0,0 +1,47 @@ + + + +Localized font family names (ref) + + + + + + + + + +

メイリオ Meiryo

+

微軟正黑體 Microsoft JhengHei

+

微软雅黑 Microsoft YaHei

+

細明體-ExtB MingLiU-ExtB

+

細明體 MingLiU

+

細明體_HKSCS MingLiU_HKSCS

+

新宋体 NSimSun

+

新細明體 PMingLiU

+

רעננה Raanana

+

华文仿宋 STFangsong

+ + + diff --git a/layout/reftests/font-matching/localized-family-names-003.html b/layout/reftests/font-matching/localized-family-names-003.html new file mode 100644 index 0000000000..e7a2cf1548 --- /dev/null +++ b/layout/reftests/font-matching/localized-family-names-003.html @@ -0,0 +1,47 @@ + + + +Localized font family names + + + + + + + + + +

メイリオ Meiryo

+

微軟正黑體 Microsoft JhengHei

+

微软雅黑 Microsoft YaHei

+

細明體-ExtB MingLiU-ExtB

+

細明體 MingLiU

+

細明體_HKSCS MingLiU_HKSCS

+

新宋体 NSimSun

+

新細明體 PMingLiU

+

רעננה Raanana

+

华文仿宋 STFangsong

+ + + diff --git a/layout/reftests/font-matching/localized-family-names-004-ref.html b/layout/reftests/font-matching/localized-family-names-004-ref.html new file mode 100644 index 0000000000..6ef138d8be --- /dev/null +++ b/layout/reftests/font-matching/localized-family-names-004-ref.html @@ -0,0 +1,38 @@ + + + +Localized font family names (ref) + + + + + + + + + +

华文黑体 STHeiti

+

华文宋体 STSong

+

さざなみゴシック Sazanami Gothic

+

さざなみ明朝 Sazanami Mincho

+

黑体 SimHei

+

宋体 SimSun

+ + + diff --git a/layout/reftests/font-matching/localized-family-names-004.html b/layout/reftests/font-matching/localized-family-names-004.html new file mode 100644 index 0000000000..52ff487485 --- /dev/null +++ b/layout/reftests/font-matching/localized-family-names-004.html @@ -0,0 +1,38 @@ + + + +Localized font family names + + + + + + + + + +

华文黑体 STHeiti

+

华文宋体 STSong

+

さざなみゴシック Sazanami Gothic

+

さざなみ明朝 Sazanami Mincho

+

黑体 SimHei

+

宋体 SimSun

+ + + diff --git a/layout/reftests/font-matching/lucidaconsole-bold.html b/layout/reftests/font-matching/lucidaconsole-bold.html new file mode 100644 index 0000000000..9b17188cd5 --- /dev/null +++ b/layout/reftests/font-matching/lucidaconsole-bold.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/lucidaconsole-bolditalic.html b/layout/reftests/font-matching/lucidaconsole-bolditalic.html new file mode 100644 index 0000000000..2d9c82104a --- /dev/null +++ b/layout/reftests/font-matching/lucidaconsole-bolditalic.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/lucidaconsole-italic.html b/layout/reftests/font-matching/lucidaconsole-italic.html new file mode 100644 index 0000000000..1403a8ee9e --- /dev/null +++ b/layout/reftests/font-matching/lucidaconsole-italic.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/lucidaconsole-oblique.html b/layout/reftests/font-matching/lucidaconsole-oblique.html new file mode 100644 index 0000000000..7125faeaac --- /dev/null +++ b/layout/reftests/font-matching/lucidaconsole-oblique.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/lucidaconsole.html b/layout/reftests/font-matching/lucidaconsole.html new file mode 100644 index 0000000000..f200475225 --- /dev/null +++ b/layout/reftests/font-matching/lucidaconsole.html @@ -0,0 +1,10 @@ + + + + + +

Bongo

+ \ No newline at end of file diff --git a/layout/reftests/font-matching/normalmedium-notref.html b/layout/reftests/font-matching/normalmedium-notref.html new file mode 100644 index 0000000000..33925b92dd --- /dev/null +++ b/layout/reftests/font-matching/normalmedium-notref.html @@ -0,0 +1,42 @@ + + + +Mapping 400 to medium + + + + + + + + + +

The two lines below should match

+ +

Fiddling fiddlesticks!

+

Fiddling fiddlesticks!

+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/normalmedium-ref.html b/layout/reftests/font-matching/normalmedium-ref.html new file mode 100644 index 0000000000..b8b8df4ce2 --- /dev/null +++ b/layout/reftests/font-matching/normalmedium-ref.html @@ -0,0 +1,42 @@ + + + +Mapping 400 to medium + + + + + + + + + +

The two lines below should match

+ +

Fiddling fiddlesticks!

+

Fiddling fiddlesticks!

+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/normalmedium.html b/layout/reftests/font-matching/normalmedium.html new file mode 100644 index 0000000000..7a29c5a66d --- /dev/null +++ b/layout/reftests/font-matching/normalmedium.html @@ -0,0 +1,44 @@ + + + +Mapping 400 to medium + + + + + + + + + +

The two lines below should match

+ +

Fiddling fiddlesticks!

+

Fiddling fiddlesticks!

+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/osaka-mono-exists-ref.html b/layout/reftests/font-matching/osaka-mono-exists-ref.html new file mode 100644 index 0000000000..5e3ab9d467 --- /dev/null +++ b/layout/reftests/font-matching/osaka-mono-exists-ref.html @@ -0,0 +1,21 @@ + + + + + + + +

The two Japanese characters below should use the same font: +if "Osaka" is present, the name "Osaka-Mono" should also work.

+
+
+ + diff --git a/layout/reftests/font-matching/osaka-mono-exists.html b/layout/reftests/font-matching/osaka-mono-exists.html new file mode 100644 index 0000000000..d73ac216e6 --- /dev/null +++ b/layout/reftests/font-matching/osaka-mono-exists.html @@ -0,0 +1,25 @@ + + + + + + + +

The two Japanese characters below should use the same font: +if "Osaka" is present, the name "Osaka-Mono" should also work.

+
+
+ + diff --git a/layout/reftests/font-matching/osaka-mono-ref.html b/layout/reftests/font-matching/osaka-mono-ref.html new file mode 100644 index 0000000000..ae6e6468f4 --- /dev/null +++ b/layout/reftests/font-matching/osaka-mono-ref.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/font-matching/osaka-mono.html b/layout/reftests/font-matching/osaka-mono.html new file mode 100644 index 0000000000..9202df1f86 --- /dev/null +++ b/layout/reftests/font-matching/osaka-mono.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/font-matching/reftest.list b/layout/reftests/font-matching/reftest.list new file mode 100644 index 0000000000..fe5f3a2065 --- /dev/null +++ b/layout/reftests/font-matching/reftest.list @@ -0,0 +1,201 @@ +# Font-matching reftests may fail intermittently/transiently due to asynch fallback, +# so we disable the async mechanism for this directory. +defaults pref(gfx.font_rendering.fallback.async,false) + +== CSS21-t1502-no-inherited-font-family.xhtml CSS21-t1502-no-inherited-font-family-ref.xhtml + +# tests for bug 1394311 (case-insensitive lang tag processing) +# (First attempt is random-if(windows 7), due to intermittent failure with a +# single missing character - see bug 1451723 & more generally bug 1392106.) +pref(font.default.zh-CN,"serif") pref(font.default.zh-TW,"serif") pref(font.default.ja,"serif") pref(font.default.ko,"serif") == 1394311.htm 1394311-ref.htm +pref(font.default.zh-CN,"sans-serif") pref(font.default.zh-TW,"sans-serif") pref(font.default.ja,"sans-serif") pref(font.default.ko,"sans-serif") == 1394311.htm 1394311-ref.htm + +# tests for bug 1367860 (correct default generic font based on language) +== 1367860-1.htm 1367860-ref.htm +== 1367860-2.htm 1367860-ref.htm +== 1367860-3.htm 1367860-ref.htm + +# Test for bug 1458158: Arabic text in Arial weight 900 should fall back to Bold rather than Regular. +# Limited to Windows because this is specific to the fonts shipped on Windows by default. +skip-if(!winWidget) == 1458158-1.html 1458158-1-ref.html + +# basic tests for bug 538730 +!= synthetic-bold-1.html synthetic-bold-1-ref.html +!= synthetic-bold-2.html synthetic-bold-2-ref.html + +# synthetic bold/italic tests +!= defaultfont-bold.html defaultfont.html +!= defaultfont-italic.html defaultfont.html +!= defaultfont-oblique.html defaultfont.html +!= defaultfont-bolditalic.html defaultfont.html +!= defaultfont-bolditalic.html defaultfont-bold.html + +!= defaultjapanese-bold.html defaultjapanese.html +!= defaultjapanese-italic.html defaultjapanese.html +!= defaultjapanese-oblique.html defaultjapanese.html +!= defaultjapanese-bolditalic.html defaultjapanese.html +!= defaultjapanese-bolditalic.html defaultjapanese-bold.html + +random-if(cocoaWidget) != impact-bold.html impact.html # bug 539418 +!= impact-italic.html impact.html +!= impact-oblique.html impact.html +!= impact-bolditalic.html impact.html +!= impact-bolditalic.html impact-bold.html + +!= arialunicode-bold.html arialunicode.html +!= arialunicode-italic.html arialunicode.html +!= arialunicode-oblique.html arialunicode.html +!= arialunicode-bolditalic.html arialunicode.html +!= arialunicode-bolditalic.html arialunicode-bold.html + +!= lucidaconsole-bold.html lucidaconsole.html +!= lucidaconsole-italic.html lucidaconsole.html +!= lucidaconsole-oblique.html lucidaconsole.html +!= lucidaconsole-bolditalic.html lucidaconsole.html +!= lucidaconsole-bolditalic.html lucidaconsole-bold.html + +# checking that we don't match fullnames, psnames (see bug 538103) +== arial-variations-1.html arial-variations-1-ref.html +== arial-variations-2.html arial-variations-2-ref.html +== arial-variations-3.html arial-variations-3-ref.html +== arial-variations-4.html arial-variations-4-ref.html +== arial-variations-5.html arial-variations-5-ref.html +== arial-variations-6.html arial-variations-6-ref.html + +# localized font family names should always match just as English names do +== localized-family-names-001.html localized-family-names-001-ref.html # Bug 1392106 +== localized-family-names-002.html localized-family-names-002-ref.html +== localized-family-names-003.html localized-family-names-003-ref.html # Bug 1392106 +== localized-family-names-004.html localized-family-names-004-ref.html + +# family names with escaped spaces shouldn't match the names without the spaces +fails-if(gtkWidget) == familyname-escapedidents.html familyname-escapedidents-ref.html # bug 1309425, bug 1328771 + +# weight mapping tests +== normalmedium.html normalmedium-ref.html +!= normalmedium.html normalmedium-notref.html + +# Linux fails due to bug 604815 +== weightmapping-12.html weightmapping-12-ref.html +== weightmapping-25.html weightmapping-25-ref.html +== weightmapping-45.html weightmapping-45-ref.html +== weightmapping-458.html weightmapping-458-ref.html +== weightmapping-478.html weightmapping-478-ref.html +== weightmapping-7.html weightmapping-7-ref.html +== weightmapping-12579.html weightmapping-12579-ref.html + +== stretchmapping-all.html stretchmapping-all-ref.html +== stretchmapping-reverse.html stretchmapping-reverse-ref.html +fuzzy-if(Android,0-4,0-8) == stretchmapping-35.html stretchmapping-35-ref.html +== stretchmapping-137.html stretchmapping-137-ref.html + +# test for font-stretch using @font-face +== font-stretch-1.html font-stretch-1-ref.html +== font-shorthand-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 +fails-if(geckoview) != synthetic-style-1.html synthetic-style-1-notref.html # Bug 1558513 for GV +fails-if(geckoview) != synthetic-style-2.html synthetic-style-2-notref.html # Bug 1558513 for GV + +# Bug 765906 - synthetic bold should be used if necessary together with system fallback. +# **NOTE** we skip these on Linux because of bug 769659. +# test 1 uses Cherokee; expected to pass on OS X and Win7 +random-if(!cocoaWidget) skip-if(gtkWidget) != bold-system-fallback-1.html bold-system-fallback-1-notref.html +# test 2 uses Chess symbols; expected to pass on Android +random-if(!Android) skip-if(gtkWidget) != bold-system-fallback-2.html bold-system-fallback-2-notref.html + +# Bug 769475 - applying 'italic' to Arabic text in Arial should NOT change family or metrics. +# Expected to pass on MacOSX and Windows; other platforms unknown, depending on font availability. +random-if(!(cocoaWidget||winWidget)) == arial-arabic.html arial-arabic-ref.html + +!= syntheticbold-rotated.html syntheticbold-rotated-ref.html + +== font-synthesis-1.html font-synthesis-1-ref.html +== font-synthesis-2.html font-synthesis-2-ref.html + +# Bug 1060791 - support for format 10 cmap in Apple Symbols; +# relevant fonts not present on other platforms. +skip-if(!cocoaWidget) != apple-symbols-1.html apple-symbols-1-notref.html + +# distinguish between italic and oblique +== simple-oblique.html simple-oblique-ref.html +== italic-oblique-1.html italic-oblique-ref.html +== italic-oblique-2.html italic-oblique-ref.html +== italic-oblique-3.html italic-oblique-ref.html +== italic-oblique-4.html italic-oblique-ref.html +== italic-oblique-5.html italic-oblique-ref.html +== italic-oblique-6.html italic-oblique-ref.html +== italic-oblique-7.html italic-oblique-ref.html +== italic-oblique-8.html italic-oblique-ref.html +== italic-oblique-9.html italic-oblique-ref.html +!= italic-oblique-kinnari.html italic-oblique-kinnari-ref.html + +# GTK and Windows 7 don't have full emoji and symbol font, so emoji-fallback-2 +# don't work well. +== emoji-fallback-1.html emoji-fallback-1-ref.html +skip-if(gtkWidget) == emoji-fallback-2.html emoji-fallback-2-ref.html +== emoji-fallback-3.html emoji-fallback-3-ref.html +!= emoji-keycap.html emoji-keycap-notref.html +# Dependent on Windows emoji font names, so not expected to be meaningful on other platforms: +skip-if(!winWidget) != emoji-keycap-2.html emoji-keycap-2-notref.html +== emoji-skintone.html emoji-skintone-ref.html +# Random on Android because font availability varies depending on the version/device. +random-if(Android) != emoji-subregion-flag.html emoji-subregion-flag-notref.html + +# system font generic per-language tests, only works under OSX currently +# Bug 1212731 - initial implementation caused startup regression and +# regression with full-width digits display in UI elements. Disable +# tests until these problems are corrected. +# random-if(!OSX) == system-generic-fallback-1.html system-generic-fallback-1-ref.html +# random-if(!OSX) == system-generic-fallback-2.html system-generic-fallback-2-ref.html +# random-if(!OSX) == system-generic-fallback-3.html system-generic-fallback-3-ref.html +# random-if(!OSX) == system-generic-fallback-4.html system-generic-fallback-4-ref.html +# random-if(!OSX) != system-generic-fallback-ko.html system-generic-fallback-ja.html +# random-if(!OSX) != system-generic-fallback-zh-tw.html system-generic-fallback-ja.html +# random-if(!OSX) != system-generic-fallback-zh-cn.html system-generic-fallback-ja.html +# random-if(!OSX) != system-generic-fallback-zh-tw.html system-generic-fallback-zh-cn.html + +# Tests for legacy font family name (GDI-model families) matching; +# these depend on specific fonts that are available as standard on macOS and Windows, +# and are not expected to pass on platforms that don't have those same fonts. +skip-if(!cocoaWidget) == legacy-family-names-1.html legacy-family-names-1-ref.html +skip-if(!winWidget) == legacy-family-names-2.html legacy-family-names-2-ref.html + +== descriptor-ranges.html descriptor-ranges-ref.html + +# Test that prefs font fallback respects the CSS generic from content (bug 1687426) +skip-if(Android) == fallback-respects-generic-1.html fallback-respects-generic-1-ref.html # fonts present on Android are too unpredictable for easy testing + +skip-if(Android) != system-ui-fallback.html system-ui-fallback-notref.html # Roboto supports the characters in the reftest, and that's better behavior. +== system-ui-fallback-2.html system-ui-fallback-2-ref.html + +# Japanese monospace font on macOS is Osaka-mono +# If Osaka is present then Osaka-mono should also be available. +skip-if(!cocoaWidget) == osaka-mono-exists.html osaka-mono-exists-ref.html +# Disabled because Osaka-Mono isn't available on automation. +# skip-if(!cocoaWidget) == osaka-mono.html osaka-mono-ref.html + +# Try to use Wingdings font (assumed present on Windows and macOS) +random-if(!winWidget&&!cocoaWidget) == wingdings-1.html wingdings-1-ref.html +random-if(!winWidget&&!cocoaWidget) != wingdings-1.html wingdings-1-notref.html + +== illformed-lang-tags-1.html illformed-lang-tags-1.html?ref + +# Test for legacy name of Hiragino Sans, expected to work on macOS only +skip-if(!cocoaWidget) != hiragino-kaku-1.html hiragino-kaku-1-notref.html + +pref(ui.font.menu,"serif") == system-font-pref.html system-font-pref.html +# These make some assumptions about the menu font that seem to hold across +# platforms, like menu being a sans font by default. +test-pref(ui.font.menu,"serif") != system-font-pref.html system-font-pref.html +pref(ui.font.menu,"serif") test-pref(ui.font.menu.italic,true) != system-font-pref.html system-font-pref.html +pref(ui.font.menu,"serif") test-pref(ui.font.menu.size,"2.0") != system-font-pref.html system-font-pref.html +pref(ui.font.menu,"serif") test-pref(ui.font.menu.weight,"800") != system-font-pref.html system-font-pref.html + +# Check that localized font name works, even when visibility level is restricted. +# (Assumes Windows has Yu Gothic present.) +skip-if(!winWidget) pref(layout.css.font-visibility,1) == 1850672-1.html 1850672-1-ref.html + +# Reset default prefs. +defaults diff --git a/layout/reftests/font-matching/simple-oblique-ref.html b/layout/reftests/font-matching/simple-oblique-ref.html new file mode 100644 index 0000000000..d021f51d02 --- /dev/null +++ b/layout/reftests/font-matching/simple-oblique-ref.html @@ -0,0 +1,33 @@ + + + +oblique italic equivalence + + + + + + + +

UNICORN asteroid

+

UNICORN asteroid

+

UNICORN asteroid

+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/simple-oblique.html b/layout/reftests/font-matching/simple-oblique.html new file mode 100644 index 0000000000..cb4671f4d8 --- /dev/null +++ b/layout/reftests/font-matching/simple-oblique.html @@ -0,0 +1,33 @@ + + + +oblique italic equivalence + + + + + + + +

UNICORN asteroid

+

UNICORN asteroid

+

UNICORN asteroid

+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/stretchmapping-137-ref.html b/layout/reftests/font-matching/stretchmapping-137-ref.html new file mode 100644 index 0000000000..a42b81c836 --- /dev/null +++ b/layout/reftests/font-matching/stretchmapping-137-ref.html @@ -0,0 +1,348 @@ + + + +font-stretch mapping tests + + + + + + +

Font family with ultra-condensed 100, 400, condensed 200, 800 and expanded 500, 900

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
123456789
100
200
300
400
500
600
700
800
900
+ + + diff --git a/layout/reftests/font-matching/stretchmapping-137.html b/layout/reftests/font-matching/stretchmapping-137.html new file mode 100644 index 0000000000..81f45f66de --- /dev/null +++ b/layout/reftests/font-matching/stretchmapping-137.html @@ -0,0 +1,268 @@ + + + +font-stretch mapping tests + + + + + + +

Font family with ultra-condensed 100, 400, condensed 200, 800 and expanded 500, 900

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
123456789
100
200
300
400
500
600
700
800
900
+ + + diff --git a/layout/reftests/font-matching/stretchmapping-35-ref.html b/layout/reftests/font-matching/stretchmapping-35-ref.html new file mode 100644 index 0000000000..2124a68742 --- /dev/null +++ b/layout/reftests/font-matching/stretchmapping-35-ref.html @@ -0,0 +1,320 @@ + + + +font-stretch mapping tests + + + + + + +

Font family with normal width 200, 500 and condensed 100, 900

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
123456789
100
200
300
400
500
600
700
800
900
+ + + diff --git a/layout/reftests/font-matching/stretchmapping-35.html b/layout/reftests/font-matching/stretchmapping-35.html new file mode 100644 index 0000000000..a6c1245b39 --- /dev/null +++ b/layout/reftests/font-matching/stretchmapping-35.html @@ -0,0 +1,240 @@ + + + +font-stretch mapping tests + + + + + + +

Font family with normal width 200, 500 and condensed 100, 900

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
123456789
100
200
300
400
500
600
700
800
900
+ + + diff --git a/layout/reftests/font-matching/stretchmapping-all-ref.html b/layout/reftests/font-matching/stretchmapping-all-ref.html new file mode 100644 index 0000000000..267e50b4ca --- /dev/null +++ b/layout/reftests/font-matching/stretchmapping-all-ref.html @@ -0,0 +1,366 @@ + + + +font-stretch matching tests + + + + + + + + + +

font-stretch mapping with different font family sets

+

(only numbers should appear in the body of the table)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
widthfull1-31-41-52-64-64-76-77-98-9
11111244678
22111244678
33311244678
44341244678
55345244678
66345667678
77345667778
88345667798
99345667799
+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/stretchmapping-all.html b/layout/reftests/font-matching/stretchmapping-all.html new file mode 100644 index 0000000000..904fcd8f3b --- /dev/null +++ b/layout/reftests/font-matching/stretchmapping-all.html @@ -0,0 +1,505 @@ + + + +font-stretch matching tests + + + + + + + + + +

font-stretch mapping with different font family sets

+

(only numbers should appear in the body of the table)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
widthfull1-31-41-52-64-64-76-77-98-9
1FFFFFFFFFF
2FFFFFFFFFF
3FFFFFFFFFF
4FFFFFFFFFF
5FFFFFFFFFF
6FFFFFFFFFF
7FFFFFFFFFF
8FFFFFFFFFF
9FFFFFFFFFF
+ + + + + \ No newline at end of file diff --git a/layout/reftests/font-matching/stretchmapping-reverse-ref.html b/layout/reftests/font-matching/stretchmapping-reverse-ref.html new file mode 100644 index 0000000000..2a8fde16cb --- /dev/null +++ b/layout/reftests/font-matching/stretchmapping-reverse-ref.html @@ -0,0 +1,54 @@ + + + +Assure OS/2 usWidthClass isn't referenced + + + + + + + +

The numbers below should appear in ascending sequence:

+ +

+1 +2 +3 +4 +5 +6 +7 +8 +9 +

+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/stretchmapping-reverse.html b/layout/reftests/font-matching/stretchmapping-reverse.html new file mode 100644 index 0000000000..ef3b0b1ed1 --- /dev/null +++ b/layout/reftests/font-matching/stretchmapping-reverse.html @@ -0,0 +1,102 @@ + + + +Assure OS/2 usWidthClass isn't referenced + + + + + + + +

The numbers below should appear in ascending sequence:

+ +

+F +F +F +F +F +F +F +F +F +

+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/synthetic-bold-1-ref.html b/layout/reftests/font-matching/synthetic-bold-1-ref.html new file mode 100644 index 0000000000..9d5b28369f --- /dev/null +++ b/layout/reftests/font-matching/synthetic-bold-1-ref.html @@ -0,0 +1,11 @@ + + + + + +

 abc

+

 abc

+ + diff --git a/layout/reftests/font-matching/synthetic-bold-1.html b/layout/reftests/font-matching/synthetic-bold-1.html new file mode 100644 index 0000000000..77588b06bb --- /dev/null +++ b/layout/reftests/font-matching/synthetic-bold-1.html @@ -0,0 +1,12 @@ + + + + + + +

 abc

+

 abc

+ + diff --git a/layout/reftests/font-matching/synthetic-bold-2-ref.html b/layout/reftests/font-matching/synthetic-bold-2-ref.html new file mode 100644 index 0000000000..b5a8f0d69e --- /dev/null +++ b/layout/reftests/font-matching/synthetic-bold-2-ref.html @@ -0,0 +1,11 @@ + + + + + +

Hello World

+

Hello World

+ + diff --git a/layout/reftests/font-matching/synthetic-bold-2.html b/layout/reftests/font-matching/synthetic-bold-2.html new file mode 100644 index 0000000000..7da903c146 --- /dev/null +++ b/layout/reftests/font-matching/synthetic-bold-2.html @@ -0,0 +1,12 @@ + + + + + + +

Hello World

+

Hello World

+ + 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 0000000000..0cc51da48f --- /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 0000000000..4db379273c --- /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 0000000000..e3fa7fb6af --- /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 0000000000..3885119112 --- /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. + + diff --git a/layout/reftests/font-matching/syntheticbold-rotated-ref.html b/layout/reftests/font-matching/syntheticbold-rotated-ref.html new file mode 100644 index 0000000000..2065e31583 --- /dev/null +++ b/layout/reftests/font-matching/syntheticbold-rotated-ref.html @@ -0,0 +1,35 @@ + + + +rotated synthetic bold + + + + + + + +

uh oh!

+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/syntheticbold-rotated.html b/layout/reftests/font-matching/syntheticbold-rotated.html new file mode 100644 index 0000000000..bb856c0c36 --- /dev/null +++ b/layout/reftests/font-matching/syntheticbold-rotated.html @@ -0,0 +1,36 @@ + + + +rotated synthetic bold + + + + + + + +

uh oh!

+ + + \ No newline at end of file diff --git a/layout/reftests/font-matching/system-font-pref.html b/layout/reftests/font-matching/system-font-pref.html new file mode 100644 index 0000000000..97411bb8f9 --- /dev/null +++ b/layout/reftests/font-matching/system-font-pref.html @@ -0,0 +1,2 @@ + +
Hey diff --git a/layout/reftests/font-matching/system-generic-fallback-1-ref.html b/layout/reftests/font-matching/system-generic-fallback-1-ref.html new file mode 100644 index 0000000000..84deb813a1 --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-1-ref.html @@ -0,0 +1,39 @@ + + + +system generic linked families + + + + + + + +
+

+

+

+

+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-1.html b/layout/reftests/font-matching/system-generic-fallback-1.html new file mode 100644 index 0000000000..d06d5259cb --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-1.html @@ -0,0 +1,39 @@ + + + +system generic linked families + + + + + + + +
+

+

+

+

+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-2-ref.html b/layout/reftests/font-matching/system-generic-fallback-2-ref.html new file mode 100644 index 0000000000..efe6f93739 --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-2-ref.html @@ -0,0 +1,38 @@ + + + +system generic linked families + + + + + + + +
+

+

+

+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-2.html b/layout/reftests/font-matching/system-generic-fallback-2.html new file mode 100644 index 0000000000..2e1b02655c --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-2.html @@ -0,0 +1,38 @@ + + + +system generic linked families + + + + + + + +
+

+

+

+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-3-ref.html b/layout/reftests/font-matching/system-generic-fallback-3-ref.html new file mode 100644 index 0000000000..0ddd8c5d94 --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-3-ref.html @@ -0,0 +1,38 @@ + + + +system generic linked families + + + + + + + +
+

+

+

+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-3.html b/layout/reftests/font-matching/system-generic-fallback-3.html new file mode 100644 index 0000000000..a704d234c4 --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-3.html @@ -0,0 +1,38 @@ + + + +system generic linked families + + + + + + + +
+

+

+

+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-4-ref.html b/layout/reftests/font-matching/system-generic-fallback-4-ref.html new file mode 100644 index 0000000000..5961caaf53 --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-4-ref.html @@ -0,0 +1,38 @@ + + + +system generic linked families + + + + + + + +
+

+

+

+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-4.html b/layout/reftests/font-matching/system-generic-fallback-4.html new file mode 100644 index 0000000000..d7ffee3e97 --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-4.html @@ -0,0 +1,38 @@ + + + +system generic linked families + + + + + + + +
+

+

+

+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-ja.html b/layout/reftests/font-matching/system-generic-fallback-ja.html new file mode 100644 index 0000000000..844200111f --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-ja.html @@ -0,0 +1,33 @@ + + + +system generic linked families + + + + + + + +
+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-ko.html b/layout/reftests/font-matching/system-generic-fallback-ko.html new file mode 100644 index 0000000000..526ab817d8 --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-ko.html @@ -0,0 +1,33 @@ + + + +system generic linked families + + + + + + + +
+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-zh-cn.html b/layout/reftests/font-matching/system-generic-fallback-zh-cn.html new file mode 100644 index 0000000000..afcabb396c --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-zh-cn.html @@ -0,0 +1,33 @@ + + + +system generic linked families + + + + + + + +
+

+
+ + + diff --git a/layout/reftests/font-matching/system-generic-fallback-zh-tw.html b/layout/reftests/font-matching/system-generic-fallback-zh-tw.html new file mode 100644 index 0000000000..64cc1aded5 --- /dev/null +++ b/layout/reftests/font-matching/system-generic-fallback-zh-tw.html @@ -0,0 +1,33 @@ + + + +system generic linked families + + + + + + + +
+

+
+ + + diff --git a/layout/reftests/font-matching/system-ui-fallback-2-ref.html b/layout/reftests/font-matching/system-ui-fallback-2-ref.html new file mode 100644 index 0000000000..6e60fefe18 --- /dev/null +++ b/layout/reftests/font-matching/system-ui-fallback-2-ref.html @@ -0,0 +1,2 @@ + +

ب

diff --git a/layout/reftests/font-matching/system-ui-fallback-2.html b/layout/reftests/font-matching/system-ui-fallback-2.html new file mode 100644 index 0000000000..a39c4e2a2d --- /dev/null +++ b/layout/reftests/font-matching/system-ui-fallback-2.html @@ -0,0 +1,2 @@ + +

ب

diff --git a/layout/reftests/font-matching/system-ui-fallback-notref.html b/layout/reftests/font-matching/system-ui-fallback-notref.html new file mode 100644 index 0000000000..6484bd2e6d --- /dev/null +++ b/layout/reftests/font-matching/system-ui-fallback-notref.html @@ -0,0 +1,2 @@ + +
你好
diff --git a/layout/reftests/font-matching/system-ui-fallback.html b/layout/reftests/font-matching/system-ui-fallback.html new file mode 100644 index 0000000000..1710dc1405 --- /dev/null +++ b/layout/reftests/font-matching/system-ui-fallback.html @@ -0,0 +1,9 @@ + + +
你好
diff --git a/layout/reftests/font-matching/weightmapping-12-ref.html b/layout/reftests/font-matching/weightmapping-12-ref.html new file mode 100644 index 0000000000..f985dac4f6 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-12-ref.html @@ -0,0 +1,222 @@ + + + +Weight mapping tests + + + + + + +

Font family with 100, 200 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-12.html b/layout/reftests/font-matching/weightmapping-12.html new file mode 100644 index 0000000000..d64a716f21 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-12.html @@ -0,0 +1,174 @@ + + + +Weight mapping tests + + + + + + +

Font family with 100, 200 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-12579-ref.html b/layout/reftests/font-matching/weightmapping-12579-ref.html new file mode 100644 index 0000000000..a7b27d312a --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-12579-ref.html @@ -0,0 +1,255 @@ + + + +Weight mapping tests + + + + + + +

Font family with 100, 200, 500, 700, 900 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-12579.html b/layout/reftests/font-matching/weightmapping-12579.html new file mode 100644 index 0000000000..bdce065ecf --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-12579.html @@ -0,0 +1,207 @@ + + + +Weight mapping tests + + + + + + +

Font family with 100, 200, 500, 700, 900 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-25-ref.html b/layout/reftests/font-matching/weightmapping-25-ref.html new file mode 100644 index 0000000000..8f216c27f3 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-25-ref.html @@ -0,0 +1,222 @@ + + + +Weight mapping tests + + + + + + +

Font family with 200, 500 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-25.html b/layout/reftests/font-matching/weightmapping-25.html new file mode 100644 index 0000000000..360d875ad5 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-25.html @@ -0,0 +1,174 @@ + + + +Weight mapping tests + + + + + + +

Font family with 200, 500 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-45-ref.html b/layout/reftests/font-matching/weightmapping-45-ref.html new file mode 100644 index 0000000000..4115999093 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-45-ref.html @@ -0,0 +1,222 @@ + + + +Weight mapping tests + + + + + + +

Font family with 400, 500 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-45.html b/layout/reftests/font-matching/weightmapping-45.html new file mode 100644 index 0000000000..49647aea01 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-45.html @@ -0,0 +1,174 @@ + + + +Weight mapping tests + + + + + + +

Font family with 400, 500 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-458-ref.html b/layout/reftests/font-matching/weightmapping-458-ref.html new file mode 100644 index 0000000000..56cf4d7432 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-458-ref.html @@ -0,0 +1,233 @@ + + + +Weight mapping tests + + + + + + +

Font family with 400, 500, 800 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-458.html b/layout/reftests/font-matching/weightmapping-458.html new file mode 100644 index 0000000000..4c4461ab03 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-458.html @@ -0,0 +1,185 @@ + + + +Weight mapping tests + + + + + + +

Font family with 400, 500, 800 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-478-ref.html b/layout/reftests/font-matching/weightmapping-478-ref.html new file mode 100644 index 0000000000..a170d3a35b --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-478-ref.html @@ -0,0 +1,233 @@ + + + +Weight mapping tests + + + + + + +

Font family with 400, 700, 800 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-478.html b/layout/reftests/font-matching/weightmapping-478.html new file mode 100644 index 0000000000..9c61689c45 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-478.html @@ -0,0 +1,185 @@ + + + +Weight mapping tests + + + + + + +

Font family with 400, 700, 800 weights

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-7-ref.html b/layout/reftests/font-matching/weightmapping-7-ref.html new file mode 100644 index 0000000000..53888decd0 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-7-ref.html @@ -0,0 +1,211 @@ + + + +Weight mapping tests + + + + + + +

Font family with 700 weight

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/weightmapping-7.html b/layout/reftests/font-matching/weightmapping-7.html new file mode 100644 index 0000000000..6b2ad74ee7 --- /dev/null +++ b/layout/reftests/font-matching/weightmapping-7.html @@ -0,0 +1,163 @@ + + + +Weight mapping tests + + + + + + +

Font family with 700 weight

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
lighter lighterlighternormalbolderbolder bolder
100東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
200東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
300東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
400東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
500東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
600東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
700東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
800東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
900東京特許許可局東京特許許可局東京特許許可局東京特許許可局東京特許許可局
+ +

tokyotokkyokyokakyoku

+ + + diff --git a/layout/reftests/font-matching/wingdings-1-notref.html b/layout/reftests/font-matching/wingdings-1-notref.html new file mode 100644 index 0000000000..83acbacd0e --- /dev/null +++ b/layout/reftests/font-matching/wingdings-1-notref.html @@ -0,0 +1,9 @@ + + + + +Trying the Wingdings font: abcdef 12345 diff --git a/layout/reftests/font-matching/wingdings-1-ref.html b/layout/reftests/font-matching/wingdings-1-ref.html new file mode 100644 index 0000000000..898559baa3 --- /dev/null +++ b/layout/reftests/font-matching/wingdings-1-ref.html @@ -0,0 +1,13 @@ + + + + +Trying the Wingdings font: + diff --git a/layout/reftests/font-matching/wingdings-1.html b/layout/reftests/font-matching/wingdings-1.html new file mode 100644 index 0000000000..f3dd3e68bd --- /dev/null +++ b/layout/reftests/font-matching/wingdings-1.html @@ -0,0 +1,12 @@ + + + + +Trying the Wingdings font: abcdef 12345 -- cgit v1.2.3