From 156f4098b0d427262ec39c63cc0f05fbcc7df32f Mon Sep 17 00:00:00 2001 From: James Kitchener Date: Mon, 2 Dec 2013 11:50:58 -0500 Subject: [PATCH] Bug 114365 - Tests for mathvariant. r=fredw --- layout/reftests/bugs/414123-ref.xhtml | 7 +- .../reftests/mathml/mathvariant-1a-ref.html | 196 ++++++++++++++ layout/reftests/mathml/mathvariant-1a.html | 190 ++++++++++++++ .../reftests/mathml/mathvariant-1b-ref.html | 123 +++++++++ layout/reftests/mathml/mathvariant-1b.html | 123 +++++++++ .../reftests/mathml/mathvariant-1c-ref.html | 247 ++++++++++++++++++ layout/reftests/mathml/mathvariant-1c.html | 247 ++++++++++++++++++ .../reftests/mathml/mathvariant-1d-ref.html | 64 +++++ layout/reftests/mathml/mathvariant-1d.html | 64 +++++ layout/reftests/mathml/mathvariant-2-ref.html | 16 ++ layout/reftests/mathml/mathvariant-2.html | 16 ++ layout/reftests/mathml/mathvariant-3-ref.html | 14 + layout/reftests/mathml/mathvariant-3.html | 15 ++ layout/reftests/mathml/mathvariant-4-ref.html | 43 +++ layout/reftests/mathml/mathvariant-4.html | 36 +++ layout/reftests/mathml/mathvariant-5-ref.html | 39 +++ layout/reftests/mathml/mathvariant-5.html | 55 ++++ .../mathml/mi-mathvariant-2-ref.xhtml | 3 + layout/reftests/mathml/mi-mathvariant-2.xhtml | 1 + layout/reftests/mathml/mpadded-7-ref.html | 7 + layout/reftests/mathml/mpadded-7.html | 9 +- layout/reftests/mathml/mpadded-8-ref.html | 7 + layout/reftests/mathml/mpadded-8.html | 9 +- layout/reftests/mathml/mpadded-9-ref.html | 8 + layout/reftests/mathml/mpadded-9.html | 10 +- layout/reftests/mathml/reftest.list | 8 + 26 files changed, 1550 insertions(+), 7 deletions(-) create mode 100644 layout/reftests/mathml/mathvariant-1a-ref.html create mode 100644 layout/reftests/mathml/mathvariant-1a.html create mode 100644 layout/reftests/mathml/mathvariant-1b-ref.html create mode 100644 layout/reftests/mathml/mathvariant-1b.html create mode 100644 layout/reftests/mathml/mathvariant-1c-ref.html create mode 100644 layout/reftests/mathml/mathvariant-1c.html create mode 100644 layout/reftests/mathml/mathvariant-1d-ref.html create mode 100644 layout/reftests/mathml/mathvariant-1d.html create mode 100644 layout/reftests/mathml/mathvariant-2-ref.html create mode 100644 layout/reftests/mathml/mathvariant-2.html create mode 100644 layout/reftests/mathml/mathvariant-3-ref.html create mode 100644 layout/reftests/mathml/mathvariant-3.html create mode 100644 layout/reftests/mathml/mathvariant-4-ref.html create mode 100644 layout/reftests/mathml/mathvariant-4.html create mode 100644 layout/reftests/mathml/mathvariant-5-ref.html create mode 100644 layout/reftests/mathml/mathvariant-5.html diff --git a/layout/reftests/bugs/414123-ref.xhtml b/layout/reftests/bugs/414123-ref.xhtml index edfbf1c91903..5448508848ae 100644 --- a/layout/reftests/bugs/414123-ref.xhtml +++ b/layout/reftests/bugs/414123-ref.xhtml @@ -2,7 +2,6 @@ - Testcase for bug 414123 @@ -10,21 +9,21 @@ - M + M 2 - M + M 2 - M + M 2 diff --git a/layout/reftests/mathml/mathvariant-1a-ref.html b/layout/reftests/mathml/mathvariant-1a-ref.html new file mode 100644 index 000000000000..b2cc26d3cea5 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-1a-ref.html @@ -0,0 +1,196 @@ + + + + + Test mathvariant character mappings + + + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ + abcdefghijklmnopqrstuvwxyz + + +
+ + + ABCDEFGHIJKLMNOPQRSTUVWXYZ + abcdefghijklmnopqrstuvwxyz + + +
+ + + ABCDEFGHIJKLMNOPQRSTUVWXYZ + abcdefghijklmnopqrstuvwxyz + + +
+ + + + 𝒜ℬ𝒞𝒟ℰℱ + 𝒢ℋℐ𝒥𝒦ℒ + ℳ𝒩𝒪𝒫𝒬ℛ + 𝒮𝒯𝒰𝒱𝒲𝒳 + 𝒴𝒵 + 𝒶𝒷𝒸𝒹ℯ𝒻 + ℊ𝒽𝒾𝒿𝓀𝓁 + 𝓂𝓃ℴ𝓅𝓆𝓇 + 𝓈𝓉𝓊𝓋𝓌𝓍 + 𝓎𝓏 + + + +
+ + + + 𝓐𝓑𝓒𝓓𝓔𝓕 + 𝓖𝓗𝓘𝓙𝓚𝓛 + 𝓜𝓝𝓞𝓟𝓠𝓡 + 𝓢𝓣𝓤𝓥𝓦𝓧 + 𝓨𝓩 + 𝓪𝓫𝓬𝓭𝓮𝓯 + 𝓰𝓱𝓲𝓳𝓴𝓵 + 𝓶𝓷𝓸𝓹𝓺𝓻 + 𝓼𝓽𝓾𝓿𝔀𝔁 + 𝔂𝔃 + + + +
+ + + + 𝔄𝔅ℭ𝔇𝔈𝔉 + 𝔊ℌℑ𝔍𝔎𝔏 + 𝔐𝔑𝔒𝔓𝔔ℜ + 𝔖𝔗𝔘𝔙𝔚𝔛 + 𝔜ℨ + 𝔞𝔟𝔠𝔡𝔢𝔣 + 𝔤𝔥𝔦𝔧𝔨𝔩 + 𝔪𝔫𝔬𝔭𝔮𝔯 + 𝔰𝔱𝔲𝔳𝔴𝔵 + 𝔶𝔷 + + + +
+ + + + 𝔸𝔹ℂ𝔻𝔼𝔽 + 𝔾ℍ𝕀𝕁𝕂𝕃 + 𝕄ℕ𝕆ℙℚℝ + 𝕊𝕋𝕌𝕍𝕎𝕏 + 𝕐ℤ + 𝕒𝕓𝕔𝕕𝕖𝕗 + 𝕘𝕙𝕚𝕛𝕜𝕝 + 𝕞𝕟𝕠𝕡𝕢𝕣 + 𝕤𝕥𝕦𝕧𝕨𝕩 + 𝕪𝕫 + + + +
+ + + + 𝕬𝕭𝕮𝕯𝕰𝕱 + 𝕲𝕳𝕴𝕵𝕶𝕷 + 𝕸𝕹𝕺𝕻𝕼𝕽 + 𝕾𝕿𝖀𝖁𝖂𝖃 + 𝖄𝖅 + 𝖆𝖇𝖈𝖉𝖊𝖋 + 𝖌𝖍𝖎𝖏𝖐𝖑 + 𝖒𝖓𝖔𝖕𝖖𝖗 + 𝖘𝖙𝖚𝖛𝖜𝖝 + 𝖞𝖟 + + + +
+ + + + 𝖠𝖡𝖢𝖣𝖤𝖥 + 𝖦𝖧𝖨𝖩𝖪𝖫 + 𝖬𝖭𝖮𝖯𝖰𝖱 + 𝖲𝖳𝖴𝖵𝖶𝖷 + 𝖸𝖹 + 𝖺𝖻𝖼𝖽𝖾𝖿 + 𝗀𝗁𝗂𝗃𝗄𝗅 + 𝗆𝗇𝗈𝗉𝗊𝗋 + 𝗌𝗍𝗎𝗏𝗐𝗑 + 𝗒𝗓 + + + +
+ + + + 𝗔𝗕𝗖𝗗𝗘𝗙 + 𝗚𝗛𝗜𝗝𝗞𝗟 + 𝗠𝗡𝗢𝗣𝗤𝗥 + 𝗦𝗧𝗨𝗩𝗪𝗫 + 𝗬𝗭 + 𝗮𝗯𝗰𝗱𝗲𝗳 + 𝗴𝗵𝗶𝗷𝗸𝗹 + 𝗺𝗻𝗼𝗽𝗾𝗿 + 𝘀𝘁𝘂𝘃𝘄𝘅 + 𝘆𝘇 + + +
+ + + + 𝘈𝘉𝘊𝘋𝘌𝘍 + 𝘎𝘏𝘐𝘑𝘒𝘓 + 𝘔𝘕𝘖𝘗𝘘𝘙 + 𝘚𝘛𝘜𝘝𝘞𝘟 + 𝘠𝘡 + 𝘢𝘣𝘤𝘥𝘦𝘧 + 𝘨𝘩𝘪𝘫𝘬𝘭 + 𝘮𝘯𝘰𝘱𝘲𝘳 + 𝘴𝘵𝘶𝘷𝘸𝘹 + 𝘺𝘻 + + +
+ + + + 𝘼𝘽𝘾𝘿𝙀𝙁 + 𝙂𝙃𝙄𝙅𝙆𝙇 + 𝙈𝙉𝙊𝙋𝙌𝙍 + 𝙎𝙏𝙐𝙑𝙒𝙓 + 𝙔𝙕 + 𝙖𝙗𝙘𝙙𝙚𝙛 + 𝙜𝙝𝙞𝙟𝙠𝙡 + 𝙢𝙣𝙤𝙥𝙦𝙧 + 𝙨𝙩𝙪𝙫𝙬𝙭 + 𝙮𝙯 + + +
+ + + + 𝙰𝙱𝙲𝙳𝙴𝙵 + 𝙶𝙷𝙸𝙹𝙺𝙻 + 𝙼𝙽𝙾𝙿𝚀𝚁 + 𝚂𝚃𝚄𝚅𝚆𝚇 + 𝚈𝚉 + 𝚊𝚋𝚌𝚍𝚎𝚏 + 𝚐𝚑𝚒𝚓𝚔𝚕 + 𝚖𝚗𝚘𝚙𝚚𝚛 + 𝚜𝚝𝚞𝚟𝚠𝚡 + 𝚢𝚣 + + +
+ + diff --git a/layout/reftests/mathml/mathvariant-1a.html b/layout/reftests/mathml/mathvariant-1a.html new file mode 100644 index 000000000000..ef3d25b61041 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-1a.html @@ -0,0 +1,190 @@ + + + + + Test mathvariant character mappings + + + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ + abcdefghijklmnopqrstuvwxyz + + +
+ + + ABCDEFGHIJKLMNOPQRSTUVWXYZ + abcdefghijklmnopqrstuvwxyz + + +
+ + + ABCDEFGHIJKLMNOPQRSTUVWXYZ + abcdefghijklmnopqrstuvwxyz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + + + ABCDEF + GHIJKL + MNOPQR + STUVWX + YZ + abcdef + ghijkl + mnopqr + stuvwx + yz + + +
+ + diff --git a/layout/reftests/mathml/mathvariant-1b-ref.html b/layout/reftests/mathml/mathvariant-1b-ref.html new file mode 100644 index 000000000000..747e1957b3e0 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-1b-ref.html @@ -0,0 +1,123 @@ + + + + + Test mathvariant character mappings + + + + + 0123456789 + + +
+ + + 0123456789 + + +
+ + + 0123456789 + + +
+ + + 0123456789 + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 𝟘𝟙𝟚𝟛𝟜𝟝 + 𝟞𝟟𝟠𝟡 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 𝟢𝟣𝟤𝟥𝟦𝟧 + 𝟨𝟩𝟪𝟫 + + + +
+ + + + 𝟬𝟭𝟮𝟯𝟰𝟱 + 𝟲𝟳𝟴𝟵 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 𝟶𝟷𝟸𝟹𝟺𝟻 + 𝟼𝟽𝟾𝟿 + + + +
+ + diff --git a/layout/reftests/mathml/mathvariant-1b.html b/layout/reftests/mathml/mathvariant-1b.html new file mode 100644 index 000000000000..0c416e5f0931 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-1b.html @@ -0,0 +1,123 @@ + + + + + Test mathvariant character mappings + + + + + 0123456789 + + +
+ + + 0123456789 + + +
+ + + 0123456789 + + +
+ + + 0123456789 + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + + + 012345 + 6789 + + + +
+ + diff --git a/layout/reftests/mathml/mathvariant-1c-ref.html b/layout/reftests/mathml/mathvariant-1c-ref.html new file mode 100644 index 000000000000..53924006f6ca --- /dev/null +++ b/layout/reftests/mathml/mathvariant-1c-ref.html @@ -0,0 +1,247 @@ + + + + + Test mathvariant character mappings + + + + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + 𝝖𝝗𝝘𝝙𝝚𝝛 + 𝝜𝝝𝝞𝝟𝝠𝝡 + 𝝢𝝣𝝤𝝥𝝦𝝧 + 𝝨𝝩𝝪𝝫𝝬𝝭 + 𝝮𝝯𝝰𝝱𝝲𝝳 + 𝝴𝝵𝝶𝝷𝝸𝝹 + 𝝺𝝻𝝼𝝽𝝾𝝿 + 𝞀𝞁𝞂𝞃𝞄𝞅 + 𝞆𝞇𝞈𝞉𝞊𝞋 + 𝞌𝞍𝞎𝞏 + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + 𝞐𝞑𝞒𝞓𝞔𝞕 + 𝞖𝞗𝞘𝞙𝞚𝞛 + 𝞜𝞝𝞞𝞟𝞠𝞡 + 𝞢𝞣𝞤𝞥𝞦𝞧 + 𝞨𝞩𝞪𝞫𝞬𝞭 + 𝞮𝞯𝞰𝞱𝞲𝞳 + 𝞴𝞵𝞶𝞷𝞸𝞹 + 𝞺𝞻𝞼𝞽𝞾𝞿 + 𝟀𝟁𝟂𝟃𝟄𝟅 + 𝟆𝟇𝟈𝟉 + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + diff --git a/layout/reftests/mathml/mathvariant-1c.html b/layout/reftests/mathml/mathvariant-1c.html new file mode 100644 index 000000000000..494fc9600214 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-1c.html @@ -0,0 +1,247 @@ + + + + + Test mathvariant character mappings + + + + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + + + ΑΒΓΔΕΖ + ΗΘΙΚΛΜ + ΝΞΟΠΡϴ + ΣΤΥΦΧΨ + Ω∇αβγδ + εζηθικ + λμνξοπ + ρςστυφ + χψω∂ϵϑ + ϰϕϱϖ + + + +
+ + diff --git a/layout/reftests/mathml/mathvariant-1d-ref.html b/layout/reftests/mathml/mathvariant-1d-ref.html new file mode 100644 index 000000000000..7706b6f70fb2 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-1d-ref.html @@ -0,0 +1,64 @@ + + + + + Test mathvariant character mappings + + + + + + 𞺡𞺢𞺣𞺥𞺦𞺧 + 𞺨𞺩𞺫𞺬𞺭𞺮 + 𞺯𞺰𞺱𞺲𞺳𞺴 + 𞺵𞺶𞺷𞺸𞺹𞺺 + 𞺻 + + + +
+ + + + 𞸡𞸢𞸤𞸧𞸩𞸪 + 𞸫𞸬𞸭𞸮𞸯𞸰 + 𞸱𞸲𞸴𞸵𞸶𞸷 + 𞸹𞸻 + + + +
+ + + + 𞹂𞹇𞹉𞹋𞹍𞹎 + 𞹏𞹑𞹒𞹔𞹗𞹙 + 𞹛𞹝𞹟 + + + +
+ + + + 𞺀𞺁𞺂𞺃𞺄𞺅 + 𞺆𞺇𞺈𞺉𞺋𞺌 + 𞺍𞺎𞺏𞺐𞺑𞺒 + 𞺓𞺔𞺕𞺖𞺗𞺘 + 𞺙𞺚𞺛 + + + +
+ + + + 𞹡𞹢𞹤𞹧𞹨𞹩 + 𞹪𞹬𞹭𞹮𞹯𞹰 + 𞹱𞹲𞹴𞹵𞹶𞹷 + 𞹹𞹺𞹻𞹼𞹾 + + + + + \ No newline at end of file diff --git a/layout/reftests/mathml/mathvariant-1d.html b/layout/reftests/mathml/mathvariant-1d.html new file mode 100644 index 000000000000..db6b7b9036c3 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-1d.html @@ -0,0 +1,64 @@ + + + + + Test mathvariant character mappings + + + + + + بجدوزح + طيلمنس + عفصقرش + تثخذضظ + غ + + + +
+ + + + بجهحيك + لمنسعف + صقشتثخ + ضغ + + + +
+ + + + جحيلنس + عصقشخض + غںٯ + + + +
+ + + + ابجدهو + زحطيلم + نسعفصق + رشتثخذ + ضظغ + + + +
+ + + + بجهحطي + كمنسعف + صقشتثخ + ضظغٮڡ + + + + + \ No newline at end of file diff --git a/layout/reftests/mathml/mathvariant-2-ref.html b/layout/reftests/mathml/mathvariant-2-ref.html new file mode 100644 index 000000000000..f30046b0228e --- /dev/null +++ b/layout/reftests/mathml/mathvariant-2-ref.html @@ -0,0 +1,16 @@ + + + + Test mathvariant exception mappings + + + + + ıȷ + ıȷ + Ϝϝ + Ϝϝ + + + + diff --git a/layout/reftests/mathml/mathvariant-2.html b/layout/reftests/mathml/mathvariant-2.html new file mode 100644 index 000000000000..59bedfe55da4 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-2.html @@ -0,0 +1,16 @@ + + + + Test mathvariant exception mappings + + + + + ıȷ + ıȷ + Ϝϝ + Ϝϝ + + + + diff --git a/layout/reftests/mathml/mathvariant-3-ref.html b/layout/reftests/mathml/mathvariant-3-ref.html new file mode 100644 index 000000000000..ed7d05d55e4b --- /dev/null +++ b/layout/reftests/mathml/mathvariant-3-ref.html @@ -0,0 +1,14 @@ + + + + Test math-variant overrides fontstyle and fontweight + + + + + A + A + + + + diff --git a/layout/reftests/mathml/mathvariant-3.html b/layout/reftests/mathml/mathvariant-3.html new file mode 100644 index 000000000000..7139c7df03b0 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-3.html @@ -0,0 +1,15 @@ + + + + Test math-variant overrides fontstyle and fontweight + + + + + A + A + + + + + diff --git a/layout/reftests/mathml/mathvariant-4-ref.html b/layout/reftests/mathml/mathvariant-4-ref.html new file mode 100644 index 000000000000..d6ce54746ae9 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-4-ref.html @@ -0,0 +1,43 @@ + + + + More mathvariant tests + + + + + + 𝒜 + + + á + + + +

