Title: [105980] trunk
- Revision
- 105980
- Author
- [email protected]
- Date
- 2012-01-26 02:07:12 -0800 (Thu, 26 Jan 2012)
Log Message
Unreviewed, rolling out r105968.
http://trac.webkit.org/changeset/105968
https://bugs.webkit.org/show_bug.cgi?id=76995
Incorrect behavior change
Source/WebCore:
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setIndeterminate):
LayoutTests:
* fast/forms/indeterminate-radio.html:
* fast/forms/radio-checkbox-restore-indeterminate.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (105979 => 105980)
--- trunk/LayoutTests/ChangeLog 2012-01-26 09:51:20 UTC (rev 105979)
+++ trunk/LayoutTests/ChangeLog 2012-01-26 10:07:12 UTC (rev 105980)
@@ -1,3 +1,14 @@
+2012-01-26 Kent Tamura <[email protected]>
+
+ Unreviewed, rolling out r105968.
+ http://trac.webkit.org/changeset/105968
+ https://bugs.webkit.org/show_bug.cgi?id=76995
+
+ Incorrect behavior change
+
+ * fast/forms/indeterminate-radio.html:
+ * fast/forms/radio-checkbox-restore-indeterminate.html:
+
2012-01-26 Nikolas Zimmermann <[email protected]>
crash in WebCore::RenderSVGContainer::paint
Modified: trunk/LayoutTests/fast/forms/indeterminate-radio.html (105979 => 105980)
--- trunk/LayoutTests/fast/forms/indeterminate-radio.html 2012-01-26 09:51:20 UTC (rev 105979)
+++ trunk/LayoutTests/fast/forms/indeterminate-radio.html 2012-01-26 10:07:12 UTC (rev 105980)
@@ -5,11 +5,11 @@
<style type="text/css">
div
{
- color: green;
+ color: red;
}
input:indeterminate + #test
{
- color: red;
+ color: green;
}
</style>
</head>
Modified: trunk/LayoutTests/fast/forms/radio-checkbox-restore-indeterminate.html (105979 => 105980)
--- trunk/LayoutTests/fast/forms/radio-checkbox-restore-indeterminate.html 2012-01-26 09:51:20 UTC (rev 105979)
+++ trunk/LayoutTests/fast/forms/radio-checkbox-restore-indeterminate.html 2012-01-26 10:07:12 UTC (rev 105980)
@@ -67,8 +67,8 @@
log('Click unselected all radio buttons: FAIL');
log('<br>Checking whether default-prevented click clobbered indeterminate state:')
- log('On checked radio button: ' + (!radio3.indeterminate ? 'PASS' : 'FAIL'));
- log('On unchecked radio button: ' + (!radio4.indeterminate ? 'PASS' : 'FAIL'));
+ log('On checked radio button: ' + (radio3.indeterminate ? 'PASS' : 'FAIL'));
+ log('On unchecked radio button: ' + (radio4.indeterminate ? 'PASS' : 'FAIL'));
log('On checked checkbox: ' + (check1.indeterminate ? 'PASS' : 'FAIL'));
log('On unchecked checkbox: ' + (check2.indeterminate ? 'PASS' : 'FAIL'));
Modified: trunk/Source/WebCore/ChangeLog (105979 => 105980)
--- trunk/Source/WebCore/ChangeLog 2012-01-26 09:51:20 UTC (rev 105979)
+++ trunk/Source/WebCore/ChangeLog 2012-01-26 10:07:12 UTC (rev 105980)
@@ -1,3 +1,14 @@
+2012-01-26 Kent Tamura <[email protected]>
+
+ Unreviewed, rolling out r105968.
+ http://trac.webkit.org/changeset/105968
+ https://bugs.webkit.org/show_bug.cgi?id=76995
+
+ Incorrect behavior change
+
+ * html/HTMLInputElement.cpp:
+ (WebCore::HTMLInputElement::setIndeterminate):
+
2012-01-26 Nikolas Zimmermann <[email protected]>
crash in WebCore::RenderSVGContainer::paint
Modified: trunk/Source/WebCore/html/HTMLInputElement.cpp (105979 => 105980)
--- trunk/Source/WebCore/html/HTMLInputElement.cpp 2012-01-26 09:51:20 UTC (rev 105979)
+++ trunk/Source/WebCore/html/HTMLInputElement.cpp 2012-01-26 10:07:12 UTC (rev 105980)
@@ -946,7 +946,7 @@
void HTMLInputElement::setIndeterminate(bool newValue)
{
- if (!isCheckbox() || indeterminate() == newValue)
+ if (!m_inputType->isCheckable() || indeterminate() == newValue)
return;
m_isIndeterminate = newValue;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes