mirror of
https://github.com/servo/servo
synced 2026-05-13 10:27:03 +02:00
When CSS tables collapse borders, we need to compare their specificities to determine which border wins. One thing that the specificity takes into account is the border-style. We were manually mapping each possible BorderStyle to its priority, but Stylo already provides Ord, so we can just use that instead. Testing: Not needed, no behavior change Signed-off-by: Oriol Brufau <obrufau@igalia.com>