This test verifies that media embeds can be resized without a pointing device using the resize dropdown.
Three editors are shown:
MediaEmbedResize, resizeUnit: '%'.
MediaEmbedResizeEditing + MediaEmbedResizeButtons + MediaEmbedCustomResizeUI
(no MediaEmbedResizeHandles).
MediaEmbedResize, resizeUnit: 'px', custom pixel-based
options.
resizeMediaEmbed) should be visible.
resizedWidth reflects the change.
isOn: true).
resizedWidth attribute disappears.
60) and press Enter. Verify the
media resizes to 60% (or 60px in the px editor) and the
balloon closes.
abc) and press Enter.
Verify error "The value should be a plain number." appears.
media_resized class is
removed.
Generic (non-previewable) media:
Spotify embed (responsive widget with its own minimum width):