| 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;
|
| }
|
|
|
|
|