Index: Source/core/html/HTMLTableElement.cpp |
diff --git a/Source/core/html/HTMLTableElement.cpp b/Source/core/html/HTMLTableElement.cpp |
index 43a5367a9b34be449ae6902c0da1fc6c44467118..977949bdd3c40cd882681bf9e750bfd5d56f285b 100644 |
--- a/Source/core/html/HTMLTableElement.cpp |
+++ b/Source/core/html/HTMLTableElement.cpp |
@@ -36,6 +36,7 @@ |
#include "core/dom/Attribute.h" |
#include "core/dom/ElementTraversal.h" |
#include "core/dom/ExceptionCode.h" |
+#include "core/frame/UseCounter.h" |
#include "core/html/HTMLTableCaptionElement.h" |
#include "core/html/HTMLTableCellElement.h" |
#include "core/html/HTMLTableRowElement.h" |
@@ -316,9 +317,11 @@ void HTMLTableElement::collectStyleForPresentationAttribute(const QualifiedName& |
if (!value.isEmpty()) |
addHTMLLengthToStyle(style, CSSPropertyBorderSpacing, value); |
} else if (name == vspaceAttr) { |
+ UseCounter::count(document(), UseCounter::HTMLTableElementVspace); |
addHTMLLengthToStyle(style, CSSPropertyMarginTop, value); |
addHTMLLengthToStyle(style, CSSPropertyMarginBottom, value); |
} else if (name == hspaceAttr) { |
+ UseCounter::count(document(), UseCounter::HTMLTableElementHspace); |
addHTMLLengthToStyle(style, CSSPropertyMarginLeft, value); |
addHTMLLengthToStyle(style, CSSPropertyMarginRight, value); |
} else if (name == alignAttr) { |