[webkit-reviews] review requested: [Bug 191286] Add a pseudoclass that matches img elements that are backed by an attachment : [Attachment 354024] Introduce :has-attachment

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 6 16:23:36 PST 2018


mitz at webkit.org has asked  for review:
Bug 191286: Add a pseudoclass that matches img elements that are backed by an
attachment
https://bugs.webkit.org/show_bug.cgi?id=191286

Attachment 354024: Introduce :has-attachment

https://bugs.webkit.org/attachment.cgi?id=354024&action=review




--- Comment #4 from mitz at webkit.org ---
Created attachment 354024

  --> https://bugs.webkit.org/attachment.cgi?id=354024&action=review

Introduce :has-attachment

Some things that need review here:
- the name of the pseudoclass
- the way it’s made to not parse at runtime if the attachment element isn’t
enabled
- the lack of an explicit mechanism to force style resolution when an img gains
an attachment, because currently the DOM tree mutation just makes it work


More information about the webkit-reviews mailing list