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

Implement <input type="url"> #16106

Open
ferjm opened this issue Mar 23, 2017 · 3 comments
Open

Implement <input type="url"> #16106

ferjm opened this issue Mar 23, 2017 · 3 comments
Labels

Comments

@ferjm
Copy link
Member

@ferjm ferjm commented Mar 23, 2017

@ferjm ferjm added the A-content/dom label Mar 23, 2017
@jdm
Copy link
Member

@jdm jdm commented Mar 23, 2017

Won't block; the input types gracefully degrade to regular text inputs.

@gpoesia
Copy link
Contributor

@gpoesia gpoesia commented Mar 29, 2017

I'd like to work on this. It's mostly about adding a new InputType and implementing proper validation in components/dom/htmlinputelement.rs (and probably handling parsing as well somewhere else), right? What are the other changes I'm missing?

One question about this part of the spec:

User agents may allow the user to set the value to a string that is not a valid absolute URL, but may also or instead automatically escape characters entered by the user so that the value is always a valid absolute URL (even if that isn't the actual value seen and edited by the user in the interface).

On allowing input that is not a valid absolute URL, it seems there's some room for different handlings. Should the automatic escaping be implemented? Is it talking about e.g. percent-encoding spaces while the user types?

@jdm
Copy link
Member

@jdm jdm commented Mar 29, 2017

It's not clear to me what we can actually implement without first implementing #11444.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.