The values for heights can be in pixels (px), relative (em) or percentage (%).
To resolve the issue, 300 should be 300px.
<option name="height">300px</option>
I'll look into adding looser value support where integers without a trailing string are automatically converted to pixels.
... View more