New issue
Advanced search Search tips

Issue 763298 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Custom CSS Properties do not worki inside @page

Reported by ondrej.z...@gmail.com, Sep 8 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.9 Safari/537.36

Steps to reproduce the problem:
Use a custom property for a margin/size CSS property inside a @page at-rule.

What is the expected behavior?
Apply the custom property. Also, inhert the value correctly from a :root selector.

What went wrong?
The property is not applied.

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 62.0.3202.9  Channel: dev
OS Version: 
Flash Version:
 
page.html
115 bytes View Download
Labels: Needs-Triage-M62
Labels: Hotlist-Interop Update-Quarterly
Status: Available (was: Unconfirmed)
Firefox also does not use the custom property.
Labels: Code-Resolver
Labels: ApproachableBug
Labels: Code-CustomProperties
Labels: -Update-Quarterly

Comment 7 by pepels...@gmail.com, Jun 28 2018

I can confirm this, see my test page attached: printed page should be square. This bug ruins printing for Shower presentation engine https://shwr.me/
page.html
226 bytes View Download
Cc: andruud@chromium.org
Status: WontFix (was: Available)
Custom properties apply to elements not @page descriptors, @font-face descriptors, etc.

Sign in to add a comment