Tests: Re-import tests that used ahem.css

This causes 36 new subtests to pass locally. :^)

Unfortunately at least one of these is flaky when it's able to load the
font file, apparently because we don't wait for the font and its
stylesheet to actually load before the tests run.
This commit is contained in:
Sam Atkins
2024-11-06 12:44:38 +00:00
committed by Andreas Kling
parent f2407cd511
commit 8f21513902
Notes: github-actions[bot] 2024-11-06 19:04:36 +00:00
15 changed files with 756 additions and 53 deletions

View File

@@ -11,7 +11,7 @@
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#min-size-auto">
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#replaced-percentage-min-contribution">
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#min-content-zero">
<link rel="stylesheet" href="/fonts/ahem.css">
<link rel="stylesheet" href="../../fonts/ahem.css">
<meta name="assert" content="This test verifies that an <input> flex item should resolve its percentage part of main size to zero when computing specified size suggestion.">
<script src="../../resources/testharness.js"></script>