I have two blocks placed in one inline-block.
I want the first block ("A") to expand the parent inline-block. I want the second block ("B") to have the same width as the A block.
I'm sure there is a super obvious way of achieving this...
This piece of code works exactly like I want, in Firefox, Chrome, Safari, IE11... but NOT Edge 18. In Edge, the B div will expand the parent div just like the A div does.
<div style="display: inline-block;">
<div style="background: green;">
A: I want this content to expand the parent div.
</div>
<div style="background: yellow; display: flex">
<div style="width: 10px; flex-grow: 1;">
B: I want this div to have the same width as A.
</div>
</div>
</div>