mozilla

Compare Revisions

text-decoration-line

Change Revisions

Revision 328363:

Revision 328363 by netfuzzer on

Revision 328367:

Revision 328367 by netfuzzer on

Title:
"'><img src=x onerror=confirm(3);>
"'><img src=x onerror=confirm(3);>
Slug:
CSS/text-decoration-line
CSS/text-decoration-line
Tags:
css, CSS Reference,
"css", "CSS Reference"
Content:

Revision 328363
Revision 328367
t7    <div>t7    "'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img sr
 >c="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="co
 >nfirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt=""
 >>"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="
 >x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confi
 >rm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'
 >&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" 
 >onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(
 >3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt
 >;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" one
 >rror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);
 >" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<i
 >mg src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerro
 >r="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" a
 >lt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img 
 >src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="
 >confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt=
 >"">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src
 >="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="con
 >firm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">
 >"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x
 >" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confir
 >m(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&
 >gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" o
 >nerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3
 >);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;
 ><img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" oner
 >ror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);"
 > alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<im
 >g src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror
 >="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" al
 >t="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img s
 >rc="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="c
 >onfirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="
 >">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src=
 >"x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="conf
 >irm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"
 >'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x"
 > onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm
 >(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&g
 >t;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" on
 >error="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3)
 >;" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<
 >img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerr
 >or="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" 
 >alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img
 > src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror=
 >"confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt
 >="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img sr
 >c="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="co
 >nfirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt=""
 >>"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="
 >x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confi
 >rm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'
 >&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" 
 >onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(
 >3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt
 >;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" one
 >rror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);
 >" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<i
 >mg src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerro
 >r="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" a
 >lt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img 
 >src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="
 >confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt=
 >"">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src
 >="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="con
 >firm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">
 >"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x
 >" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confir
 >m(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&
 >gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" o
 >nerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3
 >);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;
 ><img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" oner
 >ror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);"
 > alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<im
 >g src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror
 >="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" al
 >t="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img s
 >rc="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="c
 >onfirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="
 >">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src=
 >"x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="conf
 >irm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"
 >'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x"
 > onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm
 >(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&g
 >t;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" on
 >error="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3)
 >;" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<
 >img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerr
 >or="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" 
 >alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img
 > src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror=
 >"confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt
 >="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img sr
 >c="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="co
 >nfirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt=""
 >>"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="
 >x" onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confi
 >rm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'
 >&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" 
 >onerror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(
 >3);" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt
 >;<img src="x" onerror="confirm(3);" alt="">"'&gt;<img src="x" one
 >rror="confirm(3);" alt="">"'&gt;<img src="x" onerror="confirm(3);
 >" alt="">"'&gt;<img src="x" onerror="confirm(3);" alt="">"'&gt;<i
 >mg src="x" onerror="confirm(3);" alt="">
8      {{ CSSRef() }}
9    </div>
10    <p>
11      &nbsp;
12    </p>
13    <h2 id="Summary" name="Summary">
14      Summary
15    </h2>
16    <p>
17      <embed src="data:text/html,aaaaa">
18    </p>
19    <p>
20      The <code>text-decoration-line</code> CSS property sets wha
>t kind of line decorations are added to an element. 
21    </p>
22    <p>
23      Underline and overline decorations are positioned under the
> text, line-through over it. 
24    </p>
25    <ul class="cssprop">
26      <li>
27        <dfn>{{ Xref_cssinitial() }}</dfn> <code>none</code>
28      </li>
29      <li>
30        <dfn>Applies to</dfn> all elements
31      </li>
32      <li>
33        <dfn>{{ Xref_cssinherited() }}</dfn> no
34      </li>
35      <li>
36        <dfn>Media</dfn> {{ Xref_cssvisual() }}
37      </li>
38      <li>
39        <dfn>{{ Xref_csscomputed() }}</dfn> as specified
40      </li>
41    </ul>
42    <p>
43      <img src="xx" alt="">
44    </p>
45    <h2 id="Syntax" name="Syntax">
46      Syntax
47    </h2>
48    <pre class="syntaxbox">
49text-decoration-line: none | underline || overline || line-throug
>h 
50</pre>
51    <h3 id="Value" name="Value">
52      Values
53    </h3>
54    <p>
55      Accepts <strong>one or more</strong> whitespace separated v
>alues: 
56    </p>
57    <dl>
58      <dt>
59        <code>none</code>
60      </dt>
61      <dd>
62        Produces no text decoration.
63      </dd>
64      <dt>
65        <code>underline</code>
66      </dt>
67      <dd>
68        Each line of text is underlined.
69      </dd>
70      <dt>
71        <code>overline</code>
72      </dt>
73      <dd>
74        Each line of text has a line above it.
75      </dd>
76      <dt>
77        <code>line-through</code>
78      </dt>
79      <dd>
80        Each line of text has a line through the middle.
81      </dd>
82      <dt>
83        <code>-moz-anchor-decoration</code>
84      </dt>
85      <dd>
86        <a href="/en-US/docs/CSS/CSS_Reference/Mozilla_Extensions
>" title="CSS_Reference/Mozilla_Extensions">Mozilla CSS Extension< 
>/a>, not suitable for web content. 
87      </dd>
88    </dl>
89    <h2 id="Notes" name="Notes">
90      Notes
91    </h2>
92    <p>
93      In contrast to {{ cssxref("text-decoration") }}, the <code>
>-moz-text-decoration-line</code> property does <strong>not</stron 
>g> accept the <code>blink</code> value. You might use {{ cssxref( 
>"-moz-text-blink") }} instead. 
94    </p>
95    <h2 id="Examples" name="Examples">
96      Examples
97    </h2>
98    <pre class="brush: css; highlight:[2]">
99.example { 
100  text-decoration-line: underline;
101  text-decoration-style: wavy;
102  text-decoration-color: red;
103}
104</pre>
105    <h2 id="Specifications" name="Specifications">
106      Specifications
107    </h2>
108    <table class="standard-table">
109      <thead>
110        <tr>
111          <th scope="col">
112            Specification
113          </th>
114          <th scope="col">
115            Status
116          </th>
117          <th scope="col">
118            Comment
119          </th>
120        </tr>
121      </thead>
122      <tbody>
123        <tr>
124          <td>
125            {{ SpecName('CSS3 Text-decoration', '#text-decoration
>-line', 'text-decoration-line') }} 
126          </td>
127          <td>
128            {{ Spec2('CSS3 Text-decoration') }}
129          </td>
130          <td>
131            &nbsp;
132          </td>
133        </tr>
134      </tbody>
135    </table>
136    <h2 id="Browser_compatibility">
137      Browser compatibility
138    </h2>
139    <p>
140      {{ CompatibilityTable() }}
141    </p>
142    <div id="compat-desktop">
143      <table class="compat-table">
144        <tbody>
145          <tr>
146            <th>
147              Feature
148            </th>
149            <th>
150              Chrome
151            </th>
152            <th>
153              Firefox (Gecko)
154            </th>
155            <th>
156              Internet Explorer
157            </th>
158            <th>
159              Opera
160            </th>
161            <th>
162              Safari
163            </th>
164          </tr>
165          <tr>
166            <td>
167              Basic support
168            </td>
169            <td>
170              {{ CompatUnknown() }}
171            </td>
172            <td>
173              {{ CompatGeckoDesktop("6.0") }}{{ property_prefix("
>-moz") }} 
174            </td>
175            <td>
176              {{ CompatUnknown() }}
177            </td>
178            <td>
179              {{ CompatUnknown() }}
180            </td>
181            <td>
182              {{ CompatUnknown() }}
183            </td>
184          </tr>
185        </tbody>
186      </table>
187    </div>
188    <div id="compat-mobile">
189      <table class="compat-table">
190        <tbody>
191          <tr>
192            <th>
193              Feature
194            </th>
195            <th>
196              Android
197            </th>
198            <th>
199              Chrome for Android
200            </th>
201            <th>
202              Firefox Mobile (Gecko)
203            </th>
204            <th>
205              IE Mobile
206            </th>
207            <th>
208              Opera Mobile
209            </th>
210            <th>
211              Safari Mobile
212            </th>
213          </tr>
214          <tr>
215            <td>
216              Basic support
217            </td>
218            <td>
219              {{ CompatUnknown() }}
220            </td>
221            <td>
222              {{ CompatUnknown() }}
223            </td>
224            <td>
225              {{ CompatGeckoMobile("6.0") }}{{ property_prefix("-
>moz") }} 
226            </td>
227            <td>
228              {{ CompatUnknown() }}
229            </td>
230            <td>
231              {{ CompatUnknown() }}
232            </td>
233            <td>
234              {{ CompatUnknown() }}
235            </td>
236          </tr>
237        </tbody>
238      </table>
239    </div>
240    <h2 id="See_also" name="See_also">
241      See also
242    </h2>
243    <ul>
244      <li>{{ CSS_Reference:Text() }}
245      </li>
246    </ul>

Back to History