WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#27385 closed defect (bug) (fixed)

Audio Player Doesn't Flow With Float Images

Reported by: miqrogroove Owned by: wonderboymusic
Milestone: 4.0 Priority: normal
Severity: normal Version: 3.6
Component: Media Keywords:
Focuses: Cc:

Description

To reproduce this:

  1. Start a new post.
  2. Insert an image, align left or align right.
  3. Insert an audio player.
  4. Preview

Expected behavior: Audio player should flow with or clear floated elements.

Actual behavior: Audio player overlaps the image :(

Workaround: Position the audio player before the image, or manually clear floated elements before the player.

Tested 3.8 and trunk.

Change History (3)

#1 @DrewAPicture
7 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 4.0
  • Version changed from 3.8 to 3.6

Confirmed.

If we just want to clear it, even just adding clear:both to the outer mediaelement container css would probably suffice.

#2 @wonderboymusic
7 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to closed

In 28361:

MediaElement players need clear: both to play nice with adjacent floated elements.

Fixes #27385.

#3 @wonderboymusic
7 years ago

  • Keywords needs-patch removed
Note: See TracTickets for help on using tickets.