Maybe this will work :) Just tested in IE9 and it seems to work... input.gwt-TextBox[disabled]
I'm using the X-UA-Compatible IE=8 and GWT 2.2.0 btw... On 7 Apr, 14:13, Stephan T <stephan.tern...@gmail.com> wrote: > 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.