Closed
Bug 1571151
Opened 6 years ago
Closed 6 years ago
Simplify SVGPathData parser.
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
Just some minor things I noticed while looking at bug 1571119.
Assignee | ||
Comment 1•6 years ago
|
||
None cannot be returned, since we just called peek() and it returned something.
Assignee | ||
Comment 2•6 years ago
|
||
Skip whitespace upfront rather than on each individual branch. The only
difference in behavior is that we would've consumed some extra whitespace in the
error case, but I don't think that matters at all.
We were consuming some extra whitespace as well after the close path command for
example, which wasn't parsing anything.
Depends on D40538
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f3546b012b87
Deindent a bit SVG path parsing code. r=boris
https://hg.mozilla.org/integration/autoland/rev/ca4e23649101
Expand and simplify a macro that's not very useful. r=boris
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f3546b012b87
https://hg.mozilla.org/mozilla-central/rev/ca4e23649101
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in
before you can comment on or make changes to this bug.
Description
•