CSS仕様の実装状況

AH Formatter V6.6のCSS実装は、次の仕様に基づいて作成されています。

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

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

CSS Level 2 Revision 1 (CSS 2.1)

4 Syntax and basic data types

仕様項目 実装状況 備考
4.3.5 Counters: counter(), counters() ○ ☞ 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 ○
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 ○
6.4.2 !important rules ○

7 Media types

仕様項目 実装状況 備考
7.2.1 The @media rule ○ メディアタイプ 'print' および 'all' に対応。

8 Box model

仕様項目 実装状況 備考
8.3 Margin properties: 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', 'margin' ○
8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', 'padding' ○
8.5.1 Border width: 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width', 'border-width' ○
8.5.2 Border color: 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color', 'border-color' ○ 値が拡張されています。☞ <color>
8.5.3 Border style: 'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style', 'border-style' ○
8.5.4 Border shorthand properties: 'border-top', 'border-right', 'border-bottom', 'border-left', 'border' ○

9 Visual formatting model

仕様項目 実装状況 備考
9.2.4 The 'display' property ○ 拡張されています。 ☞ 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内の改ページ(改段)に対応。
9.5.2 Controlling flow next to floats: 'clear' ○
9.9.1 Specifying the stack level: 'z-index' ○
9.10 Text direction: 'direction', 'unicode-bidi' ○

10 Visual formatting model details

仕様項目 実装状況 備考
10.2 Content width: 'width' ○
10.4 Minimum and maximum widths: 'min-width', 'max-width' ○
10.5 Content height: 'height' ○
10.7 Minimum and maximum heights: 'min-height', 'max-height' ○
10.8 Line height calculations: 'line-height', 'vertical-align' ○

11 Visual effects

仕様項目 実装状況 備考
11.1.1 Overflow: 'overflow' ○ scroll には対応していません。
11.1.2 Clipping: 'clip' ○
11.2 Visibility: 'visibility' ○ table-column への 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 に対応。
12.3.1 Specifying quotes with the 'quotes' property ○
12.4 Automatic counters and numbering: 'counter-reset', 'counter-increment' ○ counter-reset に 0 などの不正な値を指定したときは、前のページ番号+1 が指定されたとみなされます。
12.5.1 Lists: 'list-style-type' ○
12.5.1 Lists: 'list-style-image' ○
12.5.1 Lists: 'list-style-position' ○
12.5.1 Lists: 'list-style' ○

13 Paged media

仕様項目 実装状況 備考
13.2 Page boxes: the @page rule ○
13.2.2 Page selectors: selecting left, right, and first pages (:left, :right, :first) ○
13.3.1 Page break properties: 'page-break-before', 'page-break-after', 'page-break-inside' ○
13.3.2 Breaks inside elements: 'orphans', 'widows' ○

14 Colors and Backgrounds

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

15 Fonts

仕様項目 実装状況 備考
15.3 Font family: 'font-family' ○
15.4 Font styling: 'font-style' ○
15.5 Small-caps: 'font-variant' ○
15.6 Font boldness: 'font-weight' ○
15.7 Font size: 'font-size' ○
15.8 Shorthand font property: 'font' ○

16 Text

仕様項目 実装状況 備考
16.1 Indentation: 'text-indent' ○
16.2 Alignment: 'text-align' ○
16.3.1 Underlining, overlining, striking, and blinking: 'text-decoration' ○ blink には対応していません。
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' ○
17.5.2 Table width algorithms: 'table-layout' ○
17.6.1 The separated borders model: 'border-spacing' ○
17.6.1.1 Borders and Backgrounds around empty cells: 'empty-cells' ○
17.6.2 The collapsing border model: 'border-collapse' ○

18 User interface

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

CSS3

CSS3からのプロパティについては、「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
@footnote ○ [CSS3-GCPM] footnote-display には対応していません。 ☞ CSSによる脚注・傍注
@sidenote ○ [CSS3-GCPM] (@sidenote は、2010-06-08以降のGCPMから削除されています) ☞ CSSによる脚注・傍注
@page ○ [CSS3-Page]
@page :left, :right, :first, :blank ○ [CSS3-Page] 拡張されています。 ☞ @page
@top-left-corner ○ [CSS3-Page]
@top-left ○ [CSS3-Page]
@top-center ○ [CSS3-Page]
@top-right ○ [CSS3-Page]
@top-right-corner ○ [CSS3-Page]
@left-top ○ [CSS3-Page]
@left-middle ○ [CSS3-Page]
@left-bottom ○ [CSS3-Page]
@right-top ○ [CSS3-Page]
@right-middle ○ [CSS3-Page]
@right-bottom ○ [CSS3-Page]
@bottom-left-corner ○ [CSS3-Page]
@bottom-left ○ [CSS3-Page]
@bottom-center ○ [CSS3-Page]
@bottom-right ○ [CSS3-Page]
@bottom-right-corner ○ [CSS3-Page]
@counter-style △ [CSS3-CounterStyles] symbols、additive-symbols などへの utl() 指定はできません。 speak-as には対応していません。 ☞ <axf:counter-style> / @counter-style

Pseudo Classes

仕様項目 実装状況 備考
:root ○ [CSS3-Selectors]
:nth-child() ○ [CSS3-Selectors]
:nth-last-child() ○ [CSS3-Selectors]
: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() ○ [CSS3-Selectors]

Pseudo Elements

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

Functions

仕様項目 実装状況 備考
content() ○ [CSS3-GCPM]
string() ○ [CSS3-GCPM]
running() ○ [CSS3-GCPM]
element() ○ [CSS3-GCPM]
leader() ○ [CSS3-GCPM]
target-counter() ○ [CSS3-GCPM]
target-counters() ○ [CSS3-GCPM]
target-text() ○ [CSS3-GCPM]
device-cmyk() ○ [CSS3-GCPM] (CYMK は、2014-05-13以降のGCPMから削除されています)
rgb() ○ [CSS3-Color]
rgba() ○ [CSS3-Color]
hsl() ○ [CSS3-Color]
hsla() ○ [CSS3-Color]
counter() ○ [CSS3-Page] ☞ 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() は指定できません。
注意: symbols() の引数の区切りは空白です。カンマではありません。 symbols("*", "†", "‡") は誤りで、symbols("*" "†" "‡") でなければなりません。