mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
Regardless of the `Ok` status, we should always create a stylesheet. However, the determining of the load/error event is based on whether it has parsed actual content or not. It also realigns some of the spec text to now only do it for link elements, since for styles we shouldn't be checking the result of the content type. Part of #22715 --------- Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> Signed-off-by: Tim van der Lippe <TimvdLippe@users.noreply.github.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>