Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame.ts can parse and stringify 'background-image: gradient'? i found if has css string contain gradient property, code will be crashed #223

Closed
leeboo opened this issue Apr 25, 2020 · 2 comments
Labels
bug Something isn't working complete

Comments

@leeboo
Copy link

leeboo commented Apr 25, 2020

Environments

  • Framework name: vue
  • Framework version: 2.x
  • Moveable Component version: 0.16.1

Description

const frame: Frame = new Frame('background-image: gradient(linear, left 0, right 0, from(rgb(4, 94, 170)), to(rgb(1, 152, 216)))')

code crashed and cpu 100%

@daybrush daybrush added the bug Something isn't working label Apr 27, 2020
@daybrush
Copy link
Owner

@leeboo

It has not yet been able to support more than three overlapping parentheses. I'm sorry.

@daybrush
Copy link
Owner

daybrush/scenejs#60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working complete
Projects
None yet
Development

No branches or pull requests

2 participants