Lines Matching refs:border2
301 …orderValue compareBorders(const CollapsedBorderValue& border1, const CollapsedBorderValue& border2) in compareBorders() argument
304 if (!border2.exists()) in compareBorders()
307 return border2; in compareBorders()
310 if (border1.style() == BHIDDEN || border2.style() == BHIDDEN) in compareBorders()
314 if (border2.style() == BNONE) in compareBorders()
317 return border2; in compareBorders()
320 if (border1.width() != border2.width()) in compareBorders()
321 return border1.width() > border2.width() ? border1 : border2; in compareBorders()
324 if (border1.style() != border2.style()) in compareBorders()
325 return border1.style() > border2.style() ? border1 : border2; in compareBorders()
328 return border1.precedence >= border2.precedence ? border1 : border2; in compareBorders()