[Webkit-unassigned] [Bug 129514] New: [CSS Shapes] CSS parser accepts trailing position arguments

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 28 16:11:21 PST 2014


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

           Summary: [CSS Shapes] CSS parser accepts trailing position
                    arguments
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: betravis at adobe.com
            Blocks: 124173


The shapes parsing code is accepting shapes like 'circle(at 10px 10px closest-side)', and dropping the last arguments after the position.

For example:
var el = document.createElement('div');
el.style.setProperty('-webkit-shape-outside', 'circle(at 10px 10px closest-side)');
console.log(el.style.getPropertyValue('-webkit-shape-outside'));

Logs 'circle(at 10px 10px)'

-- 
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