| Summary: | [CSS Shapes] CSS parser accepts trailing position arguments | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Bear Travis <betravis> | ||||
| Component: | CSS | Assignee: | Bear Travis <betravis> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, gyuyoung.kim, macpherson, menard, rhauck, webkit-ews | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 124173 | ||||||
| Attachments: |
|
||||||
Created attachment 226614 [details] Initial Patch Port of patch originally authored by rwlbuis here https://codereview.chromium.org/191553003/ Comment on attachment 226614 [details] Initial Patch Clearing flags on attachment: 226614 Committed r165655: <http://trac.webkit.org/changeset/165655> All reviewed patches have been landed. Closing bug. |
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)'