caniuse icon indicating copy to clipboard operation
caniuse copied to clipboard

CSS3 module "Generated Content for Paged Media" and especially the target-counter function

Open Fyrd opened this issue 9 years ago • 23 comments

CSS3 module "Generated Content for Paged Media" and especially the target-counter function


This issue was imported from Google Moderator

Moderator votes: +3 Issue added by tynstar on 2014-08-07

Fyrd avatar May 12 '15 06:05 Fyrd

+1

DavidSabine avatar Oct 14 '15 14:10 DavidSabine

+1

puco avatar Nov 09 '15 15:11 puco

Adding this would be extremely helpful.

ntlk avatar Feb 10 '16 15:02 ntlk

Agreed, right now finding out what the support is for Paged Media in browsers is a pain.

jrabbe avatar Mar 08 '16 16:03 jrabbe

+1

jonathansnell avatar May 03 '17 16:05 jonathansnell

Current status: https://www.chromestatus.com/feature/5400251359821824 (not implemented anywhere)

tgr avatar May 23 '17 10:05 tgr

PrinceXML https://www.princexml.com/ supports it. (Note: I am not affiliated with them in any way, just using their software due to the HTML/CSS print features they support that nothing else seems to).

jaggzh avatar Jul 31 '17 20:07 jaggzh

So does Vivliostyle and probably a number of other print tools. But I don't believe caniuse tracks those.

tgr avatar Jul 31 '17 20:07 tgr

+1

Antenna House Formatter (https://www.antennahouse.com/antenna1/formatter/) supports GCPM as well. I would, of course, also like to see caniuse track paged media formatters alongside browsers.

tgraham-antenna avatar Nov 15 '17 23:11 tgraham-antenna

+1

JimSaiya avatar Dec 08 '17 06:12 JimSaiya

I would, of course, also like to see caniuse track paged media formatters alongside browsers.

Another category that should be added site-wide is EPUB/MOBI renderers (since it's all just HTML & CSS in the end). Often Amazon's documentation about what the Kindle supports is inaccurate.

Porges avatar Mar 26 '18 00:03 Porges

+1

pl86 avatar Jul 04 '18 09:07 pl86

+1

Ognian avatar Nov 16 '18 14:11 Ognian

CONTRIBUTING.md says it's currently not possible to add another browser.. Why's that?

I would also really like to add KF8/KFX support (see appendix 16.1+) as a common denominator for EPUB & MOBI.

stephanschubert avatar Mar 20 '19 08:03 stephanschubert

High-Level Summary

Features Already Present on CanIUse

CSS Generated Content Module Level 3

Features In Spec

  1. “Generated content should be searchable, selectable, and available to assistive technologies”
  2. content property alt text: content: url('./img/star.png') / 'New!';
  3. content property keyword values: normal | none | contents
  4. leader() function: leader(dotted | solid | space | <string>)
  5. target-counter(), target-counters(), target-text() functions
  6. string-set property
  7. string() function
  8. content() function (not to be confused with content property)

chharvey avatar Jun 26 '19 13:06 chharvey

+1

caesar avatar Jul 09 '19 14:07 caesar

I still think this is relevant today

manuelmeister avatar Nov 02 '21 10:11 manuelmeister

Browser typesetting is so behind LaTeX/ConTeXt, we don't even get mention of it (6 years old exception).

vintprox avatar Jan 05 '22 12:01 vintprox

+1

EdgarSchouten avatar Feb 11 '22 14:02 EdgarSchouten

+1

NigelCunningham avatar Aug 08 '22 01:08 NigelCunningham

+1 just came 'round looking for this for generating an Annual Directory from html to pdf and was somewhat astonished to learn it hadn't yet been implemented

WebDragon avatar May 09 '23 14:05 WebDragon

Being able to use target-counter(s and target-text for online content and not just printed media would be extremely helpful.

MartinMerkel avatar Jul 22 '23 11:07 MartinMerkel