https://bugs.documentfoundation.org/show_bug.cgi?id=138355

--- Comment #1 from dante19031...@gmail.com ---
(In reply to Ming Hua from comment #0)
> The recently added Math feature [1] included a few new color names in the
> UI, among which "fuchsia".

Some colors where added to the UI, but actually all HTML colors are supported.

> As far as I understand, in HTML/CSS colors fuchsia is synonym to magenta,
> and these two names refer to the same color.  According to Weblate search,
> before this change, the name "fuchsia" is not used in LO UI except as an
> alternative synonym for LibreLogo command.  Everywhere else uses "magenta".

https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Fuchsia and aqua where originally implemented on CSS1, but in CSS3 synonyms
magenta and cyan where added. All the keywords still working.

> So for consistency's sake, and to avoid confusion/headache of translators,
> can Math change the UI name for the color to "magenta" as well?
> 
> 1.
> https://git.libreoffice.org/core/+/0643dab6819bdf248321d27f6b58a2cce125e51c

I changed it to match mathml standars:

https://www.w3.org/TR/MathML3/chapter2.html#fund.color
Color values can also be specified as an html-color-name, one of the color-name
keywords defined in [HTML4] ("aqua", "black", "blue", "fuchsia", "gray",
"green", "lime", "maroon", "navy", "olive", "purple", "red", "silver", "teal",
"white", and "yellow"). Note that the color name keywords are not
case-sensitive, unlike most keywords in MathML attribute values, for
compatibility with CSS and HTML.

I have some work to do around starmath color this weekend because of something
I screw up. If you still think it has to be reverted mark the bug as new and
will apply.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to