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

Unified Diff: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 2392343005: Reflow comments in core/css (Closed)
Patch Set: Revert clang-format Created 4 years, 2 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
Index: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
index eeee7a21f9756153cc71cfa1468aec8e3b43ac17..2f8c101770d34f327d4802a480fa2c96b89017e9 100644
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2004 Zack Rusin <zack@kde.org>
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
+ * All rights reserved.
* Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
* Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
* Copyright (C) 2011 Sencha, Inc. All rights reserved.
@@ -55,26 +56,27 @@ static const CSSPropertyID staticComputableProperties[] = {
CSSPropertyBackgroundAttachment, CSSPropertyBackgroundBlendMode,
CSSPropertyBackgroundClip, CSSPropertyBackgroundColor,
CSSPropertyBackgroundImage, CSSPropertyBackgroundOrigin,
- CSSPropertyBackgroundPosition, // more-specific background-position-x/y are non-standard
- CSSPropertyBackgroundRepeat, CSSPropertyBackgroundSize,
- CSSPropertyBorderBottomColor, CSSPropertyBorderBottomLeftRadius,
- CSSPropertyBorderBottomRightRadius, CSSPropertyBorderBottomStyle,
- CSSPropertyBorderBottomWidth, CSSPropertyBorderCollapse,
- CSSPropertyBorderImageOutset, CSSPropertyBorderImageRepeat,
- CSSPropertyBorderImageSlice, CSSPropertyBorderImageSource,
- CSSPropertyBorderImageWidth, CSSPropertyBorderLeftColor,
- CSSPropertyBorderLeftStyle, CSSPropertyBorderLeftWidth,
- CSSPropertyBorderRightColor, CSSPropertyBorderRightStyle,
- CSSPropertyBorderRightWidth, CSSPropertyBorderTopColor,
- CSSPropertyBorderTopLeftRadius, CSSPropertyBorderTopRightRadius,
- CSSPropertyBorderTopStyle, CSSPropertyBorderTopWidth, CSSPropertyBottom,
- CSSPropertyBoxShadow, CSSPropertyBoxSizing, CSSPropertyBreakAfter,
- CSSPropertyBreakBefore, CSSPropertyBreakInside, CSSPropertyCaptionSide,
- CSSPropertyClear, CSSPropertyClip, CSSPropertyColor, CSSPropertyContent,
- CSSPropertyCursor, CSSPropertyDirection, CSSPropertyDisplay,
- CSSPropertyEmptyCells, CSSPropertyFloat, CSSPropertyFontFamily,
- CSSPropertyFontKerning, CSSPropertyFontSize, CSSPropertyFontSizeAdjust,
- CSSPropertyFontStretch, CSSPropertyFontStyle, CSSPropertyFontVariant,
+ // more-specific background-position-x/y are non-standard
+ CSSPropertyBackgroundPosition, CSSPropertyBackgroundRepeat,
+ CSSPropertyBackgroundSize, CSSPropertyBorderBottomColor,
+ CSSPropertyBorderBottomLeftRadius, CSSPropertyBorderBottomRightRadius,
+ CSSPropertyBorderBottomStyle, CSSPropertyBorderBottomWidth,
+ CSSPropertyBorderCollapse, CSSPropertyBorderImageOutset,
+ CSSPropertyBorderImageRepeat, CSSPropertyBorderImageSlice,
+ CSSPropertyBorderImageSource, CSSPropertyBorderImageWidth,
+ CSSPropertyBorderLeftColor, CSSPropertyBorderLeftStyle,
+ CSSPropertyBorderLeftWidth, CSSPropertyBorderRightColor,
+ CSSPropertyBorderRightStyle, CSSPropertyBorderRightWidth,
+ CSSPropertyBorderTopColor, CSSPropertyBorderTopLeftRadius,
+ CSSPropertyBorderTopRightRadius, CSSPropertyBorderTopStyle,
+ CSSPropertyBorderTopWidth, CSSPropertyBottom, CSSPropertyBoxShadow,
+ CSSPropertyBoxSizing, CSSPropertyBreakAfter, CSSPropertyBreakBefore,
+ CSSPropertyBreakInside, CSSPropertyCaptionSide, CSSPropertyClear,
+ CSSPropertyClip, CSSPropertyColor, CSSPropertyContent, CSSPropertyCursor,
+ CSSPropertyDirection, CSSPropertyDisplay, CSSPropertyEmptyCells,
+ CSSPropertyFloat, CSSPropertyFontFamily, CSSPropertyFontKerning,
+ CSSPropertyFontSize, CSSPropertyFontSizeAdjust, CSSPropertyFontStretch,
+ CSSPropertyFontStyle, CSSPropertyFontVariant,
CSSPropertyFontVariantLigatures, CSSPropertyFontVariantCaps,
CSSPropertyFontVariantNumeric, CSSPropertyFontWeight, CSSPropertyHeight,
CSSPropertyImageOrientation, CSSPropertyImageRendering,
@@ -386,8 +388,8 @@ const CSSValue* CSSComputedStyleDeclaration::getPropertyCSSValue(
Document& document = styledNode->document();
document.updateStyleAndLayoutTreeForNode(styledNode);
- // The style recalc could have caused the styled node to be discarded or replaced
- // if it was a PseudoElement so we need to update it.
+ // The style recalc could have caused the styled node to be discarded or
+ // replaced if it was a PseudoElement so we need to update it.
styledNode = this->styledNode();
LayoutObject* layoutObject = styledNode->layoutObject();

Powered by Google App Engine
This is Rietveld 408576698