CSS Properties
Standard W3C CSS Properties
| Property | Supported Values | Unsupported Values | Notes |
|---|---|---|---|
| background | |||
| background-color | |||
| background-image | |||
| background-position | |||
| background-repeat | |||
| background-size | |||
| bookmark-label | |||
| bookmark-level | |||
| bookmark-state | |||
| border | |||
| border-bottom | |||
| border-bottom-color | |||
| border-bottom-style | |||
| border-bottom-width | |||
| border-collapse | separate | collapse | ||
| border-color | |||
| border-left | |||
| border-left-color | |||
| border-left-style | |||
| border-left-width | |||
| border-right | |||
| border-right-color | |||
| border-right-style | |||
| border-right-width | |||
| border-spacing | <length> | ||
| border-style | |||
| border-top | |||
| border-top-color | |||
| border-top-style | |||
| border-top-width | |||
| border-width | |||
| bottom-property | |||
| caption-side | top|bottom | left|right | |
| color | |||
| column-span | |||
| content | |||
| counter-increment | |||
| counter-reset | |||
| direction | |||
| display | inline|block|inline-block|table|table-row|table-cell|table-caption|table-row-group|table-header-group|table-footer-group|table-column |-oxy-morph |
For the display:none, the elements are not eliminated from the DOM, are just collapsed. The text may remain in the document, but is not visible. This is needed for keeping the links working. For -oxy-morph, read more here. |
|
| empty-cells | |||
| float | |||
| font | |||
| font-family | |||
| font-size | |||
| font-src | |||
| font-style | |||
| font-variant | small-caps|normal | Cannot be combined with the :first-letter pseudo element or overflow-wrap: break-word CSS property. | |
| font-weight | |||
| height | |||
| image-resolution | <dpi> | ||
| left-property | |||
| letter-spacing | |||
| line-height | |||
| list-style | |||
| list-style-image | none|url() | ||
| list-style-position | |||
| list-style-type | |||
| margin | |||
| margin-bottom | <length> | ||
| margin-left | auto|<length> | ||
| margin-right | auto|<length> | ||
| margin-top | <length> | ||
| max-height | <length> | ||
| max-width | <length> | ||
| min-height | <length> | ||
| min-width | <length> | ||
| orphans | <number> | ||
| outline | |||
| outline-color | |||
| outline-style | |||
| outline-width | |||
| overflow-wrap | break-word | It works by adding soft hyphens (invisible hyphens) in words with 8 or more characters, so it might behave slightly different from the specification. The soft hyphen specifies a place in the text where a hyphenated break is allowed. It becomes visible only after word wrapping at the end of a line. | |
| padding | |||
| padding-bottom | |||
| padding-left | |||
| padding-right | |||
| padding-top | |||
| page | |||
| page-break-after | |||
| page-break-before | |||
| page-break-inside | |||
| position | fixed|absolute | relative | The absolute positioning is done relative to the direct parent. This is a limitation - CSS specifies that you can mark a parent block with position:relative, and absolute children will be placed relative to this. |
| right-property | |||
| size | |||
| string-set | content()|counter() | ||
| table-column-span | |||
| table-layout | fixed|auto | ||
| table-row-span | |||
| text-align | start|end|left|right|center|justify|justify-all | ||
| text-decoration | |||
| text-decoration-color | |||
| text-decoration-line | |||
| text-decoration-style | |||
| text-indent | |||
| text-transform | |||
| top-property | |||
| transform | |||
| transform-rotation | |||
| unicode-bidi | |||
| vertical-align | baseline | sub | super | text-top | text-bottom | middle | top | bottom | <length>|<percentage> | |
| visibility | |||
| white-space | normal | nowrap | pre | pre-wrap | ||
| widows | <number> | ||
| width |
Extension CSS Properties
| Property | Description | Supported Values |
|---|---|---|
| -oxy-alt-text | Used to specify an alternative description for the element that is used by the
PDF readers.
image {
-oxy-alt-text: "Image about: " attr(href);
} |
string |
| -oxy-hyphenation-character | Used to specify the Unicode character to be presented when a hyphenation break
occurs. To hide hyphens, use the space
character.pre {
-oxy-hyphenation-character: " ";
} |
<character>|inherit |
| -oxy-hyphenation-push-character-count | Used to specify the minimum number of characters in a hyphenated word after the
hyphenation character (the minimum number of characters in the word pushed to the next
line).p {
-oxy-hyphenation-push-character-count: "2";
} |
<number>|inherit |
| -oxy-hyphenation-remain-character-count | Used to specify the minimum number of characters in a hyphenated word before the
hyphenation character (the minimum number of characters in the word left on the line
ending with the hyphenation
character).p {
-oxy-hyphenation-remain-character-count: "2";
} |
<number>|inherit |
| -oxy-initial-page-number | Used to set the initial page number to be used on this particular page
sequence.@page chapter-page {
-oxy-initial-page-number: auto-odd;
} |
auto|auto-odd|auto-even|<number>|inherit |
| -oxy-force-page-count | Used to impose a constraint on the number of pages in a page sequence. If this
constraint is not satisfied, an additional page will be added to the end of the
sequence. This page becomes the "last" page of that
sequence.@page chapter-page {
-oxy-initial-page-number: auto-odd;
} |
auto|evenodd|end-on-even|end-on-odd|no-force|inherit |
| -oxy-link | Used to create links in the PDF
output.link {
-oxy-link: attr(href);
} |
none|url() |
| -oxy-page-group | Using the start value forces the creation of a new page group (sequence)
even if the page before the element has the same name. The auto value uses the
W3C algorithm normally, which would merge the current element with the opened page
sequence.chapter {
-oxy-page-group:start;
page: chapter;
} |
start|auto |
| -oxy-pdf-meta-author | Used to forward meta-information to the PDF. Represents the author of the
publication.meta[name='author'] {
-oxy-pdf-meta-author: attr(value);
} |
string |
| -oxy-pdf-meta-custom | Used to forward meta-information to the PDF. Represents a generic custom document
property. Should have two strings, the name and the
value.metadata {
-oxy-pdf-meta-custom: attr(name) attr(value);
} |
string |
| -oxy-pdf-meta-description | Used to forward meta-information to the PDF. Represents the description of the
publication.
meta[name='description'] {
-oxy-pdf-meta-description: attr(value);
} |
string |
| -oxy-pdf-meta-keyword | Used to forward meta-information to the PDF. Represents a single keyword from the
publication. The processor should aggregate all keyword definitions and separate them
by
comma.keyword {
-oxy-pdf-meta-keyword: content(text);
} |
string |
| -oxy-pdf-meta-keywords | Used to forward meta-information to the PDF. Represents the keywords of the
publication. The value should contain the keywords separated by
commas.meta[name='keywords'] {
-oxy-pdf-meta-keywords: attr(value);
} |
string |
| -oxy-pdf-meta-title | Used to forward meta-information to the PDF. Represents the title of the
publication.
meta[name='title'] {
-oxy-pdf-meta-title: attr(value);
} |
string |
| -oxy-pdf-tag-type | Maps an element to a PDF accessibility tag.
section {
-oxy-pdf-tag-type: "Sect";
} |
string |
| -oxy-style | An Oxygen extension used to define additional styles for an element (for example,
collected from an attribute).
div {
font-weight:bold;
color:red;
-oxy-style:attr(style);
}The
value of the style attribute from the div element is parsed as a collection of CSS
properties and applied over the current element styles. For instance, if the style
attribute has the value color:green; border: 1pt solid red, it will
combine with the existing properties, resulting
in:font-weight:bold;
color:green;
border: 1pt solid red |
css fragment |