| <!DOCTYPE html> |
| <meta charset="utf-8"> |
| <title>CSS Test: ::marker pseudo elements styled with 'content' property</title> |
| <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> |
| <link rel="match" href="marker-content-016-ref.html"> |
| <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo"> |
| <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#line-decoration"> |
| <meta name="assert" content="Checks that the 'content' property of a ::marker doesn't affect the propagation of text decorations."> |
| <style> |
| ::marker { |
| content: "[marker]"; |
| } |
| ol { |
| text-decoration: underline; |
| padding-left: 100px; |
| } |
| .inside { |
| list-style-position: inside; |
| } |
| </style> |
| <ol> |
| <li class="outside">outside</li> |
| <li class="inside">inside</li> |
| </ol> |