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

Updated version of support for checkboxes and radio buttons #406

Closed
wants to merge 10 commits into from

Conversation

sjamaan
Copy link

@sjamaan sjamaan commented Jun 20, 2014

This is simply a port of #159 to the latest master. I've also updated the files under build/, as they're outdated (which means people using bower or npm to download html2canvas get to see an old version)

@sjamaan
Copy link
Author

sjamaan commented Jul 4, 2014

This now also includes a small fix for the way pseudo elements are matched: the regex was too simple for complex CSS expressions.

Peter Bex added 2 commits July 4, 2014 16:36
…nts.

The selector was created by taking the string just up until the first
colon, but that's incorrect in the case of other pseudoclasses like
:checked, or in the case of complex rules that involve multiple
selectors like "foo:before, bar:before".  The way we do it now is to
remove the :after/:before string we're looking for using the same
regex that tests for it.

This got broken in commit 8bea01b
(the original code appears to simply have used the parentNode)
…hey have a presence in the DOM even if their text value is empty
@niklasvh
Copy link
Owner

niklasvh commented Dec 6, 2014

Implemented in 0.5 893ce74

@niklasvh niklasvh closed this Dec 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants