Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12437

Clean up redundant "clear" elements & "corners"

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.0-b2
    • 3.1.0-b3
    • Styles
    • None

    Description

      Since we are dropping IE6 & IE7 support, it would be nice to get rid of some redundant style elements like <span class="clear"></span>.

      They don't add anything if they are inside container with a clearing rule like:

      .inner:after {
          clear: both;
          content: "";
          display: block;
      }

      Since IE8 supports this method, we could simply remove these redundant elements.

      Additionally, there are still remnants of old "corners-top" and "corners-bottom" code, which can easily be removed.

      Attachments

        Activity

          People

            prototech prototech [X] (Inactive)
            PayBas PayBas [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: