News for hackers. Stuff that matters.
Re:Web fonts and CSS features - a simple demonstration by chaosmachine on Sunday June 14, 2009 @03:10AM (#656907)
This is how simple it should have been from the beginning.
Re:Web fonts and CSS features - a simple demonstration by TweedHeads on Sunday June 14, 2009 @11:08AM (#657138)
Lets all thank M$ for holding the web in darkness for a decade.

Lets all thank Mozilla for giving the web back to the users.

Lets all thank safari, opera and chrome for their support.

(Special thanks to opera for always being a step forward)

Now, lets all keep working on improving the web more, we already lost a decade and we can not spend another one mourning the time lost.

Lets get rid of css -moz and -webkit hacks already.

Lets move SVG forward, canvas is already here.

And bring WebSockets to live, there is a whole new world awaiting...

Re:Web fonts and CSS features - a simple demonstration by snorkel on Sunday June 14, 2009 @12:11PM (#657210)
M$ deserves some credit for supporting CSS long before other browsers did, as well as AJAX. But launching IE8 without canvas, border-radius, and web fonts is pretty sad.
Re:Web fonts and CSS features - a simple demonstration by GHFigs on Sunday June 14, 2009 @01:24PM (#657299)
Lets get rid of css -moz and -webkit hacks already.

They aren't hacks. They are the official way of providing extentions whose behavior is not yet part of a finalized standard.

Re:Web fonts and CSS features - a simple demonstration by steveklabnik on Sunday June 14, 2009 @01:39PM (#657318)
It is my understanding (which may be incorrect) that -moz and -webkit is the way that it's supposed to be done, in compliance with standards. See vendor specific keywords here:

http://www.w3.org/TR/CSS21/syndata.html#vendor-keywords

The idea is that by identifying them with a specific browser, new features can be tested by vendors first before moving into the main standard. This is much, much better than some sort of 'silent extension' where one browser treats some type of tag as different without being explicit about it being for one particular browser.

Re:Web fonts and CSS features - a simple demonstration by hrabago on Sunday June 14, 2009 @03:49AM (#656928)
The demo also works in Safari 4 on a Mac.
Re:Web fonts and CSS features - a simple demonstration by jeroen on Sunday June 14, 2009 @05:26AM (#656977)
and on Windows.
Re:Web fonts and CSS features - a simple demonstration by blhack on Sunday June 14, 2009 @03:45AM (#656925)
<blink>Aren't browser-specific features one of the things that mozilla was supposed to cure?</blink>
Re:Web fonts and CSS features - a simple demonstration by johndagostino on Sunday June 14, 2009 @04:52AM (#656963)
this is in the css3 spec and is already implemented by ie and webkit.

http://webkit.org/blog/124/downloadable-fonts/ http://www.css3.info/preview/web-fonts-with-font-face/

Re:Web fonts and CSS features - a simple demonstration by davidblair on Sunday June 14, 2009 @11:19AM (#657150)
I think blhack is referring to the -moz-border-radius selector that only works in Firefox. One could use the CSS3 selector, border-radius, but that is not in the article.
Re:Web fonts and CSS features - a simple demonstration by jballanc on Sunday June 14, 2009 @03:32AM (#656919)
Is it just me, or does the second font there give an optical illusion that it's moving?
Re:Web fonts and CSS features - a simple demonstration by kamidev on Sunday June 14, 2009 @06:51AM (#657015)
Yes, the demo works in Safari 4 too. Opera 10 on a Mac only changes the third font from the left, though. Wonder why?