[Webkit-unassigned] [Bug 204200] New: The CSSParser should not consume negative or unit-less lengths for the SVG properties 'r', 'rx' and 'ry'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 14 12:30:05 PST 2019


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

            Bug ID: 204200
           Summary: The CSSParser should not consume negative or unit-less
                    lengths for the SVG properties 'r', 'rx' and 'ry'
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: zimmermann at kde.org

SVGEllipseElement::parseAttribute() and SVGCircleElement::parseAttribute() both forbid negative values for these properties. The CSSParser should be consistent with setting these properties through setAttribute().

The type of these properties is <length-percentage>, https://www.w3.org/TR/css-values/#typedef-length-percentage, which requires specifying the unit if it's a length.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191114/a13337ce/attachment.htm>


More information about the webkit-unassigned mailing list