User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22
Steps to reproduce:
As with this question:
I want to style the error message bubble that shows up when an <input> field is invalid. You can test with the <input>s on this page:
I couldn't find any way of styling these messages in Firefox. Searching turned up:
Firefox (Gecko) should provide some way to style this error message, like Chrome does:
Thanks Robin! Do you think you could give a test case as simple as possible? Maybe using http://codepen.io or http://jsfiddle.net/ .
And maybe a screenshot of how you are trying to make it look, also.
Webkit proposes something: http://trac.webkit.org/wiki/Styling%20Form%20Controls
We could try to have something that looks like that (if it is technically possible to apply some content pseudo-elements on browser.xul content) but I don't feel I pressing need for it given that I doubt any other browser allow to style the error message and there is already a way for authors to implement their own visual by preventing default on the invalid message:
There is an option to style the error message a lot:
You can use the "x-moz-errormessage" attribute to choose your own error message.