mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-30 23:38:47 +01:00
Corrected type and api on DOMRect changed functions
This commit is contained in:
parent
b2b66b8960
commit
a01ccf458f
@ -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…
x
Reference in New Issue
Block a user