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

Fix issue when parsing style #13

Merged
merged 1 commit into from
Apr 12, 2016
Merged

Fix issue when parsing style #13

merged 1 commit into from
Apr 12, 2016

Conversation

sdebarros
Copy link
Contributor

Hi @bitinn,

Found an issue when parsing the style of an element that has more attributes than style properties, egg:

<input id="main" class="valid" style="display: none;">

The cause is the nested for in https://github.com/bitinn/vdom-parser/blob/master/index.js#L157 using the same variable as the outer for.

This is a possible solution,
Cheers!

@bitinn
Copy link
Owner

bitinn commented Apr 9, 2016

Thx I totally missed it from last PR (testcases didn't catch it)

I will merge it soon.

@san650
Copy link

san650 commented Apr 12, 2016

The travis failings seems to be unrelated to the PR

@bitinn
Copy link
Owner

bitinn commented Apr 12, 2016

@san650 It's not blocked on travis failure, but something slightly more subtle. I can't actually verify it works across browser so I didn't merge yet. I will re-run again...

defunctzombie/zuul#279

@bitinn bitinn merged commit f5d70f6 into bitinn:master Apr 12, 2016
@bitinn
Copy link
Owner

bitinn commented Apr 12, 2016

released as v1.3.1

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

Successfully merging this pull request may close these issues.

3 participants