diff options
Diffstat (limited to 'Source/WebCore/html/InputType.cpp')
-rw-r--r-- | Source/WebCore/html/InputType.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/WebCore/html/InputType.cpp b/Source/WebCore/html/InputType.cpp index 4c4586523..d9097c4de 100644 --- a/Source/WebCore/html/InputType.cpp +++ b/Source/WebCore/html/InputType.cpp @@ -453,12 +453,10 @@ void InputType::createShadowSubtree() void InputType::destroyShadowSubtree() { - ElementShadow* shadow = element()->shadow(); - if (!shadow) + ShadowRoot* root = element()->userAgentShadowRoot(); + if (!root) return; - ShadowRoot* root = shadow->oldestShadowRoot(); - ASSERT(root->type() == ShadowRoot::UserAgentShadowRoot); root->removeAllChildren(); // It's ok to clear contents of all other ShadowRoots because they must have @@ -897,6 +895,12 @@ String InputType::defaultToolTip() const return String(); } +#if ENABLE(DATALIST_ELEMENT) +void InputType::listAttributeTargetChanged() +{ +} +#endif + bool InputType::supportsIndeterminateAppearance() const { return false; |