Bug 71654 - Removal of generated content makes padding on parent element disappear.
Summary: Removal of generated content makes padding on parent element disappear.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/TQpJ5/3/
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 01:08 PST by Jonas Westerlund
Modified: 2012-02-29 19:52 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Westerlund 2011-11-07 01:08:37 PST
If you add generated content (using '::before' or '::after' pseudo-elements)  to child element C of parent element P, then remove it, padding of P is affected.
See URL.
If you scroll to the bottom, hover over an item, then mouse out, the bottom padding disappears.
It may re-appear on subsequent layouts.
Comment 1 David Barr 2012-02-29 19:52:14 PST
Confirmed in WebKit Nightly, Version 5.1.2 (6534.52.7, r109280).