Closed
Bug 538965
Opened 15 years ago
Closed 14 years ago
MathML mfenced: whitespaces in open/close attributes are not collapsed
Categories
(Core :: MathML, defect)
Core
MathML
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: fredw, Assigned: Ms2ger)
References
Details
(Whiteboard: [good first bug])
Attachments
(3 files, 2 obsolete files)
804 bytes,
application/xhtml+xml
|
Details | |
5.17 KB,
patch
|
Details | Diff | Splinter Review | |
31.61 KB,
patch
|
Details | Diff | Splinter Review |
The MathML REC says:
"The "opening-fence" and "closing-fence" are arbitrary strings. (Since they are used as the content of mo elements, any whitespace they contain will be trimmed and collapsed as described in Section 2.4.6 Collapsing Whitespace in Input.) "
This is not currently the case (see attachment).
Reporter | ||
Comment 1•15 years ago
|
||
If someone wants to work on this bug, I guess nsAutoString::CompressWhitespace
should do the job:
https://developer.mozilla.org/En/NsAutoString#CompressWhitespace
Also, a reftest layout/reftests/mathml/mfenced-2* should be add (see also the related bugs: bug 553918 and bug 537916)
Assignee | ||
Comment 2•14 years ago
|
||
Some preparatory cleanup: now that new is infallible, nsMathMLmfencedFrame::CreateFencesAndSeparators can't fail.
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #466022 -
Flags: review?(karlt)
Updated•14 years ago
|
Attachment #466021 -
Flags: review?(karlt) → review+
Comment 4•14 years ago
|
||
Comment on attachment 466022 [details] [diff] [review]
Patch b: Compress whitespace (v1)
Great, thanks!
Attachment #466022 -
Flags: review?(karlt) → review+
Updated•14 years ago
|
Attachment #466021 -
Flags: approval2.0?
Comment 5•14 years ago
|
||
Comment on attachment 466022 [details] [diff] [review]
Patch b: Compress whitespace (v1)
Requesting approval for a simple correctness fix, with plenty of reftests.
Attachment #466022 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #466021 -
Flags: approval2.0? → approval2.0+
Updated•14 years ago
|
Attachment #466022 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 6•14 years ago
|
||
Attachment #466021 -
Attachment is obsolete: true
Assignee | ||
Comment 7•14 years ago
|
||
Attachment #466022 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 8•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/f325994313ea
http://hg.mozilla.org/mozilla-central/rev/a1705bc179e4
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in
before you can comment on or make changes to this bug.
Description
•