getCounterValue()
method of the CSSPrimitiveValue
interface is used to get the counter value. If this CSS value doesn't contain a counter value, a DOMException
is raised. Modification to the corresponding style property can be achieved using the Counter
interface.