Page MenuHomePhabricator

Parsoid srcset is inconsistent with core
Closed, ResolvedPublic

Description

Follow up to T226683: Ensure that JS & PHP imageinfo requests return responsive urls in the same order: it turns out that Parsoid's output doesn't match core for the srcset attribute, and in my reading of https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images we need a matching sizes attribute as well.

Related Objects

Event Timeline

ssastry triaged this task as Medium priority.Apr 10 2020, 7:58 PM
ssastry removed a subscriber: Parsing-Team--ARCHIVED.

Change 618174 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/services/parsoid@master] WIP: Match core's srcset attribute

https://gerrit.wikimedia.org/r/618174

Change 618174 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Match ordering of core's srcset attribute; add mock API support

https://gerrit.wikimedia.org/r/618174

Change 620755 had a related patch set uploaded (by Subramanya Sastry; owner: Subramanya Sastry):
[mediawiki/vendor@master] Bump wikimedia/parsoid to v0.13.0-a6

https://gerrit.wikimedia.org/r/620755

Change 620755 merged by jenkins-bot:
[mediawiki/vendor@master] Bump wikimedia/parsoid to v0.13.0-a6

https://gerrit.wikimedia.org/r/620755