Closed Bug 213932 Opened 21 years ago Closed 14 years ago

missing entries for subset, subsetneq, wedge, vee, cap and cup in mathfont.properties

Categories

(Core :: MathML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: gemi, Assigned: fredw)

References

Details

Attachments

(3 files, 6 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686) Gecko/20030701 Galeon/1.3.7
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030724

There is not entry for ⊂ in mathfont.properties
I included following line

operator.\u2282.infix = lspace:thickmathspace rspace:thickmathspace

I looked into MathML spec, and it seems that it doesn't define it either.
This is strange, because after all ⊂ is an operator like ∈

Reproducible: Always

Steps to Reproduce:
Load the page http://www.mozilla.org/projects/mathml/demo/basics.xhtml
> operator.\u2282.infix = lspace:thickmathspace rspace:thickmathspace

Default metadata included to mathfont.properties (on 1.6 trunk).
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
The following are still missing:
operator.\u228A.infix = lspace:thickmathspace rspace:thickmathspace # ⊊

operator.\u2228.infix = lspace:thickmathspace rspace:thickmathspace # ∨

operator.\u2227.infix = lspace:thickmathspace rspace:thickmathspace # ∧

operator.\u2229.infix = lspace:thickmathspace rspace:thickmathspace # ∩

operator.\u222A.infix = lspace:thickmathspace rspace:thickmathspace # ∪
 
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
I can aggree to that error message ...
Attached image And how it looks like on my system ... (obsolete) —
My System W2000 and Mozilla 2004042109
Confirming per above comments.

Keyword: testcase
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
QA Contact: ian → mathml
Attached file Testcase - inside a <math/> (obsolete) —
Attachment #406284 - Attachment is obsolete: true
The patch applies on top of patch from bug 519126
The entity names of this bug are already in content/mathml/content/src/mathml.dtd

All MathML entities in attachment 406293 [details] render well. I guess it's not a bug if it's not the case in attachment 406276 [details], because they may not exist in XHTML (I've not checked).
Attachment #150608 - Attachment is obsolete: true
Attachment #150609 - Attachment is obsolete: true
Attachment #406276 - Attachment description: Fix errors in the original testcase → Testcase (XHTML document)
I can work on this, now bug 519126 is fixed. I've to check what the W3C specs says about the MathML entities used in XHTML.
Assignee: rbs → nobody
OS: Linux → All
Hardware: x86 → All
Summary: missing entry for &subset; (&#x02282) in mathfont.properties → missing entries for subset, subsetneq, wedge, vee, cap and cup in mathfont.properties
Assignee: nobody → fred.wang
> I've to check what the W3C specs says about the MathML entities used in XHTML.

The entities not displayed in attachment 406276 [details] are not defined in HTML4 or XHTML*, so it is not a bug. They will probably be defined in (X)HTML5 but this is a separate issue anyway.
Attached patch Patch (obsolete) — Splinter Review
Attachment #406299 - Attachment is obsolete: true
Attachment #432222 - Flags: review?(karlt)
Comment on attachment 432222 [details] [diff] [review]
Patch

>-operator.\u2284.infix = lspace:5 rspace:5 # &nsub;
>+operator.\u2284.infix = lspace:5 rspace:5 # &nsub; &subsetneq;

subsetneq is actually U+228A (as is subne).

>+operator.\u2227.infix = lspace:4 rspace:4 # &wedge;
>+operator.\u2228.infix = lspace:4 rspace:4 # &vee;
>+operator.\u2229.infix = lspace:4 rspace:4 # &cap;
>+operator.\u222A.infix = lspace:4 rspace:4 # &cup;

r=karlt on these.
Attachment #432222 - Flags: review?(karlt) → review+
Attached patch Final Patch (obsolete) — Splinter Review
2284 => 228A
Attachment #432222 - Attachment is obsolete: true
Keywords: testcasecheckin-needed
nsub is U+2284.
subsetneq and subne are U+228A.

We need entries for both U+2284 and U+228A.
Keywords: checkin-needed
Attached patch Final PatchSplinter Review
oops, sorry.
Attachment #436441 - Attachment is obsolete: true
Keywords: checkin-needed
Depends on: 533890
http://hg.mozilla.org/mozilla-central/rev/ee71110aef6d
Status: NEW → RESOLVED
Closed: 21 years ago14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: