Summary: | Style not updated for element with display:none becoming first/last-child | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | dstockwell | ||||||
Component: | CSS | Assignee: | dstockwell | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cmarcelo, noel.gordon, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
dstockwell
2012-07-01 21:27:15 PDT
Created attachment 150356 [details]
Patch
Doug, nice tests. Do you know if the opposite case works? An element that has a matching last- or first-child style rule is updated when the DOM changes such that the element no longer matches that rule. Created attachment 151586 [details]
Patch
Ah the inverse tests. LGTM. Comment on attachment 151586 [details]
Patch
ok
Comment on attachment 151586 [details] Patch Clearing flags on attachment: 151586 Committed r122302: <http://trac.webkit.org/changeset/122302> All reviewed patches have been landed. Closing bug. |