Lines Matching refs:weight
275 if (pattern.weight() == current.weight()) { in matchStyleCSS3()
277 } else if (pattern.weight() <= 500) { in matchStyleCSS3()
278 if (400 <= pattern.weight() && pattern.weight() < 450) { in matchStyleCSS3()
279 if (450 <= current.weight() && current.weight() <= 500) { in matchStyleCSS3()
285 if (current.weight() <= pattern.weight()) { in matchStyleCSS3()
286 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
288 currentScore += 1000 - current.weight(); in matchStyleCSS3()
290 } else if (pattern.weight() > 500) { in matchStyleCSS3()
291 if (current.weight() > pattern.weight()) { in matchStyleCSS3()
292 currentScore += 1000 + pattern.weight() - current.weight(); in matchStyleCSS3()
294 currentScore += current.weight(); in matchStyleCSS3()