mozilla

Compare Revisions

white-space

Change Revisions

Revision 292387:

Revision 292387 by teoli on

Revision 292388:

Revision 292388 by teoli on

Title:
white-space
white-space
Slug:
CSS/white-space
CSS/white-space
Tags:
css, CSS Reference, NeedsExample
css, CSS Reference, NeedsExample, NeedsMobileBrowserCompatibility, CSS3, CSS3-text
Content:

Revision 292387
Revision 292388
n62        pre-wrap {{ Fx_minversion_inline(3) }}n62        pre-wrap
n68        pre-line {{ Fx_minversion_inline(3.5) }}n68        pre-line
n170    <pre>n170    <pre class="brush: css">
n175    <h2 id="Notes">n
176      Notes
177    </h2>
178    <p>
179      <code>white-space:pre-line</code> is not implemented in Fir
>efox prior to version 3.5 (Gecko 1.9.1). 
180    </p>
nn220    <p>
221      {{ CompatibilityTable() }}
222    </p>
223    <div id="compat-desktop">
224      <table class="compat-table">
225        <tbody>
226          <tr>
227            <th>
228              Feature
229            </th>
230            <th>
231              Chrome
232            </th>
233            <th>
234              Firefox (Gecko)
235            </th>
236            <th>
237              Internet Explorer
238            </th>
239            <th>
240              Opera
241            </th>
242            <th>
243              Safari (WebKit)
244            </th>
245          </tr>
246          <tr>
247            <td>
248              Basic support (<code>normal</code> and <code>nowrap
 ></code>)
249            </td>
250            <td>
251              1.0
252            </td>
253            <td>
254              {{ CompatGeckoDesktop("1.0") }}
255            </td>
256            <td>
257              5.5 [*]
258            </td>
259            <td>
260              4.0
261            </td>
262            <td>
263              1.0 (85)
264            </td>
265          </tr>
266          <tr>
267            <td>
268              <code>pre</code>
269            </td>
270            <td>
271              1.0
272            </td>
273            <td>
274              1.0
275            </td>
276            <td>
277              6.0
278            </td>
279            <td>
280              4.0
281            </td>
282            <td>
283              1.0 (85)
284            </td>
285          </tr>
286          <tr>
287            <td>
288              <code>pre-wrap</code>
289            </td>
290            <td>
291              1.0
292            </td>
293            <td>
294              {{ CompatGeckoDesktop("1.0") }} — {{ CompatGeckoDes
 >ktop("1.9.1") }} {{ prefixed_property("-moz") }}<br>
295              {{ CompatGeckoDesktop("1.9") }}
296            </td>
297            <td>
298              8.0
299            </td>
300            <td>
301              8.0
302            </td>
303            <td>
304              3.0 (522)
305            </td>
306          </tr>
307          <tr>
308            <td>
309              <code>pre-line</code>
310            </td>
311            <td>
312              1.0
313            </td>
314            <td>
315              {{ CompatGeckoDesktop("1.9.1") }}
316            </td>
317            <td>
318              8.0
319            </td>
320            <td>
321              9.5
322            </td>
323            <td>
324              3.0 (522)
325            </td>
326          </tr>
327        </tbody>
328      </table>
329    </div>
226    <table class="standard-table">330    <table class="compat-table">
t230            Browsert334            Feature
231          </th>
232          <th>335          </th>
233            Lowest version
234          </th>336          <th>
337            Android
235          <th>338          </th>
236            Support of
237          </th>339          <th>
340            Firefox Mobile (Gecko)
238        </tr>341          </th>
342          <th>
343            IE Phone
344          </th>
345          <th>
346            Opera Mobile
347          </th>
348          <th>
349            Safari Mobile
350          </th>
239        <tr>351        </tr>
240          <td rowspan="4">352        <tr>
241            Internet Explorer
242          </td>353          <td>
354            Basic support
243          <td>355          </td>
244            5.5
245          </td>356          <td>
357            {{ CompatUnknown() }}
246          <td>358          </td>
247            <code>normal | nowrap</code>
248          </td>359          <td>
249        </tr>360            {{ CompatUnknown() }}
250        <tr>
251          <td>361          </td>
252            5.5
253          </td>362          <td>
363            {{ CompatUnknown() }}
254          <td>364          </td>
255            [*]
256          </td>365          <td>
257        </tr>366            {{ CompatUnknown() }}
258        <tr>
259          <td>367          </td>
260            6.0
261          </td>368          <td>
262          <td>369            {{ CompatUnknown() }}
263            <code>normal | pre | nowrap</code>
264          </td>
265        </tr>
266        <tr>
267          <td>
268            <strong>8.0</strong>
269          </td>
270          <td>
271            <code>normal | pre | nowrap | pre-wrap | pre-line</co
>de> 
272          </td>
273        </tr>
274        <tr style="border-top: 2px solid silver;">
275          <td rowspan="3">
276            Firefox (Gecko)
277          </td>
278          <td>
279            1.0 (1.0)
280          </td>
281          <td>
282            <code>normal | pre | nowrap | -moz-pre-wrap</code>
283          </td>
284        </tr>
285        <tr>
286          <td>
287            3.0 (1.9)
288          </td>
289          <td>
290            <code>normal | pre | nowrap | pre-wrap | -moz-pre-wra
>p</code> 
291          </td>
292        </tr>
293        <tr>
294          <td>
295            <strong>3.5</strong> (1.9.1)
296          </td>
297          <td>
298            <code>normal | pre | nowrap | pre-wrap | pre-line</co
>de> 
299          </td>
300        </tr>
301        <tr style="border-top: 2px solid silver;">
302          <td rowspan="3">
303            Opera
304          </td>
305          <td>
306            4.0
307          </td>
308          <td>
309            <code>normal | pre | nowrap</code>
310          </td>
311        </tr>
312        <tr>
313          <td>
314            8.0
315          </td>
316          <td>
317            <code>normal | pre | nowrap | pre-wrap</code>
318          </td>
319        </tr>
320        <tr>
321          <td>
322            <strong>9.5</strong>
323          </td>
324          <td>
325            <code>normal | pre | nowrap | pre-wrap | pre-line</co
>de> 
326          </td>
327        </tr>
328        <tr style="border-top: 2px solid silver;">
329          <td rowspan="2">
330            Safari (WebKit)
331          </td>
332          <td>
333            1.0 (85)
334          </td>
335          <td>
336            <code>normal | pre | nowrap</code>
337          </td>
338        </tr>
339        <tr>
340          <td>
341            <strong>3.0</strong> (522)
342          </td>
343          <td>
344            <code>normal | pre | nowrap | pre-wrap | pre-line</co
>de> 

Back to History