I spent an hour or two last night playing with phloc-css, and it doesn't seem to be quite as flexible as flute in terms of adding custom behavior for unknown @-rules (@def, @sprite, etc), or handling arbitrary (and unknown to both flute and phloc-css) functions like literal() and value(). I played briefly with modifying the jjt file, but realized that any gain made there comes at the cost of re-namespacing and trying to rebase such a change along as phloc-css changes. As a drop-in replacement, I'm not seeing a good strategy here, though I'm open to suggestions.
Closure doesn't quite seem a perfect fit either, though perhaps I am missing some details about it (I've only gone through the docs at http://code.google.com/p/closure-stylesheets/ and the wiki), specifically around the @sprite/gwt-image feature in CssResource, but also the other Java-specific pieces like @eval to get outside values into the css and @def to get inside values back out again. Can anyone comment on those aspects of how a GssResource could look? On Tuesday, August 27, 2013 2:19:39 PM UTC-5, Julien Dramaix wrote: > > Thanks all, > > I will focus on Closure stylesheets integration and the introduction of a > new GssResource > > Julien > > > On Tue, Aug 27, 2013 at 5:25 PM, Goktug Gokdogan > <[email protected]<javascript:> > > wrote: > >> What we were planning was to add support for GSS, add the missing >> features and then migrate existing users and deprecate the older >> eventually. This would decrease the maintenance cost a lot in the long term. >> We really want to see GSS support for GWT in the long term. On top of >> additional features, there are other benefits with moving to GSS; Google is >> committed to maintain GSS and support it in the long term, we can get >> direct support from the authors as they are close to us. One other major >> advantage more specific to us is, we can reuse tons of already available >> GSS resources. For that reason, we would love to see you moving in this >> route and will definitely help you along the way, and also provide you >> additional contact points from the team for support. >> >> >> >> On Tue, Aug 27, 2013 at 3:24 AM, Thomas Broyer >> <[email protected]<javascript:> >> > wrote: >> >>> >>> >>> On Tuesday, August 27, 2013 1:42:35 AM UTC+2, Colin Alworth wrote: >>>> >>>> I'd be interested in helping with either approach. The phloc-css >>>> project looks interesting if we are only trying to add support for newer >>>> CSS features, while integration with Closure Stylesheets seems geared more >>>> toward extending the CssResource featureset. Much of the existing >>>> functionality in GWT's CssResource is also in closure in some capacity, >>>> though the implementation is likely different enough to cause interesting >>>> issues. There are advantages to making it through those differences - >>>> mixins for example. >>>> >>>> Another thought would be to implement both - expand CssResource to >>>> support new properties with phloc-css, and create a new ResourcePrototype >>>> (StylesheetResource perhaps?) with its own resource generator to put code >>>> through closure's wringer. >>>> >>> >>> +1 to that (obviously, as I think that's what I was proposing) >>> >>> -- >>> http://groups.google.com/group/Google-Web-Toolkit-Contributors >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "GWT Contributors" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to >>> [email protected]<javascript:> >>> . >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> http://groups.google.com/group/Google-Web-Toolkit-Contributors >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "GWT Contributors" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/google-web-toolkit-contributors/e0qUfkqBSog/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]<javascript:> >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
