Remove obsolete parts of <datalist> support code
authorkeishi@webkit.org <keishi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Apr 2012 01:17:19 +0000 (01:17 +0000)
committerkeishi@webkit.org <keishi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Apr 2012 01:17:19 +0000 (01:17 +0000)
commit0684e0f399d9ee032bf0719613ef27bf7a3b6a61
treeeaef34bcc3fa903c669ae6f5cf69a0c8baf26557
parentc8dded45f1b17a9aed7303466baabf08870835ca
Remove obsolete parts of <datalist> support code
https://bugs.webkit.org/show_bug.cgi?id=83117

Source/WebCore:

Removing HTMLInputElement::selectedOption because it was removed from the specification.
Removing -webkit-appearance:list-button and -webkit-input-list-button pseudo selector
related code because we decided not to use it.

Reviewed by Kent Tamura.

* WebCore.order:
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
* css/CSSSelector.cpp:
(WebCore::CSSSelector::pseudoId):
(WebCore::nameToPseudoTypeMap):
(WebCore::CSSSelector::extractPseudoType):
* css/CSSSelector.h:
* css/CSSValueKeywords.in:
* css/html.css:
(datalist):
* html/HTMLInputElement.cpp:
* html/HTMLInputElement.h:
(HTMLInputElement):
* html/HTMLInputElement.idl:
* inspector/front-end/SourceCSSTokenizer.js:
(WebInspector.SourceCSSTokenizer):
* inspector/front-end/SourceCSSTokenizer.re2js:
* inspector/front-end/StylesSidebarPane.js:
* platform/ThemeTypes.h:
* platform/chromium/ThemeChromiumMac.mm:
(WebCore::setupButtonCell):
(WebCore::paintButton):
(WebCore::ThemeChromiumMac::controlSize):
(WebCore::ThemeChromiumMac::minimumControlSize):
(WebCore::ThemeChromiumMac::controlBorder):
(WebCore::ThemeChromiumMac::paint):
* platform/mac/ThemeMac.mm:
(WebCore::setUpButtonCell):
(WebCore::paintButton):
(WebCore::ThemeMac::controlSize):
(WebCore::ThemeMac::minimumControlSize):
(WebCore::ThemeMac::controlBorder):
(WebCore::ThemeMac::paint):
* platform/qt/RenderThemeQtMobile.cpp:
(WebCore::RenderThemeQtMobile::computeSizeBasedOnStyle):
* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::adjustStyle):
(WebCore::RenderTheme::paint):
(WebCore::RenderTheme::paintBorderOnly):
(WebCore::RenderTheme::paintDecorations):
* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::adjustRepaintRect):

LayoutTests:

Removed tests for HTMLInputElement.selectedOption and -webkit-appearance:list-button.

Reviewed by Kent Tamura.

* fast/forms/datalist/input-selectedoption-expected.txt: Removed.
* fast/forms/datalist/input-selectedoption.html: Removed.
* platform/chromium-linux/fast/forms/datalist/input-selectedoption-expected.png: Removed.
* platform/chromium-mac-leopard/fast/forms/datalist/input-selectedoption-expected.png: Removed.
* platform/chromium-mac/fast/forms/datalist/input-selectedoption-expected.png: Removed.
* platform/chromium-mac/fast/forms/datalist/input-selectedoption-expected.txt: Removed.
* platform/chromium-win/fast/forms/datalist/input-selectedoption-expected.png: Removed.
* platform/chromium-win/fast/forms/datalist/input-selectedoption-expected.txt: Removed.
* platform/chromium-win/platform/mac/fast/forms/input-list-button-size-expected.png: Removed.
* platform/gtk/fast/forms/input-selectedoption-expected.txt: Removed.
* platform/mac-leopard/fast/forms/input-list-button-size-expected.png: Removed.
* platform/mac/Skipped:
* platform/mac/fast/forms/input-list-button-size-expected.png: Removed.
* platform/mac/fast/forms/input-list-button-size-expected.txt: Removed.
* platform/mac/fast/forms/input-list-button-size.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@113532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
36 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/forms/datalist/input-selectedoption-expected.txt [deleted file]
LayoutTests/fast/forms/datalist/input-selectedoption.html [deleted file]
LayoutTests/platform/chromium-linux/fast/forms/datalist/input-selectedoption-expected.png [deleted file]
LayoutTests/platform/chromium-mac-leopard/fast/forms/datalist/input-selectedoption-expected.png [deleted file]
LayoutTests/platform/chromium-mac/fast/forms/datalist/input-selectedoption-expected.png [deleted file]
LayoutTests/platform/chromium-mac/fast/forms/datalist/input-selectedoption-expected.txt [deleted file]
LayoutTests/platform/chromium-win/fast/forms/datalist/input-selectedoption-expected.png [deleted file]
LayoutTests/platform/chromium-win/fast/forms/datalist/input-selectedoption-expected.txt [deleted file]
LayoutTests/platform/chromium-win/platform/mac/fast/forms/input-list-button-size-expected.png [deleted file]
LayoutTests/platform/gtk/fast/forms/input-selectedoption-expected.txt [deleted file]
LayoutTests/platform/mac-leopard/fast/forms/input-list-button-size-expected.png [deleted file]
LayoutTests/platform/mac/Skipped
LayoutTests/platform/mac/fast/forms/input-list-button-size-expected.png [deleted file]
LayoutTests/platform/mac/fast/forms/input-list-button-size-expected.txt [deleted file]
LayoutTests/platform/mac/fast/forms/input-list-button-size.html [deleted file]
Source/WebCore/ChangeLog
Source/WebCore/WebCore.order
Source/WebCore/css/CSSPrimitiveValueMappings.h
Source/WebCore/css/CSSSelector.cpp
Source/WebCore/css/CSSSelector.h
Source/WebCore/css/CSSValueKeywords.in
Source/WebCore/css/html.css
Source/WebCore/html/HTMLInputElement.cpp
Source/WebCore/html/HTMLInputElement.h
Source/WebCore/html/HTMLInputElement.idl
Source/WebCore/inspector/front-end/SourceCSSTokenizer.js
Source/WebCore/inspector/front-end/SourceCSSTokenizer.re2js
Source/WebCore/inspector/front-end/StylesSidebarPane.js
Source/WebCore/platform/ThemeTypes.h
Source/WebCore/platform/chromium/ThemeChromiumMac.mm
Source/WebCore/platform/mac/ThemeMac.mm
Source/WebCore/platform/qt/RenderThemeQtMobile.cpp
Source/WebCore/rendering/RenderTheme.cpp
Source/WebCore/rendering/RenderThemeMac.mm
Tools/iExploder/iexploder-1.7.2/src/css-pseudo/webkit