gecko-dev/layout/reftests/font-matching
André Bargull 8c3a6dad95 Bug 1784375: Call LocaleParser::TryParse() with a new, empty Locale. r=platform-i18n-reviewers,dminor
For this to work, we need to add a move-constructor to `Locale`, so that it's
possible to write `loc = {}`. (We need move instead of copy semantics, because
`Locale` has UniquePtr members.) All other `Locale` members except for
`LanguageTagSubtag` already support move semantics. Add copy-constructors to
`LanguageTagSubtag`, so defaulted move-constructor/assignment works for `Locale`.
`LanguageTagSubtag` gets copy- instead of move-constructors, because there isn't
a good reason to disallow copying when moving is allowed.

Also add extra assertions and comments to document the requirement that `TryParse`
expects a new, empty `Locale`.

Differential Revision: https://phabricator.services.mozilla.com/D154496
2022-08-15 15:37:20 +00:00
..
1367860-1.htm
1367860-2.htm
1367860-3.htm
1367860-ref.htm
1394311-ref.htm
1394311.htm
1458158-1-ref.html
1458158-1.html
CSS21-t1502-no-inherited-font-family-ref.xhtml
CSS21-t1502-no-inherited-font-family.xhtml
apple-symbols-1-notref.html
apple-symbols-1.html
arial-arabic-ref.html
arial-arabic.html
arial-variations-1-ref.html
arial-variations-1.html
arial-variations-2-ref.html
arial-variations-2.html
arial-variations-3-ref.html
arial-variations-3.html
arial-variations-4-ref.html
arial-variations-4.html
arial-variations-5-ref.html
arial-variations-5.html
arial-variations-6-ref.html
arial-variations-6.html
arialunicode-bold.html
arialunicode-bolditalic.html
arialunicode-italic.html
arialunicode-oblique.html
arialunicode.html
bold-system-fallback-1-notref.html
bold-system-fallback-1.html
bold-system-fallback-2-notref.html
bold-system-fallback-2.html
defaultfont-bold.html
defaultfont-bolditalic.html
defaultfont-italic.html
defaultfont-oblique.html
defaultfont.html
defaultjapanese-bold.html
defaultjapanese-bolditalic.html
defaultjapanese-italic.html
defaultjapanese-oblique.html
defaultjapanese.html
descriptor-ranges-ref.html
descriptor-ranges.html
descriptor-ranges.js
emoji-fallback-1-ref.html Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato 2020-08-26 09:31:58 +00:00
emoji-fallback-1.html Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato 2020-08-26 09:31:58 +00:00
emoji-fallback-2-ref.html Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato 2020-08-26 09:31:58 +00:00
emoji-fallback-2.html Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato 2020-08-26 09:31:58 +00:00
emoji-fallback-3-ref.html Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato 2020-08-26 09:31:58 +00:00
emoji-fallback-3.html Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato 2020-08-26 09:31:58 +00:00
emoji-keycap-notref.html Bug 1661621 - Add more emoji reftests for keycap and skintone. r=jfkthame 2020-08-31 04:46:17 +00:00
emoji-keycap.html Bug 1661621 - Add more emoji reftests for keycap and skintone. r=jfkthame 2020-08-31 04:46:17 +00:00
emoji-skintone-ref.html Bug 1661621 - Add more emoji reftests for keycap and skintone. r=jfkthame 2020-08-31 04:46:17 +00:00
emoji-skintone.html Bug 1661621 - Add more emoji reftests for keycap and skintone. r=jfkthame 2020-08-31 04:46:17 +00:00
fallback-respects-generic-1-ref.html Bug 1687426 - If a CSS generic font-family name is present, use this to determine which font prefs to look at during fallback. r=emk 2021-02-01 10:47:40 +00:00
fallback-respects-generic-1.html Bug 1687426 - If a CSS generic font-family name is present, use this to determine which font prefs to look at during fallback. r=emk 2021-02-01 10:47:40 +00:00
familyname-escapedidents-ref.html
familyname-escapedidents.html
font-shorthand-stretch-1.html
font-stretch-1-ref.html
font-stretch-1.html
font-synthesis-1-ref.html
font-synthesis-1.html
font-synthesis-2-ref.html
font-synthesis-2.html
hiragino-kaku-1-notref.html Bug 1743170 - Include deprecated macOS font family names in the font list, if available at runtime. r=gfx-reviewers,lsalzman 2022-05-19 18:42:39 +00:00
hiragino-kaku-1.html Bug 1743170 - Include deprecated macOS font family names in the font list, if available at runtime. r=gfx-reviewers,lsalzman 2022-05-19 18:42:39 +00:00
illformed-lang-tags-1.html Bug 1784375: Call LocaleParser::TryParse() with a new, empty Locale. r=platform-i18n-reviewers,dminor 2022-08-15 15:37:20 +00:00
impact-bold.html
impact-bolditalic.html
impact-italic.html
impact-oblique.html
impact.html
italic-oblique-1.html
italic-oblique-2.html
italic-oblique-3.html
italic-oblique-4.html
italic-oblique-5.html
italic-oblique-6.html
italic-oblique-7.html
italic-oblique-8.html
italic-oblique-9.html
italic-oblique-kinnari-ref.html
italic-oblique-kinnari.html
italic-oblique-ref.html
legacy-family-names-1-ref.html
legacy-family-names-1.html
legacy-family-names-2-ref.html
legacy-family-names-2.html
localized-family-names-001-ref.html
localized-family-names-001.html
localized-family-names-002-ref.html
localized-family-names-002.html
localized-family-names-003-ref.html Bug 1533462 - Enable the cross-process shared fontlist by default on Nightly builds. r=jwatt 2020-09-07 17:20:58 +00:00
localized-family-names-003.html Bug 1533462 - Enable the cross-process shared fontlist by default on Nightly builds. r=jwatt 2020-09-07 17:20:58 +00:00
localized-family-names-004-ref.html
localized-family-names-004.html
lucidaconsole-bold.html
lucidaconsole-bolditalic.html
lucidaconsole-italic.html
lucidaconsole-oblique.html
lucidaconsole.html
normalmedium-notref.html
normalmedium-ref.html
normalmedium.html
osaka-mono-exists-ref.html Bug 1697666 followup - Make the osaka-mono-exists test confirm that if Osaka is present, then Osaka-Mono is also available. r=arai 2021-03-24 15:15:23 +00:00
osaka-mono-exists.html Bug 1697666 followup - Make the osaka-mono-exists test confirm that if Osaka is present, then Osaka-Mono is also available. r=arai 2021-03-24 15:15:23 +00:00
osaka-mono-ref.html Bug 1697666 - Move IsSingleFaceFamily into gfxFontFamily. r=jfkthame 2021-03-17 19:31:12 +00:00
osaka-mono.html Bug 1697666 - Move IsSingleFaceFamily into gfxFontFamily. r=jfkthame 2021-03-17 19:31:12 +00:00
reftest.list Bug 1743170 - Include deprecated macOS font family names in the font list, if available at runtime. r=gfx-reviewers,lsalzman 2022-05-19 18:42:39 +00:00
simple-oblique-ref.html
simple-oblique.html
stretchmapping-35-ref.html
stretchmapping-35.html
stretchmapping-137-ref.html
stretchmapping-137.html
stretchmapping-all-ref.html
stretchmapping-all.html
stretchmapping-reverse-ref.html
stretchmapping-reverse.html
synthetic-bold-1-ref.html
synthetic-bold-1.html
synthetic-bold-2-ref.html
synthetic-bold-2.html
synthetic-style-1-notref.html
synthetic-style-1.html
synthetic-style-2-notref.html
synthetic-style-2.html
syntheticbold-rotated-ref.html
syntheticbold-rotated.html
system-generic-fallback-1-ref.html
system-generic-fallback-1.html
system-generic-fallback-2-ref.html
system-generic-fallback-2.html
system-generic-fallback-3-ref.html
system-generic-fallback-3.html
system-generic-fallback-4-ref.html
system-generic-fallback-4.html
system-generic-fallback-ja.html
system-generic-fallback-ko.html
system-generic-fallback-zh-cn.html
system-generic-fallback-zh-tw.html
system-ui-fallback-2-ref.html Bug 1739464 - Use first generic rather than only generic to determine fallback font family. r=jfkthame 2021-11-19 16:11:54 +00:00
system-ui-fallback-2.html Bug 1739464 - Use first generic rather than only generic to determine fallback font family. r=jfkthame 2021-11-19 16:11:54 +00:00
system-ui-fallback-notref.html Bug 1724907 - Reftest. r=jfkthame 2021-08-11 13:34:53 +00:00
system-ui-fallback.html Bug 1724907 - Reftest. r=jfkthame 2021-08-11 13:34:53 +00:00
weightmapping-7-ref.html
weightmapping-7.html
weightmapping-12-ref.html
weightmapping-12.html
weightmapping-25-ref.html
weightmapping-25.html
weightmapping-45-ref.html
weightmapping-45.html
weightmapping-458-ref.html
weightmapping-458.html
weightmapping-478-ref.html
weightmapping-478.html
weightmapping-12579-ref.html
weightmapping-12579.html
wingdings-1-notref.html Bug 1756720 - When using legacy MS Symbol fonts, map character codes from the U+00xx range to the PUA range U+F0xx found in the cmap subtables. r=emilio 2022-03-01 15:22:56 +00:00
wingdings-1-ref.html Bug 1756720 - When using legacy MS Symbol fonts, map character codes from the U+00xx range to the PUA range U+F0xx found in the cmap subtables. r=emilio 2022-03-01 15:22:56 +00:00
wingdings-1.html Bug 1756720 - When using legacy MS Symbol fonts, map character codes from the U+00xx range to the PUA range U+F0xx found in the cmap subtables. r=emilio 2022-03-01 15:22:56 +00:00