WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#22109 closed enhancement (fixed)

Support <small> tag in Twenty Eleven

Reported by: jane Owned by: lancewillett
Milestone: 3.5 Priority: lowest
Severity: trivial Version: 3.4.2
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:
PR Number:

Description

The next time Twenty Eleven gets an update, could it get a style added to it for the <small> tag?

Attachments (3)

small-style.patch (285 bytes) - added by toscho 7 years ago.
Set small to 85% font size.
22109.diff (717 bytes) - added by obenland 7 years ago.
Twenty Eleven/Twelve
22109.2.diff (1.1 KB) - added by obenland 7 years ago.
Twenty Ten/Eleven/Twelve

Download all attachments as: .zip

Change History (10)

#1 @SergeyBiryukov
7 years ago

  • Component changed from Themes to Bundled Theme

@toscho
7 years ago

Set small to 85% font size.

#2 @toscho
7 years ago

  • Cc info@… added

@obenland
7 years ago

Twenty Eleven/Twelve

#3 @obenland
7 years ago

  • Keywords has-patch added; needs-patch removed

#4 @lancewillett
7 years ago

I think Twenty Ten is also missing this specific styling, do to the reset.

Note: most user agents have the default small style set to 0.83em it seems, so maybe we should go with 83% to match — or 85% is probably close enough.

#5 @lancewillett
7 years ago

  • Milestone changed from Awaiting Review to 3.5

@obenland
7 years ago

Twenty Ten/Eleven/Twelve

#6 @obenland
7 years ago

Default browser styles for the small element:

IE 6/7: font-size: 10pt;
IE 8/9: font-size: .83em;
FF/Webkit: font-size: smaller;

There seems to be support for all values across all browsers.

#7 @lancewillett
7 years ago

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

In [22211]:

Style <small> element in default themes a bit smaller than normal text, props obenland. Fixes #22109.

Note: See TracTickets for help on using tickets.