[Webkit-unassigned] [Bug 159666] New: Change CSSParser::sourceSize returning Optional<CSSParser::SourceSize>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 11 23:26:49 PDT 2016


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

            Bug ID: 159666
           Summary: Change CSSParser::sourceSize returning
                    Optional<CSSParser::SourceSize>
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

(from Bug 159412 Comment 9)

> Assuming that we want to silently ignore the single size, I think the
> cleanest way to write the sourceSize function would be to have it return
> Optional<CSSParser::SourceSize> and return no source size at all when the
> value is invalid rather than instead using a size with a CSS_UNKNOWN
> primitive value in it.
> 
> The call site in CSSGrammar.y.in could just not append a size in that case.
> 
> But I am not sure what the desired behavior is in this error case.

-- 
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/20160712/ed843807/attachment.html>


More information about the webkit-unassigned mailing list