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

Side by Side Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 1099483002: Use alias_for with trivial property aliases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@alias
Patch Set: rebase a couple of tests Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « Source/core/css/resolver/StyleAdjuster.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 case CSSPropertyTextDecorationStyle: 1174 case CSSPropertyTextDecorationStyle:
1175 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled()); 1175 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled());
1176 return true; 1176 return true;
1177 1177
1178 // text-shadow added in text decoration spec: 1178 // text-shadow added in text decoration spec:
1179 // http://www.w3.org/TR/css-text-decor-3/#text-shadow-property 1179 // http://www.w3.org/TR/css-text-decor-3/#text-shadow-property
1180 case CSSPropertyTextShadow: 1180 case CSSPropertyTextShadow:
1181 // box-shadox added in CSS3 backgrounds spec: 1181 // box-shadox added in CSS3 backgrounds spec:
1182 // http://www.w3.org/TR/css3-background/#placement 1182 // http://www.w3.org/TR/css3-background/#placement
1183 case CSSPropertyBoxShadow: 1183 case CSSPropertyBoxShadow:
1184 case CSSPropertyWebkitBoxShadow:
1185 // Properties that we currently support outside of spec. 1184 // Properties that we currently support outside of spec.
1186 case CSSPropertyWebkitLineBoxContain: 1185 case CSSPropertyWebkitLineBoxContain:
1187 case CSSPropertyVisibility: 1186 case CSSPropertyVisibility:
1188 return true; 1187 return true;
1189 1188
1190 default: 1189 default:
1191 return false; 1190 return false;
1192 } 1191 }
1193 } 1192 }
1194 1193
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1508 visitor->trace(m_watchedSelectorsRules); 1507 visitor->trace(m_watchedSelectorsRules);
1509 visitor->trace(m_treeBoundaryCrossingRules); 1508 visitor->trace(m_treeBoundaryCrossingRules);
1510 visitor->trace(m_styleResourceLoader); 1509 visitor->trace(m_styleResourceLoader);
1511 visitor->trace(m_styleSharingLists); 1510 visitor->trace(m_styleSharingLists);
1512 visitor->trace(m_pendingStyleSheets); 1511 visitor->trace(m_pendingStyleSheets);
1513 visitor->trace(m_document); 1512 visitor->trace(m_document);
1514 #endif 1513 #endif
1515 } 1514 }
1516 1515
1517 } // namespace blink 1516 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleAdjuster.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698