Title: [136215] trunk/Source/WebCore
- Revision
- 136215
- Author
- [email protected]
- Date
- 2012-11-30 01:02:17 -0800 (Fri, 30 Nov 2012)
Log Message
Fix typos in DateTimeNumericFieldElement.cpp and DateTimeSymbolicFieldElement.cpp
https://bugs.webkit.org/show_bug.cgi?id=103717
Reviewed by Hajime Morita.
* html/shadow/DateTimeNumericFieldElement.cpp:
(WebCore::DateTimeNumericFieldElement::customStyleForRenderer):
maximum, not maxium.
* html/shadow/DateTimeSymbolicFieldElement.cpp:
(WebCore::DateTimeSymbolicFieldElement::customStyleForRenderer): Ditto.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (136214 => 136215)
--- trunk/Source/WebCore/ChangeLog 2012-11-30 09:01:26 UTC (rev 136214)
+++ trunk/Source/WebCore/ChangeLog 2012-11-30 09:02:17 UTC (rev 136215)
@@ -1,3 +1,16 @@
+2012-11-30 Kent Tamura <[email protected]>
+
+ Fix typos in DateTimeNumericFieldElement.cpp and DateTimeSymbolicFieldElement.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=103717
+
+ Reviewed by Hajime Morita.
+
+ * html/shadow/DateTimeNumericFieldElement.cpp:
+ (WebCore::DateTimeNumericFieldElement::customStyleForRenderer):
+ maximum, not maxium.
+ * html/shadow/DateTimeSymbolicFieldElement.cpp:
+ (WebCore::DateTimeSymbolicFieldElement::customStyleForRenderer): Ditto.
+
2012-11-30 Halton Huo <[email protected]>
[EFL] libwebcore_efl.a fail to link when enable webgl
Modified: trunk/Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp (136214 => 136215)
--- trunk/Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp 2012-11-30 09:01:26 UTC (rev 136214)
+++ trunk/Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp 2012-11-30 09:02:17 UTC (rev 136215)
@@ -79,10 +79,10 @@
FontCachePurgePreventer fontCachePurgePreventer;
RefPtr<RenderStyle> originalStyle = document()->styleResolver()->styleForElement(this);
RefPtr<RenderStyle> style = RenderStyle::clone(originalStyle.get());
- float maxiumWidth = style->font().width(m_placeholder);
- maxiumWidth = std::max(maxiumWidth, style->font().width(formatValue(maximum())));
- maxiumWidth = std::max(maxiumWidth, style->font().width(value()));
- style->setMinWidth(Length(maxiumWidth, Fixed));
+ float maximumWidth = style->font().width(m_placeholder);
+ maximumWidth = std::max(maximumWidth, style->font().width(formatValue(maximum())));
+ maximumWidth = std::max(maximumWidth, style->font().width(value()));
+ style->setMinWidth(Length(maximumWidth, Fixed));
return style.release();
}
Modified: trunk/Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.cpp (136214 => 136215)
--- trunk/Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.cpp 2012-11-30 09:01:26 UTC (rev 136214)
+++ trunk/Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.cpp 2012-11-30 09:02:17 UTC (rev 136215)
@@ -66,10 +66,10 @@
FontCachePurgePreventer fontCachePurgePreventer;
RefPtr<RenderStyle> originalStyle = document()->styleResolver()->styleForElement(this);
RefPtr<RenderStyle> style = RenderStyle::clone(originalStyle.get());
- float maxiumWidth = style->font().width(visibleEmptyValue());
+ float maximumWidth = style->font().width(visibleEmptyValue());
for (unsigned index = 0; index < m_symbols.size(); ++index)
- maxiumWidth = std::max(maxiumWidth, style->font().width(m_symbols[index]));
- style->setMinWidth(Length(maxiumWidth, Fixed));
+ maximumWidth = std::max(maximumWidth, style->font().width(m_symbols[index]));
+ style->setMinWidth(Length(maximumWidth, Fixed));
return style.release();
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes