mirror of
https://github.com/servo/servo
synced 2026-05-12 18:06:32 +02:00
Parsing the 'srcset' attribute of an image element may result in a parse error indicating a non-fatal mismatch between the input and the requirements. https://html.spec.whatwg.org/multipage/#concept-microsyntax-parse-error https://html.spec.whatwg.org/multipage/#parse-a-srcset-attribute This error should not be a reason to stop parsing and may be used by the user agent to signal a syntax error. Other browsers generally ignore this error, and we do the same. Testing: Improvements in the following tests - html/semantics/embedded-content/the-img-element/srcset/parse-a-srcset-attribute.html Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>