+ + + + + 𝙰𝙰𝙰 + + + +

+ + + + + cos + + x + + + + + diff --git a/layout/reftests/mathml/mathvariant-4.html b/layout/reftests/mathml/mathvariant-4.html new file mode 100644 index 000000000000..acb1deb4c020 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-4.html @@ -0,0 +1,36 @@ + + + + More mathvariant tests + + + + + 𝒜 + + á + + + +

+ + + + AAA + + + +

+ + + + + cos + + x + + + + + + diff --git a/layout/reftests/mathml/mathvariant-5-ref.html b/layout/reftests/mathml/mathvariant-5-ref.html new file mode 100644 index 000000000000..832debe0e66b --- /dev/null +++ b/layout/reftests/mathml/mathvariant-5-ref.html @@ -0,0 +1,39 @@ + + + + Dynamic mathvariant tests + + + + + A + BB + B + A + A + A + A + A + A + A + A + + + +

+ + + + + Hello + + + Hello + + + Hello + + + + + diff --git a/layout/reftests/mathml/mathvariant-5.html b/layout/reftests/mathml/mathvariant-5.html new file mode 100644 index 000000000000..4d92057c66a0 --- /dev/null +++ b/layout/reftests/mathml/mathvariant-5.html @@ -0,0 +1,55 @@ + + + + Dynamic mathvariant tests + + + + + A + A + AA + A + A + A + A + A + A + A + A + + + +

