<!DOCTYPE html>
<title>This test checks that percentage paddings do not lead to flex items with negative sizes.</title>
<link rel="author" title="Sergio Villar Senin" href="mailto:svillar@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-box-3/#padding-physical" title="Percentages line">
<link rel="match" href="percentage-padding-002-ref.html">
<style>
div {
    width: 50px;
    height: 50px;
}
span {
    display: inline-flex;
    border: 5px solid black;
}
</style>
<p>Test passes if there is a white square inside a 10x30 white box.</p>
<div>
    <span>
	    <span style="padding: 100%;"></span>
    </span>
<div>
