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

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: 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
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 2672 matching lines...) Expand 10 before | Expand all | Expand 10 after
2683 case CSSPropertyMargin: 2683 case CSSPropertyMargin:
2684 return valuesForSidesShorthand(marginShorthand()); 2684 return valuesForSidesShorthand(marginShorthand());
2685 case CSSPropertyOutline: 2685 case CSSPropertyOutline:
2686 return valuesForShorthandProperty(outlineShorthand()); 2686 return valuesForShorthandProperty(outlineShorthand());
2687 case CSSPropertyPadding: 2687 case CSSPropertyPadding:
2688 return valuesForSidesShorthand(paddingShorthand()); 2688 return valuesForSidesShorthand(paddingShorthand());
2689 /* Individual properties not part of the spec */ 2689 /* Individual properties not part of the spec */
2690 case CSSPropertyBackgroundRepeatX: 2690 case CSSPropertyBackgroundRepeatX:
2691 case CSSPropertyBackgroundRepeatY: 2691 case CSSPropertyBackgroundRepeatY:
2692 break; 2692 break;
2693 case CSSPropertyInternalCallback:
2694 // This property is hidden from the web.
2695 return nullptr;
2696 2693
2697 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties) */ 2694 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties) */
2698 case CSSPropertyWebkitTextEmphasis: 2695 case CSSPropertyWebkitTextEmphasis:
2699 break; 2696 break;
2700 2697
2701 /* Directional properties are resolved by resolveDirectionAwareProperty( ) before the switch. */ 2698 /* Directional properties are resolved by resolveDirectionAwareProperty( ) before the switch. */
2702 case CSSPropertyWebkitBorderEnd: 2699 case CSSPropertyWebkitBorderEnd:
2703 case CSSPropertyWebkitBorderEndColor: 2700 case CSSPropertyWebkitBorderEndColor:
2704 case CSSPropertyWebkitBorderEndStyle: 2701 case CSSPropertyWebkitBorderEndStyle:
2705 case CSSPropertyWebkitBorderEndWidth: 2702 case CSSPropertyWebkitBorderEndWidth:
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
3012 return list.release(); 3009 return list.release();
3013 } 3010 }
3014 3011
3015 void CSSComputedStyleDeclaration::trace(Visitor* visitor) 3012 void CSSComputedStyleDeclaration::trace(Visitor* visitor)
3016 { 3013 {
3017 visitor->trace(m_node); 3014 visitor->trace(m_node);
3018 CSSStyleDeclaration::trace(visitor); 3015 CSSStyleDeclaration::trace(visitor);
3019 } 3016 }
3020 3017
3021 } // namespace blink 3018 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSProperties.in » ('j') | Source/core/css/resolver/StyleResolver.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698