Closed Bug 652955 Opened 14 years ago Closed 14 years ago

Make MarkUP Support IE9, Firefox 4+, Chrome

Categories

(Websites Graveyard :: markup.mozilla.org, defect, P2)

x86
All

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mbrandt, Assigned: adam)

Details

Attachments

(1 file)

The application currently supplies an error message to users using non-supported browsers suggesting that they upgrade. For the time being its been agreed that we will currently support Firefox 4.0.x and the Google Chrome 10.x and above. Please add Opera and IE to the non-supported browser list.
Paul advises we not use UA detection, but feature detection to determine when the message pops up. "UA sniffing" is considered a bad practice on the web.
Assignee: nobody → adam
Severity: normal → blocker
Priority: -- → P1
Target Milestone: --- → 1.0
Thanks Laura, that's good to know. So what should be done with IE and Opera (the latest versions). They are both making it past feature detection but are unable to properly render the artifacts on the site.
Paul, what do you recommend?
(In reply to comment #2) > Thanks Laura, that's good to know. So what should be done with IE and Opera > (the latest versions). They are both making it past feature detection but are > unable to properly render the artifacts on the site. I think we should still offer them the error message that they're browser is not compatible. Is that possible?
Paul or Adam I'm curious, if the app already does "feature detection" I'm assuming that you qa'd this on your end. What browsers did you test on? IE does not render the site very well. Opera appears to render it fine but clicking on components doesn't seem to work. Is there an artifact in our test env that makes our test systems different than yours?
Summary: [stage] Add IE and Opera to the unsupported browsers → Add IE and Opera to the unsupported browsers
I am doing feature detection. It only fails to render if the browser can't/won't run javascript, if it doesn't have canvas support, or if it doesn't have a native JSON parser. Before our first code handoff, I had QAd it in IE 7 and 8 and made adjustments to get it rendering correctly. Because those browsers are lacking canvas support, they wouldn't execute the JS.
I use a nightly, and I see the Warning. You really should avoid UA sniffing. What's wrong with IE and Opera?
(In reply to comment #6) > I am doing feature detection. It only fails to render if the browser > can't/won't run javascript, if it doesn't have canvas support, or if it doesn't > have a native JSON parser. Why do I see a Warning with a nightly then?
Attached image IE9 Layout problems
(In reply to comment #6) > Before our first code handoff, I had QAd it in IE 7 and 8 and made adjustments > to get it rendering correctly. Because those browsers are lacking canvas > support, they wouldn't execute the JS. Thanks Adam that helps a lot :) I think there was a miscommunication, I thought we were only supporting browsers with canvas support. I'll take a look at IE 7 & 8 so we're both seeing the same. Here's a screen grab of what I'm seeing in IE9. As You can see the layout of the components on the is a bit off.
(In reply to comment #9) > Created attachment 528603 [details] > IE9 Layout problems > > (In reply to comment #6) > > Before our first code handoff, I had QAd it in IE 7 and 8 and made adjustments > > to get it rendering correctly. Because those browsers are lacking canvas > > support, they wouldn't execute the JS. > > Thanks Adam that helps a lot :) I think there was a miscommunication, I thought > we were only supporting browsers with canvas support. I'll take a look at IE 7 > & 8 so we're both seeing the same. > > Here's a screen grab of what I'm seeing in IE9. As You can see the layout of > the components on the is a bit off. Looks like a CSS problem (that can probably be fixed). What about the Canvas part? Is it working?
Assignee: adam → jbresnik
(In reply to comment #10) > Looks like a CSS problem (that can probably be fixed). I agree. > What about the Canvas part? Is it working? I am able to make a mark but unable to submit it. I am also unable to browse existing marks http://screencast.com/t/M84KLJkIj8bn
(In reply to comment #11) > (In reply to comment #10) > > Looks like a CSS problem (that can probably be fixed). > I agree. > > What about the Canvas part? Is it working? > I am able to make a mark but unable to submit it. I am also unable to browse > existing marks What's wrong? Do you see any exceptions/errors? I don't see anything in this demo that couldn't work in IE9.
Thanks Paul--I am renaming the bug to make sure we support IE9, Chrome, Fx 4+ (including nightly and aurora). There is nothing in the code that will not allow us to support those browsers.
Summary: Add IE and Opera to the unsupported browsers → Make MarkUP Support IE9, Firefox 4+, Chrome
(In reply to comment #12) For IE9 > What's wrong? Do you see any exceptions/errors? I'm not seeing any exceptions being thrown in the browser or by it's console, although I might be using the developer tools incorrectly or the wrong tool altogether for diagnosing this. Here is what I'm seeing. - I am unable to submit new marks. - When I browse marks, the pre-existing marks don't render on the screen. This is what is output in the console for both of the about cases: HTML1113: Document mode restart from Quirks to IE9 Standards en LOG: [object Arguments] LOG: [object Arguments] LOG: [object Arguments] > I don't see anything in this demo that couldn't work in IE9. That's great! It'll be great to have the app looking splendid in IE9 (comment 13).
That's not a CSS problem. Something with the javascript is not executing correctly in IE9. There's code that's run on ready that hides bits of that content, and repositions other parts. I don't have a good way of testing IE9 currently, but I'm working with our IT guys to remedy that. Paul - no clue why you're seeing the fallback content. Do you see any errors in the console?
(In reply to comment #15) > That's not a CSS problem. I see layouts problem here: attachment 528603 [details] > Something with the javascript is not executing > correctly in IE9. There's code that's run on ready that hides bits of that > content, and repositions other parts. I don't have a good way of testing IE9 > currently, but I'm working with our IT guys to remedy that. > > Paul - no clue why you're seeing the fallback content. Do you see any errors in > the console? I don't know, I don't have a windows box right now, but maybe this can help: http://blogs.msdn.com/b/ie/archive/2011/04/27/ie9-compat-inspector.aspx
Severity: blocker → major
Priority: P1 → P2
Assignee: jbresnik → chinkle
Assignee: chinkle → adam
This should be all patched up. Just finished testing in IE9, Chrome, FF4 and Safari, and, after a slight tweak to the way I get mouse position, it is working consistently between all of them. https://github.com/mozilla/markup/commit/60220879183bad059d17010a0cf87b7182293b17
Bumping this to FIXED per comment 17. I'd suggest opening separate bugs on a defect by defect (and browser by browser basis). QA is currently working to verify the this bug.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified on: + OSX - Firefox 4.0.x - Safari 5.x - Chrome 11.x
Status: RESOLVED → VERIFIED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: