OLD | NEW |
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 CSSPropertyWebkitTransitionDelay, | 324 CSSPropertyWebkitTransitionDelay, |
325 CSSPropertyWebkitTransitionDuration, | 325 CSSPropertyWebkitTransitionDuration, |
326 CSSPropertyWebkitTransitionProperty, | 326 CSSPropertyWebkitTransitionProperty, |
327 CSSPropertyWebkitTransitionTimingFunction, | 327 CSSPropertyWebkitTransitionTimingFunction, |
328 CSSPropertyWebkitUserDrag, | 328 CSSPropertyWebkitUserDrag, |
329 CSSPropertyWebkitUserModify, | 329 CSSPropertyWebkitUserModify, |
330 CSSPropertyWebkitUserSelect, | 330 CSSPropertyWebkitUserSelect, |
331 CSSPropertyWebkitWritingMode, | 331 CSSPropertyWebkitWritingMode, |
332 CSSPropertyWebkitFlowInto, | 332 CSSPropertyWebkitFlowInto, |
333 CSSPropertyWebkitFlowFrom, | 333 CSSPropertyWebkitFlowFrom, |
334 CSSPropertyWebkitRegionOverflow, | |
335 CSSPropertyWebkitRegionBreakAfter, | 334 CSSPropertyWebkitRegionBreakAfter, |
336 CSSPropertyWebkitRegionBreakBefore, | 335 CSSPropertyWebkitRegionBreakBefore, |
337 CSSPropertyWebkitRegionBreakInside, | 336 CSSPropertyWebkitRegionBreakInside, |
| 337 CSSPropertyWebkitRegionFragment, |
338 CSSPropertyWebkitAppRegion, | 338 CSSPropertyWebkitAppRegion, |
339 CSSPropertyWebkitWrapFlow, | 339 CSSPropertyWebkitWrapFlow, |
340 CSSPropertyWebkitShapeMargin, | 340 CSSPropertyWebkitShapeMargin, |
341 CSSPropertyWebkitShapePadding, | 341 CSSPropertyWebkitShapePadding, |
342 CSSPropertyWebkitWrapThrough, | 342 CSSPropertyWebkitWrapThrough, |
343 CSSPropertyBufferedRendering, | 343 CSSPropertyBufferedRendering, |
344 CSSPropertyClipPath, | 344 CSSPropertyClipPath, |
345 CSSPropertyClipRule, | 345 CSSPropertyClipRule, |
346 CSSPropertyMask, | 346 CSSPropertyMask, |
347 CSSPropertyFilter, | 347 CSSPropertyFilter, |
(...skipping 2219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2567 } | 2567 } |
2568 return cssValuePool().createIdentifierValue(CSSValueNone); | 2568 return cssValuePool().createIdentifierValue(CSSValueNone); |
2569 case CSSPropertyWebkitFlowInto: | 2569 case CSSPropertyWebkitFlowInto: |
2570 if (style->flowThread().isNull()) | 2570 if (style->flowThread().isNull()) |
2571 return cssValuePool().createIdentifierValue(CSSValueNone); | 2571 return cssValuePool().createIdentifierValue(CSSValueNone); |
2572 return cssValuePool().createValue(style->flowThread(), CSSPrimitiveV
alue::CSS_STRING); | 2572 return cssValuePool().createValue(style->flowThread(), CSSPrimitiveV
alue::CSS_STRING); |
2573 case CSSPropertyWebkitFlowFrom: | 2573 case CSSPropertyWebkitFlowFrom: |
2574 if (style->regionThread().isNull()) | 2574 if (style->regionThread().isNull()) |
2575 return cssValuePool().createIdentifierValue(CSSValueNone); | 2575 return cssValuePool().createIdentifierValue(CSSValueNone); |
2576 return cssValuePool().createValue(style->regionThread(), CSSPrimitiv
eValue::CSS_STRING); | 2576 return cssValuePool().createValue(style->regionThread(), CSSPrimitiv
eValue::CSS_STRING); |
2577 case CSSPropertyWebkitRegionOverflow: | 2577 case CSSPropertyWebkitRegionFragment: |
2578 return cssValuePool().createValue(style->regionOverflow()); | 2578 return cssValuePool().createValue(style->regionFragment()); |
2579 case CSSPropertyWebkitWrapFlow: | 2579 case CSSPropertyWebkitWrapFlow: |
2580 return cssValuePool().createValue(style->wrapFlow()); | 2580 return cssValuePool().createValue(style->wrapFlow()); |
2581 case CSSPropertyWebkitShapeMargin: | 2581 case CSSPropertyWebkitShapeMargin: |
2582 return cssValuePool().createValue(style->shapeMargin()); | 2582 return cssValuePool().createValue(style->shapeMargin()); |
2583 case CSSPropertyWebkitShapePadding: | 2583 case CSSPropertyWebkitShapePadding: |
2584 return cssValuePool().createValue(style->shapePadding()); | 2584 return cssValuePool().createValue(style->shapePadding()); |
2585 case CSSPropertyWebkitShapeInside: | 2585 case CSSPropertyWebkitShapeInside: |
2586 if (!style->shapeInside()) | 2586 if (!style->shapeInside()) |
2587 return cssValuePool().createIdentifierValue(CSSValueAuto); | 2587 return cssValuePool().createIdentifierValue(CSSValueAuto); |
2588 if (style->shapeInside()->type() == ExclusionShapeValue::Outside) | 2588 if (style->shapeInside()->type() == ExclusionShapeValue::Outside) |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2994 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, | 2994 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB
ackgroundSize, CSSPropertyBackgroundOrigin, |
2995 CSSPropertyB
ackgroundClip }; | 2995 CSSPropertyB
ackgroundClip }; |
2996 | 2996 |
2997 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); | 2997 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); |
2998 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat
or)))); | 2998 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat
or)))); |
2999 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator
)))); | 2999 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha
nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator
)))); |
3000 return list.release(); | 3000 return list.release(); |
3001 } | 3001 } |
3002 | 3002 |
3003 } // namespace WebCore | 3003 } // namespace WebCore |
OLD | NEW |