Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support named strings for running headers and footers #680

Merged
merged 1 commit into from
Dec 28, 2020

Conversation

MurakamiShinyu
Copy link
Member

@MurakamiShinyu MurakamiShinyu commented Dec 28, 2020

Spec: https://drafts.csswg.org/css-gcpm/#named-strings

Implements the named strings feature in CSS Generated Content for Paged Media Module.

  • string-set property
  • content() function
  • string() function

Tests:
https://raw.githack.com/vivliostyle/vivliostyle.js/master/packages/core/test/files/#Named_Strings

  • packages/core/test/files/named-strings/named-strings.html
  • packages/core/test/files/named-strings/string-set-attr.html
  • packages/core/test/files/named-strings/string-set-content.html

Closes #545

Spec: https://drafts.csswg.org/css-gcpm/#named-strings

Implements the named strings feature in CSS Generated Content for Paged Media Module.
- `string-set` property
- `content()` function
- `string()` function

Tests:
- packages/core/test/files/named-strings/named-strings.html
- packages/core/test/files/named-strings/string-set-attr.html
- packages/core/test/files/named-strings/string-set-content.html

Closes #545
@vercel
Copy link

vercel bot commented Dec 28, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vivliostyle/vivliostyle/kszr7p9yt
✅ Preview: https://vivliostyle-git-feat-named-strings-1.vivliostyle.now.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support named strings for running headers and footers
1 participant