Any plans to update CssResource

60 views
Skip to first unread message

cbruno...@gmail.com

unread,
Feb 24, 2026, 7:12:25 PM (5 days ago) Feb 24
to GWT Users
Im using UiBinder and  source in a CssResource using <ui:style> in the .ui.xml file. I am always hitting a walling using modern CSS like :not selectors or var.  I know some workarounds to get these to work but im wondering what would it take to really make CssResource great again. Does the community here accept bounties? 

Jens

unread,
Feb 26, 2026, 7:24:27 PM (3 days ago) Feb 26
to GWT Users
I feel your pain. GWT uses Google closure stylesheets library but that library has been archived by Google in favor of pure JS solutions like PostCSS. The GWT SDK could be updated to the very latest version of closure stylesheets but there would still be a lot missing. However you would be able to use css variables (although I think you could not use @property for detailed definition).

In general the closure stylesheets library uses JavaCC to generate a parser from a grammar. So it is not super terrible to update it if someone has JavaCC experience. But personally I think CSS is moving pretty fast and a more flexible solution would be better, so you can play with new CSS features without waiting for someone to update a grammar. Even though I created a local project to explore some ideas nobody is actively working on improving the situation with CssResource.

With regard to bounties: So far there hasn't been any as far as I know. But of course you can hire someone to fork and update closure stylesheets and then let us know about the fork. If you plan to do that it might be a good idea to make sure its not an AI agent who effectively wrote the code (unclear license issues). In the issue https://github.com/gwtproject/gwt/issues/10036 is a link to a closure stylesheets fork which did some continued development so maybe the maintainer would be a good candidate to ask. There is also the company Vertispan which can be paid for GWT related services. 

-- J.

Thomas Broyer

unread,
Feb 27, 2026, 5:39:05 AM (2 days ago) Feb 27
to GWT Users
On Friday, February 27, 2026 at 1:24:27 AM UTC+1 Jens wrote:
With regard to bounties: So far there hasn't been any as far as I know. But of course you can hire someone to fork and update closure stylesheets and then let us know about the fork. If you plan to do that it might be a good idea to make sure its not an AI agent who effectively wrote the code (unclear license issues). In the issue https://github.com/gwtproject/gwt/issues/10036 is a link to a closure stylesheets fork which did some continued development so maybe the maintainer would be a good candidate to ask. There is also the company Vertispan which can be paid for GWT related services.

Fwiw, there's https://opencollective.com/gwt-project for financial contributions. No idea if/how you can ask that you'd want to fund a specific development.
Reply all
Reply to author
Forward
0 new messages