It would be useful to have a way to select img elements that are using an attachment as their data source.
<rdar://problem/45823554>
Created attachment 353935 [details] WIP
Created attachment 354012 [details] WIP
Created attachment 354024 [details] 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
Comment on attachment 354024 [details] Introduce :has-attachment Attachment 354024 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/9887671 New failing tests: fast/css/has-attachment.html
Created attachment 354053 [details] Archive of layout-test-results from ews201 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews201 Port: win-future Platform: CYGWIN_NT-6.1-2.10.0-0.325-5-3-x86_64-64bit
If this is apple-internal only, should it have a -apple- prefix?
Committed <https://trac.webkit.org/r237932>.