Index: core/testing/LayerRect.idl |
diff --git a/core/testing/LayerRect.idl b/core/testing/LayerRect.idl |
index 7cc2f5b840ac833a1d0a2f84c3eb899956658a31..effc2e66a8d5de37fe5f4ceeb09504590e94ad0b 100644 |
--- a/core/testing/LayerRect.idl |
+++ b/core/testing/LayerRect.idl |
@@ -29,9 +29,17 @@ |
*/ |
[ |
- NoInterfaceObject, // testing interfaces do not appear on global objects |
+ WillBeGarbageCollected, |
] interface LayerRect { |
- readonly attribute Node layerRootNode; |
+ /* The node that most closely represents the layer in which the rect |
+ occurs. When a layer doesn't correspond directly to a node (eg. |
+ for layer squashing) this will the node representing an ancestor |
+ layer. */ |
+ readonly attribute Node layerAssociatedNode; |
readonly attribute DOMString layerType; |
+ /* Offset of the associated node from the GraphicsLayer */ |
+ readonly attribute long associatedNodeOffsetX; |
+ readonly attribute long associatedNodeOffsetY; |
+ /* Rectange in the GraphicsLayer co-ordinate space */ |
readonly attribute ClientRect layerRelativeRect; |
}; |