New issue
Advanced search Search tips

Issue 740497 link

Starred by 9 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

Blocking:
issue 368053



Sign in to add a comment

Support cross-references from CSS Generated Content for Paged Media Module

Reported by gti...@wikimedia.org, Jul 10 2017

Issue description

Chromium (and other browsers) should support cross-references from the CSS Generated Content for Paged Media Module ( https://www.w3.org/TR/css-gcpm-3/#cross-references ) as this is the only way web pages can provide a decent table of contents for printing.

No browser supports it currently, although various print-focused tools do ( https://www.print-css.rocks/tools.html lists some).

Test case:
* Visit https://tgr.github.io/scratchpad/gcpm.html
* Print the page
* Expected: The text at the top reads "Link to 3"
* Actual: The text reads "Link to"; the target-counter CSS attribute is ignored.

For a more realistic test case see https://tgr.github.io/scratchpad/gcpm-page.html which also relies on page counters (bug 740496).
 
For a real test case see http://vivliostyle.github.io/vivliostyle.js/samples/gutenberg/Alice.html (used together with a Javascript polyfill to print TOC and page numbers)
Components: Internals>Printing
Labels: -Pri-3 M-61 OS-Linux OS-Mac OS-Windows Pri-2
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Mac 10.12.5, Win-10 and Ubuntu 14.04 using chrome stable version #59.0.3071.115 and latest canary #61.0.3153.3.

This is a non-regression issue as it is observed from M45 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!

Comment 3 by weili@chromium.org, Jul 11 2017

Blocking: 368053
Components: Blink>CSS Blink>Layout
Labels: -Type-Bug -Pri-2 -M-61 Pri-3 Type-Feature
Status: Available (was: Untriaged)
Thank you for filing bugs with test cases for these features. 

Comment 4 by meade@chromium.org, Jul 12 2017

Labels: Update-Quarterly
Labels: -Update-Quarterly
Cc: mstensho@chromium.org
Labels: -OS-Linux -OS-Windows -OS-Mac
Cross-references moved to CSS Generated Content Module: https://www.w3.org/TR/css-content-3/#cross-references

Sign in to add a comment