Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#21381 closed enhancement (fixed)

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

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


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)

#1 @SergeyBiryukov
11 years ago

  • Milestone changed from Awaiting Review to 3.5

#2 @lancewillett
11 years ago

In [21334]:

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

#3 @lancewillett
11 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.

#4 @lancewillett
11 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.