Skip to content

Commit f9b91e2

Browse files
authored
Update article.md
'forbids to apply' -> 'forbids applying'
1 parent 7ca5f53 commit f9b91e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 2-ui/1-document/08-styles-and-classes/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Visited links may be colored using `:visited` CSS pseudoclass.
282282

283283
But `getComputedStyle` does not give access to that color, because otherwise an arbitrary page could find out whether the user visited a link by creating it on the page and checking the styles.
284284

285-
JavaScript may not see the styles applied by `:visited`. And also, there's a limitation in CSS that forbids to apply geometry-changing styles in `:visited`. That's to guarantee that there's no sideway for an evil page to test if a link was visited and hence to break the privacy.
285+
JavaScript may not see the styles applied by `:visited`. And also, there's a limitation in CSS that forbids applying geometry-changing styles in `:visited`. That's to guarantee that there's no sideway for an evil page to test if a link was visited and hence to break the privacy.
286286
```
287287
288288
## Summary

0 commit comments

Comments
 (0)