(style: Record<string, string>)
| 508 | } |
| 509 | |
| 510 | function hasOverflowClipping(style: Record<string, string>): boolean { |
| 511 | const overflowValues = [style.overflow, style['overflow-x'], style['overflow-y']] |
| 512 | |
| 513 | return overflowValues.some((value) => { |
| 514 | if (!value) return false |
| 515 | |
| 516 | const parts = normalizeStyleValue(value).toLowerCase().split(WHITESPACE_RE).filter(Boolean) |
| 517 | return parts.some((part) => OVERFLOW_CLIPPING_VALUES.has(part)) |
| 518 | }) |
| 519 | } |
| 520 | |
| 521 | function isNonRadiusBorderProperty(name: string): boolean { |
| 522 | return name.startsWith('border') && !name.includes('radius') |
no test coverage detected