Skip to content

Commit 8046e09

Browse files
Bashamegasaschanaz
andauthored
Migrate MutationRecord to KDL (#2372)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent f219a32 commit 8046e09

File tree

4 files changed

+12
-21
lines changed

4 files changed

+12
-21
lines changed

inputfiles/knownTypes.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"HmacKeyGenParams",
3333
"ImageBitmapRenderingContextSettings",
3434
"Keyframe",
35-
"MutationRecordType",
3635
"NamedCurve",
3736
"OptionalPrefixToken",
3837
"OptionalPostfixToken",

inputfiles/overridingTypes.jsonc

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,16 +1457,6 @@
14571457
]
14581458
}
14591459
},
1460-
"HTMLTableRowElement": {
1461-
"properties": {
1462-
"property": {
1463-
"cells": {
1464-
"name": "cells",
1465-
"overrideType": "HTMLCollectionOf<HTMLTableCellElement>"
1466-
}
1467-
}
1468-
}
1469-
},
14701460
"XMLHttpRequestEventTarget": {
14711461
"properties": {
14721462
"property": {
@@ -1553,16 +1543,6 @@
15531543
}
15541544
}
15551545
},
1556-
"MutationRecord": {
1557-
"properties": {
1558-
"property": {
1559-
"type": {
1560-
"name": "type",
1561-
"overrideType": "MutationRecordType"
1562-
}
1563-
}
1564-
}
1565-
},
15661546
"URL": {
15671547
"constructor": {
15681548
"signature": {

inputfiles/patches/dom.kdl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ interface Document {
2626
}
2727
}
2828

29+
interface MutationRecord {
30+
property type type=MutationRecordType
31+
}
32+
2933
enum InsertPosition {
3034
beforebegin
3135
beforeend

inputfiles/patches/html.kdl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ interface HTMLTableSectionElement {
3636
}
3737
}
3838

39+
interface HTMLTableRowElement {
40+
property cells {
41+
type HTMLCollectionOf {
42+
type HTMLTableCellElement
43+
}
44+
}
45+
}
46+
3947
interface HTMLMeterElement {
4048
property labels {
4149
type NodeListOf {

0 commit comments

Comments
 (0)