Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CSS animations in SWT.Browser not working
CSS animations in SWT.Browser not working [message #1506395] Wed, 10 December 2014 20:44 Go to next message
Mike Higginbotham is currently offline Mike HigginbothamFriend
Messages: 22
Registered: July 2009
Junior Member
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Animation problem demo</title>

<style>
#text {
position: absolute;
font-size: 24px;
transform: translate(0px, 50px) rotate(-90deg);
animation: moveIt 5s infinite;
}

@keyframes moveIt {
0% {transform: translate(0px, 50px) rotate(-90deg);}
50% {transform: translate(200px, 25px) rotate(0deg) scale(0.38, 0.38);}
100% {transform: translate(0px, 50px) rotate(-90deg);}
}

</style>
</head>

<body>
<div id="message">Text should move L&rarr;R, rotate, shrink and repeat.</div>
<div id="text">Hello!</div>
</body>
</html>
Re: CSS animations in SWT.Browser not working [message #1506414 is a reply to message #1506395] Wed, 10 December 2014 21:01 Go to previous messageGo to next message
Mike Higginbotham is currently offline Mike HigginbothamFriend
Messages: 22
Registered: July 2009
Junior Member
Although we cannot move to a new version of Eclipse for our application,
I did install Eclipse Luna (4.4.1) and ran the test files the I included
in the previous post. The animation worked.
--
Regards,
Mike Higginbotham
Re: CSS animations in SWT.Browser not working [message #1507306 is a reply to message #1506414] Thu, 11 December 2014 14:01 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
SWT from Mars is binary compatible with the one from Indigo so you could
simply try to replace SWT assumeing you are shiping a standalone product.

Tom

On 10.12.14 22:01, Mike Higginbotham wrote:
> Although we cannot move to a new version of Eclipse for our application,
> I did install Eclipse Luna (4.4.1) and ran the test files the I included
> in the previous post. The animation worked.
Previous Topic:Obtain combo box key from its value
Next Topic:Monitoring SWT resources
Goto Forum:
  


Current Time: Sat Apr 27 01:32:59 GMT 2024

Powered by FUDForum. Page generated in 0.02979 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top