Closed Bug 317077 Opened 19 years ago Closed 19 years ago

Enable <canvas> support in Camino

Categories

(Camino Graveyard :: Page Layout, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Camino1.0

People

(Reporter: sfraser_bugs, Assigned: mark)

Details

(Keywords: verified1.8)

Attachments

(1 file, 1 obsolete file)

For some reason <canvas> doesn't work in Camino; it works in FF 1.5 builds. I guess we just need to turn it on in the build. We should do this for 1.0.
Attached patch Add --enable-canvas (obsolete) — Splinter Review
Assignee: mark → sfraser_bugs
Status: NEW → ASSIGNED
Attachment #203612 - Flags: review?(mark)
Comment on attachment 203612 [details] [diff] [review]
Add --enable-canvas

I think this is incomplete.  Don't we need the typelib too?

While we're at it, let's also turn on svg.
Ah right :)

Do we really want SVG at this point? Is it ready go to?
SVG isn't all the way there yet, but it's good enough for Fox 1.5.  http://www.mozilla.org/projects/svg/status-ff15.html.  I'm not sure how it stacks up feature-for-feature against the Adobe plug-in other than admissions of "we might suck, but they suck too," but I think it's really important to get the SVG DOM into the browser so scripts can get in on the action.

I've scheduled a canvas'n'svg build for tonight to see what impact it'll have on bloat.  And I've got a bug about turning mathml on too...
All yours then :)
Assignee: sfraser_bugs → mark
Status: ASSIGNED → NEW
(In reply to comment #4)
> I've scheduled a canvas'n'svg build for tonight to see what impact it'll have
> on bloat.

Mark, did this cause the 2005-11-18-10-1.0 build (which is really 1.0b1 with a new timestamp--and no canvas support at all, as far as I can tell via the demo and about:buildconfig)?

I doubt it, and it shouldn't have canvas support even if this did cause that; this looks to be just on trunk.
This isn't done yet and hasn't landed anywhere.  111810 is just 1.0b1 and is the result of our monkeying around.
Canvas and SVG together are worth about 250kB in the dmg.  (Typelibs and other support files were copied manually, I haven't done the pbproj yet.)
(In reply to comment #9)
> Canvas and SVG together are worth about 250kB in the dmg.  (Typelibs and other
> support files were copied manually, I haven't done the pbproj yet.)

Hm, that's non-trivial. I still wonder whether we want SVG.
<canvas> alone is only worth 50kB.  I'll get some pbproj changes out soon, we need to link two extra libs and ship a typelib.
The hand-crafted pbxproj changes add libmozcairo and libmozlibpixman to the final link during static builds.  In dynamic library builds, libgklayout already incorporates these two libraries, so no changes are needed.  For any build, the dom_canvas typelib is added to the "components" file copy phase.

Adding dom_canvas to embedding/config/basebrowser-mac-macho is harmless for other users of that embedding configuration because errors are ignored when setting up dist/Embed.
Attachment #203612 - Attachment is obsolete: true
Attachment #203736 - Flags: review?(sfraser_bugs)
Attachment #203612 - Flags: review?(mark)
Comment on attachment 203736 [details] [diff] [review]
Enable <canvas> in Camino

Removals from the mozconfig are to get rid of items that used to override defaults - the defaults have since changed.
Attachment #203736 - Flags: review?(sfraser_bugs) → review+
Branch'n'trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Unless you have a really really REALLY good reason (like, "it doesn't work at all"), you should enable SVG in Camino. Otherwise you're creating a serious platform incompatibility and should not claim to be Gecko 1.8 or FF1.5 compatible.
SVG in Camino is now bug 317232.
v on branch and trunk.
Status: RESOLVED → VERIFIED
Keywords: fixed1.8verified1.8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: