[Webkit-unassigned] [Bug 93707] New: toggling a inline element's children between display:none/block appends an extra ::after pseudo-element.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 10 03:13:37 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93707
Summary: toggling a inline element's children between
display:none/block appends an extra ::after
pseudo-element.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://cssdeck.com/labs/ap7lzpbd/0
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: lcouto87 at gmail.com
CC: lcouto87 at gmail.com
Overview:
toggling a inline element's children between display:none/block appends an extra ::after pseudo-element.
Steps to Reproduce:
In HTML:
- Create a <ul> element with some <li> elements as children
In CSS
- Apply a CSS rule to the <ul> element setting the element to display: inline
- Set an ::after pseudo-element with the content property to the <ul> element
- Set all <li> elements to display: none and then remove the display: none rule (with Javascript)
Actual Results:
Every time the display:none rule is removed from the <li> elements, the <ul> element gets multiple ::after elements
Expected Results:
The <ul> should only have 1 pseudo-element.
Build Date & Platform:
Google Chrome Version 23.0.1231.0 canary on MacOSX 10.7.4
Additional Builds and Platforms:
Safari Version 6.0 (7536.25) on MacOSX 10.7.4
Webkit (7536.25 537.6+) on MacOSX 10.7.4
Google Chrome Version 22.0.1229.2 dev on MacOSX 10.7.4
Google Chrome Version 21.0.1180.60 m on Windows 7
Chromium 21.0.1180.75-1 on Linux tigon 3.4.7-1-ARCH #1 SMP PREEMPT Sun Jul 29 22:02:56 CEST 2012 x86_64 GNU/Linux
Additional Information:
This bug doesn't happen in non-webkit browsers.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list