Skip to content

Commit

Permalink
Add missing features for DOMRect API (#11679)
Browse files Browse the repository at this point in the history
This PR is a part of a project to add missing interfaces and interface features to BCD that are from an active spec (including WICG specs) and is supported in at least one browser.  This particular PR adds the missing features of the DOMRect API, populating the results using data from the [mdn-bcd-collector](https://mdn-bcd-collector.appspot.com) project (v3.2.1).

Tests Used: https://mdn-bcd-collector.appspot.com/tests/api/DOMRect

Co-authored-by: Philip Jägenstedt <[email protected]>
  • Loading branch information
queengooborg and foolip authored Aug 10, 2021
1 parent 0b79084 commit 230e430
Showing 1 changed file with 192 additions and 0 deletions.
192 changes: 192 additions & 0 deletions api/DOMRect.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,102 @@
}
}
},
"height": {
"__compat": {
"spec_url": "https://drafts.fxtf.org/geometry/#dom-domrect-height",
"support": {
"chrome": {
"version_added": "2"
},
"chrome_android": {
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "3"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "4"
},
"opera": {
"version_added": "9.5"
},
"opera_android": {
"version_added": "10.1"
},
"safari": {
"version_added": "4"
},
"safari_ios": {
"version_added": "3.2"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "2"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"width": {
"__compat": {
"spec_url": "https://drafts.fxtf.org/geometry/#dom-domrect-width",
"support": {
"chrome": {
"version_added": "2"
},
"chrome_android": {
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "3"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "4"
},
"opera": {
"version_added": "9.5"
},
"opera_android": {
"version_added": "10.1"
},
"safari": {
"version_added": "4"
},
"safari_ios": {
"version_added": "3.2"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "2"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"worker_support": {
"__compat": {
"description": "Available in workers",
Expand Down Expand Up @@ -272,6 +368,102 @@
"deprecated": false
}
}
},
"x": {
"__compat": {
"spec_url": "https://drafts.fxtf.org/geometry/#dom-domrect-x",
"support": {
"chrome": {
"version_added": "61"
},
"chrome_android": {
"version_added": "61"
},
"edge": {
"version_added": "79"
},
"firefox": {
"version_added": "31"
},
"firefox_android": {
"version_added": "31"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "48"
},
"opera_android": {
"version_added": "45"
},
"safari": {
"version_added": "10.1"
},
"safari_ios": {
"version_added": "10.3"
},
"samsunginternet_android": {
"version_added": "8.0"
},
"webview_android": {
"version_added": "61"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"y": {
"__compat": {
"spec_url": "https://drafts.fxtf.org/geometry/#dom-domrect-y",
"support": {
"chrome": {
"version_added": "61"
},
"chrome_android": {
"version_added": "61"
},
"edge": {
"version_added": "79"
},
"firefox": {
"version_added": "31"
},
"firefox_android": {
"version_added": "31"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "48"
},
"opera_android": {
"version_added": "45"
},
"safari": {
"version_added": "10.1"
},
"safari_ios": {
"version_added": "10.3"
},
"samsunginternet_android": {
"version_added": "8.0"
},
"webview_android": {
"version_added": "61"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
Expand Down

0 comments on commit 230e430

Please sign in to comment.