-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update CSS user agent default style sheet
This updates the CSS user agent default stylesheet in Vivliostyle.js to conform to the latest web standards. (Issue: #1128) Summary of changes: | Elements | Property | Old | New | |-------------------------|--------------|--------|---------| | h2 | margin-block | 0.75em | 0.83em | | h3 | margin-block | 0.83em | 1em | | h4 | margin-block | 1em | 1.33em | | h5 | margin-block | 1em | 1.67em | | h6 | margin-block | 1em | 2.33em | | h6 | font-size | 0.75em | 0.67em | | blockquote, ol, ul, dir, menu | margin-block | 0 | 1em | | [dir=ltr], [dir=rtl] | unicode-bidi | embed | isolate | | h1, h2, h3, h4, h5, h6 | font-weight | bolder | bold | | dfn | font-style | -- | italic | | listing, plaintext, xmp | white-space | -- | pre | | pre[wrap] | white-space | -- | pre-wrap| | details, dialog, legend, listing, optgroup, option, plaintext, search, xmp | display | -- | block | | table | box-sizing | -- | border-box | | table | border-collapse | -- | separate | | table | text-indent | -- | initial | | tr | vertical-align | -- | inherit | | hr | margin-block | -- | 0.5em | | hr[color], hr[noshade] | border-style | -- | solid |
- Loading branch information
1 parent
4516e53
commit 4e9a2d9
Showing
1 changed file
with
58 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters