Lines Matching refs:border1
301 static CollapsedBorderValue compareBorders(const CollapsedBorderValue& border1, const CollapsedBord… in compareBorders() argument
305 return border1; in compareBorders()
306 if (!border1.exists()) in compareBorders()
310 if (border1.style() == BHIDDEN || border2.style() == BHIDDEN) in compareBorders()
315 return border1; in compareBorders()
316 if (border1.style() == BNONE) 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()