分页的媒体模块是否已被放弃? [英] Has the paged media module been abandoned?

查看:116
本文介绍了分页的媒体模块是否已被放弃?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经按照这篇文章中的步骤进行操作安排我的页面进行打印.但是,似乎只有两件事确实有效.即使

I've followed the steps in this article to arrange my page for printing. However, only a couple of things seem to actually work. I can't get selectors such as @top-center to work at all in Chrome, Firefox or Opera, even though caniuse says it should work in most major browsers.

这是被悄悄放弃还是弃用了?

Has this been quietly abandoned or deprecated?

我非常确定它是正确的,但是无论如何我都会在这里发布CSS供参考:

I'm pretty sure it's correct, but I'll post my CSS here for reference anyway:

@page {
  @bottom-right {
      content: "...";
  }
}

内容在任何地方都不会显示.

The content doesn't show up anywhere.

推荐答案

该文章链接的WD是从2013年开始的.尽管如此,CSSWG并不会保持其w3.org/TR上的WD保持最新状态.实现会快速更新自身以匹配编辑的草稿(ED).他们甚至不发布年度修订.不仅对css-page-3,而且对选择器4,都是如此,并且在重写css-content之前,它被遗弃了 10年以上.

The WD that is linked to by the article is from 2013. The CSSWG doesn't tend to keep their WDs at w3.org/TR up to date despite implementations rapidly updating themselves to match the editor's drafts (ED). They don't even publish yearly revisions. This is true not only of css-page-3, but also selectors-4, and prior to its rewrite css-content was left abandoned for over 10 years.

ED倾向于定期更新,有时甚至每晚更新一次.例如, css-page-3 ED 只是在一周前更新的,因此WD正在收集灰尘,该模块本身并未被废弃,实际上正在积极开发中.

EDs tend to be updated regularly, sometimes even nightly. For example, the css-page-3 ED was just updated a week ago, so while the WD is collecting dust, the module itself hasn't been abandoned and is in fact in active development.

这篇关于分页的媒体模块是否已被放弃?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