|
1 | 1 | <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: selector.src,v 2.39 1998-03-22 23:59:17 ijacobs Exp $ --> |
| 3 | +<!-- $Id: selector.src,v 2.40 1998-03-23 05:00:47 ijacobs Exp $ --> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
6 | 6 | <title>Selectors</title> |
@@ -149,7 +149,7 @@ href="#simple-selector">simple selector</a>, the '*' may be |
149 | 149 | omitted. For example:</P> |
150 | 150 |
|
151 | 151 | <ul> |
152 | | -<li><code>*[LANG=fr] </code>and <code>[LANG=fr]</code> are equivalent. |
| 152 | +<li><code>*[LANG=fr] </code> and <code>[LANG=fr]</code> are equivalent. |
153 | 153 | <li><code>*.warning</code> and <code>.warning</code> are equivalent. |
154 | 154 | <li><code>*#myid</code> and <code>#myid</code> are equivalent. |
155 | 155 | </ul> |
@@ -950,24 +950,24 @@ operator</a>. |
950 | 950 |
|
951 | 951 | <div class="example"> |
952 | 952 | <p>The following rules set the quotation marks for an HTML document |
953 | | -that is either in Frensh or German:</p> |
| 953 | +that is either in French or German:</p> |
954 | 954 |
|
955 | 955 | <pre> |
956 | | -HTML:lang(fr) { quoting: '� ' ' �' } |
957 | | -HTML:lang(de) { quoting: '�' '�' '\2039' '\203A' } |
958 | | -:lang(fr) > Q { quoting: '� ' ' �' } |
959 | | -:lang(de) > Q { quoting: '�' '�' '\2039' '\203A' } |
| 956 | +HTML:lang(fr) { quotes: '� ' ' �' } |
| 957 | +HTML:lang(de) { quotes: '�' '�' '\2039' '\203A' } |
| 958 | +:lang(fr) > Q { quotes: '� ' ' �' } |
| 959 | +:lang(de) > Q { quotes: '�' '�' '\2039' '\203A' } |
960 | 960 | </pre> |
961 | 961 |
|
962 | 962 | <!-- old example, HWL |
963 | | -HTML:lang(fr) { quoting: "�" "�" "\2039" "\203A" "\201C" "\201D" } |
964 | | -HTML:lang(de) { quoting: "�" "�" "\203A" "\2039" "\201E" "\201D" } |
965 | | -[LANG|=fr] > * { quoting: "�" "�" "\2039" "\203A" "\201C" "\201D" } |
966 | | -[LANG|=de] > * { quoting: "�" "�" "\203A" "\2039" "\201E" "\201D" } |
| 963 | +HTML:lang(fr) { quotes: "�" "�" "\2039" "\203A" "\201C" "\201D" } |
| 964 | +HTML:lang(de) { quotes: "�" "�" "\203A" "\2039" "\201E" "\201D" } |
| 965 | +[LANG|=fr] > * { quotes: "�" "�" "\2039" "\203A" "\201C" "\201D" } |
| 966 | +[LANG|=de] > * { quotes: "�" "�" "\203A" "\2039" "\201E" "\201D" } |
967 | 967 | --> |
968 | 968 |
|
969 | 969 | <p>The second pair of rules actually set the <span |
970 | | -class="propinst-quoting">'quoting'</span> property on Q elements |
| 970 | +class="propinst-quotes">'quotes'</span> property on Q elements |
971 | 971 | according to the language of its parent. This is done because the |
972 | 972 | choice of quote marks is typically based on the language of the |
973 | 973 | element around the quote, not the quote itself: like this piece of |
|
0 commit comments