Accessibility/TextAttributes: Difference between revisions

Jump to navigation Jump to search
Line 90: Line 90:


Note: the following characters in names and values need to be escaped with a backslash: backslash, colon, comma, equals, and semicolon.  
Note: the following characters in names and values need to be escaped with a backslash: backslash, colon, comma, equals, and semicolon.  
Question: for items with a default value, should we always just leave that attribute blank when the default value is used? For example, should we expose atext attribute for font-style=normal or text-align=left?


{| summary="Proposed Text Attributes" width="90%" border="1" cellspacing="1" cellpadding="1"
{| summary="Proposed Text Attributes" width="90%" border="1" cellspacing="1" cellpadding="1"
Line 129: Line 131:
|-
|-
| line-height
| line-height
| [http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height CSS2]
| [http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height CSS2] (Too vague? Wouldn't it be better to only provide one unit ever?)
| no default, always specified?
| no default, always specified?
|-
|-
| margin-bottom
| margin-bottom
| [http://www.w3.org/TR/REC-CSS2/box.html#propdef-margin-bottom CSS2]
| [http://www.w3.org/TR/REC-CSS2/box.html#propdef-margin-bottom CSS2] (Too vague? Wouldn't it be better to only provide one unit ever?)
| no default, always specified?
| no default, always specified?
|-
|-
| margin-left
| margin-left
| [http://www.w3.org/TR/REC-CSS2/box.html#propdef-margin-left CSS2]
| [http://www.w3.org/TR/REC-CSS2/box.html#propdef-margin-left CSS2] (Too vague? Wouldn't it be better to only provide one unit ever?)
| no default, always specified?
| no default, always specified?
|-
|-
| margin-right
| margin-right
| [http://www.w3.org/TR/REC-CSS2/box.html#propdef-margin-right CSS2]
| [http://www.w3.org/TR/REC-CSS2/box.html#propdef-margin-right CSS2] (Too vague? Wouldn't it be better to only provide one unit ever?)
| no default, always specified?
| no default, always specified?
|-
|-
Line 149: Line 151:
|-
|-
| text-indent
| text-indent
| [http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-indent CSS2]
| [http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-indent CSS2] (Too vague? Wouldn't it be better to only provide one unit ever?)
| no indent
| no indent
|-
|-
346

edits

Navigation menu