{"action":"created","issue":{"url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/57","repository_url":"https://api.github.com/repos/Kozea/WeasyPrint","labels_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/57/comments","events_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/57/events","html_url":"https://github.com/Kozea/WeasyPrint/issues/57","id":12266634,"number":57,"title":"Named pages","user":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars0.githubusercontent.com/u/291359?v=4","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"labels":[{"id":32803825,"url":"https://api.github.com/repos/Kozea/WeasyPrint/labels/feature","name":"feature","color":"207de5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Kozea/WeasyPrint/milestones/7","html_url":"https://github.com/Kozea/WeasyPrint/milestone/7","labels_url":"https://api.github.com/repos/Kozea/WeasyPrint/milestones/7/labels","id":2627484,"number":7,"title":"v0.40","description":"","creator":{"login":"liZe","id":952243,"avatar_url":"https://avatars0.githubusercontent.com/u/952243?v=4","gravatar_id":"","url":"https://api.github.com/users/liZe","html_url":"https://github.com/liZe","followers_url":"https://api.github.com/users/liZe/followers","following_url":"https://api.github.com/users/liZe/following{/other_user}","gists_url":"https://api.github.com/users/liZe/gists{/gist_id}","starred_url":"https://api.github.com/users/liZe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liZe/subscriptions","organizations_url":"https://api.github.com/users/liZe/orgs","repos_url":"https://api.github.com/users/liZe/repos","events_url":"https://api.github.com/users/liZe/events{/privacy}","received_events_url":"https://api.github.com/users/liZe/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":8,"state":"open","created_at":"2017-07-07T12:33:36Z","updated_at":"2017-08-17T09:06:01Z","due_on":null,"closed_at":null},"comments":21,"created_at":"2013-03-21T09:45:50Z","updated_at":"2017-08-17T14:21:41Z","closed_at":"2017-08-09T10:02:02Z","body":"css3-page defines \"named pages\": http://dev.w3.org/csswg/css3-page/#using-named-pages\n\nThe only non-trivial part of this is the cascade. Currently we compute in advance styles for every possible page. With named pages we might want to do this lazily.\n"},"comment":{"url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/comments/323088416","html_url":"https://github.com/Kozea/WeasyPrint/issues/57#issuecomment-323088416","issue_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/57","id":323088416,"user":{"login":"dmoonfire","id":206815,"avatar_url":"https://avatars3.githubusercontent.com/u/206815?v=4","gravatar_id":"","url":"https://api.github.com/users/dmoonfire","html_url":"https://github.com/dmoonfire","followers_url":"https://api.github.com/users/dmoonfire/followers","following_url":"https://api.github.com/users/dmoonfire/following{/other_user}","gists_url":"https://api.github.com/users/dmoonfire/gists{/gist_id}","starred_url":"https://api.github.com/users/dmoonfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmoonfire/subscriptions","organizations_url":"https://api.github.com/users/dmoonfire/orgs","repos_url":"https://api.github.com/users/dmoonfire/repos","events_url":"https://api.github.com/users/dmoonfire/events{/privacy}","received_events_url":"https://api.github.com/users/dmoonfire/received_events","type":"User","site_admin":false},"created_at":"2017-08-17T14:21:41Z","updated_at":"2017-08-17T14:21:41Z","body":"Since the `page: chapter;` only applies to the next page and then it goes back to the normal `:right` and `:left`, I can easily have a `page: first-chapter;` that is only applied to the first chapter to reset the number and then just have a sequence of `:right`, `:left`, and `chapter` pages for the rest of the document.\r\n\r\nThe problem with `:first` is that the chapter is page 10 and `:first` only applies to page 1."}}
{"actor":{"display_login":"dmoonfire"}}