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

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

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Sync Created 7 years, 2 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/core.gypi ('k') | Source/core/css/CSSParser-in.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) 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 2801 matching lines...) Expand 10 before | Expand all | Expand 10 after
2812 case CSSPropertyMargin: 2812 case CSSPropertyMargin:
2813 return valuesForSidesShorthand(marginShorthand()); 2813 return valuesForSidesShorthand(marginShorthand());
2814 case CSSPropertyOutline: 2814 case CSSPropertyOutline:
2815 return valuesForShorthandProperty(outlineShorthand()); 2815 return valuesForShorthandProperty(outlineShorthand());
2816 case CSSPropertyPadding: 2816 case CSSPropertyPadding:
2817 return valuesForSidesShorthand(paddingShorthand()); 2817 return valuesForSidesShorthand(paddingShorthand());
2818 /* Individual properties not part of the spec */ 2818 /* Individual properties not part of the spec */
2819 case CSSPropertyBackgroundRepeatX: 2819 case CSSPropertyBackgroundRepeatX:
2820 case CSSPropertyBackgroundRepeatY: 2820 case CSSPropertyBackgroundRepeatY:
2821 break; 2821 break;
2822 case CSSPropertyInternalCallback:
2823 // This property is hidden from the web.
2824 return 0;
2822 2825
2823 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties) */ 2826 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties) */
2824 case CSSPropertyWebkitTextEmphasis: 2827 case CSSPropertyWebkitTextEmphasis:
2825 case CSSPropertyTextLineThroughColor: 2828 case CSSPropertyTextLineThroughColor:
2826 case CSSPropertyTextLineThroughMode: 2829 case CSSPropertyTextLineThroughMode:
2827 case CSSPropertyTextLineThroughStyle: 2830 case CSSPropertyTextLineThroughStyle:
2828 case CSSPropertyTextLineThroughWidth: 2831 case CSSPropertyTextLineThroughWidth:
2829 case CSSPropertyTextOverlineColor: 2832 case CSSPropertyTextOverlineColor:
2830 case CSSPropertyTextOverlineMode: 2833 case CSSPropertyTextOverlineMode:
2831 case CSSPropertyTextOverlineStyle: 2834 case CSSPropertyTextOverlineStyle:
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
3226 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 3229 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3227 CSSPropertyB ackgroundClip }; 3230 CSSPropertyB ackgroundClip };
3228 3231
3229 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 3232 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
3230 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator)))); 3233 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator))));
3231 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator)))); 3234 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator))));
3232 return list.release(); 3235 return list.release();
3233 } 3236 }
3234 3237
3235 } // namespace WebCore 3238 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698