HFIProgramming / mikutap

A Mainland China Friendly and independent version extracted from https://aidn.jp/mikutap
https://hfiprogramming.github.io/mikutap/
1.68k stars 504 forks source link

Better compatibility #19

Closed nkh0472 closed 3 years ago

nkh0472 commented 3 years ago
  1. Compatibility fix for YUI lib
  2. '-webkit-text-size-adjust' is not supported by Chrome, Chrome Android, Edge 79+, Firefox, Safari, Samsung Internet. Add 'text-size-adjust' to support Chrome 54+, Chrome Android 54+, Edge 79+, Samsung Internet 6.0+.
  3. 'image-rendering: crisp-edges' is not supported by Edge. Add 'image-rendering: -webkit-optimize-contrast' to support Edge 79+.
  4. Compatibility fix for mikutap.css
    
    Fix a Pitfall "Prefixed CSS First" …
    'animation' should be listed after '-webkit-animation' by Edge Chromium 90.0.818.51 DevTools.

Ref to Prefixed CSS first | webhint documentation

3. Add favicon.ico - A necessary file for many browsers.
4. Improve for HTML5 grammar
  1. index.html (8) There's a problem with the viewport value. It should be a comma-delimited list of valid viewport properties and values. Details: bad value for "user-scalable" (should be 'yes' or 'no').

Unsolved problem:

  1. index.html (41) The "color" attribute is not valid here. This could be because "color" is a proprietary (non-HTML5) attribute. Instead of the "color" attribute, use the "color" CSS property. More: This "hr" tag uses one or more entirely obsolete (in HTML5) attributes which must not be used in HTML5 documents. The HTML5 obsolete attributes for "hr" include: "align", "color", "noshade", "size", and "width".