WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#30572 closed defect (bug) (fixed)

Twenty Fifteen: Remove unnecessary fail safe styles

Reported by: iamtakashi Owned by: iandstewart
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.1
Component: Bundled Theme Keywords: has-patch commit
Focuses: Cc:

Description

This is from Twenty Fourteen and I think the idea is to avoid double margin but since span doesn't have margin so they are probably not necessary.

p > embed,
p > iframe,
p > object,
p > video,
span > embed,
span > iframe,
span > object,
span > video {
	margin-bottom: 0;
	max-width: 100%;
}

Attachments (1)

30572.diff (468 bytes) - added by iamtakashi 6 years ago.

Download all attachments as: .zip

Change History (5)

@iamtakashi
6 years ago

This ticket was mentioned in Slack in #core-themes by iandstewart. View the logs.


6 years ago

#2 @iandstewart
6 years ago

  • Keywords commit added

#3 @iandstewart
6 years ago

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

In 30709:

Twenty Fifteen: removing unused styles inherited from Twenty Fourteen.

Props iamtakashi, fixes #30572.

This ticket was mentioned in Slack in #core by fabiorubioglio. View the logs.


4 years ago

Note: See TracTickets for help on using tickets.