W3cubDocs

/Support Tables

text-decoration styling

Method of defining the type, style and color of lines in the text-decoration property. These can be defined as shorthand (e.g. text-decoration: line-through dashed blue) or as single properties (e.g. text-decoration-color: blue)

Spec https://www.w3.org/TR/css-text-decor-3/#line-decoration
Status W3C Candidate Recommendation
IE Edge Firefox Chrome Safari Opera
      73 (5)    
    65 (4) 72 (5)    
    64 (4) 71 (5) TP (2,3,*)  
11 18 63 (4) 70 (5) 12 (2,3,*) 56 (5)
10 17 62 (4) 69 (5) 11.1 (2,3,*) 55 (5)
9 16 61 (4) 68 (5) 11 (2,3,*) 54 (5)
8 15 60 (4) 67 (5) 10.1 (2,3,*) 53 (5)
Show all
7 14 59 (4) 66 (5) 10 (2,3,*) 52 (5)
6 13 58 (4) 65 (5) 9.1 (2,3,*) 51 (5)
5.5 12 57 (4) 64 (5) 9 (2,3,*) 50 (5)
    56 (4) 63 (5) 8 (2,3,*) 49 (5)
    55 (4) 62 (5) 7.1 (2,4,*) 48 (5)
    54 (4) 61 (5) 7 47 (5)
    53 (4) 60 (5) 6.1 46 (5)
    52 (4) 59 (5) 6 45 (5)
    51 (4) 58 (5) 5.1 44 (5)
    50 (4) 57 (5) 5 43 (1,*)
    49 (4) 56 (1,*) 4 42 (1,*)
    48 (4) 55 (1,*) 3.2 41 (1,*)
    47 (4) 54 (1,*) 3.1 40 (1,*)
    46 (4) 53 (1,*)   39 (1,*)
    45 (4) 52 (1,*)   38 (1,*)
    44 (4) 51 (1,*)   37 (1,*)
    43 (4) 50 (1,*)   36 (1,*)
    42 (4) 49 (1,*)   35 (1,*)
    41 (4) 48 (1,*)   34
    40 (4) 47 (1,*)   33
    39 (4) 46 (1,*)   32
    38 (4) 45 (1,*)   31
    37 (4) 44 (1,*)   30
    36 (4) 43 (1,*)   29
    35 (4,*) 42 (1,*)   28
    34 (4,*) 41 (1,*)   27
    33 (4,*) 40 (1,*)   26
    32 (4,*) 39 (1,*)   25
    31 (4,*) 38 (1,*)   24
    30 (4,*) 37 (1,*)   23
    29 (4,*) 36 (1,*)   22
    28 (4,*) 35 (1,*)   21
    27 (4,*) 34 (1,*)   20
    26 (4,*) 33 (1,*)   19
    25 (4,*) 32 (1,*)   18
    24 (4,*) 31 (1,*)   17
    23 (4,*) 30 (1,*)   16
    22 (4,*) 29 (1,*)   15
    21 (4,*) 28 (1,*)   12.1
    20 (4,*) 27 (1,*)   12
    19 (4,*) 26 (1,*)   11.6
    18 (4,*) 25   11.5
    17 (4,*) 24   11.1
    16 (4,*) 23   11
    15 (4,*) 22   10.6
    14 (4,*) 21   10.5
    13 (4,*) 20   10.0-10.1
    12 (4,*) 19   9.5-9.6
    11 (4,*) 18   9
    10 (4,*) 17    
    9 (4,*) 16    
    8 (4,*) 15    
    7 (4,*) 14    
    6 (4,*) 13    
    5 12    
    4 11    
    3.6 10    
    3.5 9    
    3 8    
    2 7    
      6    
      5    
      4    
iOS Safari Opera Mini Android Browser Blackberry Browser Opera Mobile Android Chrome Android Firefox IE Mobile Android UC Browser Samsung Internet QQ Browser Baidu Browser
12 (2,*) all 67 10 46 (5) 70 (5) 63 11 11.8 (5) 7.2 (5) 1.2 7.12
11.3-11.4 (2,*)   4.4.3-4.4.4 7 12.1     10   6.2    
11.0-11.2 (2,*)   4.4   12         5    
10.3 (2,*)   4.2-4.3   11.5         4    
Show all
10.0-10.2 (2,*)   4.1   11.1              
9.3 (2,*)   4   11              
9.0-9.2 (2,*)   3   10              
8.1-8.4 (2,*)   2.3                  
8 (2,*)   2.2                  
7.0-7.1   2.1                  
6.0-6.1                      
5.0-5.1                      
4.2-4.3                      
4.0-4.1                      
3.2                      

Notes

All browsers support the CSS2 version of text-decoration, which matches only the text-decoration-line values (underline, etc.)

  1. Enabled in Chrome through the "experimental Web Platform features" flag in chrome://flags

  2. Partial support refers to not supporting the text-decoration-style property.

  3. Safari 8+ supports -webkit-text-decoration-skip with values none and skip (other values behave like none or skip)

  4. Partial support refers to not supporting the text-decoration-skip property.

  5. Partial support refers to text-decoration-skip only supporting value objects and ink.

* Partial support with prefix.

Resources

Data by caniuse.com
Licensed under the Creative Commons Attribution License v4.0.
http://caniuse.com/#feat=text-decoration