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

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 418163003: Simplify watched selector handling and remove remnants of user stylesheets (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cascade
Patch Set: use includeEmptyRules flag on MatchRequest Created 6 years, 4 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 | « no previous file | Source/core/css/CSSProperties.in » ('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) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 2671 matching lines...) Expand 10 before | Expand all | Expand 10 after
2682 case CSSPropertyMargin: 2682 case CSSPropertyMargin:
2683 return valuesForSidesShorthand(marginShorthand()); 2683 return valuesForSidesShorthand(marginShorthand());
2684 case CSSPropertyOutline: 2684 case CSSPropertyOutline:
2685 return valuesForShorthandProperty(outlineShorthand()); 2685 return valuesForShorthandProperty(outlineShorthand());
2686 case CSSPropertyPadding: 2686 case CSSPropertyPadding:
2687 return valuesForSidesShorthand(paddingShorthand()); 2687 return valuesForSidesShorthand(paddingShorthand());
2688 /* Individual properties not part of the spec */ 2688 /* Individual properties not part of the spec */
2689 case CSSPropertyBackgroundRepeatX: 2689 case CSSPropertyBackgroundRepeatX:
2690 case CSSPropertyBackgroundRepeatY: 2690 case CSSPropertyBackgroundRepeatY:
2691 break; 2691 break;
2692 case CSSPropertyInternalCallback:
2693 // This property is hidden from the web.
2694 return nullptr;
2695 2692
2696 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties) */ 2693 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties) */
2697 case CSSPropertyWebkitTextEmphasis: 2694 case CSSPropertyWebkitTextEmphasis:
2698 break; 2695 break;
2699 2696
2700 /* Directional properties are resolved by resolveDirectionAwareProperty( ) before the switch. */ 2697 /* Directional properties are resolved by resolveDirectionAwareProperty( ) before the switch. */
2701 case CSSPropertyWebkitBorderEnd: 2698 case CSSPropertyWebkitBorderEnd:
2702 case CSSPropertyWebkitBorderEndColor: 2699 case CSSPropertyWebkitBorderEndColor:
2703 case CSSPropertyWebkitBorderEndStyle: 2700 case CSSPropertyWebkitBorderEndStyle:
2704 case CSSPropertyWebkitBorderEndWidth: 2701 case CSSPropertyWebkitBorderEndWidth:
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
3011 return list.release(); 3008 return list.release();
3012 } 3009 }
3013 3010
3014 void CSSComputedStyleDeclaration::trace(Visitor* visitor) 3011 void CSSComputedStyleDeclaration::trace(Visitor* visitor)
3015 { 3012 {
3016 visitor->trace(m_node); 3013 visitor->trace(m_node);
3017 CSSStyleDeclaration::trace(visitor); 3014 CSSStyleDeclaration::trace(visitor);
3018 } 3015 }
3019 3016
3020 } // namespace blink 3017 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698