News for hackers. Stuff that matters.
Re:Show HN: a web-based xkcd-style comix editor by Osmose on Tuesday February 12, 2013 @03:44PM (#5209398)
A warning is fine, but I just hate it when a site doesn't even let me try in another browser. I use Firefox Nightly, maybe it fixed the issues that are breaking your app? If you're detecting via user agent, what if I use an odd user agent? What if I want to look at the web console to see just what breaks in case I know what the issue is?
Re:Show HN: a web-based xkcd-style comix editor by ceejayoz on Tuesday February 12, 2013 @04:05PM (#5209528)
> I use Firefox Nightly, maybe it fixed the issues that are breaking your app?

If it's using -webkit prefixed CSS, that's pretty unlikely.

> What if I want to look at the web console to see just what breaks in case I know what the issue is?

Anyone interested in doing that should be well aware of how to spoof a user agent.

Re:Show HN: a web-based xkcd-style comix editor by Samuel_Michon on Tuesday February 12, 2013 @06:40PM (#5210331)
Q: "I use Firefox Nightly, maybe it fixed the issues that are breaking your app?"

A: "If it's using -webkit prefixed CSS, that's pretty unlikely."

There's actually been talk of non-Webkit vendors supporting the webkit prefix. Opera already does, Microsoft and Mozilla have said they need to support it in at least some cases.

"Non-WebKit browser vendors first started talking about implementing the -webkit prefix [in February of 2012] during a CSS Working Group meeting. Microsoft, Mozilla and Opera all said they felt the need to support -webkit, lest their users be relegated to an inferior browsing experience (because so many sites are using only the -webkit prefix)."

http://www.webmonkey.com/2012/04/opera-forges-ahead-with-pla...

Tantek Çelik of Mozilla: "At this point we're trying to figure out which and how many webkit prefix properties to actually implement support for in Mozilla. Currently we have zero. Zero is no longer an option for us."

Florian Rivoal (Opera), Sylvain Galineau (Microsoft): "Zero is not an option for us anymore either."

http://lists.w3.org/Archives/Public/www-style/2012Feb/0313.h...

Re:Show HN: a web-based xkcd-style comix editor by illicium on Wednesday February 13, 2013 @12:54AM (#5211661)
I hope browser vendors only implement support for webkit- prefixes for now-standard properties (eg. box-shadow), and not for properties that only WebKit implements.
Re:Show HN: a web-based xkcd-style comix editor by JoshTriplett on Tuesday February 12, 2013 @04:27PM (#5209669)
> If it's using -webkit prefixed CSS, that's pretty unlikely.

Unsupported CSS features should not affect the functionality of a web app, only its appearance. Emphasis on "should"; far too many web apps end up fundamentally broken when this happens.

Re:Show HN: a web-based xkcd-style comix editor by dr_win on Tuesday February 12, 2013 @04:35PM (#5209724)
I think something like web-based SVG editor is pushing browser limits too far (some folks reported it crashed Chrome for them). CSS is not "just styling" here. It has functional meaning. For example invalid z-ordering, visibility or cursors can pretty much ruin the experience.
Re:Show HN: a web-based xkcd-style comix editor by ceejayoz on Tuesday February 12, 2013 @05:08PM (#5209921)
It's a proof-of-concept hobby project, as far as I can tell.
Re:Show HN: a web-based xkcd-style comix editor by dmbass on Tuesday February 12, 2013 @04:35PM (#5209722)
Well how do you expect it to work when the functionality is to change the appearance?
Re:Show HN: a web-based xkcd-style comix editor by blowski on Wednesday February 13, 2013 @02:52AM (#5211921)
While this is true of bank, ecommerce, news, etc, sites, it doesn't apply when the author is just sharing something he's playing around with.
Re:Show HN: a web-based xkcd-style comix editor by yareally on Tuesday February 12, 2013 @04:55PM (#5209844)
They should at least include the non-prefix css (or other prefixes) as well for when a feature becomes available on other browsers in case they forget to update it or if they're not aware of what other browsers support.
Re:Show HN: a web-based xkcd-style comix editor by ceejayoz on Tuesday February 12, 2013 @05:04PM (#5209898)
If you're building NBCnews.com, sure.

If you're building a fun hobby project, you can do whatever you like, including building it in a specific environment.

Re:Show HN: a web-based xkcd-style comix editor by yareally on Tuesday February 12, 2013 @05:09PM (#5209933)
Of course :)

However, it does limit feedback for any of us not using Chrome. Author is probably cool with that though as it appears and I commend them for not making us jump through hoops to try it anyways by switching user agent.

Re:Show HN: a web-based xkcd-style comix editor by chadscira on Tuesday February 12, 2013 @07:45PM (#5210608)
or use something like this

https://github.com/LeaVerou/prefixfree

Re:Show HN: a web-based xkcd-style comix editor by mrb on Tuesday February 12, 2013 @04:59PM (#5209867)
"Anyone interested in doing that should be well aware of how to spoof a user agent."

You are not answering the question. Why block a user-agent, if the check can be easily worked around?

Edit: I mean why block as opposed to display a simple warning ("this site is known to not work well with your browser").

Re:Show HN: a web-based xkcd-style comix editor by ceejayoz on Tuesday February 12, 2013 @05:08PM (#5209917)
So non technical users go "oh, I'll take a look in Chrome", not "this thing's stupid, nothing works".
Re:Show HN: a web-based xkcd-style comix editor by mrb on Tuesday February 12, 2013 @07:01PM (#5210429)
The same thing can be achieved by displaying a simple warning that lets users bypass it ("oh, I was warned it might not work in my browser, and indeed it doesn't, I will take a look in Chrome").