Bug 57697 - mfenced skips the first separator if the separators attribute contains multiple separators
Summary: mfenced skips the first separator if the separators attribute contains multip...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: data:text/html,%3Cmath%20xmlns=%22htt...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-04-01 22:26 PDT by mitz
Modified: 2022-02-27 23:38 PST (History)
5 users (show)

See Also:


Attachments
A proposed patch (1.40 KB, patch)
2011-10-16 21:04 PDT, Xun Sun
no flags Details | Formatted Diff | Diff
Patch (1.46 KB, patch)
2011-10-16 21:14 PDT, Xun Sun
mitz: review-
Details | Formatted Diff | Diff
Patch (31.34 KB, patch)
2011-12-19 21:57 PST, Dave Barton
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2011-04-01 22:26:15 PDT
When the separators attribute of the mfenced element contains more than one separator, the first separator is skipped over. The URL contains a test case that shows this.
Comment 1 mitz 2011-04-01 22:39:17 PDT
<rdar://problem/9225769>
Comment 2 Xun Sun 2011-10-16 21:04:45 PDT
Created attachment 111204 [details]
A proposed patch
Comment 3 WebKit Review Bot 2011-10-16 21:09:13 PDT
Attachment 111204 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1

Source/WebCore/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Xun Sun 2011-10-16 21:14:54 PDT
Created attachment 111205 [details]
Patch
Comment 5 Xun Sun 2011-10-22 21:08:10 PDT
(In reply to comment #4)
> Created an attachment (id=111205) [details]
> Patch

Can someone please review this patch and see if it is suitable for integration?
Comment 6 mitz 2011-10-22 21:52:40 PDT
Comment on attachment 111205 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=111205&action=review

> Source/WebCore/ChangeLog:8
> +        No new tests. (OOPS!)

A test case is required when fixing this sort of bug.
Comment 7 Dave Barton 2011-12-19 21:57:23 PST
Created attachment 119987 [details]
Patch
Comment 8 Xun Sun 2011-12-28 07:55:43 PST
(In reply to comment #6)
> (From update of attachment 111205 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=111205&action=review
> > Source/WebCore/ChangeLog:8
> > +        No new tests. (OOPS!)
> A test case is required when fixing this sort of bug.

Dave Barton provided test cases to accompany this fix in comment #7. Can you please review again? And happy new year!
Comment 9 WebKit Review Bot 2011-12-29 14:49:18 PST
Comment on attachment 119987 [details]
Patch

Clearing flags on attachment: 119987

Committed r103824: <http://trac.webkit.org/changeset/103824>
Comment 10 WebKit Review Bot 2011-12-29 14:49:23 PST
All reviewed patches have been landed.  Closing bug.