Skip to content

Commit

Permalink
minor fixation; remove snapshot information about Safari. (#13513)
Browse files Browse the repository at this point in the history
  • Loading branch information
debiru committed Mar 10, 2022
1 parent 4363836 commit fdd9b24
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,6 @@ Suppose we want to display the following for this HTML.

To make this happen, CSS must be written in combination with {{cssxref("counter-set")}} as follows. The reason is that {{cssxref("counter-reset")}} creates a new scope in Firefox 82 and later, when the specification was changed as described below, so it is not possible to reset the counter in the current scope again. To reset the counter for the current scope, you have to use `counter-set`.

However, there is another issue to consider. In fact, Safari and Safari on iOS have delayed `counter-set` support. If you want to match the behavior across all browsers, you need to use `counter-set` first, and apply `counter-reset` to only Safari. The following code does not take Safari into account.

#### CSS

```css
Expand Down

0 comments on commit fdd9b24

Please sign in to comment.