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

Side by Side Diff: Source/core/css/resolver/StyleBuilderCustom.cpp

Issue 25497002: Generate toCSSFooValue() for CSS child values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
(...skipping 1709 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 return; 1720 return;
1721 } 1721 }
1722 1722
1723 case CSSPropertyWebkitLineBoxContain: { 1723 case CSSPropertyWebkitLineBoxContain: {
1724 HANDLE_INHERIT_AND_INITIAL(lineBoxContain, LineBoxContain) 1724 HANDLE_INHERIT_AND_INITIAL(lineBoxContain, LineBoxContain)
1725 if (primitiveValue && primitiveValue->getValueID() == CSSValueNone) { 1725 if (primitiveValue && primitiveValue->getValueID() == CSSValueNone) {
1726 state.style()->setLineBoxContain(LineBoxContainNone); 1726 state.style()->setLineBoxContain(LineBoxContainNone);
1727 return; 1727 return;
1728 } 1728 }
1729 1729
1730 if (!value->isCSSLineBoxContainValue()) 1730 if (!value->isLineBoxContainValue())
1731 return; 1731 return;
1732 1732
1733 CSSLineBoxContainValue* lineBoxContainValue = static_cast<CSSLineBoxCont ainValue*>(value); 1733 CSSLineBoxContainValue* lineBoxContainValue = static_cast<CSSLineBoxCont ainValue*>(value);
1734 state.style()->setLineBoxContain(lineBoxContainValue->value()); 1734 state.style()->setLineBoxContain(lineBoxContainValue->value());
1735 return; 1735 return;
1736 } 1736 }
1737 1737
1738 // CSS Fonts Module Level 3 1738 // CSS Fonts Module Level 3
1739 case CSSPropertyWebkitFontFeatureSettings: { 1739 case CSSPropertyWebkitFontFeatureSettings: {
1740 if (primitiveValue && primitiveValue->getValueID() == CSSValueNormal) { 1740 if (primitiveValue && primitiveValue->getValueID() == CSSValueNormal) {
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
2406 break; 2406 break;
2407 } 2407 }
2408 case CSSPropertyEnableBackground: 2408 case CSSPropertyEnableBackground:
2409 // Silently ignoring this property for now 2409 // Silently ignoring this property for now
2410 // http://bugs.webkit.org/show_bug.cgi?id=6022 2410 // http://bugs.webkit.org/show_bug.cgi?id=6022
2411 break; 2411 break;
2412 } 2412 }
2413 } 2413 }
2414 2414
2415 } // namespace WebCore 2415 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleBuilderCustom.h ('k') | Source/core/css/resolver/TransformBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698