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

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

Issue 2753013004: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text
Patch Set: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text Created 3 years, 9 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
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. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
6 * All rights reserved. 6 * All rights reserved.
7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
10 * (http://www.torchmobile.com/) 10 * (http://www.torchmobile.com/)
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 case CSSPropertyOutlineOffset: 1233 case CSSPropertyOutlineOffset:
1234 case CSSPropertyOutlineStyle: 1234 case CSSPropertyOutlineStyle:
1235 case CSSPropertyOutlineWidth: 1235 case CSSPropertyOutlineWidth:
1236 case CSSPropertyVisibility: 1236 case CSSPropertyVisibility:
1237 case CSSPropertyWhiteSpace: 1237 case CSSPropertyWhiteSpace:
1238 // FIXME: 'text-decoration' shorthand to be handled when available. 1238 // FIXME: 'text-decoration' shorthand to be handled when available.
1239 // See https://chromiumcodereview.appspot.com/19516002 for details. 1239 // See https://chromiumcodereview.appspot.com/19516002 for details.
1240 case CSSPropertyTextDecoration: 1240 case CSSPropertyTextDecoration:
1241 case CSSPropertyTextShadow: 1241 case CSSPropertyTextShadow:
1242 case CSSPropertyBorderStyle: 1242 case CSSPropertyBorderStyle:
1243 case CSSPropertyPaintOrder:
1244 case CSSPropertyStrokeLinejoin:
1245 case CSSPropertyStrokeLinecap:
1243 return true; 1246 return true;
1244 case CSSPropertyTextDecorationLine: 1247 case CSSPropertyTextDecorationLine:
1245 case CSSPropertyTextDecorationStyle: 1248 case CSSPropertyTextDecorationStyle:
1246 case CSSPropertyTextDecorationColor: 1249 case CSSPropertyTextDecorationColor:
1247 case CSSPropertyTextDecorationSkip: 1250 case CSSPropertyTextDecorationSkip:
1248 DCHECK(RuntimeEnabledFeatures::css3TextDecorationsEnabled()); 1251 DCHECK(RuntimeEnabledFeatures::css3TextDecorationsEnabled());
1249 return true; 1252 return true;
1250 case CSSPropertyFontVariationSettings: 1253 case CSSPropertyFontVariationSettings:
1251 DCHECK(RuntimeEnabledFeatures::cssVariableFontsEnabled()); 1254 DCHECK(RuntimeEnabledFeatures::cssVariableFontsEnabled());
1252 return true; 1255 return true;
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1946 1949
1947 DEFINE_TRACE(StyleResolver) { 1950 DEFINE_TRACE(StyleResolver) {
1948 visitor->trace(m_matchedPropertiesCache); 1951 visitor->trace(m_matchedPropertiesCache);
1949 visitor->trace(m_selectorFilter); 1952 visitor->trace(m_selectorFilter);
1950 visitor->trace(m_styleSharingLists); 1953 visitor->trace(m_styleSharingLists);
1951 visitor->trace(m_document); 1954 visitor->trace(m_document);
1952 visitor->trace(m_tracker); 1955 visitor->trace(m_tracker);
1953 } 1956 }
1954 1957
1955 } // namespace blink 1958 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698