Tab Atkins Jr. wrote: > There's currently no way to change the display of the the error > message, but Lachlan reported yesterday that they have received a lot > of feedback that authors want to control this. The display of the > Opera error messages is pretty simple - it's just a text string in a > box - so this should be fairly easy to spec up. > > I propose adding an ::error pseudoelement to the CSS3 UI spec. You > can style the error message for a specific element by attaching it to > that element, like "input[type=email]::error {}". How would this work if the error message is NOT "just a text string in a box"? > With one exception, the ::error pseudoelement is treated exactly like > an abspos box inserted into the markup via scripting. It accepts all > CSS properties. Including "content"? What's the use case? In any case, this seems needlessly constraining in terms of the UI a browser can present (e.g. what you just described would prevent a single notification bar that one can then use to look at all the errors). Given that this is fundamentally browser UI, I don't think we should be specifying it in that level of detail. -BorisReceived on Tuesday, 25 August 2009 18:58:59 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:39 UTC