Re: Bug in TextBox.setEnabled(boolean enabled)?
Ok, I see. The problem I have right now is that I need to style all
textboxes that are disabled but I can't find any selector that will
work with this markup.
I can't use this one:
input.gwt-TextBox[disabled='disabled']
and this one doesn't work in IE (tested in IE9):
input.gwt-TextBox[disabled='']
(I need support for IE7 and later)
On 6 Apr, 16:59, Thomas Broyer <t.bro...@gmail.com> wrote:
> TextBox setDisable sets the disabled *property* (i.e. elem.disabled=true).
> What you see here is a re-serialization of the DOM by your development
> tools.
>
> As for the "markup is / markup should be": in SGML-based-HTML (something no
> single browser ever implemented), the markup could be either <input
> disabled> or <input disabled="disabled">. In HTML5, it can be either <input
> disabled>, <input disabled=""> or <input disabled="disabled">, but the value
> of the attribute actually doesn't matter (only those 3 forms don't generate
> a "parse error", or in other words are the only "conformant" forms).
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home