This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22500 - "CSSPageRule" is bogus
Summary: "CSSPageRule" is bogus
Status: RESOLVED FIXED
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-27 21:06 UTC by Simon Pieters
Modified: 2013-08-21 08:25 UTC (History)
1 user (show)

See Also:


Attachments

Description Simon Pieters 2013-06-27 21:06:41 UTC
http://dev.w3.org/csswg/cssom/#csspagerule

[[
CSSPageRule
]]

Using CSSStyleDeclaration is wrong. @page contains at-rules and margin declarations. Represent that in a sane way.
Comment 1 Simon Pieters 2013-06-27 21:40:44 UTC
http://krijnhoetmer.nl/irc-logs/whatwg/20130627#l-1129

Ack Tab Atkins
Comment 2 Simon Pieters 2013-08-20 17:57:12 UTC
I'm now less sure about Tab's suggested approach of hard-coding the properties since the current spec has a long list of properties that apply in page context:

http://dev.w3.org/csswg/css-page/#page-property-list

I'm leaning a bit more towards the approach outlined here

http://lists.w3.org/Archives/Public/www-style/2013Jun/0668.html
Comment 3 Tab Atkins Jr. 2013-08-20 19:16:13 UTC
Yeah, that's fine for me I guess.
Comment 5 Simon Pieters 2013-08-21 08:25:17 UTC
https://dvcs.w3.org/hg/csswg/rev/048b4760e33e