blob: 5971ac8378c93fd74cbfa14f5444e634c02c913b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.abspos { position: absolute; background-color: pink; }
.gray { background-color: lightgray; padding: 1px; }
.small { height: 3px; }
</style>
</head><body>
Absolutely positioned element as a child of a flexbox with hasLineIfEmpty()=true.
Such a flex box should get a line instead of collapsing to just border+padding.
In other words, the grey area should be (slightly) taller than the pink one.<br>
<div class="gray" contenteditable="true"><div class="abspos">Content</div></div>
<hr>
...but if it does specify a height, we need to respect it.<br>
<div class="small gray" contenteditable="true"><div class="abspos">Content</div></div>