-
Notifications
You must be signed in to change notification settings - Fork 85
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
placeholder span positioning vs dynamically generated content #4
Comments
Do you have an example? |
I use this in a blog template, but I already committed a fix, so any blog using it may already have updated to the fixed version. In a traditional s9y template, a comment form has a select element to pick another comment to reply to, but you can also click the "answer to" link in any comment to set it, which usually is done by an ancient onclick handler, i.e. clicking any "answer to" link changes the value of the select. Since a select doesn't really fit, the 2k11 template replaces it with a p element containing the value of the select element. However, this is Sorry I can't explain it any batter – as I said, this probably is a very rare use case. |
This blog still uses the old version (and probably won't update at least for some days). First, check out the contact form, then scroll back up to the comments and click "Antwort" on any of the comments. It should jump back to the comment form, showing the reply-to text I mentioned earlier. Now do the same in any brower without native placeholder support. :) |
If there's dynamically inserted content before the labels containing placeholder spans (think: some kind of message inserted or moved in the DOM using JS), the positioning of the placeholder span is off.
Not sure how to trigger repositioning here. It's probably a very rare scenario anyway. :-)
The text was updated successfully, but these errors were encountered: