Page MenuHomePhabricator

Preserve color keywords and short hex notation as-is
Closed, ResolvedPublic

Description

Currently, in Less.php, colors are converted to long Hex code.

The current behaviour expected by Lessjs, in which Less.php mirrors parts of its functionality, expects us to leave colors in their original form: Both color keywords and short hex code.

Event Timeline

Change 983215 had a related patch set uploaded (by Hokwelum; author: Hokwelum):

[mediawiki/libs/less.php@master] Preserve color keywords and short hex notation as it is

https://gerrit.wikimedia.org/r/983215

Krinkle triaged this task as Medium priority.

Change 983215 merged by jenkins-bot:

[mediawiki/libs/less.php@master] Less_Tree_Color: Preserve color keywords and short hex notation as-is

https://gerrit.wikimedia.org/r/983215