[Webkit-unassigned] [Bug 118053] Parsing of MathML length

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 26 23:22:25 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=118053





--- Comment #13 from chris fleizach <cfleizach at apple.com>  2013-06-26 23:24:21 PST ---
(In reply to comment #12)
> Actually it is even
> 
> bool b;
> float v;
> float v2 = ParseLength(s, default value, b);
> if (b) {
>   v = v2;
>   [...]
> } [ else {
>   ...
> }]
> 
> or just
> 
> float v = default value;
> [if] ParseLength(s, v) [... else ...]

    Right, this isn't that bad. 
I'm ok with having it return success. If you think it will cut down on code bloat.

This method name could probably be more descriptive.

parseMathMLUnitLength() or something to that effect

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list