The styling process - algorithm
Traverse document depth-first, left to right,
for each element:
Set properties to their initial value
Find all rules that apply
Sort them (to exclude those that are overridden)
Set the properties
Bert Bos
9 of 22