Skip to content

Commit 3b3f60c

Browse files
committed
Update webkitLineClamp support status in KDL and adjust TypeScript handling of supported properties
1 parent 455185e commit 3b3f60c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inputfiles/patches/cssom.kdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ interface CSSStyleProperties replaceReference=CSSStyleDeclaration {
1111

1212
// The corresponding standardized property is not supported by
1313
// anyone as of 2024-10.
14-
property webkitLineClamp supported=#false
14+
property webkitLineClamp supported=#true
1515
}

src/build/patches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function handleProperty(child: Node): Partial<Property> {
257257
: optionalMember("type", "string", child.properties?.type)),
258258
...optionalMember("readonly", "boolean", child.properties?.readonly),
259259
...optionalMember("deprecated", "string", child.properties?.deprecated),
260-
...optionalMember("deprecated", "boolean", child.properties?.supported)
260+
...(child.properties?.supported && { deprecated: false })
261261
};
262262
}
263263

0 commit comments

Comments
 (0)