From 2d064116ab59ade2c1f5fc4e43fc34dcbfd541c8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 23 May 2025 13:58:15 +0200 Subject: [PATCH] Tests: Import a WPT test for @font-face format specifiers --- .../format-specifiers-variations.txt | 54 ++++++++++++++++++ .../format-specifiers-variations.html | 57 +++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/format-specifiers-variations.txt create mode 100644 Tests/LibWeb/Text/input/wpt-import/css/css-fonts/format-specifiers-variations.html diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/format-specifiers-variations.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/format-specifiers-variations.txt new file mode 100644 index 00000000000..fb320e64002 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-fonts/format-specifiers-variations.txt @@ -0,0 +1,54 @@ +Harness status: OK + +Found 48 tests + +44 Pass +4 Fail +Pass Load Ahem with format woff +Pass Load Ahem with format truetype +Pass Load Ahem with format opentype +Pass Load Ahem with format woff2 +Fail Load Ahem with format woff-variations +Fail Load Ahem with format truetype-variations +Fail Load Ahem with format opentype-variations +Fail Load Ahem with format woff2-variations +Pass Do not load Ahem with format xyzwoff +Pass Do not load Ahem with format xyztruetype +Pass Do not load Ahem with format xyzopentype +Pass Do not load Ahem with format xyzwoff2 +Pass Do not load Ahem with format xyzwoff-variations +Pass Do not load Ahem with format xyztruetype-variations +Pass Do not load Ahem with format xyzopentype-variations +Pass Do not load Ahem with format xyzwoff2-variations +Pass Do not load Ahem with format woffxyz +Pass Do not load Ahem with format truetypexyz +Pass Do not load Ahem with format opentypexyz +Pass Do not load Ahem with format woff2xyz +Pass Do not load Ahem with format woff-variationsxyz +Pass Do not load Ahem with format truetype-variationsxyz +Pass Do not load Ahem with format opentype-variationsxyz +Pass Do not load Ahem with format woff2-variationsxyz +Pass Do not load Ahem with format wo +Pass Do not load Ahem with format truety +Pass Do not load Ahem with format openty +Pass Do not load Ahem with format wof +Pass Do not load Ahem with format woff-variatio +Pass Do not load Ahem with format truetype-variatio +Pass Do not load Ahem with format opentype-variatio +Pass Do not load Ahem with format woff2-variatio +Pass Do not load Ahem with format ff +Pass Do not load Ahem with format uetype +Pass Do not load Ahem with format entype +Pass Do not load Ahem with format ff2 +Pass Do not load Ahem with format ff-variations +Pass Do not load Ahem with format uetype-variations +Pass Do not load Ahem with format entype-variations +Pass Do not load Ahem with format ff2-variations +Pass Do not load Ahem with format wff +Pass Do not load Ahem with format tretype +Pass Do not load Ahem with format opntype +Pass Do not load Ahem with format wff2 +Pass Do not load Ahem with format woff-ariations +Pass Do not load Ahem with format truetye-variations +Pass Do not load Ahem with format opentye-variations +Pass Do not load Ahem with format woff2variations \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-fonts/format-specifiers-variations.html b/Tests/LibWeb/Text/input/wpt-import/css/css-fonts/format-specifiers-variations.html new file mode 100644 index 00000000000..5f7a0b82467 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/css/css-fonts/format-specifiers-variations.html @@ -0,0 +1,57 @@ + + + +CSS Test: Supported format specifiers should load + + + + + + + + + +