Files
ladybird/Tests/LibWeb/Text/input/wpt-import/css/css-flexbox/relayout-input.html
2024-10-30 10:17:21 +01:00

16 lines
553 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1082447" />
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<div style="display: flex; width: 100px;">
<input id="target" style="position: relative; height: 20px; flex: 1; width: 0px;" data-expected-width="100" />
</div>
<script>
test(function() {
document.body.offsetTop;
document.getElementById('target').value = 'text';
checkLayout('#target');
});
</script>