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

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

Issue 1299323005: blink: Add backdrop-filter support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: one more 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
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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 CSSPropertyWebkitColumnBreakBefore, 212 CSSPropertyWebkitColumnBreakBefore,
213 CSSPropertyWebkitColumnBreakInside, 213 CSSPropertyWebkitColumnBreakInside,
214 CSSPropertyWebkitColumnCount, 214 CSSPropertyWebkitColumnCount,
215 CSSPropertyWebkitColumnGap, 215 CSSPropertyWebkitColumnGap,
216 CSSPropertyWebkitColumnRuleColor, 216 CSSPropertyWebkitColumnRuleColor,
217 CSSPropertyWebkitColumnRuleStyle, 217 CSSPropertyWebkitColumnRuleStyle,
218 CSSPropertyWebkitColumnRuleWidth, 218 CSSPropertyWebkitColumnRuleWidth,
219 CSSPropertyWebkitColumnSpan, 219 CSSPropertyWebkitColumnSpan,
220 CSSPropertyWebkitColumnWidth, 220 CSSPropertyWebkitColumnWidth,
221 CSSPropertyWebkitFilter, 221 CSSPropertyWebkitFilter,
222 CSSPropertyBackdropFilter,
222 CSSPropertyAlignContent, 223 CSSPropertyAlignContent,
223 CSSPropertyAlignItems, 224 CSSPropertyAlignItems,
224 CSSPropertyAlignSelf, 225 CSSPropertyAlignSelf,
225 CSSPropertyFlexBasis, 226 CSSPropertyFlexBasis,
226 CSSPropertyFlexGrow, 227 CSSPropertyFlexGrow,
227 CSSPropertyFlexShrink, 228 CSSPropertyFlexShrink,
228 CSSPropertyFlexDirection, 229 CSSPropertyFlexDirection,
229 CSSPropertyFlexWrap, 230 CSSPropertyFlexWrap,
230 CSSPropertyJustifyContent, 231 CSSPropertyJustifyContent,
231 CSSPropertyWebkitFontSmoothing, 232 CSSPropertyWebkitFontSmoothing,
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 case CSSPropertyTransform: 472 case CSSPropertyTransform:
472 case CSSPropertyTranslate: 473 case CSSPropertyTranslate:
473 case CSSPropertyRotate: 474 case CSSPropertyRotate:
474 case CSSPropertyScale: 475 case CSSPropertyScale:
475 case CSSPropertyTransformOrigin: 476 case CSSPropertyTransformOrigin:
476 case CSSPropertyMotionPath: 477 case CSSPropertyMotionPath:
477 case CSSPropertyMotionOffset: 478 case CSSPropertyMotionOffset:
478 case CSSPropertyMotionRotation: 479 case CSSPropertyMotionRotation:
479 case CSSPropertyWidth: 480 case CSSPropertyWidth:
480 case CSSPropertyWebkitFilter: 481 case CSSPropertyWebkitFilter:
482 case CSSPropertyBackdropFilter:
481 case CSSPropertyX: 483 case CSSPropertyX:
482 case CSSPropertyY: 484 case CSSPropertyY:
483 case CSSPropertyRx: 485 case CSSPropertyRx:
484 case CSSPropertyRy: 486 case CSSPropertyRy:
485 return true; 487 return true;
486 case CSSPropertyMargin: 488 case CSSPropertyMargin:
487 return layoutObject && layoutObject->isBox() 489 return layoutObject && layoutObject->isBox()
488 && (!style || !style->marginBottom().isFixed() || !style->marginTop( ).isFixed() 490 && (!style || !style->marginBottom().isFixed() || !style->marginTop( ).isFixed()
489 || !style->marginLeft().isFixed() || !style->marginRight().isFix ed()); 491 || !style->marginLeft().isFixed() || !style->marginRight().isFix ed());
490 case CSSPropertyMarginLeft: 492 case CSSPropertyMarginLeft:
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only."); 694 exceptionState.throwDOMException(NoModificationAllowedError, "These styles a re computed, and therefore the '" + getPropertyNameString(id) + "' property is r ead-only.");
693 } 695 }
694 696
695 DEFINE_TRACE(CSSComputedStyleDeclaration) 697 DEFINE_TRACE(CSSComputedStyleDeclaration)
696 { 698 {
697 visitor->trace(m_node); 699 visitor->trace(m_node);
698 CSSStyleDeclaration::trace(visitor); 700 CSSStyleDeclaration::trace(visitor);
699 } 701 }
700 702
701 } // namespace blink 703 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698