Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#21381 closed enhancement (fixed)

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

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

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)

#1 @SergeyBiryukov
14 years ago

  • Milestone Awaiting Review → 3.5

#2 @lancewillett
14 years ago

In [21334]:

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

#3 @lancewillett
14 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
14 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.