[Webkit-unassigned] [Bug 133480] Refactor the srcset parser into its own file

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 4 17:18:48 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=133480





--- Comment #7 from Darin Adler <darin at apple.com>  2014-06-04 17:19:10 PST ---
(From update of attachment 232429)
View in context: https://bugs.webkit.org/attachment.cgi?id=232429&action=review

> Source/WebCore/html/parser/HTMLSrcsetParser.h:48
> +    String imageURL(const String& srcAttribute, const String& srcsetAttribute) const

This should take and return StringView.

> Source/WebCore/html/parser/HTMLSrcsetParser.h:68
> +// Space characters as defined by the HTML specification.
> +bool isHTMLSpace(UChar);
> +bool isHTMLLineBreak(UChar);
> +bool isNotHTMLSpace(UChar);
> +bool isHTMLSpaceButNotLineBreak(UChar character);

Wait, what

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list