Changeset 101175 in webkit
- Timestamp:
- Nov 25, 2011, 8:46:42 AM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
dom/StyledElement.cpp (modified) (1 diff)
-
html/HTMLTableElement.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r101172 r101175 1 2011-11-25 Andreas Kling <kling@webkit.org> 2 3 Remove redundant setStrictParsing(false) calls on CSSMappedAttributeDeclarations. 4 <http://webkit.org/b/73134> 5 6 Reviewed by Antti Koivisto. 7 8 CSSMappedAttributeDeclarations always use non-strict parsing since they use 9 the argument-less CSSMutableStyleDeclaration constructor. 10 11 * dom/StyledElement.cpp: 12 (WebCore::StyledElement::createMappedDecl): 13 * html/HTMLTableElement.cpp: 14 (WebCore::HTMLTableElement::additionalAttributeStyleDecls): 15 (WebCore::HTMLTableElement::addSharedCellBordersDecl): 16 (WebCore::HTMLTableElement::addSharedCellPaddingDecl): 17 (WebCore::HTMLTableElement::addSharedGroupDecls): 18 1 19 2011-11-25 Andreas Kling <kling@webkit.org> 2 20 -
trunk/Source/WebCore/dom/StyledElement.cpp
r101172 r101175 408 408 decl->setParentStyleSheet(document()->elementSheet()); 409 409 decl->setElement(this); 410 decl->setStrictParsing(false); // Mapped attributes are just always quirky.411 410 } 412 411 -
trunk/Source/WebCore/html/HTMLTableElement.cpp
r101116 r101175 458 458 decl->setParentStyleSheet(document()->elementSheet()); 459 459 decl->setElement(this); 460 decl->setStrictParsing(false); // Mapped attributes are just always quirky.461 460 462 461 int v = m_borderColorAttr ? CSSValueSolid : CSSValueOutset; … … 516 515 decl->setParentStyleSheet(document()->elementSheet()); 517 516 decl->setElement(this); 518 decl->setStrictParsing(false); // Mapped attributes are just always quirky.519 517 520 518 switch (borders) { … … 575 573 m_paddingDecl->setParentStyleSheet(document()->elementSheet()); 576 574 m_paddingDecl->setElement(this); 577 m_paddingDecl->setStrictParsing(false); // Mapped attributes are just always quirky.578 575 579 576 m_paddingDecl->setProperty(CSSPropertyPaddingTop, paddingValue, false); … … 602 599 decl->setParentStyleSheet(document()->elementSheet()); 603 600 decl->setElement(this); 604 decl->setStrictParsing(false); // Mapped attributes are just always quirky.605 601 606 602 if (rows) {
Note:
See TracChangeset
for help on using the changeset viewer.