Closed Bug 706063 Opened 13 years ago Closed 13 years ago

margin-bottom duplicated when using :after pseudo element

Categories

(Firefox :: General, defect)

8 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 451791

People

(Reporter: wheresrhys, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0 Build ID: 20111104165243 Steps to reproduce: 1. Created a <ul> containing a floating <li> 2. Gave the ul the standard cross-browser clearfix properties (i.e. use :after to define an element with clear:both) Test case http://jsfiddle.net/wheresrhys/jvVhu/ Actual results: the margin-bottom of the ul appears both above and below the ul Expected results: margin-bottom should only appear below the UL
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.