What is automatic contour in webkit?

What does auto mean when I write:

 :focus { outline: auto 5px -webkit-focus-ring-color } 

Not documented here , and I cannot find the documentation elsewhere.

+6
source share
2 answers

You use shorthand for outline-* properties; auto represents the value for outline-style and auto in itself means that it is browser dependent to decide what to do based on the context of the element.

+5
source

I would like to note that nothing is displayed in IE auto , and you will have to explicitly declare what type of border you want to use. The Alex K link is a good demonstration of how other popular browsers work.

0
source

Source: https://habr.com/ru/post/897964/


All Articles