I realize that the GWT Css resource parser only support CSS2 at the moment, but is there a way to make the css shared parent select (the "~" selector) to work in a Css Resource?
For example:
.password{
font-weight: normal;
}
.email ~ .password{ /* <--- This selector won't be included */
font-weight: bold;
}
literalfunction works well for styles that CssResource can't understand - I don't know if it works for selectors as well. You might try.email literal("~") .password { ... }, for example..email literal("~") .passwordandliteral(".email ~ .password").email \~ .password, but that outputs.email \~ .password