Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="utf-8">
<title>A ::before originated by a button doesn't center vertically</title>
<link rel="author" href="mailto:obrufau@igalia.com" title="Oriol Brufau">
<link rel="match" href="centering-004-ref.html">
<style>
button::before {
content: "ABC";
display: flow-root;
height: 200px;
}
</style>
<button></button>