Front-end standards group/2017-09-13

From MediaWiki.org
Jump to navigation Jump to search

Attending: Volker E., Andrew R.-G., Bartosz D., Jan Drewniak, Roan K.

Action & Code[edit]

New quests[edit]

Optimize SVGs in data URIs (VE) https://phabricator.wikimedia.org/T175318
RegEx in CSSMin.php (encodeStringAsDataURI) – CSSMin::buildUrlValue
General: Proposal sounds like a good idea in general

JD: How about utf8 encoding inline?

`url('data:image/svg+xml;utf8,<svg` 

"URLs are always ASCII" by default
RK: Article says ;utf8 is invalid/illegal anyway
RK: The quotes stuff might be tricky, but stuff like stripping newlines and unencoding spaces, equals signs, etc should help a lot already
Also: change newlines and tabs to spaces, consolidate multiple spaces in a row
RK: RL image module change would work without quote exchange in the LESS mixin
Action items:

  • CodePen to cross-browser test => DONE https://codepen.io/Volker_E/full/BwyQwo/
  • Small project outside of RL to test drive
  • change encodeStringAsDataURI when sufficiently convinced
  • Do round 1 for newlines/tabs/spaces/equals/etc, then repeat these steps for quotes later

Follow-up[edit]

Measure dwell-time impact of `touch-action: manipulation;` (VE, JD) https://phabricator.wikimedia.org/T174002
Task got already filed by J. Drewniak
Data analyst is fine with test, it's pretty basic outcome probably.

Action item: Patch to come by JD


Postponed[edit]

VisualEditor: Implement some form of auto-save (ES) https://phabricator.wikimedia.org/T57370