The following snippet was designed for use in Firefox (79.0a1 from 2020-06-24), where the CSS grid is behaving as I expected (label and input on the same row, submit spanning the width of the fieldset). In Chrome (83.0.4103.116), the label and input go on different rows and the submit button is as narrow as its value allows.
<!DOCTYPE html>
<html lang="en">
<head>
<style type="text/css">
input[type="submit"] {
display: block;
grid-column-start: 1;
grid-column-end: 3;
}
label {
display: block;
text-align: right;
}
fieldset {
display: grid;
grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr);
}
</style>
</head>
<body>
<form action="/login" method="post">
<fieldset>
<label for="email">Email address</label>
<input type="email" name="email">
<input type="submit" value="Sign in">
</fieldset>
</form>
</body>
</html>
Is this a browser bug or am I doing something silly?