<!DOCTYPE html>
<html>
<head>
</head>
<style>
</style>
<body>
<div>
<details open><summary style="background-color: gray; display:inline;">This summary should be like<br>inline-block</summary>, so following text should be in same line.</details>
</div>
<div>
<details style="background-color: gray; display:inline;" open>This should be like<br>inline-block too</details>, and here is should-follow text.
</div>
</body>
</html>
