Closed
Bug 665732
Opened 14 years ago
Closed 12 years ago
Kuma: SVG and MathML embedding
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect, P3)
developer.mozilla.org Graveyard
Wiki pages
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: openjck, Unassigned)
References
Details
(Whiteboard: [type:feature])
No description provided.
Reporter | ||
Updated•14 years ago
|
Version: unspecified → Kuma
Updated•14 years ago
|
Blocks: mathml-in-mdn
Updated•14 years ago
|
Assignee: lcrouch → nobody
Reporter | ||
Updated•14 years ago
|
Target Milestone: 1.0 alpha → ---
Updated•14 years ago
|
Priority: -- → P3
Comment 1•13 years ago
|
||
I've created test pages here:
https://developer-stage9.mozilla.org/en-US/docs/de/MathML/Element/math
https://developer-stage9.mozilla.org/de/docs/de/SVG/Element/rect
While MathML/SVG is rendered properly in the preview of the CKEditor, it gets escaped when saving the page.
Comment 2•13 years ago
|
||
thanks for testing and feedback! we'll pull this into a future sprint!
Updated•13 years ago
|
Whiteboard: [u: user] [c: wiki] → [u: user] [c: wiki] s=2012-06-05
Updated•13 years ago
|
Whiteboard: [u: user] [c: wiki] s=2012-06-05 → u:user c:wiki s=2012-06-05 p=
Updated•13 years ago
|
Whiteboard: u:user c:wiki s=2012-06-05 p= → u:user c:wiki p=
Updated•13 years ago
|
Whiteboard: u:user c:wiki p= → u=user c=wiki p=
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Updated•13 years ago
|
Blocks: mathml-in-mdn
Comment 3•13 years ago
|
||
For remind: this page has some inline svg and is broken for the moment: https://developer-new.mozilla.org/en-US/docs/CSS/filter
Comment 4•13 years ago
|
||
For MathML, we have two kinds of usage:
1) Inline live examples for the MathML reference. I think here our regular (planned?) Live Example Tools will handle this case.
2) Mathematical formulas in the doc. We have a few places where we need to display mathematical info in the body of text (like for explaining CSS transforms). The live example tools won't solve this problem satisfactory (the formulas are part of the main text). For this case, I think we should allow, via Bleach, the minimal subset of MathML elements needed. I plan to make a Github PR for them as soon as I have some time (in the next weeks) — I really would like to be able to finish the doc about CSS transforms.
For SVG, we also have two kinds of usage:
1) Inline live examples for the SVG reference.
2) Schematics were SVG is the logical format: it allows anybody to edit the schematics if needed (without the need of a separate "source" files), it allows to creates derivated schematics (which will have a similar look and feel), and it ease translation, as most schematics have embedded text. Also a bug in Firefox makes any non-embedded SVG images look horrible when a zoom is applied on the page (not the case for embedded SVG images).
Comment 5•13 years ago
|
||
I did the PR request for MathML, case 2: https://github.com/mozilla/kuma/pull/491
Comment 6•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/fdb1d7f7871d5a09e3267d605ac93a7d9dbd8a06
Bug 665732 - Add more MathML tags and attributes to the whitelist
https://github.com/mozilla/kuma/commit/cddfeaa6b5e15c80291cb6e4d7a593e558da6c37
Merge pull request #555 from Elchi3/665732-mathml
Bug 665732 - Add more MathML tags and attributes to the whitelist
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 7•12 years ago
|
||
Reopening. My patch provided a list of MathML elements/attributes only. The SVG part for our Bleach whitelist is still missing.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•12 years ago
|
Version: Kuma → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Website → Landing pages
Reporter | ||
Comment 9•12 years ago
|
||
Do we have this already, through the Live Samples system if nothing else?
Keywords: feature
Whiteboard: u=user c=wiki p= → [type:feature]
Comment 10•12 years ago
|
||
I *think* we're good to go here, but I recommend asking some of the MathML guys. Florian, any opinion?
Comment 11•12 years ago
|
||
Yep, this is not necessary.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•