CSS仕様の実装状況

Antenna House Formatter V7.5のCSS実装は、次の仕様に基づいて作成されています。

CSS3/CSS4仕様の多くは、まだドラフトやそれ以前の状態にあります。 上記のリンク先は、Antenna House Formatter V7.5 の実装のベースになっている仕様を指していますが、Antenna House Formatter V7.5 はそれを完全に実装しているわけではありません。 この文書中でのそれぞれのプロパティなどにベースとされた仕様へのリンクが含まれています。(先頭の [CSS3-GCPM] 等は、その仕様を引用するときの略称です)

  • [○]は機能が実装されている項目を表します。
  • [△]は部分的実装項目を表します。
  • [×]は未実装の項目を表します。

[○]であっても、実用上差し支えない範囲での制限が存在する場合があります。

実装済みの CSS3/CSS4 のプロパティとそれに対応する XSL-FO のプロパティについては、「XSL/CSSプロパティ」を参照してください。

CSS Level 2 Revision 1 (CSS 2.1)

4 Syntax and basic data types

仕様項目実装状況備考
4.3.5 Counters: counter(), counters() ○ ☞ counter() CSSページ組版入門counter()
4.4 @charset ○ ☞ 対応エンコーディング

5 Selectors

仕様項目実装状況備考
5.2.1 Grouping (,) ○
5.3 Universal selector (*) ○
5.4 Type selectors (E) ○
5.5 Descendant selectors (E F) ○
5.6 Child selectors (E > F) ○
5.7 Adjacent sibling selectors (E + F) ○
5.8.1 Matching attributes and attribute values ([att], [att=val], [att~=val], [att|=val]) ○
5.8.3 Class selectors (.class) ○
5.9 ID selectors (#id) ○
5.11.1 The :first-child pseudo-class ○
5.11.2 The link pseudo-classes: :link and :visited △ :visited には対応していません。
5.11.3 The dynamic pseudo-classes: :hover, :active and :focus ×
5.11.4 The language pseudo-class: :lang() ○
5.12.1 The :first-line pseudo-element ○
5.12.2 The :first-letter pseudo-element ○ 以下の display model の要素でのみ効果があります。
  • block
  • list-item
  • table-cell
  • table-caption
  • inline-block
指定要素内の最初のテキストを探しますが、画像または以下の display model の要素がテキストよりも前に現れたら ::first-letter は無視されます。
  • block 以外のブロック要素
  • inline-table
  • inline-block
  • ruby
content プロパティは無効です。無視されます。
☞ (-ah-)initial-letters
5.12.3 The :before and :after pseudo-elements ○

6 Assigning property values, Cascading, and Inheritance

仕様項目実装状況備考
6.2.1 The 'inherit' value ○
6.3 The @import rule ○ CSSページ組版入門@import
6.4.2 !important rules ○

7 Media types

仕様項目実装状況備考
7.2.1 The @media rule △ メディアタイプ 'print' および 'all' に対応。 'ah-formatter' というメディアタイプが指定でき、その@mediaが適用されます。これは、Antenna House Formatter V7.5以外では無効なメディアタイプとして扱われるでしょう。また、media-query には対応していませんが、not screen のように not を指定することはできます。 CSSページ組版入門@media

8 Box model

仕様項目実装状況備考
8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', 'margin' ○ CSSページ組版入門margin-topmargin-rightmargin-bottommargin-leftmargin
8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', 'padding' ○ CSSページ組版入門padding-toppadding-rightpadding-bottompadding-leftpadding
8.5.1 Border width: 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width', 'border-width' ○ CSSページ組版入門border-width
8.5.2 Border color: 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color', 'border-color' ○ 値が拡張されています。 ☞ <color>CSSページ組版入門border-color
8.5.3 Border style: 'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style', 'border-style' ○ 値が拡張されています。 ☞ <border-style> CSSページ組版入門border-style
8.5.4 Border shorthand properties: 'border-top', 'border-right', 'border-bottom', 'border-left', 'border' ○ CSSページ組版入門border-topborder-rightborder-bottomborder-leftborder

9 Visual formatting model

仕様項目実装状況備考
9.2.4 The 'display' property ○ 拡張されています。 ☞ display CSSページ組版入門display
9.3.1 Choosing a positioning scheme: 'position' ○
9.3.2 Box offsets: 'top', 'right', 'bottom', 'left' ○
9.5.1 Positioning the float: 'float' ○ float内の改ページ(改段)に対応。CSSページ組版入門float
9.5.2 Controlling flow next to floats: 'clear' ○ CSSページ組版入門clear
9.9.1 Specifying the stack level: 'z-index' ○
9.10 Text direction: 'direction', 'unicode-bidi' ○ [CSS3-WritingModes] ☞ unicode-bidi-rev

10 Visual formatting model details

仕様項目実装状況備考
10.2 Content width: 'width' ○ CSSページ組版入門width
10.4 Minimum and maximum widths: 'min-width', 'max-width' ○ CSSページ組版入門min-widthmax-width
10.5 Content height: 'height' ○ ルート要素以外での%指定は、親のブロックに高さが明示されていないときは無視されることになっています。Antenna House Formatter V7.5 では、heightが指定されたブロックが回転していたり、overflowにvisibleやauto以外が指定されている場合などは無視されません。 CSSページ組版入門height
10.7 Minimum and maximum heights: 'min-height', 'max-height' ○ table関係では、min-heightとheightの区別はありません。両方指定されたときは、どちらか大きい方の値がheightとして採用されます。 CSSページ組版入門min-heightmax-height
10.8 Line height calculations: 'line-height', 'vertical-align' ○ CSSページ組版入門line-heightvertical-align

11 Visual effects

仕様項目実装状況備考
11.1.1 Overflow: 'overflow' ○ scroll には対応していません。 拡張されています。 ☞ overflow
11.1.2 Clipping: 'clip' ○
11.2 Visibility: 'visibility' △ collapse は hidden とみなされます。

12 Generated content, automatic numbering, and lists

仕様項目実装状況備考
12.2 The 'content' property ○ open-quote, close-quote, no-open-quote, no-close-quote に対応。 Antenna House Formatter V7.5 では、content を以下の display model を持つ要素に適用できるように拡張しています。
  • inline
  • block
  • list-item
  • table-cell
  • table-caption
  • inline-block
  • ruby-base
  • ruby-text
  • flex
  • inline-flex
  • grid
  • inline-grid
CSSページ組版入門content
12.3.1 Specifying quotes with the 'quotes' property ○
12.4 Automatic counters and numbering: 'counter-reset', 'counter-increment' ○ counter-reset に 0 などの不正な値を指定したときは、前のページ番号+1 が指定されたとみなされます。 CSSページ組版入門counter-resetcounter-increment
12.5.1 Lists: 'list-style-type' ○ CSSページ組版入門list-style-type
12.5.1 Lists: 'list-style-image' ○ CSSページ組版入門list-style-image
12.5.1 Lists: 'list-style-position' ○ CSSページ組版入門list-style-position
12.5.1 Lists: 'list-style' ○ CSSページ組版入門list-style

13 Paged media

仕様項目実装状況備考
13.2 Page boxes: the @page rule ○ CSSページ組版入門@page
13.2.2 Page selectors: selecting left, right, and first pages (:left, :right, :first) ○ CSSページ組版入門:left:right:first
13.3.1 Page break properties: 'page-break-before', 'page-break-after', 'page-break-inside' ○ CSSページ組版入門page-break-beforepage-break-afterpage-break-inside
13.3.2 Breaks inside elements: 'orphans', 'widows' ○ CSSページ組版入門orphanswidows

14 Colors and Backgrounds

仕様項目実装状況備考
14.1 Foreground color: 'color' ○ 値が拡張されています。 ☞ <color>CSSページ組版入門color
14.2.1 Background properties: 'background-color' ○ 値が拡張されています。 ☞ <color>CSSページ組版入門background-color
14.2.1 Background properties: 'background-image' ○ CSSページ組版入門background-image
14.2.1 Background properties: 'background-repeat' ○ CSSページ組版入門background-repeat
14.2.1 Background properties: 'background-attachment' ○
14.2.1 Background properties: 'background-position' ○ CSSページ組版入門background-position
14.2.1 Background properties: 'background' ○

15 Fonts

仕様項目実装状況備考
15.3 Font family: 'font-family' ○ CSSページ組版入門font-family
15.4 Font styling: 'font-style' ○ CSSページ組版入門font-style
15.5 Small-caps: 'font-variant' ○ CSSページ組版入門font-variant
15.6 Font boldness: 'font-weight' ○ 1~1000 の任意の値を受け付けるように拡張されています。 CSSページ組版入門font-weight
15.7 Font size: 'font-size' ○ CSSページ組版入門font-size
15.8 Shorthand font property: 'font' ○ CSSページ組版入門font

16 Text

仕様項目実装状況備考
16.1 Indentation: 'text-indent' ○ [CSS3-Text] ☞ text-indent V7.5
16.2 Alignment: 'text-align' ○ CSSページ組版入門text-align
16.3.1 Underlining, overlining, striking, and blinking: 'text-decoration' ○ blink には対応していません。CSSページ組版入門text-decoration
16.4 Letter and word spacing: 'letter-spacing', 'word-spacing' ○
16.5 Capitalization: 'text-transform' ○
16.6 Whitespace: 'white-space' ○

17 Tables

仕様項目実装状況備考
17.4.1 Caption position and alignment: 'caption-side' ○ CSSページ組版入門caption-side
17.5.2 Table width algorithms: 'table-layout' ○ CSSページ組版入門table-layout
17.6.1 The separated borders model: 'border-spacing' ○ CSSページ組版入門border-spacing
17.6.1.1 Borders and Backgrounds around empty cells: 'empty-cells' ○
17.6.2 The collapsing border model: 'border-collapse' ○ CSSページ組版入門border-collapse

18 User interface

仕様項目実装状況備考
18.1 Cursors: 'cursor' ×
18.4 Dynamic outlines: 'outline' ×

CSS3/CSS4

実装済みの CSS3/CSS4 のプロパティとそれに対応する XSL-FO のプロパティについては、「XSL/CSSプロパティ」を参照してください。

Selectors

仕様項目実装状況備考
Subsequent-sibling combinator (E ~ F) ○ [CSS3-Selectors]
Substring matching attribute selectors ([att^=val], [att$=val], [att*=val]) ○ [CSS3-Selectors]

Namespaces

仕様項目実装状況備考
@namespace ○ [CSS3-Namespaces]
Qualified Names (ns|E) ○ [CSS3-Namespaces]

@ rules

仕様項目実装状況備考
@font-face △ [CSS3-Fonts] ☞ <axf:font-face> / @font-face CSSページ組版入門@font-face
@footnote ○ [CSS3-GCPM] footnote-display には対応していません。 ☞ CSSによる脚注・傍注 CSSページ組版入門@footnote
@sidenote ○ [CSS3-GCPM] (@sidenote は、2010-06-08以降のGCPMから削除されています) ☞ CSSによる脚注・傍注 CSSページ組版入門@sidenote
@page ○ [CSS3-Page] 拡張されています。 ☞ @page CSSページ組版入門@page
@top-left-corner ○ [CSS3-Page] overflow は無効です。 CSSページ組版入門@top-left-corner
@top-left ○
@top-center ○
@top-right ○
@top-right-corner ○
@left-top ○
@left-middle ○
@left-bottom ○
@right-top ○
@right-middle ○
@right-bottom ○
@bottom-left-corner ○
@bottom-left ○
@bottom-center ○
@bottom-right ○
@bottom-right-corner ○
@counter-style △ [CSS3-CounterStyles] symbols、additive-symbols などへの url() 指定はできません。 speak-as には対応していません。 ☞ <axf:counter-style> / @counter-style CSSページ組版入門@counter-style

Pseudo Classes

仕様項目実装状況備考
:root ○ [CSS3-Selectors]
:nth-child() ○ [CSS4-Selectors] [of S] の S に擬似要素を含めることはできません。
:nth-last-child() ○ [CSS4-Selectors] [of S] の S に擬似要素を含めることはできません。
:nth-of-type() ○ [CSS3-Selectors]
:nth-last-of-type() ○ [CSS3-Selectors]
:first-child ○ [CSS3-Selectors]
:last-child ○ [CSS3-Selectors]
:first-of-type ○ [CSS3-Selectors]
:last-of-type ○ [CSS3-Selectors]
:only-child ○ [CSS3-Selectors]
:only-of-type ○ [CSS3-Selectors]
:empty ○ [CSS3-Selectors]
:not() ○ [CSS4-Selectors] 引数のセレクタのいずれかが擬似要素や無効な擬似クラスのときは、その :not() は無効となります。
:is() ○ [CSS4-Selectors]
:where() ○ [CSS4-Selectors]
:has() ○ [CSS4-Selectors]
:nth() △ [CSS3-GCPM] <custom-ident> には対応していません。

Pseudo Elements

仕様項目実装状況備考
::footnote-call ○ [CSS3-GCPM] ☞ CSSによる脚注・傍注 CSSページ組版入門::footnote-call
::footnote-marker ○ [CSS3-GCPM] ☞ CSSによる脚注・傍注 CSSページ組版入門::footnote-marker
::sidenote-call ○ [CSS3-GCPM] (@sidenote は、2010-06-08以降のGCPMから削除されています) ☞ CSSによる脚注・傍注
::sidenote-marker ○ [CSS3-GCPM] (@sidenote は、2010-06-08以降のGCPMから削除されています) ☞ CSSによる脚注・傍注 CSSページ組版入門::sidenote-marker
::marker ○ [CSS3-Lists]CSSページ組版入門::marker
::before ○ [CSS3-Selectors] 拡張されています。 ☞ CSS ::before / ::after
::after ○

Functions

仕様項目実装状況備考
content() ○ [CSS3-GCPM]
string() ○ [CSS3-GCPM]CSSページ組版入門string()
running() ○ [CSS3-GCPM]CSSページ組版入門running()
element() ○ [CSS3-GCPM] element() を他の値と共に使うことはできません。単独で使ってください。 CSSページ組版入門element()
leader() ○ [CSS3-GCPM] ☞ leader() V7.5 CSSページ組版入門leader()
target-counter() ○ [CSS3-GCPM]CSSページ組版入門target-counter()
target-counters() × [CSS3-GCPM]
target-text() ○ [CSS3-GCPM]CSSページ組版入門target-text()
device-cmyk() ○ [CSS3-GCPM] (CYMK は、2014-05-13以降のGCPMから削除されています) CSSページ組版入門device-cmyk()
rgb() ○ [CSS3-Color] CSSページ組版入門rgb()
rgba() ○ [CSS3-Color] CSSページ組版入門rgba()
hsl() ○ [CSS3-Color]
hsla() ○ [CSS3-Color]
counter() ○ [CSS3-Page] ☞ counter() CSSページ組版入門counter()
counters() ○ [CSS3-Page] ☞ counter()
attr() ○ [CSS3-Values] ☞ attr()
url() ○ [CSS3-Values] ☞ URI
calc() ○ [CSS3-Values]
linear-gradient() ○ [CSS3-Images] ☞ linear-gradient()
radial-gradient() ○ [CSS3-Images] ☞ radial-gradient()
repeating-linear-gradient() ○ [CSS3-Images] ☞ repeating-linear-gradient()
repeating-radial-gradient() ○ [CSS3-Images] ☞ repeating-radial-gradient()
matrix() ○ [CSS3-Transforms] ☞ 変形
translate() ○ [CSS3-Transforms] ☞ 変形
translateX() ○ [CSS3-Transforms] ☞ 変形
translateY() ○ [CSS3-Transforms] ☞ 変形
scale() ○ [CSS3-Transforms] ☞ 変形
scaleX() ○ [CSS3-Transforms] ☞ 変形
scaleY() ○ [CSS3-Transforms] ☞ 変形
rotate() ○ [CSS3-Transforms] ☞ 変形
skew() ○ [CSS3-Transforms] ☞ 変形
skewX() ○ [CSS3-Transforms] ☞ 変形
skewY() ○ [CSS3-Transforms] ☞ 変形
symbols() △ [CSS3-CounterStyles] url() は指定できません。
var() ○ [CSS3-CustomProperties]
repeat() △ [CSS3-Grid] ふたつの repeat() の補間には対応していません。