mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 04:26:35 +02:00
Corrected type and api on DOMRect changed functions
This commit is contained in:
parent
b2b66b8960
commit
a01ccf458f
1 changed files with 10 additions and 5 deletions
|
@ -73,7 +73,8 @@
|
|||
|
||||
scope.changedFunctions = {
|
||||
getClientRects: {
|
||||
type: "domRect",
|
||||
type: "readout",
|
||||
api: "domRect",
|
||||
getStatus: getStatus,
|
||||
object: ["Range", "Element"],
|
||||
fakeGenerator: function(checker){
|
||||
|
@ -90,7 +91,8 @@
|
|||
}
|
||||
},
|
||||
getBoundingClientRect: {
|
||||
type: "domRect",
|
||||
type: "readout",
|
||||
api: "domRect",
|
||||
getStatus: getStatus,
|
||||
object: ["Range", "Element"],
|
||||
fakeGenerator: function(checker){
|
||||
|
@ -106,7 +108,8 @@
|
|||
}
|
||||
},
|
||||
getBounds: {
|
||||
type: "domRect",
|
||||
type: "readout",
|
||||
api: "domRect",
|
||||
getStatus: getStatus,
|
||||
object: ["DOMQuad"],
|
||||
fakeGenerator: function(checker){
|
||||
|
@ -121,7 +124,8 @@
|
|||
}
|
||||
},
|
||||
getBBox: {
|
||||
type: "domRect",
|
||||
type: "readout",
|
||||
api: "domRect",
|
||||
getStatus: getStatus,
|
||||
object: ["SVGGraphicsElement"],
|
||||
fakeGenerator: function(checker){
|
||||
|
@ -136,7 +140,8 @@
|
|||
}
|
||||
},
|
||||
getExtentOfChar: {
|
||||
type: "domRect",
|
||||
type: "readout",
|
||||
api: "domRect",
|
||||
getStatus: getStatus,
|
||||
object: ["SVGTextContentElement"],
|
||||
fakeGenerator: function(checker){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue