Some demos to check out Kestrel's new capabilities
Wednesday, September 5, 2007 8:45:03 PM
You may have downloaded Kestrel by now, and glanced at the change log, but you may not have tested out its new capabilities. I don't profess to be a JavaScript expert, so I'll leave that to those of you who know better, but I've cooked up some demos of the new CSS and SVG capabilities along with an article explaining them. That article is now ready, so please go and check it out.
For those of you who want to go straight to the examples (some modified from previous demos on this blog), here they are:
-
Striped table, without Javascript, using CSS3 selectors and SVG as a CSS
background-image. It also usestext-shadow - Classless flexible drop caps using
first-of-type - Liquid layout using dynamic Media Queries
-
Rounded corners combining SVG and
border-radius. Allows rounded corners in Opera, Safari and Firefox, without images or JavaScript.
This article and demos have just scratched the surface. There is a lot to look forward to with our new JavaScript engine, improved DOM support, more HTML5 and canvas, and a more complete SVG implementation including partial SVG 1.2 Tiny support, and more. If you've been experimenting with Kestrel and have tried out some of the new features, share your examples and experiences in the comments. Hope you enjoy the article.


Anonymous # Wednesday, September 5, 2007 9:15:59 PM
AyushAyushJ # Wednesday, September 5, 2007 9:32:45 PM
Try Zooming
Anonymous # Wednesday, September 5, 2007 9:58:08 PM
Fredrik Anderssonfred # Wednesday, September 5, 2007 10:02:16 PM
David Storeydstorey # Wednesday, September 5, 2007 10:42:55 PM
Firstly, if you read the article, they are a look forward to techniques you'll be able to do in the future, which work in Kestrel today. They are for the most part additional eye candy that degrade in other browsers. They are suppose to showcase the new features in Core-2. However, Opera is more than just a web browser. The engine can be used to render interfaces on devices and applications such as widgets. These device interfaces don't need to work in Firefox or even IE, so they techniques are useful in those context. It is still important that they use standards even in these context, as there is a reuse of skill and the code is more portable. There is also mobile, where we are using the same rendering engine. We are the market leader in this space, and growing rapidly, with more growth than rival more well publicised mobile browsers.
Other browsers will add the standards support to be able to render these examples too. KHTML can already do the selectors stuff, and that will probably be merged into WebKit at some point. The other stuff is also a natural evolution for Firefox and the Safari. I can't answer when they'll be useable in these browsers and IE, as i don't work for those browsers. We are quite happy worrying about our own browser and adding as much standards support and bug fixes as we can.
If we should just copy Firefox, then we'd may as well give up and just use Gecko. We are adding stuff the Gecko supports that are breaking web sites, such as Gecko DOM Range.comparePoint. It would be nice if we didn't have to add none standard features, but unfortunately they get added by other browsers and we do have to support them (which is much harder than supporting a defined standard as there is often no spec and you have to also be bug compatible). But to add Gecko and IE extensions we have to know which ones are the ones that are going to be used first.
We are also working with Microsoft on Silverlight. I've had a number of discussions with them and we've fixed blocking bugs. Different people also work on plug-in support than layout, DOM, ECMAScript etc.
I've also mentioned overflow-x and overflow-y (which were IE extensions until they were added to CSS3) previously. I've even done a demo using it on CSS3.info. I didn't showcase it here as it didn't fit into any of the examples and most developers already know how to use it. They are nothing new.
Tools are not the discussion of this post (check a previous one), but they are going well. We know they are important and we are working on them.
porneL # Wednesday, September 5, 2007 11:20:54 PM
Opera has such insignificant market share in US, but in parts of Europe or Scandinavia, they're reaching 10-20% of the market.
And even before these features become popular enough on the Internet, they'll find their use on intranet apps (I'm actually using them already - SVG and advanced selectors make my life much easier!)
Some of that stuff is usable on the net today, because other browers implement some sort of equivalent functionality (IE has CSS+activex filters and VML which can emulate some very basic SVG) or because it degrades nicely (although use of SVG backgrounds will probably be tricky
And someone has to implement these things first. There's always the first "crazy" one to come up with "tricks" before it becomes normal thing when rest follows (or not... and continues doing their Microsoft stuff
I agree on the dev tools though. Especially "error console" is a total embarrassment. And lack of view bar killed my few dev tools indeed!
Steve DarkenDarken # Thursday, September 6, 2007 12:55:28 AM
Nice trick!
WildEnte # Thursday, September 6, 2007 2:54:54 AM
in your comments, having a black comment background on a white general background that is framed by some green-greyish sides (I have a color-weakness so it may also be brownish (c;= ) and a super-thin dotted vertical line to the right of the comments and and THEN using white text...
... makes everything flicker before my eyes for 2 minutes after reading your long comment, and my fingers itch for switching to user mode.
Other than that, thanks for the instructive article (c;=
Alexis DeveriaFyrd # Thursday, September 6, 2007 12:55:00 PM
If only SVG allowed something like stoke-position="inside", or margin="3px", then that would work...maybe I should find an SVG forum or something that might have a solution for fitting the stoke inside the box.
Anyway, I like the dynamic Media Queries too, certainly beats messing with javascript to accomplish the same.
Michael Paynehartley231 # Thursday, September 6, 2007 3:09:08 PM
FataL # Thursday, September 6, 2007 4:14:15 PM
Also please pay attention to this bugs:
http://rusrestaurant.com/tests/opera-bugs/~first-letter-regression2.html
http://rusrestaurant.com/tests/opera-bugs/~opera9-bug-nifty-numbered-list.html
Anonymous # Thursday, September 6, 2007 6:45:12 PM
_Grey_ # Thursday, September 6, 2007 7:05:01 PM
Originally posted by 'sid':
I think you're wrong about that one, MS is imho planning to get a hold on this "new" kind of platform and is therefore trying to get it to work for as many people as possible. Heck, I just even read Novell will bring about a Linux version of it...
Alexis DeveriaFyrd # Friday, September 7, 2007 8:43:54 PM
Anonymous # Saturday, September 8, 2007 11:30:31 AM
FataL # Saturday, September 8, 2007 6:14:49 PM
Haavardhaavard # Thursday, September 13, 2007 10:21:31 AM
Originally posted by Anonymous:
And if one waits for Firefox to add them instead of staying ahead, one would be criticized of lagging behind
Actually, the desktop team at Opera has more people and resources than ever. And we are not pulling out of the desktop market. On the contrary, the dekstop product is very important, both as a way to make money (160% revenue growth in the second quarter of this year for desktop alone), and as a way to get new technologies out there, and used by a large number of people. Desktop users are often the first ones to get their hands on new technologies, and their help in testing and giving us feedback makes our product stronger on other platforms as well. A competitive advantage.
Anyone who claims that we are pulling out of the desktop market is simply not paying attention