V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xhyzidane
V2EX  ›  问与答

iOS 从 UIWebView 换到了 WKWebView,无法识别 CSS hack

  •  
  •   xhyzidane · Mar 22, 2017 · 3363 views
    This topic created in 3333 days ago, the information mentioned may be changed or developed.

    iOS 里用 WKWebView 访问页面,有一些公用 CSS 里面的代码报错,导致样式错乱。 看了一下都是些 CSS hack 比如 * 这种,报了 Invalid property at declaration * 。 但是这些网页在其他移动端浏览器包括之前的 UIWebView 都没有问题, hack 会被自动忽略,求解原因,除了移除这些 CSS hack 有别的处理方式吗?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   949 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:48 · PVG 03:48 · LAX 12:48 · JFK 15:48
    ♥ Do have faith in what you're doing.