If a page has a rule with ::before/::after but without a `content` property, we still create a `PseuedoElement` and attach it to the parent, and then we will immediately destroy it as there is no `content` and therefore nothing to display. We should only be creating `PseudoElement`s when we have `content` (and *not* `display: none;`).
<rdar://problem/46787260>
Created attachment 361484 [details] Patch
Comment on attachment 361484 [details] Patch Good find, r=me
Comment on attachment 361484 [details] Patch Clearing flags on attachment: 361484 Committed r241189: <https://trac.webkit.org/changeset/241189>
All reviewed patches have been landed. Closing bug.