/    Sign up×
Community /Pin to ProfileBookmark

Code in Firefox vs. Safari? Any major differences?

I’m trying to find an example of code that works correctly in Firefox but not in Safari. Can be CSS, HTML, and or Javascript. I’ve searched everywhere to try and find an obvious answer (browser comparision charts..etc.) and can’t seem to find a simple straight-forward answer of something that is ‘known to work’ in Firefox but not in Safari. I’m not talking about bad code either.
Thanks in advance –

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@johnevaMar 04.2006 — Cos they are both standards compliant then no they should both work with the same code assuming that you use standards compliant code.
Copy linkTweet thisAlerts:
@mrhooMar 04.2006 — If you use getComputedStyle to resolve an elements style properties in FF you need to realize it doesn't work (yet) in Safari.

eg:
[CODE]document.defaultView.getComputedStyle(who,'').getPropertyValue('font-size') [/CODE]

There is a styleSheets object, however

Good question sushidub- I'll keep an eye on this thread for other users experience.
Copy linkTweet thisAlerts:
@sushidubauthorMar 05.2006 — Good point joh - I'm just trying to make sure there's nothing obvious I'm missing. Appreciate the feedback.

mrhoo - I will research this and post back what I find.

Thanks for the feedback
Copy linkTweet thisAlerts:
@felgallMar 05.2006 — There should be no difference in (X)HTML support.

The latest Firefox supports part of CCS3 which is not yet supported by other browsers.

Firefox also supports more of the final section of the Javascript DOM than other browsers.
×

Success!

Help @sushidub spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...