WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#21381 closed enhancement (fixed)

Twenty Twelve: CSS cleanup for old prefixes and clearing float method

Reported by: lancewillett Owned by:
Milestone: 3.5 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: needs-patch
Focuses: Cc:

Description

Simplify CSS rules for clearing floats and remove unnecessary older browser vendor prefixes.

  1. Consolidate the :after clearing selectors into one block, and change most elements to use the overflow property instead.
  2. Remove prefixed versions of border-radius and box-shadow since they are fully supported in these browsers now. Also remove older webkit syntax for linear gradients.

Change History (4)

comment:1 @SergeyBiryukov3 years ago

  • Milestone changed from Awaiting Review to 3.5

comment:2 @lancewillett3 years ago

In [21334]:

Twenty Twelve: CSS cleanup for old prefixes. See #21381.

comment:3 @lancewillett3 years ago

In [21336]:

Twenty Twelve: CSS cleanup for clearing float method. Use overflow: hidden; and leave the other method intact in .clear rule so child themes can use it if needed. See #21381.

comment:4 @lancewillett3 years ago

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

Closing as fixed, please open new tickets for CSS or layout issues.

Note: See TracTickets for help on using tickets.