Index: Source/core/frame/UseCounter.cpp |
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp |
index 5c9ebde44d8b8ebdfcf0b7fe1248fc75e93355f6..0242a0d5f96311c1571c255d9f21fad1482c4f19 100644 |
--- a/Source/core/frame/UseCounter.cpp |
+++ b/Source/core/frame/UseCounter.cpp |
@@ -944,6 +944,21 @@ String UseCounter::deprecationMessage(Feature feature) |
case PermissionStatusStatus: |
return "PermissionStatus.status is deprecated and will be removed in M47, around November 2015. Please use PermissionStatus.state instead."; |
+ case ElementOffsetParent: |
+ return "'Element.offsetParent' is deprecated and will be removed in M47, around Novemver 2015. The offset* attributes are only standardized and widely supported for HTML elements."; |
+ |
+ case ElementOffsetTop: |
+ return "'Element.offsetTop' is deprecated and will be removed in M47, around Novemver 2015. The offset* attributes are only standardized and widely supported for HTML elements."; |
+ |
+ case ElementOffsetLeft: |
+ return "'Element.offsetLeft' is deprecated and will be removed in M47, around Novemver 2015. The offset* attributes are only standardized and widely supported for HTML elements."; |
+ |
+ case ElementOffsetWidth: |
+ return "'Element.offsetWidth' is deprecated and will be removed in M47, around Novemver 2015. The offset* attributes are only standardized and widely supported for HTML elements."; |
+ |
+ case ElementOffsetHeight: |
+ return "'Element.offsetHeight' is deprecated and will be removed in M47, around Novemver 2015. The offset* attributes are only standardized and widely supported for HTML elements."; |
+ |
// Features that aren't deprecated don't have a deprecation message. |
default: |
return String(); |