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

Clean up redundant "clear" elements & "corners"

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b2
    • Fix Version/s: 3.1.0-b3
    • Component/s: Styles
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: