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

Option#value returns an empty string when no value attribute is present #45

Closed
jfirebaugh opened this issue Dec 24, 2010 · 0 comments
Closed

Comments

@jfirebaugh
Copy link

i.e. <option>Text</option>

#value should return nil in this situation, not ''. Otherwise there's no way to distinguish <option value=''>Text</option>.

The underlying HtmlUnit method hasAttribute correctly returns false.

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