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

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: Add a test for watching dynamic attribute changes Created 7 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 | « 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 2684 matching lines...) Expand 10 before | Expand all | Expand 10 after
2695 case CSSPropertyMargin: 2695 case CSSPropertyMargin:
2696 return getCSSPropertyValuesForSidesShorthand(marginShorthand()); 2696 return getCSSPropertyValuesForSidesShorthand(marginShorthand());
2697 case CSSPropertyOutline: 2697 case CSSPropertyOutline:
2698 return getCSSPropertyValuesForShorthandProperties(outlineShorthand() ); 2698 return getCSSPropertyValuesForShorthandProperties(outlineShorthand() );
2699 case CSSPropertyPadding: 2699 case CSSPropertyPadding:
2700 return getCSSPropertyValuesForSidesShorthand(paddingShorthand()); 2700 return getCSSPropertyValuesForSidesShorthand(paddingShorthand());
2701 /* Individual properties not part of the spec */ 2701 /* Individual properties not part of the spec */
2702 case CSSPropertyBackgroundRepeatX: 2702 case CSSPropertyBackgroundRepeatX:
2703 case CSSPropertyBackgroundRepeatY: 2703 case CSSPropertyBackgroundRepeatY:
2704 break; 2704 break;
2705 case CSSPropertyInternalCallback:
2706 // This property is hidden from the web.
2707 return 0;
2705 2708
2706 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties) */ 2709 /* Unimplemented CSS 3 properties (including CSS3 shorthand properties) */
2707 case CSSPropertyWebkitTextEmphasis: 2710 case CSSPropertyWebkitTextEmphasis:
2708 case CSSPropertyTextLineThroughColor: 2711 case CSSPropertyTextLineThroughColor:
2709 case CSSPropertyTextLineThroughMode: 2712 case CSSPropertyTextLineThroughMode:
2710 case CSSPropertyTextLineThroughStyle: 2713 case CSSPropertyTextLineThroughStyle:
2711 case CSSPropertyTextLineThroughWidth: 2714 case CSSPropertyTextLineThroughWidth:
2712 case CSSPropertyTextOverlineColor: 2715 case CSSPropertyTextOverlineColor:
2713 case CSSPropertyTextOverlineMode: 2716 case CSSPropertyTextOverlineMode:
2714 case CSSPropertyTextOverlineStyle: 2717 case CSSPropertyTextOverlineStyle:
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
3071 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 3074 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3072 CSSPropertyB ackgroundClip }; 3075 CSSPropertyB ackgroundClip };
3073 3076
3074 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 3077 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
3075 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope rtiesBeforeSlashSeperator)))); 3078 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope rtiesBeforeSlashSeperator))));
3076 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper tiesAfterSlashSeperator)))); 3079 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper tiesAfterSlashSeperator))));
3077 return list.release(); 3080 return list.release();
3078 } 3081 }
3079 3082
3080 } // namespace WebCore 3083 } // 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