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

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

Issue 1328673003: Remove -webkit-line-box-contain implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix up a few more tests. Created 5 years, 3 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/StyleBuilderCustom.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 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled()); 1176 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled());
1177 return true; 1177 return true;
1178 1178
1179 // text-shadow added in text decoration spec: 1179 // text-shadow added in text decoration spec:
1180 // http://www.w3.org/TR/css-text-decor-3/#text-shadow-property 1180 // http://www.w3.org/TR/css-text-decor-3/#text-shadow-property
1181 case CSSPropertyTextShadow: 1181 case CSSPropertyTextShadow:
1182 // box-shadox added in CSS3 backgrounds spec: 1182 // box-shadox added in CSS3 backgrounds spec:
1183 // http://www.w3.org/TR/css3-background/#placement 1183 // http://www.w3.org/TR/css3-background/#placement
1184 case CSSPropertyBoxShadow: 1184 case CSSPropertyBoxShadow:
1185 // Properties that we currently support outside of spec. 1185 // Properties that we currently support outside of spec.
1186 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
1195 static bool shouldIgnoreTextTrackAuthorStyle(const Document& document) 1194 static bool shouldIgnoreTextTrackAuthorStyle(const Document& document)
1196 { 1195 {
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1537 visitor->trace(m_watchedSelectorsRules); 1536 visitor->trace(m_watchedSelectorsRules);
1538 visitor->trace(m_treeBoundaryCrossingScopes); 1537 visitor->trace(m_treeBoundaryCrossingScopes);
1539 visitor->trace(m_styleResourceLoader); 1538 visitor->trace(m_styleResourceLoader);
1540 visitor->trace(m_styleSharingLists); 1539 visitor->trace(m_styleSharingLists);
1541 visitor->trace(m_pendingStyleSheets); 1540 visitor->trace(m_pendingStyleSheets);
1542 visitor->trace(m_document); 1541 visitor->trace(m_document);
1543 #endif 1542 #endif
1544 } 1543 }
1545 1544
1546 } // namespace blink 1545 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleBuilderCustom.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698