Page MenuHomePhabricator

ProofreadPage OSD: More robust srcset parsing
Open, Needs TriagePublic

Description

The expedient fix for T296260 includes a simplistic srcset parser for the kind (currently!) served by Mediawiki (i.e. "url 1.5x, url 2x").

This should be improved and made more robust against any srcset format, as well as having tests added.

Alternatively (or also), we upstream this feature to OpenSeadragon.

srset spec: https://html.spec.whatwg.org/multipage/images.html#srcset-attribute

Event Timeline

Inductiveload renamed this task from OSD: More robust srcset parsing to ProofreadPage OSD: More robust srcset parsing.Nov 23 2021, 9:21 AM
Inductiveload updated the task description. (Show Details)