You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by JumpStart <ge...@gmail.com> on 2022/02/21 07:29:30 UTC
LESS compiler in 5.6.4
Tapestry 5.6.4 uses the same less4j-1.12.0.jar as Tapestry 5.4.3, but I’m getting a strange output problem.
5.4.3 outputs this: height: calc(100vh - env(safe-area-inset-top) - 44px);
5.6.4 outputs this: height: calc(100vh - env(safe - area-inset-top) - 44px);
The blanks in “safe - area” cause an error in the browser “unsupported property value”, so the height is not set.
Has this been reported before? If it’s not less4j causing this, then where should I look?
Cheers,
Geoff
Re: LESS compiler in 5.6.4
Posted by Ben Weidig <be...@netzgut.net>.
Hi Geoff,
the CssCompressor is based on YUI Compressor
https://github.com/yui/yuicompressor and has some minor issues...
We replaced it with a customized variant in our projects to reduce any
problems and improve performance, but maybe it's time to update/optimize it
in Tapestry, too.
Even though I would prefer such tasks to be done by a dependency, it seems
it won't be updated by Yahoo anytime soon.
And I've checked the available CSS-related solutions for Java (although I
was looking for vendor-prefixing for our SCSS support), there's not much
available that's this simple, working, and up-to-date.
I've created an issue for updating/optimizing it
https://issues.apache.org/jira/browse/TAP5-2708
Cheers
Ben
On Mon, Feb 21, 2022 at 9:28 AM JumpStart <
geoff.callender.jumpstart@gmail.com> wrote:
> Ah, it’s looking like CssCompressor is the culprit.
>
> > On 21 Feb 2022, at 3:29 pm, JumpStart <
> geoff.callender.jumpstart@gmail.com> wrote:
> >
> > Tapestry 5.6.4 uses the same less4j-1.12.0.jar as Tapestry 5.4.3, but
> I’m getting a strange output problem.
> >
> > 5.4.3 outputs this: height: calc(100vh - env(safe-area-inset-top) -
> 44px);
> > 5.6.4 outputs this: height: calc(100vh - env(safe - area-inset-top) -
> 44px);
> >
> > The blanks in “safe - area” cause an error in the browser “unsupported
> property value”, so the height is not set.
> >
> > Has this been reported before? If it’s not less4j causing this, then
> where should I look?
> >
> > Cheers,
> >
> > Geoff
>
>
Re: LESS compiler in 5.6.4
Posted by JumpStart <ge...@gmail.com>.
Ah, it’s looking like CssCompressor is the culprit.
> On 21 Feb 2022, at 3:29 pm, JumpStart <ge...@gmail.com> wrote:
>
> Tapestry 5.6.4 uses the same less4j-1.12.0.jar as Tapestry 5.4.3, but I’m getting a strange output problem.
>
> 5.4.3 outputs this: height: calc(100vh - env(safe-area-inset-top) - 44px);
> 5.6.4 outputs this: height: calc(100vh - env(safe - area-inset-top) - 44px);
>
> The blanks in “safe - area” cause an error in the browser “unsupported property value”, so the height is not set.
>
> Has this been reported before? If it’s not less4j causing this, then where should I look?
>
> Cheers,
>
> Geoff