[csswg-drafts] Should serialization of @page selectors include "@page"?

dbaron has just created a new issue for https://github.com/w3c/csswg-drafts:

== Should serialization of @page selectors include "@page"? ==
w3c/web-platform-tests#6183 points out that:
* there is currently lack of interop in how `CSSPageRule.selectorText`'s getter serializes `@page` selectors
* the spec for this is [currently just an issue saying the text needs to be written](https://drafts.csswg.org/cssom/#the-csspagerule-interface)

Given that there is lack of interop today as to whether a rule
```css
@page :left {
  margin: 0;
}
```
should serialize the selector text through `CSSPageRule.selectorText` as `@page :left` or `:left`, it seems like the WG should agree on which is the right behavior.

I tend to think that serializing to `:left` is the right thing to do, but given that implementations currently differ, I think it's worth bringing to the WG.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2643 using your GitHub account

Received on Friday, 4 May 2018 23:50:35 UTC