+ + + + + Hello + + + Hello + + + Hello + + + + + + diff --git a/layout/reftests/mathml/mi-mathvariant-2-ref.xhtml b/layout/reftests/mathml/mi-mathvariant-2-ref.xhtml index 043001cee12e..edee2a9b43b5 100644 --- a/layout/reftests/mathml/mi-mathvariant-2-ref.xhtml +++ b/layout/reftests/mathml/mi-mathvariant-2-ref.xhtml @@ -9,6 +9,9 @@ + + 𝔅 diff --git a/layout/reftests/mathml/mi-mathvariant-2.xhtml b/layout/reftests/mathml/mi-mathvariant-2.xhtml index 3828e8243ae1..ae1db6e1ee7b 100644 --- a/layout/reftests/mathml/mi-mathvariant-2.xhtml +++ b/layout/reftests/mathml/mi-mathvariant-2.xhtml @@ -3,6 +3,7 @@ + B diff --git a/layout/reftests/mathml/mpadded-7-ref.html b/layout/reftests/mathml/mpadded-7-ref.html index 950df9c530a4..b01e7f4a6db0 100644 --- a/layout/reftests/mathml/mpadded-7-ref.html +++ b/layout/reftests/mathml/mpadded-7-ref.html @@ -4,6 +4,13 @@ Test mpadded + + + + X + + + diff --git a/layout/reftests/mathml/mpadded-7.html b/layout/reftests/mathml/mpadded-7.html index e52dbeba2f2a..bb9c5890ea43 100644 --- a/layout/reftests/mathml/mpadded-7.html +++ b/layout/reftests/mathml/mpadded-7.html @@ -8,7 +8,14 @@ - _ + _ + + + + + + + i diff --git a/layout/reftests/mathml/mpadded-8-ref.html b/layout/reftests/mathml/mpadded-8-ref.html index 949c042319bd..1b8963df6404 100644 --- a/layout/reftests/mathml/mpadded-8-ref.html +++ b/layout/reftests/mathml/mpadded-8-ref.html @@ -4,6 +4,13 @@ Test mpadded + + + + X + + + diff --git a/layout/reftests/mathml/mpadded-8.html b/layout/reftests/mathml/mpadded-8.html index fe0ab8d0957d..274925906b10 100644 --- a/layout/reftests/mathml/mpadded-8.html +++ b/layout/reftests/mathml/mpadded-8.html @@ -8,7 +8,14 @@ - | + | + + + + + + + i diff --git a/layout/reftests/mathml/mpadded-9-ref.html b/layout/reftests/mathml/mpadded-9-ref.html index 97c158913fa7..9e5f3c6b8035 100644 --- a/layout/reftests/mathml/mpadded-9-ref.html +++ b/layout/reftests/mathml/mpadded-9-ref.html @@ -4,6 +4,14 @@ Test mpadded + + + + X + + + +
diff --git a/layout/reftests/mathml/mpadded-9.html b/layout/reftests/mathml/mpadded-9.html index a5234e110204..8e8b92b0d6c0 100644 --- a/layout/reftests/mathml/mpadded-9.html +++ b/layout/reftests/mathml/mpadded-9.html @@ -8,7 +8,15 @@ - | + | + + + +
+ + + + i diff --git a/layout/reftests/mathml/reftest.list b/layout/reftests/mathml/reftest.list index ea6330501875..7c97fe3ceb28 100644 --- a/layout/reftests/mathml/reftest.list +++ b/layout/reftests/mathml/reftest.list @@ -130,3 +130,11 @@ fails == whitespace-trim-4.html whitespace-trim-4-ref.html # Bug 787215 == mathml-mmultiscript-base.html mathml-mmultiscript-base-ref.html == mathml-mmultiscript-mprescript.html mathml-mmultiscript-mprescript-ref.html != menclose-1.html menclose-1-ref.html +== mathvariant-1a.html mathvariant-1a-ref.html +== mathvariant-1b.html mathvariant-1b-ref.html +== mathvariant-1c.html mathvariant-1c-ref.html +== mathvariant-1d.html mathvariant-1d-ref.html +== mathvariant-2.html mathvariant-2-ref.html +== mathvariant-3.html mathvariant-3-ref.html +== mathvariant-4.html mathvariant-4-ref.html +== mathvariant-5.html mathvariant-5-ref.html