Document new CSS properties

Add caret-animation, caret-shape and the caret shorthand to the docs.
This commit is contained in:
Matthias Clasen
2016-01-11 00:09:34 -05:00
parent 7061fe1c6a
commit 79ba8a5f8e

View File

@@ -257,10 +257,64 @@ We use <literallayout> for syntax productions, and each line is put in a <code>
<entry></entry>
<entry>Used for the secondary caret in bidirectional text</entry>
</row>
<row>
<entry>caret-animation</entry>
<entry><code>〈caret animation〉</code></entry>
<entry><code>auto</code></entry>
<entry></entry>
<entry></entry>
<entry><ulink url="http://www.w3.org/TR/css-ui-4/#caret-animation">CSS4</ulink></entry>
<entry>CSS allows a fade value</entry>
</row>
<row>
<entry>caret-shape</entry>
<entry><code>〈caret shape〉</code></entry>
<entry><code>auto</code></entry>
<entry></entry>
<entry></entry>
<entry><ulink url="http://www.w3.org/TR/css-ui-4/#caret-shape">CSS4</ulink></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
<tgroup cols="5">
<thead>
<row><entry>Shorthand</entry><entry>Value</entry><entry>Initial</entry><entry>Reference</entry><entry>Notes</entry></row>
</thead>
<tbody>
<row>
<entry>caret</entry>
<entry><code>〈caret-color〉 || 〈caret-animation〉 || 〈caret-shape〉</code></entry>
<entry>see individual properties</entry>
<entry><ulink url="http://www.w3.org/TR/css-ui-4/#caret">CSS4</ulink></entry>
<entry>-gtk-secondary-caret-color is set to the same value as caret-color</entry>
</row>
</tbody>
</tgroup>
</table>
<literallayout><code>〈caret animation〉 = auto | blink | none</code>
<code>〈caret shape〉 = auto | bar | block | underscore</code>
</literallayout>
<para>
The text decoration properties determine whether to apply extra decorations
when rendering text.
</para>
<table pgwide="1">
<title>Icon Properties</title>
<tgroup cols="7">
<colspec colnum="4" align="center"/>
<colspec colnum="5" align="center"/>
<thead>
<row><entry>Name</entry><entry>Value</entry><entry>Initial</entry><entry>Inh.</entry><entry>Ani.</entry><entry>Reference</entry><entry>Notes</entry></row>
</thead>
<tbody>
<row>
<entry>gtkiconsource</entry>
<entry><code>builtin | 〈image〉 | none</code></entry>
<entry><code>builtin</code></entry>
<para>
The caret properties provide a way to change the appearance of the insertion
caret in editable text.