Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Unified Diff: Source/core/html/HTMLTableElement.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLTableCellElement.cpp ('k') | Source/core/html/HTMLTextAreaElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTableElement.cpp
diff --git a/Source/core/html/HTMLTableElement.cpp b/Source/core/html/HTMLTableElement.cpp
index 001f141c07b64bc40545ea3e17ae8ea24fef9764..f0fa060d831b55299969cd80fd397e7bf80d3ab8 100644
--- a/Source/core/html/HTMLTableElement.cpp
+++ b/Source/core/html/HTMLTableElement.cpp
@@ -305,7 +305,7 @@ void HTMLTableElement::collectStyleForPresentationAttribute(const QualifiedName&
addHTMLLengthToStyle(style, CSSPropertyWidth, value);
else if (name == heightAttr)
addHTMLLengthToStyle(style, CSSPropertyHeight, value);
- else if (name == borderAttr)
+ else if (name == borderAttr)
addPropertyToPresentationAttributeStyle(style, CSSPropertyBorderWidth, parseBorderWidthAttribute(value), CSSPrimitiveValue::CSS_PX);
else if (name == bordercolorAttr) {
if (!value.isEmpty())
@@ -426,7 +426,7 @@ const StylePropertySet* HTMLTableElement::additionalPresentationAttributeStyle()
{
if (m_frameAttr)
return 0;
-
+
if (!m_borderAttr && !m_borderColorAttr) {
// Setting the border to 'hidden' allows it to win over any border
// set on the table's cells during border-conflict resolution.
@@ -498,7 +498,7 @@ PassRefPtr<StylePropertySet> HTMLTableElement::createSharedCellStyle()
style->setProperty(CSSPropertyBorderColor, cssValuePool().createInheritedValue());
break;
case NoBorders:
- // If 'rules=none' then allow any borders set at cell level to take effect.
+ // If 'rules=none' then allow any borders set at cell level to take effect.
break;
}
« no previous file with comments | « Source/core/html/HTMLTableCellElement.cpp ('k') | Source/core/html/HTMLTextAreaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698