css-shapes-editor
css-shapes-editor copied to clipboard
Standalone in-browser editor for CSS Shapes.
What would be involved with creating an editor for the `d` attribute of the `path` tag?
Currently naively assuming center in 50% 50% Consolidate compute method into CSSUtils for use by circle() Acceptance tests: - [ ] ellipse(closest-side at 10% 70%) - [ ] ellipse(closest-side farthest-side...
CSSUtils.getContentBoxOf(): there’s a TODO here about not handling cases other than content-box. Will that affect anything? ~~Editor.setupEditorHolder(): the way it calls itself back is a bit confusing - it seems...
Right now, border radius has no effect when computing the ref box. See http://www.w3.org/TR/css-shapes/#shapes-from-box-values
Right now, ref box computation assumes box-sizing is the browser default, content-box;
Replaces old rectangle() shape fn