Skip to content

Commit

Permalink
[mobile] Chinese translation
Browse files Browse the repository at this point in the history
  • Loading branch information
xfq committed Aug 7, 2018
1 parent 24138fd commit bcd210f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mobile/performance.zh.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,6 @@ <h2>探索性工作</h2>
<p>用户代理可以实现滚动的默认规则,例如滚动链和过度滚动,而 Web 应用可能希望禁用该规则以增强在移动设备上常见的<b>拉动刷新</b><b>无限滚动</b>等交互范例。这可以通过脚本来实现,但是由于应用需要监听触摸事件而不设置 <code>passive</code> 标志以在需要时覆盖默认行为,因此会对滚动性能产生负面影响。CSS 的 <a data-featureid="css-overscroll-behavior">overscroll-behavior</a> 属性在滚动到达边界时引入了对滚动容器行为的控制,允许 Web 应用禁用滚动的默认规则。</p>
</div>
</section>

<section>
<h2>目前尚未覆盖的工作</h2>
<dl>
<dt>更加精细的网络优化</dt>
<dd>现有指定资源获取优先级的机制是非常粗糙的,比如 <code>preload</code> 链接类型。应用可以从指定用户代理最终需要获取的资源的相对优先级的声明性机制中获益。Web平台孵化社区组目前的讨论可能存在这个领域的探索性工作。</dd>
</dl>
</section>
</main>
<script src="../js/generate.js"></script>
</body>
Expand Down

0 comments on commit bcd210f

Please sign in to comment.