We have moved to Github. Please open tickets there.

Opened 3 years ago

Closed 3 years ago

#2440 closed Defect (fixed)

confusion b/w clearfloat and clearfix

Reported by: ewinslow Owned by: ewinslow
Priority: high Milestone: Elgg 1.8.0
Component: Core Version: 1.7
Severity: minor Keywords:
Cc: brettp Difficulty: easy

Description

This may be bordering on bikeshedding... and if it is feel free to close this ticket, but:

I think we should rename the Elgg 1.8 "clearfloat" to "clearfix" and bring back .clearfloat { clear:both; } for three reasons:

  1. "clearfix" is the commonly accepted class name for the technique Elgg currently achieves using the class name "clearfloat"
  2. "clearfloat" is commonly associated with the technique Elgg used to have.
  3. Why introduce yet another point of backwards incompatibility with themes when there seems to be no good reason to?

As my proof for points 1 and 2 I offer you the google search results for clearfloat and clearfix.

Change History (7)

comment:1 follow-up: Changed 3 years ago by cash

Evan is exactly right. Using terms differently from the rest of the world and breaking themes and plugins unnecessarily are a bad ideas.

Fixing this will break all the themes and plugins on elgg.com - how do we handle this?

comment:2 in reply to: ↑ 1 Changed 3 years ago by brettp

  • Difficulty set to easy
  • Priority changed from normal to high

Replying to cash:

Fixing this will break all the themes and plugins on elgg.com - how do we handle this?

Don't worry about it. It's an easy enough fix to make on our side.

comment:3 Changed 3 years ago by ewinslow

  • Owner set to ewinslow
  • Status changed from new to assigned

comment:4 Changed 3 years ago by ewinslow

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

(In [svn:7223]) Fixes #2440: Converted clearfloat to clearfix, brought back orig clearfloat

comment:5 Changed 3 years ago by cash

  • Resolution fixed deleted
  • Status changed from closed to reopened

The group profile page is now broken - a clear float change is probably the culprit.

comment:6 Changed 3 years ago by cash

To be specific, the activity box is jumping up into the group profile fields on Firefox

comment:7 Changed 3 years ago by cash

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

Hmmm...cannot reproduce now. Closing this.

Note: See TracTickets for help on using tickets.