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

Support duplicate properties #43

Closed
rstacruz opened this issue Aug 30, 2012 · 1 comment
Closed

Support duplicate properties #43

rstacruz opened this issue Aug 30, 2012 · 1 comment

Comments

@rstacruz
Copy link

This is useful in sheets that use CSS3, say for example this:

div {
  background: -moz-linear-gradient(x);
  background: -webkit-linear-gradient(x);
  background: linear-gradient(x);
}

Gets you this styles structure:

{ '0': 'background',
  length: 1,
  parentRule: 
   { parentRule: null,
     parentStyleSheet: { parentStyleSheet: null, cssRules: [Object] },
     selectorText: 'div',
     style: [Circular],
     __starts: 0,
     __ends: 122 },
  _importants: { background: '' },
  __starts: 4,
  background: 'linear-gradient(x)' }

...which is less than ideal. Notice that the length is 1 and that the only background it knows about is the last one.

@rstacruz
Copy link
Author

Oops, dupe of #16. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant