Make WordPress Core

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#17842 closed defect (bug) (fixed)

Style var tag in Twenty Eleven

Reported by: mfields's profile mfields Owned by: nacin's profile nacin
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.2
Component: Bundled Theme Keywords: has-patch dev-feedback
Focuses: Cc:

Description

var tags are currently not styled differently than other tags. Would it be a good idea to style them like code and kbd?

Attachments (1)

17842.diff (929 bytes) - added by mfields 13 years ago.
Add var and samp elements to style.css and editor-style.css.

Download all attachments as: .zip

Change History (9)

#1 @mfields
13 years ago

  • Cc michael@… added

#2 @PeteMall
13 years ago

  • Summary changed from Style var tag in wenty Eleven to Style var tag in Twenty Eleven

#3 @peterhol
13 years ago

  • Cc peterhol added

Should perhaps be added to editor-style.css as well?

#4 @mfields
13 years ago

Actually, the var tag seems to be accounted for in Twenty Eleven's editor-style.css, but only when used as a child of a "code" element.

#5 @nacin
13 years ago

Looks good. Also samp could be added. Let's cover editor-style.css too.

@mfields
13 years ago

Add var and samp elements to style.css and editor-style.css.

#6 @mfields
13 years ago

I've updated the patch adding the samp element and accounting for editor-style.css.

#7 @nacin
12 years ago

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

In [20906]:

Twenty Eleven: Style the samp and var elements the same way we style the code and kbd elements. props mfields, fixes #17842.

#8 @SergeyBiryukov
12 years ago

  • Milestone changed from Awaiting Review to 3.4
Note: See TracTickets for help on using tickets.