We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The writing-mode specified on the body element should not be inherited by the page context.
See the spec: https://www.w3.org/TR/css-writing-modes-3/#principal-flow
Test case:
<!doctype html> <html lang="ja"> <head> <style> @page { @top-center { content: "ここは横書きのはず"; } } body { writing-mode: vertical-rl; } </style> </head> <body> <h1>ここは縦書き</h1> <p>body要素に指定されたwriting-modeプロパティはルート要素に指定された場合と異なり、ページコンテキスト(@pageルール内)に継承されるべきではない。</p> </body> </html>
GitHub Gist: https://gist.github.com/MurakamiShinyu/000f3e5b0900b480e7aecd0cdfa82879
Test with Vivliostyle Viewer: https://vivliostyle.vercel.app/#src=https://gist.github.com/MurakamiShinyu/000f3e5b0900b480e7aecd0cdfa82879
Result screenshot:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The writing-mode specified on the body element should not be inherited by the page context.
See the spec: https://www.w3.org/TR/css-writing-modes-3/#principal-flow
Test case:
GitHub Gist: https://gist.github.com/MurakamiShinyu/000f3e5b0900b480e7aecd0cdfa82879
Test with Vivliostyle Viewer:
https://vivliostyle.vercel.app/#src=https://gist.github.com/MurakamiShinyu/000f3e5b0900b480e7aecd0cdfa82879
Result screenshot:
The text was updated successfully, but these errors were encountered: