fune/testing/web-platform/tests/css/css-flexbox/padding-overflow.html
Sam Sneddon a83eb99031 Bug 1895405 [wpt PR 46120] - Add a REFERENCE-IN-OTHER-TYPE lint, a=testonly
Automatic update from web-platform-tests
Remove <link rel=match> from testharness tests

According to the manifest these are all testharness tests, but WebKit's
historic slightly different logic has led to these being run in a bogus
state previously (where they were treated as both a reftest and a
testharness test all at once).

--
Convert css/css-ui/text-overflow-017.html to use testdriver

It's not overly meaningful to have a reference while also being manual,
and all this is really testing is that the click event is fired, so
let's just turn this into a testharness test using testdriver.

--
Change a crash test with a reference to a reftest

We already check whether tests crash, so we may as well check the
rendering too.

--
Add a REFERENCE-IN-OTHER-TYPE lint

This is similar to the TESTHARNESS-IN-OTHER-TYPE lint

--

wpt-commits: b5b9221deb1153511b3c512fa85e94cc7c082933, dadd6dc4ee0d9fba2bb8d8e7aeee20509d8c57ec, 9566e5456ca8f65389ca756d22a053ce389f4bb7, 8f48f40aab7f7f8a8118dc1a46972d070622be52
wpt-pr: 46120
2024-05-21 09:46:46 +00:00

10 lines
534 B
HTML

<!DOCTYPE html>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#layout-algorithm">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Item's size includes padding even when there is overflow:hidden. Chrome crashed on this.">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex">
<div style="padding: 50px; background: green; overflow: hidden;"></div>
</div>