[Webkit-unassigned] [Bug 161373] New: Add HTML idioms to parse a list of whitespace-separated values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 30 01:51:20 PDT 2016


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

            Bug ID: 161373
           Summary: Add HTML idioms to parse a list of
                    whitespace-separated values
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr
                CC: darin at apple.com, simon.fraser at apple.com

See bug 161045 comment 4 where this kind of idiom was needed to parse the menclose at notation attribute:

> The way I’d want to do this is to build a class that lets you iterate
> through a StringView in this fashion with a for loop. The way C++ for loops
> are written, we can make functions that return objects that use iterators
> like the way we do it in StringView::codeUnits(), although the function does
> not need to be a member of the StringView class. If we package it that way
> then we can write the main body of this as a simple for loop; the iterators
> need know nothing about addNotationFlags.
> 
> Could do one with isHTMLSpace built in, or one that takes a function as an
> argument.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160830/9c69908e/attachment.html>


More information about the webkit-unassigned mailing list