OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 styleResolver->style()->setHasClip(true); | 260 styleResolver->style()->setHasClip(true); |
261 } else if (primitiveValue->getValueID() == CSSValueAuto) { | 261 } else if (primitiveValue->getValueID() == CSSValueAuto) { |
262 styleResolver->style()->setClip(Length(), Length(), Length(), Length
()); | 262 styleResolver->style()->setClip(Length(), Length(), Length(), Length
()); |
263 styleResolver->style()->setHasClip(false); | 263 styleResolver->style()->setHasClip(false); |
264 } | 264 } |
265 } | 265 } |
266 | 266 |
267 static PropertyHandler createHandler() { return PropertyHandler(&applyInheri
tValue, &applyInitialValue, &applyValue); } | 267 static PropertyHandler createHandler() { return PropertyHandler(&applyInheri
tValue, &applyInitialValue, &applyValue); } |
268 }; | 268 }; |
269 | 269 |
270 enum ColorInherit {NoInheritFromParent = 0, InheritFromParent}; | |
271 Color defaultInitialColor(); | |
272 Color defaultInitialColor() { return Color(); } | |
273 template <ColorInherit inheritColorFromParent, | |
274 Color (RenderStyle::*getterFunction)() const, | |
275 void (RenderStyle::*setterFunction)(const Color&), | |
276 void (RenderStyle::*visitedLinkSetterFunction)(const Color&), | |
277 Color (RenderStyle::*defaultFunction)() const, | |
278 Color (*initialFunction)() = &defaultInitialColor> | |
279 class ApplyPropertyColor { | |
280 public: | |
281 static void applyInheritValue(CSSPropertyID, StyleResolver* styleResolver) | |
282 { | |
283 // Visited link style can never explicitly inherit from parent visited l
ink style so no separate getters are needed. | |
284 Color color = (styleResolver->parentStyle()->*getterFunction)(); | |
285 applyColorValue(styleResolver, color.isValid() ? color : (styleResolver-
>parentStyle()->*defaultFunction)()); | |
286 } | |
287 | |
288 static void applyInitialValue(CSSPropertyID, StyleResolver* styleResolver) | |
289 { | |
290 applyColorValue(styleResolver, initialFunction()); | |
291 } | |
292 | |
293 static void applyValue(CSSPropertyID propertyID, StyleResolver* styleResolve
r, CSSValue* value) | |
294 { | |
295 if (!value->isPrimitiveValue()) | |
296 return; | |
297 | |
298 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); | |
299 if (inheritColorFromParent && primitiveValue->getValueID() == CSSValueCu
rrentcolor) | |
300 applyInheritValue(propertyID, styleResolver); | |
301 else { | |
302 if (styleResolver->applyPropertyToRegularStyle()) | |
303 (styleResolver->style()->*setterFunction)(styleResolver->colorFr
omPrimitiveValue(primitiveValue)); | |
304 if (styleResolver->applyPropertyToVisitedLinkStyle()) | |
305 (styleResolver->style()->*visitedLinkSetterFunction)(styleResolv
er->colorFromPrimitiveValue(primitiveValue, /* forVisitedLink */ true)); | |
306 } | |
307 } | |
308 | |
309 static void applyColorValue(StyleResolver* styleResolver, const Color& color
) | |
310 { | |
311 if (styleResolver->applyPropertyToRegularStyle()) | |
312 (styleResolver->style()->*setterFunction)(color); | |
313 if (styleResolver->applyPropertyToVisitedLinkStyle()) | |
314 (styleResolver->style()->*visitedLinkSetterFunction)(color); | |
315 } | |
316 | |
317 static PropertyHandler createHandler() { return PropertyHandler(&applyInheri
tValue, &applyInitialValue, &applyValue); } | |
318 }; | |
319 | |
320 template <TextDirection (RenderStyle::*getterFunction)() const, void (RenderStyl
e::*setterFunction)(TextDirection), TextDirection (*initialFunction)()> | 270 template <TextDirection (RenderStyle::*getterFunction)() const, void (RenderStyl
e::*setterFunction)(TextDirection), TextDirection (*initialFunction)()> |
321 class ApplyPropertyDirection { | 271 class ApplyPropertyDirection { |
322 public: | 272 public: |
323 static void applyValue(CSSPropertyID propertyID, StyleResolver* styleResolve
r, CSSValue* value) | 273 static void applyValue(CSSPropertyID propertyID, StyleResolver* styleResolve
r, CSSValue* value) |
324 { | 274 { |
325 ApplyPropertyDefault<TextDirection, getterFunction, TextDirection, sette
rFunction, TextDirection, initialFunction>::applyValue(propertyID, styleResolver
, value); | 275 ApplyPropertyDefault<TextDirection, getterFunction, TextDirection, sette
rFunction, TextDirection, initialFunction>::applyValue(propertyID, styleResolver
, value); |
326 Element* element = styleResolver->element(); | 276 Element* element = styleResolver->element(); |
327 if (element && styleResolver->element() == element->document()->document
Element()) | 277 if (element && styleResolver->element() == element->document()->document
Element()) |
328 element->document()->setDirectionSetOnDocumentElement(true); | 278 element->document()->setDirectionSetOnDocumentElement(true); |
329 } | 279 } |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 LengthSize size(radiusWidth, radiusHeight); | 352 LengthSize size(radiusWidth, radiusHeight); |
403 setValue(styleResolver->style(), size); | 353 setValue(styleResolver->style(), size); |
404 } | 354 } |
405 static PropertyHandler createHandler() | 355 static PropertyHandler createHandler() |
406 { | 356 { |
407 PropertyHandler handler = ApplyPropertyDefaultBase<LengthSize, getterFun
ction, LengthSize, setterFunction, LengthSize, initialFunction>::createHandler()
; | 357 PropertyHandler handler = ApplyPropertyDefaultBase<LengthSize, getterFun
ction, LengthSize, setterFunction, LengthSize, initialFunction>::createHandler()
; |
408 return PropertyHandler(handler.inheritFunction(), handler.initialFunctio
n(), &applyValue); | 358 return PropertyHandler(handler.inheritFunction(), handler.initialFunctio
n(), &applyValue); |
409 } | 359 } |
410 }; | 360 }; |
411 | 361 |
412 template <typename T> | |
413 struct FillLayerAccessorTypes { | |
414 typedef T Setter; | |
415 typedef T Getter; | |
416 }; | |
417 | |
418 template <> | |
419 struct FillLayerAccessorTypes<StyleImage*> { | |
420 typedef PassRefPtr<StyleImage> Setter; | |
421 typedef StyleImage* Getter; | |
422 }; | |
423 | |
424 template <typename T, | |
425 CSSPropertyID propertyId, | |
426 EFillLayerType fillLayerType, | |
427 FillLayer* (RenderStyle::*accessLayersFunction)(), | |
428 const FillLayer* (RenderStyle::*layersFunction)() const, | |
429 bool (FillLayer::*testFunction)() const, | |
430 typename FillLayerAccessorTypes<T>::Getter (FillLayer::*getFunction)()
const, | |
431 void (FillLayer::*setFunction)(typename FillLayerAccessorTypes<T>::Set
ter), | |
432 void (FillLayer::*clearFunction)(), | |
433 typename FillLayerAccessorTypes<T>::Getter (*initialFunction)(EFillLay
erType), | |
434 void (CSSToStyleMap::*mapFillFunction)(CSSPropertyID, FillLayer*, CSSV
alue*)> | |
435 class ApplyPropertyFillLayer { | |
436 public: | |
437 static void applyInheritValue(CSSPropertyID, StyleResolver* styleResolver) | |
438 { | |
439 FillLayer* currChild = (styleResolver->style()->*accessLayersFunction)()
; | |
440 FillLayer* prevChild = 0; | |
441 const FillLayer* currParent = (styleResolver->parentStyle()->*layersFunc
tion)(); | |
442 while (currParent && (currParent->*testFunction)()) { | |
443 if (!currChild) { | |
444 /* Need to make a new layer.*/ | |
445 currChild = new FillLayer(fillLayerType); | |
446 prevChild->setNext(currChild); | |
447 } | |
448 (currChild->*setFunction)((currParent->*getFunction)()); | |
449 prevChild = currChild; | |
450 currChild = prevChild->next(); | |
451 currParent = currParent->next(); | |
452 } | |
453 | |
454 while (currChild) { | |
455 /* Reset any remaining layers to not have the property set. */ | |
456 (currChild->*clearFunction)(); | |
457 currChild = currChild->next(); | |
458 } | |
459 } | |
460 | |
461 static void applyInitialValue(CSSPropertyID, StyleResolver* styleResolver) | |
462 { | |
463 FillLayer* currChild = (styleResolver->style()->*accessLayersFunction)()
; | |
464 (currChild->*setFunction)((*initialFunction)(fillLayerType)); | |
465 for (currChild = currChild->next(); currChild; currChild = currChild->ne
xt()) | |
466 (currChild->*clearFunction)(); | |
467 } | |
468 | |
469 static void applyValue(CSSPropertyID, StyleResolver* styleResolver, CSSValue
* value) | |
470 { | |
471 FillLayer* currChild = (styleResolver->style()->*accessLayersFunction)()
; | |
472 FillLayer* prevChild = 0; | |
473 if (value->isValueList() && !value->isImageSetValue()) { | |
474 /* Walk each value and put it into a layer, creating new layers as n
eeded. */ | |
475 CSSValueList* valueList = toCSSValueList(value); | |
476 for (unsigned int i = 0; i < valueList->length(); i++) { | |
477 if (!currChild) { | |
478 /* Need to make a new layer to hold this value */ | |
479 currChild = new FillLayer(fillLayerType); | |
480 prevChild->setNext(currChild); | |
481 } | |
482 (styleResolver->styleMap()->*mapFillFunction)(propertyId, currCh
ild, valueList->itemWithoutBoundsCheck(i)); | |
483 prevChild = currChild; | |
484 currChild = currChild->next(); | |
485 } | |
486 } else { | |
487 (styleResolver->styleMap()->*mapFillFunction)(propertyId, currChild,
value); | |
488 currChild = currChild->next(); | |
489 } | |
490 while (currChild) { | |
491 /* Reset all remaining layers to not have the property set. */ | |
492 (currChild->*clearFunction)(); | |
493 currChild = currChild->next(); | |
494 } | |
495 } | |
496 | |
497 static PropertyHandler createHandler() { return PropertyHandler(&applyInheri
tValue, &applyInitialValue, &applyValue); } | |
498 }; | |
499 | |
500 enum ComputeLengthNormal {NormalDisabled = 0, NormalEnabled}; | 362 enum ComputeLengthNormal {NormalDisabled = 0, NormalEnabled}; |
501 enum ComputeLengthThickness {ThicknessDisabled = 0, ThicknessEnabled}; | 363 enum ComputeLengthThickness {ThicknessDisabled = 0, ThicknessEnabled}; |
502 enum ComputeLengthSVGZoom {SVGZoomDisabled = 0, SVGZoomEnabled}; | 364 enum ComputeLengthSVGZoom {SVGZoomDisabled = 0, SVGZoomEnabled}; |
503 template <typename T, | 365 template <typename T, |
504 T (RenderStyle::*getterFunction)() const, | 366 T (RenderStyle::*getterFunction)() const, |
505 void (RenderStyle::*setterFunction)(T), | 367 void (RenderStyle::*setterFunction)(T), |
506 T (*initialFunction)(), | 368 T (*initialFunction)(), |
507 ComputeLengthNormal normalEnabled = NormalDisabled, | 369 ComputeLengthNormal normalEnabled = NormalDisabled, |
508 ComputeLengthThickness thicknessEnabled = ThicknessDisabled, | 370 ComputeLengthThickness thicknessEnabled = ThicknessDisabled, |
509 ComputeLengthSVGZoom svgZoomEnabled = SVGZoomDisabled> | 371 ComputeLengthSVGZoom svgZoomEnabled = SVGZoomDisabled> |
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1818 DEFINE_STATIC_LOCAL(DeprecatedStyleBuilder, styleBuilderInstance, ()); | 1680 DEFINE_STATIC_LOCAL(DeprecatedStyleBuilder, styleBuilderInstance, ()); |
1819 return styleBuilderInstance; | 1681 return styleBuilderInstance; |
1820 } | 1682 } |
1821 | 1683 |
1822 DeprecatedStyleBuilder::DeprecatedStyleBuilder() | 1684 DeprecatedStyleBuilder::DeprecatedStyleBuilder() |
1823 { | 1685 { |
1824 for (int i = 0; i < numCSSProperties; ++i) | 1686 for (int i = 0; i < numCSSProperties; ++i) |
1825 m_propertyMap[i] = PropertyHandler(); | 1687 m_propertyMap[i] = PropertyHandler(); |
1826 | 1688 |
1827 // Please keep CSS property list in alphabetical order. | 1689 // Please keep CSS property list in alphabetical order. |
1828 setPropertyHandler(CSSPropertyBackgroundAttachment, ApplyPropertyFillLayer<E
FillAttachment, CSSPropertyBackgroundAttachment, BackgroundFillLayer, &RenderSty
le::accessBackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isAttach
mentSet, &FillLayer::attachment, &FillLayer::setAttachment, &FillLayer::clearAtt
achment, &FillLayer::initialFillAttachment, &CSSToStyleMap::mapFillAttachment>::
createHandler()); | |
1829 setPropertyHandler(CSSPropertyBackgroundBlendMode, ApplyPropertyFillLayer<Bl
endMode, CSSPropertyBackgroundBlendMode, BackgroundFillLayer, &RenderStyle::acce
ssBackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isBlendModeSet,
&FillLayer::blendMode, &FillLayer::setBlendMode, &FillLayer::clearBlendMode, &Fi
llLayer::initialFillBlendMode, &CSSToStyleMap::mapFillBlendMode>::createHandler(
)); | |
1830 setPropertyHandler(CSSPropertyBackgroundClip, ApplyPropertyFillLayer<EFillBo
x, CSSPropertyBackgroundClip, BackgroundFillLayer, &RenderStyle::accessBackgroun
dLayers, &RenderStyle::backgroundLayers, &FillLayer::isClipSet, &FillLayer::clip
, &FillLayer::setClip, &FillLayer::clearClip, &FillLayer::initialFillClip, &CSST
oStyleMap::mapFillClip>::createHandler()); | |
1831 setPropertyHandler(CSSPropertyBackgroundColor, ApplyPropertyColor<NoInheritF
romParent, &RenderStyle::backgroundColor, &RenderStyle::setBackgroundColor, &Ren
derStyle::setVisitedLinkBackgroundColor, &RenderStyle::invalidColor>::createHand
ler()); | |
1832 setPropertyHandler(CSSPropertyBackgroundImage, ApplyPropertyFillLayer<StyleI
mage*, CSSPropertyBackgroundImage, BackgroundFillLayer, &RenderStyle::accessBack
groundLayers, &RenderStyle::backgroundLayers, &FillLayer::isImageSet, &FillLayer
::image, &FillLayer::setImage, &FillLayer::clearImage, &FillLayer::initialFillIm
age, &CSSToStyleMap::mapFillImage>::createHandler()); | |
1833 setPropertyHandler(CSSPropertyBackgroundOrigin, ApplyPropertyFillLayer<EFill
Box, CSSPropertyBackgroundOrigin, BackgroundFillLayer, &RenderStyle::accessBackg
roundLayers, &RenderStyle::backgroundLayers, &FillLayer::isOriginSet, &FillLayer
::origin, &FillLayer::setOrigin, &FillLayer::clearOrigin, &FillLayer::initialFil
lOrigin, &CSSToStyleMap::mapFillOrigin>::createHandler()); | |
1834 setPropertyHandler(CSSPropertyBackgroundPositionX, ApplyPropertyFillLayer<Le
ngth, CSSPropertyBackgroundPositionX, BackgroundFillLayer, &RenderStyle::accessB
ackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isXPositionSet, &Fi
llLayer::xPosition, &FillLayer::setXPosition, &FillLayer::clearXPosition, &FillL
ayer::initialFillXPosition, &CSSToStyleMap::mapFillXPosition>::createHandler()); | |
1835 setPropertyHandler(CSSPropertyBackgroundPositionY, ApplyPropertyFillLayer<Le
ngth, CSSPropertyBackgroundPositionY, BackgroundFillLayer, &RenderStyle::accessB
ackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isYPositionSet, &Fi
llLayer::yPosition, &FillLayer::setYPosition, &FillLayer::clearYPosition, &FillL
ayer::initialFillYPosition, &CSSToStyleMap::mapFillYPosition>::createHandler()); | |
1836 setPropertyHandler(CSSPropertyBackgroundRepeatX, ApplyPropertyFillLayer<EFil
lRepeat, CSSPropertyBackgroundRepeatX, BackgroundFillLayer, &RenderStyle::access
BackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isRepeatXSet, &Fil
lLayer::repeatX, &FillLayer::setRepeatX, &FillLayer::clearRepeatX, &FillLayer::i
nitialFillRepeatX, &CSSToStyleMap::mapFillRepeatX>::createHandler()); | |
1837 setPropertyHandler(CSSPropertyBackgroundRepeatY, ApplyPropertyFillLayer<EFil
lRepeat, CSSPropertyBackgroundRepeatY, BackgroundFillLayer, &RenderStyle::access
BackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isRepeatYSet, &Fil
lLayer::repeatY, &FillLayer::setRepeatY, &FillLayer::clearRepeatY, &FillLayer::i
nitialFillRepeatY, &CSSToStyleMap::mapFillRepeatY>::createHandler()); | |
1838 setPropertyHandler(CSSPropertyBackgroundSize, ApplyPropertyFillLayer<FillSiz
e, CSSPropertyBackgroundSize, BackgroundFillLayer, &RenderStyle::accessBackgroun
dLayers, &RenderStyle::backgroundLayers, &FillLayer::isSizeSet, &FillLayer::size
, &FillLayer::setSize, &FillLayer::clearSize, &FillLayer::initialFillSize, &CSST
oStyleMap::mapFillSize>::createHandler()); | |
1839 setPropertyHandler(CSSPropertyBorderBottomColor, ApplyPropertyColor<NoInheri
tFromParent, &RenderStyle::borderBottomColor, &RenderStyle::setBorderBottomColor
, &RenderStyle::setVisitedLinkBorderBottomColor, &RenderStyle::color>::createHan
dler()); | |
1840 setPropertyHandler(CSSPropertyBorderBottomLeftRadius, ApplyPropertyBorderRad
ius<&RenderStyle::borderBottomLeftRadius, &RenderStyle::setBorderBottomLeftRadiu
s, &RenderStyle::initialBorderRadius>::createHandler()); | 1690 setPropertyHandler(CSSPropertyBorderBottomLeftRadius, ApplyPropertyBorderRad
ius<&RenderStyle::borderBottomLeftRadius, &RenderStyle::setBorderBottomLeftRadiu
s, &RenderStyle::initialBorderRadius>::createHandler()); |
1841 setPropertyHandler(CSSPropertyBorderBottomRightRadius, ApplyPropertyBorderRa
dius<&RenderStyle::borderBottomRightRadius, &RenderStyle::setBorderBottomRightRa
dius, &RenderStyle::initialBorderRadius>::createHandler()); | 1691 setPropertyHandler(CSSPropertyBorderBottomRightRadius, ApplyPropertyBorderRa
dius<&RenderStyle::borderBottomRightRadius, &RenderStyle::setBorderBottomRightRa
dius, &RenderStyle::initialBorderRadius>::createHandler()); |
1842 setPropertyHandler(CSSPropertyBorderBottomWidth, ApplyPropertyComputeLength<
unsigned, &RenderStyle::borderBottomWidth, &RenderStyle::setBorderBottomWidth, &
RenderStyle::initialBorderWidth, NormalDisabled, ThicknessEnabled>::createHandle
r()); | 1692 setPropertyHandler(CSSPropertyBorderBottomWidth, ApplyPropertyComputeLength<
unsigned, &RenderStyle::borderBottomWidth, &RenderStyle::setBorderBottomWidth, &
RenderStyle::initialBorderWidth, NormalDisabled, ThicknessEnabled>::createHandle
r()); |
1843 setPropertyHandler(CSSPropertyBorderImageOutset, ApplyPropertyBorderImageMod
ifier<BorderImage, Outset>::createHandler()); | 1693 setPropertyHandler(CSSPropertyBorderImageOutset, ApplyPropertyBorderImageMod
ifier<BorderImage, Outset>::createHandler()); |
1844 setPropertyHandler(CSSPropertyBorderImageRepeat, ApplyPropertyBorderImageMod
ifier<BorderImage, Repeat>::createHandler()); | 1694 setPropertyHandler(CSSPropertyBorderImageRepeat, ApplyPropertyBorderImageMod
ifier<BorderImage, Repeat>::createHandler()); |
1845 setPropertyHandler(CSSPropertyBorderImageSlice, ApplyPropertyBorderImageModi
fier<BorderImage, Slice>::createHandler()); | 1695 setPropertyHandler(CSSPropertyBorderImageSlice, ApplyPropertyBorderImageModi
fier<BorderImage, Slice>::createHandler()); |
1846 setPropertyHandler(CSSPropertyBorderImageSource, ApplyPropertyBorderImageSou
rce<CSSPropertyBorderImageSource, &RenderStyle::borderImageSource, &RenderStyle:
:setBorderImageSource, &RenderStyle::initialBorderImageSource>::createHandler())
; | 1696 setPropertyHandler(CSSPropertyBorderImageSource, ApplyPropertyBorderImageSou
rce<CSSPropertyBorderImageSource, &RenderStyle::borderImageSource, &RenderStyle:
:setBorderImageSource, &RenderStyle::initialBorderImageSource>::createHandler())
; |
1847 setPropertyHandler(CSSPropertyBorderImageWidth, ApplyPropertyBorderImageModi
fier<BorderImage, Width>::createHandler()); | 1697 setPropertyHandler(CSSPropertyBorderImageWidth, ApplyPropertyBorderImageModi
fier<BorderImage, Width>::createHandler()); |
1848 setPropertyHandler(CSSPropertyBorderLeftColor, ApplyPropertyColor<NoInheritF
romParent, &RenderStyle::borderLeftColor, &RenderStyle::setBorderLeftColor, &Ren
derStyle::setVisitedLinkBorderLeftColor, &RenderStyle::color>::createHandler()); | |
1849 setPropertyHandler(CSSPropertyBorderLeftWidth, ApplyPropertyComputeLength<un
signed, &RenderStyle::borderLeftWidth, &RenderStyle::setBorderLeftWidth, &Render
Style::initialBorderWidth, NormalDisabled, ThicknessEnabled>::createHandler()); | 1698 setPropertyHandler(CSSPropertyBorderLeftWidth, ApplyPropertyComputeLength<un
signed, &RenderStyle::borderLeftWidth, &RenderStyle::setBorderLeftWidth, &Render
Style::initialBorderWidth, NormalDisabled, ThicknessEnabled>::createHandler()); |
1850 setPropertyHandler(CSSPropertyBorderRightColor, ApplyPropertyColor<NoInherit
FromParent, &RenderStyle::borderRightColor, &RenderStyle::setBorderRightColor, &
RenderStyle::setVisitedLinkBorderRightColor, &RenderStyle::color>::createHandler
()); | |
1851 setPropertyHandler(CSSPropertyBorderRightWidth, ApplyPropertyComputeLength<u
nsigned, &RenderStyle::borderRightWidth, &RenderStyle::setBorderRightWidth, &Ren
derStyle::initialBorderWidth, NormalDisabled, ThicknessEnabled>::createHandler()
); | 1699 setPropertyHandler(CSSPropertyBorderRightWidth, ApplyPropertyComputeLength<u
nsigned, &RenderStyle::borderRightWidth, &RenderStyle::setBorderRightWidth, &Ren
derStyle::initialBorderWidth, NormalDisabled, ThicknessEnabled>::createHandler()
); |
1852 setPropertyHandler(CSSPropertyBorderTopColor, ApplyPropertyColor<NoInheritFr
omParent, &RenderStyle::borderTopColor, &RenderStyle::setBorderTopColor, &Render
Style::setVisitedLinkBorderTopColor, &RenderStyle::color>::createHandler()); | |
1853 setPropertyHandler(CSSPropertyBorderTopLeftRadius, ApplyPropertyBorderRadius
<&RenderStyle::borderTopLeftRadius, &RenderStyle::setBorderTopLeftRadius, &Rende
rStyle::initialBorderRadius>::createHandler()); | 1700 setPropertyHandler(CSSPropertyBorderTopLeftRadius, ApplyPropertyBorderRadius
<&RenderStyle::borderTopLeftRadius, &RenderStyle::setBorderTopLeftRadius, &Rende
rStyle::initialBorderRadius>::createHandler()); |
1854 setPropertyHandler(CSSPropertyBorderTopRightRadius, ApplyPropertyBorderRadiu
s<&RenderStyle::borderTopRightRadius, &RenderStyle::setBorderTopRightRadius, &Re
nderStyle::initialBorderRadius>::createHandler()); | 1701 setPropertyHandler(CSSPropertyBorderTopRightRadius, ApplyPropertyBorderRadiu
s<&RenderStyle::borderTopRightRadius, &RenderStyle::setBorderTopRightRadius, &Re
nderStyle::initialBorderRadius>::createHandler()); |
1855 setPropertyHandler(CSSPropertyBorderTopWidth, ApplyPropertyComputeLength<uns
igned, &RenderStyle::borderTopWidth, &RenderStyle::setBorderTopWidth, &RenderSty
le::initialBorderWidth, NormalDisabled, ThicknessEnabled>::createHandler()); | 1702 setPropertyHandler(CSSPropertyBorderTopWidth, ApplyPropertyComputeLength<uns
igned, &RenderStyle::borderTopWidth, &RenderStyle::setBorderTopWidth, &RenderSty
le::initialBorderWidth, NormalDisabled, ThicknessEnabled>::createHandler()); |
1856 setPropertyHandler(CSSPropertyClip, ApplyPropertyClip::createHandler()); | 1703 setPropertyHandler(CSSPropertyClip, ApplyPropertyClip::createHandler()); |
1857 setPropertyHandler(CSSPropertyColor, ApplyPropertyColor<InheritFromParent, &
RenderStyle::color, &RenderStyle::setColor, &RenderStyle::setVisitedLinkColor, &
RenderStyle::invalidColor, RenderStyle::initialColor>::createHandler()); | |
1858 setPropertyHandler(CSSPropertyCounterIncrement, ApplyPropertyCounter<Increme
nt>::createHandler()); | 1704 setPropertyHandler(CSSPropertyCounterIncrement, ApplyPropertyCounter<Increme
nt>::createHandler()); |
1859 setPropertyHandler(CSSPropertyCounterReset, ApplyPropertyCounter<Reset>::cre
ateHandler()); | 1705 setPropertyHandler(CSSPropertyCounterReset, ApplyPropertyCounter<Reset>::cre
ateHandler()); |
1860 setPropertyHandler(CSSPropertyCursor, ApplyPropertyCursor::createHandler()); | 1706 setPropertyHandler(CSSPropertyCursor, ApplyPropertyCursor::createHandler()); |
1861 setPropertyHandler(CSSPropertyDirection, ApplyPropertyDirection<&RenderStyle
::direction, &RenderStyle::setDirection, RenderStyle::initialDirection>::createH
andler()); | 1707 setPropertyHandler(CSSPropertyDirection, ApplyPropertyDirection<&RenderStyle
::direction, &RenderStyle::setDirection, RenderStyle::initialDirection>::createH
andler()); |
1862 setPropertyHandler(CSSPropertyDisplay, ApplyPropertyDisplay::createHandler()
); | 1708 setPropertyHandler(CSSPropertyDisplay, ApplyPropertyDisplay::createHandler()
); |
1863 setPropertyHandler(CSSPropertyFontFamily, ApplyPropertyFontFamily::createHan
dler()); | 1709 setPropertyHandler(CSSPropertyFontFamily, ApplyPropertyFontFamily::createHan
dler()); |
1864 setPropertyHandler(CSSPropertyFontSize, ApplyPropertyFontSize::createHandler
()); | 1710 setPropertyHandler(CSSPropertyFontSize, ApplyPropertyFontSize::createHandler
()); |
1865 setPropertyHandler(CSSPropertyFontStyle, ApplyPropertyFont<FontItalic, &Font
Description::italic, &FontDescription::setItalic, FontItalicOff>::createHandler(
)); | 1711 setPropertyHandler(CSSPropertyFontStyle, ApplyPropertyFont<FontItalic, &Font
Description::italic, &FontDescription::setItalic, FontItalicOff>::createHandler(
)); |
1866 setPropertyHandler(CSSPropertyFontVariant, ApplyPropertyFont<FontSmallCaps,
&FontDescription::smallCaps, &FontDescription::setSmallCaps, FontSmallCapsOff>::
createHandler()); | 1712 setPropertyHandler(CSSPropertyFontVariant, ApplyPropertyFont<FontSmallCaps,
&FontDescription::smallCaps, &FontDescription::setSmallCaps, FontSmallCapsOff>::
createHandler()); |
1867 setPropertyHandler(CSSPropertyFontWeight, ApplyPropertyFontWeight::createHan
dler()); | 1713 setPropertyHandler(CSSPropertyFontWeight, ApplyPropertyFontWeight::createHan
dler()); |
1868 setPropertyHandler(CSSPropertyLetterSpacing, ApplyPropertyComputeLength<int,
&RenderStyle::letterSpacing, &RenderStyle::setLetterSpacing, &RenderStyle::init
ialLetterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createH
andler()); | 1714 setPropertyHandler(CSSPropertyLetterSpacing, ApplyPropertyComputeLength<int,
&RenderStyle::letterSpacing, &RenderStyle::setLetterSpacing, &RenderStyle::init
ialLetterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createH
andler()); |
1869 setPropertyHandler(CSSPropertyLineHeight, ApplyPropertyLineHeight::createHan
dler()); | 1715 setPropertyHandler(CSSPropertyLineHeight, ApplyPropertyLineHeight::createHan
dler()); |
1870 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende
rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi
stStyleImage, CSSPropertyListStyleImage>::createHandler()); | 1716 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende
rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi
stStyleImage, CSSPropertyListStyleImage>::createHandler()); |
1871 setPropertyHandler(CSSPropertyOrphans, ApplyPropertyAuto<short, &RenderStyle
::orphans, &RenderStyle::setOrphans, &RenderStyle::hasAutoOrphans, &RenderStyle:
:setHasAutoOrphans>::createHandler()); | 1717 setPropertyHandler(CSSPropertyOrphans, ApplyPropertyAuto<short, &RenderStyle
::orphans, &RenderStyle::setOrphans, &RenderStyle::hasAutoOrphans, &RenderStyle:
:setHasAutoOrphans>::createHandler()); |
1872 setPropertyHandler(CSSPropertyOutlineColor, ApplyPropertyColor<NoInheritFrom
Parent, &RenderStyle::outlineColor, &RenderStyle::setOutlineColor, &RenderStyle:
:setVisitedLinkOutlineColor, &RenderStyle::color>::createHandler()); | |
1873 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int,
&RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init
ialOutlineOffset>::createHandler()); | 1718 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int,
&RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init
ialOutlineOffset>::createHandler()); |
1874 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat
eHandler()); | 1719 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat
eHandler()); |
1875 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig
ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty
le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler()); | 1720 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig
ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty
le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler()); |
1876 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler()); | 1721 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler()); |
1877 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler()); | 1722 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler()); |
1878 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl
er()); | 1723 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl
er()); |
1879 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c
reateHandler()); | 1724 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c
reateHandler()); |
1880 setPropertyHandler(CSSPropertyTextDecorationLine, ApplyPropertyTextDecoratio
n::createHandler()); | 1725 setPropertyHandler(CSSPropertyTextDecorationLine, ApplyPropertyTextDecoratio
n::createHandler()); |
1881 setPropertyHandler(CSSPropertyTextDecorationColor, ApplyPropertyColor<NoInhe
ritFromParent, &RenderStyle::textDecorationColor, &RenderStyle::setTextDecoratio
nColor, &RenderStyle::setVisitedLinkTextDecorationColor, &RenderStyle::color>::c
reateHandler()); | |
1882 | 1726 |
1883 #if ENABLE(CSS3_TEXT) | 1727 #if ENABLE(CSS3_TEXT) |
1884 setPropertyHandler(CSSPropertyWebkitTextUnderlinePosition, ApplyPropertyText
UnderlinePosition::createHandler()); | 1728 setPropertyHandler(CSSPropertyWebkitTextUnderlinePosition, ApplyPropertyText
UnderlinePosition::createHandler()); |
1885 #endif // CSS3_TEXT | 1729 #endif // CSS3_TEXT |
1886 setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyTextIndent::createHan
dler()); | 1730 setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyTextIndent::createHan
dler()); |
1887 setPropertyHandler(CSSPropertyTextRendering, ApplyPropertyFont<TextRendering
Mode, &FontDescription::textRenderingMode, &FontDescription::setTextRenderingMod
e, AutoTextRendering>::createHandler()); | 1731 setPropertyHandler(CSSPropertyTextRendering, ApplyPropertyFont<TextRendering
Mode, &FontDescription::textRenderingMode, &FontDescription::setTextRenderingMod
e, AutoTextRendering>::createHandler()); |
1888 setPropertyHandler(CSSPropertyVerticalAlign, ApplyPropertyVerticalAlign::cre
ateHandler()); | 1732 setPropertyHandler(CSSPropertyVerticalAlign, ApplyPropertyVerticalAlign::cre
ateHandler()); |
1889 setPropertyHandler(CSSPropertyWebkitAnimationDelay, ApplyPropertyAnimation<d
ouble, &CSSAnimationData::delay, &CSSAnimationData::setDelay, &CSSAnimationData:
:isDelaySet, &CSSAnimationData::clearDelay, &CSSAnimationData::initialAnimationD
elay, &CSSToStyleMap::mapAnimationDelay, &RenderStyle::accessAnimations, &Render
Style::animations>::createHandler()); | 1733 setPropertyHandler(CSSPropertyWebkitAnimationDelay, ApplyPropertyAnimation<d
ouble, &CSSAnimationData::delay, &CSSAnimationData::setDelay, &CSSAnimationData:
:isDelaySet, &CSSAnimationData::clearDelay, &CSSAnimationData::initialAnimationD
elay, &CSSToStyleMap::mapAnimationDelay, &RenderStyle::accessAnimations, &Render
Style::animations>::createHandler()); |
1890 setPropertyHandler(CSSPropertyWebkitAnimationDirection, ApplyPropertyAnimati
on<CSSAnimationData::AnimationDirection, &CSSAnimationData::direction, &CSSAnima
tionData::setDirection, &CSSAnimationData::isDirectionSet, &CSSAnimationData::cl
earDirection, &CSSAnimationData::initialAnimationDirection, &CSSToStyleMap::mapA
nimationDirection, &RenderStyle::accessAnimations, &RenderStyle::animations>::cr
eateHandler()); | 1734 setPropertyHandler(CSSPropertyWebkitAnimationDirection, ApplyPropertyAnimati
on<CSSAnimationData::AnimationDirection, &CSSAnimationData::direction, &CSSAnima
tionData::setDirection, &CSSAnimationData::isDirectionSet, &CSSAnimationData::cl
earDirection, &CSSAnimationData::initialAnimationDirection, &CSSToStyleMap::mapA
nimationDirection, &RenderStyle::accessAnimations, &RenderStyle::animations>::cr
eateHandler()); |
1891 setPropertyHandler(CSSPropertyWebkitAnimationDuration, ApplyPropertyAnimatio
n<double, &CSSAnimationData::duration, &CSSAnimationData::setDuration, &CSSAnima
tionData::isDurationSet, &CSSAnimationData::clearDuration, &CSSAnimationData::in
itialAnimationDuration, &CSSToStyleMap::mapAnimationDuration, &RenderStyle::acce
ssAnimations, &RenderStyle::animations>::createHandler()); | 1735 setPropertyHandler(CSSPropertyWebkitAnimationDuration, ApplyPropertyAnimatio
n<double, &CSSAnimationData::duration, &CSSAnimationData::setDuration, &CSSAnima
tionData::isDurationSet, &CSSAnimationData::clearDuration, &CSSAnimationData::in
itialAnimationDuration, &CSSToStyleMap::mapAnimationDuration, &RenderStyle::acce
ssAnimations, &RenderStyle::animations>::createHandler()); |
1892 setPropertyHandler(CSSPropertyWebkitAnimationFillMode, ApplyPropertyAnimatio
n<unsigned, &CSSAnimationData::fillMode, &CSSAnimationData::setFillMode, &CSSAni
mationData::isFillModeSet, &CSSAnimationData::clearFillMode, &CSSAnimationData::
initialAnimationFillMode, &CSSToStyleMap::mapAnimationFillMode, &RenderStyle::ac
cessAnimations, &RenderStyle::animations>::createHandler()); | 1736 setPropertyHandler(CSSPropertyWebkitAnimationFillMode, ApplyPropertyAnimatio
n<unsigned, &CSSAnimationData::fillMode, &CSSAnimationData::setFillMode, &CSSAni
mationData::isFillModeSet, &CSSAnimationData::clearFillMode, &CSSAnimationData::
initialAnimationFillMode, &CSSToStyleMap::mapAnimationFillMode, &RenderStyle::ac
cessAnimations, &RenderStyle::animations>::createHandler()); |
1893 setPropertyHandler(CSSPropertyWebkitAnimationIterationCount, ApplyPropertyAn
imation<double, &CSSAnimationData::iterationCount, &CSSAnimationData::setIterati
onCount, &CSSAnimationData::isIterationCountSet, &CSSAnimationData::clearIterati
onCount, &CSSAnimationData::initialAnimationIterationCount, &CSSToStyleMap::mapA
nimationIterationCount, &RenderStyle::accessAnimations, &RenderStyle::animations
>::createHandler()); | 1737 setPropertyHandler(CSSPropertyWebkitAnimationIterationCount, ApplyPropertyAn
imation<double, &CSSAnimationData::iterationCount, &CSSAnimationData::setIterati
onCount, &CSSAnimationData::isIterationCountSet, &CSSAnimationData::clearIterati
onCount, &CSSAnimationData::initialAnimationIterationCount, &CSSToStyleMap::mapA
nimationIterationCount, &RenderStyle::accessAnimations, &RenderStyle::animations
>::createHandler()); |
1894 setPropertyHandler(CSSPropertyWebkitAnimationName, ApplyPropertyAnimation<co
nst String&, &CSSAnimationData::name, &CSSAnimationData::setName, &CSSAnimationD
ata::isNameSet, &CSSAnimationData::clearName, &CSSAnimationData::initialAnimatio
nName, &CSSToStyleMap::mapAnimationName, &RenderStyle::accessAnimations, &Render
Style::animations>::createHandler()); | 1738 setPropertyHandler(CSSPropertyWebkitAnimationName, ApplyPropertyAnimation<co
nst String&, &CSSAnimationData::name, &CSSAnimationData::setName, &CSSAnimationD
ata::isNameSet, &CSSAnimationData::clearName, &CSSAnimationData::initialAnimatio
nName, &CSSToStyleMap::mapAnimationName, &RenderStyle::accessAnimations, &Render
Style::animations>::createHandler()); |
1895 setPropertyHandler(CSSPropertyWebkitAnimationPlayState, ApplyPropertyAnimati
on<EAnimPlayState, &CSSAnimationData::playState, &CSSAnimationData::setPlayState
, &CSSAnimationData::isPlayStateSet, &CSSAnimationData::clearPlayState, &CSSAnim
ationData::initialAnimationPlayState, &CSSToStyleMap::mapAnimationPlayState, &Re
nderStyle::accessAnimations, &RenderStyle::animations>::createHandler()); | 1739 setPropertyHandler(CSSPropertyWebkitAnimationPlayState, ApplyPropertyAnimati
on<EAnimPlayState, &CSSAnimationData::playState, &CSSAnimationData::setPlayState
, &CSSAnimationData::isPlayStateSet, &CSSAnimationData::clearPlayState, &CSSAnim
ationData::initialAnimationPlayState, &CSSToStyleMap::mapAnimationPlayState, &Re
nderStyle::accessAnimations, &RenderStyle::animations>::createHandler()); |
1896 setPropertyHandler(CSSPropertyWebkitAnimationTimingFunction, ApplyPropertyAn
imation<const PassRefPtr<TimingFunction>, &CSSAnimationData::timingFunction, &CS
SAnimationData::setTimingFunction, &CSSAnimationData::isTimingFunctionSet, &CSSA
nimationData::clearTimingFunction, &CSSAnimationData::initialAnimationTimingFunc
tion, &CSSToStyleMap::mapAnimationTimingFunction, &RenderStyle::accessAnimations
, &RenderStyle::animations>::createHandler()); | 1740 setPropertyHandler(CSSPropertyWebkitAnimationTimingFunction, ApplyPropertyAn
imation<const PassRefPtr<TimingFunction>, &CSSAnimationData::timingFunction, &CS
SAnimationData::setTimingFunction, &CSSAnimationData::isTimingFunctionSet, &CSSA
nimationData::clearTimingFunction, &CSSAnimationData::initialAnimationTimingFunc
tion, &CSSToStyleMap::mapAnimationTimingFunction, &RenderStyle::accessAnimations
, &RenderStyle::animations>::createHandler()); |
1897 setPropertyHandler(CSSPropertyWebkitAspectRatio, ApplyPropertyAspectRatio::c
reateHandler()); | 1741 setPropertyHandler(CSSPropertyWebkitAspectRatio, ApplyPropertyAspectRatio::c
reateHandler()); |
1898 setPropertyHandler(CSSPropertyWebkitBackgroundClip, CSSPropertyBackgroundCli
p); | |
1899 setPropertyHandler(CSSPropertyWebkitBackgroundComposite, ApplyPropertyFillLa
yer<CompositeOperator, CSSPropertyWebkitBackgroundComposite, BackgroundFillLayer
, &RenderStyle::accessBackgroundLayers, &RenderStyle::backgroundLayers, &FillLay
er::isCompositeSet, &FillLayer::composite, &FillLayer::setComposite, &FillLayer:
:clearComposite, &FillLayer::initialFillComposite, &CSSToStyleMap::mapFillCompos
ite>::createHandler()); | |
1900 setPropertyHandler(CSSPropertyWebkitBackgroundOrigin, CSSPropertyBackgroundO
rigin); | |
1901 setPropertyHandler(CSSPropertyWebkitBackgroundSize, CSSPropertyBackgroundSiz
e); | |
1902 setPropertyHandler(CSSPropertyWebkitBorderHorizontalSpacing, ApplyPropertyCo
mputeLength<short, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHoriz
ontalBorderSpacing, &RenderStyle::initialHorizontalBorderSpacing>::createHandler
()); | 1742 setPropertyHandler(CSSPropertyWebkitBorderHorizontalSpacing, ApplyPropertyCo
mputeLength<short, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHoriz
ontalBorderSpacing, &RenderStyle::initialHorizontalBorderSpacing>::createHandler
()); |
1903 setPropertyHandler(CSSPropertyWebkitBorderVerticalSpacing, ApplyPropertyComp
uteLength<short, &RenderStyle::verticalBorderSpacing, &RenderStyle::setVerticalB
orderSpacing, &RenderStyle::initialVerticalBorderSpacing>::createHandler()); | 1743 setPropertyHandler(CSSPropertyWebkitBorderVerticalSpacing, ApplyPropertyComp
uteLength<short, &RenderStyle::verticalBorderSpacing, &RenderStyle::setVerticalB
orderSpacing, &RenderStyle::initialVerticalBorderSpacing>::createHandler()); |
1904 setPropertyHandler(CSSPropertyWebkitColumnCount, ApplyPropertyAuto<unsigned
short, &RenderStyle::columnCount, &RenderStyle::setColumnCount, &RenderStyle::ha
sAutoColumnCount, &RenderStyle::setHasAutoColumnCount>::createHandler()); | 1744 setPropertyHandler(CSSPropertyWebkitColumnCount, ApplyPropertyAuto<unsigned
short, &RenderStyle::columnCount, &RenderStyle::setColumnCount, &RenderStyle::ha
sAutoColumnCount, &RenderStyle::setHasAutoColumnCount>::createHandler()); |
1905 setPropertyHandler(CSSPropertyWebkitColumnGap, ApplyPropertyAuto<float, &Ren
derStyle::columnGap, &RenderStyle::setColumnGap, &RenderStyle::hasNormalColumnGa
p, &RenderStyle::setHasNormalColumnGap, ComputeLength, CSSValueNormal>::createHa
ndler()); | 1745 setPropertyHandler(CSSPropertyWebkitColumnGap, ApplyPropertyAuto<float, &Ren
derStyle::columnGap, &RenderStyle::setColumnGap, &RenderStyle::hasNormalColumnGa
p, &RenderStyle::setHasNormalColumnGap, ComputeLength, CSSValueNormal>::createHa
ndler()); |
1906 setPropertyHandler(CSSPropertyWebkitColumnRuleColor, ApplyPropertyColor<NoIn
heritFromParent, &RenderStyle::columnRuleColor, &RenderStyle::setColumnRuleColor
, &RenderStyle::setVisitedLinkColumnRuleColor, &RenderStyle::color>::createHandl
er()); | |
1907 setPropertyHandler(CSSPropertyWebkitColumnRuleWidth, ApplyPropertyComputeLen
gth<unsigned short, &RenderStyle::columnRuleWidth, &RenderStyle::setColumnRuleWi
dth, &RenderStyle::initialColumnRuleWidth, NormalDisabled, ThicknessEnabled>::cr
eateHandler()); | 1746 setPropertyHandler(CSSPropertyWebkitColumnRuleWidth, ApplyPropertyComputeLen
gth<unsigned short, &RenderStyle::columnRuleWidth, &RenderStyle::setColumnRuleWi
dth, &RenderStyle::initialColumnRuleWidth, NormalDisabled, ThicknessEnabled>::cr
eateHandler()); |
1908 setPropertyHandler(CSSPropertyWebkitColumnWidth, ApplyPropertyAuto<float, &R
enderStyle::columnWidth, &RenderStyle::setColumnWidth, &RenderStyle::hasAutoColu
mnWidth, &RenderStyle::setHasAutoColumnWidth, ComputeLength>::createHandler()); | 1747 setPropertyHandler(CSSPropertyWebkitColumnWidth, ApplyPropertyAuto<float, &R
enderStyle::columnWidth, &RenderStyle::setColumnWidth, &RenderStyle::hasAutoColu
mnWidth, &RenderStyle::setHasAutoColumnWidth, ComputeLength>::createHandler()); |
1909 setPropertyHandler(CSSPropertyWebkitFlowFrom, ApplyPropertyString<MapNoneToN
ull, &RenderStyle::regionThread, &RenderStyle::setRegionThread, &RenderStyle::in
itialRegionThread>::createHandler()); | 1748 setPropertyHandler(CSSPropertyWebkitFlowFrom, ApplyPropertyString<MapNoneToN
ull, &RenderStyle::regionThread, &RenderStyle::setRegionThread, &RenderStyle::in
itialRegionThread>::createHandler()); |
1910 setPropertyHandler(CSSPropertyWebkitFlowInto, ApplyPropertyString<MapNoneToN
ull, &RenderStyle::flowThread, &RenderStyle::setFlowThread, &RenderStyle::initia
lFlowThread>::createHandler()); | 1749 setPropertyHandler(CSSPropertyWebkitFlowInto, ApplyPropertyString<MapNoneToN
ull, &RenderStyle::flowThread, &RenderStyle::setFlowThread, &RenderStyle::initia
lFlowThread>::createHandler()); |
1911 setPropertyHandler(CSSPropertyWebkitFontKerning, ApplyPropertyFont<FontDescr
iption::Kerning, &FontDescription::kerning, &FontDescription::setKerning, FontDe
scription::AutoKerning>::createHandler()); | 1750 setPropertyHandler(CSSPropertyWebkitFontKerning, ApplyPropertyFont<FontDescr
iption::Kerning, &FontDescription::kerning, &FontDescription::setKerning, FontDe
scription::AutoKerning>::createHandler()); |
1912 setPropertyHandler(CSSPropertyWebkitFontSmoothing, ApplyPropertyFont<FontSmo
othingMode, &FontDescription::fontSmoothing, &FontDescription::setFontSmoothing,
AutoSmoothing>::createHandler()); | 1751 setPropertyHandler(CSSPropertyWebkitFontSmoothing, ApplyPropertyFont<FontSmo
othingMode, &FontDescription::fontSmoothing, &FontDescription::setFontSmoothing,
AutoSmoothing>::createHandler()); |
1913 setPropertyHandler(CSSPropertyWebkitFontVariantLigatures, ApplyPropertyFontV
ariantLigatures::createHandler()); | 1752 setPropertyHandler(CSSPropertyWebkitFontVariantLigatures, ApplyPropertyFontV
ariantLigatures::createHandler()); |
1914 setPropertyHandler(CSSPropertyWebkitHighlight, ApplyPropertyString<MapNoneTo
Null, &RenderStyle::highlight, &RenderStyle::setHighlight, &RenderStyle::initial
Highlight>::createHandler()); | 1753 setPropertyHandler(CSSPropertyWebkitHighlight, ApplyPropertyString<MapNoneTo
Null, &RenderStyle::highlight, &RenderStyle::setHighlight, &RenderStyle::initial
Highlight>::createHandler()); |
1915 setPropertyHandler(CSSPropertyWebkitHyphenateCharacter, ApplyPropertyString<
MapAutoToNull, &RenderStyle::hyphenationString, &RenderStyle::setHyphenationStri
ng, &RenderStyle::initialHyphenationString>::createHandler()); | 1754 setPropertyHandler(CSSPropertyWebkitHyphenateCharacter, ApplyPropertyString<
MapAutoToNull, &RenderStyle::hyphenationString, &RenderStyle::setHyphenationStri
ng, &RenderStyle::initialHyphenationString>::createHandler()); |
1916 setPropertyHandler(CSSPropertyWebkitLineGrid, ApplyPropertyString<MapNoneToN
ull, &RenderStyle::lineGrid, &RenderStyle::setLineGrid, &RenderStyle::initialLin
eGrid>::createHandler()); | 1755 setPropertyHandler(CSSPropertyWebkitLineGrid, ApplyPropertyString<MapNoneToN
ull, &RenderStyle::lineGrid, &RenderStyle::setLineGrid, &RenderStyle::initialLin
eGrid>::createHandler()); |
1917 setPropertyHandler(CSSPropertyWebkitMarqueeSpeed, ApplyPropertyMarqueeSpeed:
:createHandler()); | 1756 setPropertyHandler(CSSPropertyWebkitMarqueeSpeed, ApplyPropertyMarqueeSpeed:
:createHandler()); |
1918 setPropertyHandler(CSSPropertyWebkitMaskBoxImageOutset, ApplyPropertyBorderI
mageModifier<BorderMask, Outset>::createHandler()); | 1757 setPropertyHandler(CSSPropertyWebkitMaskBoxImageOutset, ApplyPropertyBorderI
mageModifier<BorderMask, Outset>::createHandler()); |
1919 setPropertyHandler(CSSPropertyWebkitMaskBoxImageRepeat, ApplyPropertyBorderI
mageModifier<BorderMask, Repeat>::createHandler()); | 1758 setPropertyHandler(CSSPropertyWebkitMaskBoxImageRepeat, ApplyPropertyBorderI
mageModifier<BorderMask, Repeat>::createHandler()); |
1920 setPropertyHandler(CSSPropertyWebkitMaskBoxImageSlice, ApplyPropertyBorderIm
ageModifier<BorderMask, Slice>::createHandler()); | 1759 setPropertyHandler(CSSPropertyWebkitMaskBoxImageSlice, ApplyPropertyBorderIm
ageModifier<BorderMask, Slice>::createHandler()); |
1921 setPropertyHandler(CSSPropertyWebkitMaskBoxImageSource, ApplyPropertyBorderI
mageSource<CSSPropertyWebkitMaskBoxImageSource, &RenderStyle::maskBoxImageSource
, &RenderStyle::setMaskBoxImageSource, &RenderStyle::initialMaskBoxImageSource>:
:createHandler()); | 1760 setPropertyHandler(CSSPropertyWebkitMaskBoxImageSource, ApplyPropertyBorderI
mageSource<CSSPropertyWebkitMaskBoxImageSource, &RenderStyle::maskBoxImageSource
, &RenderStyle::setMaskBoxImageSource, &RenderStyle::initialMaskBoxImageSource>:
:createHandler()); |
1922 setPropertyHandler(CSSPropertyWebkitMaskBoxImageWidth, ApplyPropertyBorderIm
ageModifier<BorderMask, Width>::createHandler()); | 1761 setPropertyHandler(CSSPropertyWebkitMaskBoxImageWidth, ApplyPropertyBorderIm
ageModifier<BorderMask, Width>::createHandler()); |
1923 setPropertyHandler(CSSPropertyWebkitMaskClip, ApplyPropertyFillLayer<EFillBo
x, CSSPropertyWebkitMaskClip, MaskFillLayer, &RenderStyle::accessMaskLayers, &Re
nderStyle::maskLayers, &FillLayer::isClipSet, &FillLayer::clip, &FillLayer::setC
lip, &FillLayer::clearClip, &FillLayer::initialFillClip, &CSSToStyleMap::mapFill
Clip>::createHandler()); | |
1924 setPropertyHandler(CSSPropertyWebkitMaskComposite, ApplyPropertyFillLayer<Co
mpositeOperator, CSSPropertyWebkitMaskComposite, MaskFillLayer, &RenderStyle::ac
cessMaskLayers, &RenderStyle::maskLayers, &FillLayer::isCompositeSet, &FillLayer
::composite, &FillLayer::setComposite, &FillLayer::clearComposite, &FillLayer::i
nitialFillComposite, &CSSToStyleMap::mapFillComposite>::createHandler()); | |
1925 setPropertyHandler(CSSPropertyWebkitMaskImage, ApplyPropertyFillLayer<StyleI
mage*, CSSPropertyWebkitMaskImage, MaskFillLayer, &RenderStyle::accessMaskLayers
, &RenderStyle::maskLayers, &FillLayer::isImageSet, &FillLayer::image, &FillLaye
r::setImage, &FillLayer::clearImage, &FillLayer::initialFillImage, &CSSToStyleMa
p::mapFillImage>::createHandler()); | |
1926 setPropertyHandler(CSSPropertyWebkitMaskOrigin, ApplyPropertyFillLayer<EFill
Box, CSSPropertyWebkitMaskOrigin, MaskFillLayer, &RenderStyle::accessMaskLayers,
&RenderStyle::maskLayers, &FillLayer::isOriginSet, &FillLayer::origin, &FillLay
er::setOrigin, &FillLayer::clearOrigin, &FillLayer::initialFillOrigin, &CSSToSty
leMap::mapFillOrigin>::createHandler()); | |
1927 setPropertyHandler(CSSPropertyWebkitMaskPositionX, ApplyPropertyFillLayer<Le
ngth, CSSPropertyWebkitMaskPositionX, MaskFillLayer, &RenderStyle::accessMaskLay
ers, &RenderStyle::maskLayers, &FillLayer::isXPositionSet, &FillLayer::xPosition
, &FillLayer::setXPosition, &FillLayer::clearXPosition, &FillLayer::initialFillX
Position, &CSSToStyleMap::mapFillXPosition>::createHandler()); | |
1928 setPropertyHandler(CSSPropertyWebkitMaskPositionY, ApplyPropertyFillLayer<Le
ngth, CSSPropertyWebkitMaskPositionY, MaskFillLayer, &RenderStyle::accessMaskLay
ers, &RenderStyle::maskLayers, &FillLayer::isYPositionSet, &FillLayer::yPosition
, &FillLayer::setYPosition, &FillLayer::clearYPosition, &FillLayer::initialFillY
Position, &CSSToStyleMap::mapFillYPosition>::createHandler()); | |
1929 setPropertyHandler(CSSPropertyWebkitMaskRepeatX, ApplyPropertyFillLayer<EFil
lRepeat, CSSPropertyWebkitMaskRepeatX, MaskFillLayer, &RenderStyle::accessMaskLa
yers, &RenderStyle::maskLayers, &FillLayer::isRepeatXSet, &FillLayer::repeatX, &
FillLayer::setRepeatX, &FillLayer::clearRepeatX, &FillLayer::initialFillRepeatX,
&CSSToStyleMap::mapFillRepeatX>::createHandler()); | |
1930 setPropertyHandler(CSSPropertyWebkitMaskRepeatY, ApplyPropertyFillLayer<EFil
lRepeat, CSSPropertyWebkitMaskRepeatY, MaskFillLayer, &RenderStyle::accessMaskLa
yers, &RenderStyle::maskLayers, &FillLayer::isRepeatYSet, &FillLayer::repeatY, &
FillLayer::setRepeatY, &FillLayer::clearRepeatY, &FillLayer::initialFillRepeatY,
&CSSToStyleMap::mapFillRepeatY>::createHandler()); | |
1931 setPropertyHandler(CSSPropertyWebkitMaskSize, ApplyPropertyFillLayer<FillSiz
e, CSSPropertyWebkitMaskSize, MaskFillLayer, &RenderStyle::accessMaskLayers, &Re
nderStyle::maskLayers, &FillLayer::isSizeSet, &FillLayer::size, &FillLayer::setS
ize, &FillLayer::clearSize, &FillLayer::initialFillSize, &CSSToStyleMap::mapFill
Size>::createHandler()); | |
1932 setPropertyHandler(CSSPropertyWebkitPerspectiveOrigin, ApplyPropertyExpandin
g<SuppressValue, CSSPropertyWebkitPerspectiveOriginX, CSSPropertyWebkitPerspecti
veOriginY>::createHandler()); | 1762 setPropertyHandler(CSSPropertyWebkitPerspectiveOrigin, ApplyPropertyExpandin
g<SuppressValue, CSSPropertyWebkitPerspectiveOriginX, CSSPropertyWebkitPerspecti
veOriginY>::createHandler()); |
1933 setPropertyHandler(CSSPropertyWebkitTextEmphasisColor, ApplyPropertyColor<No
InheritFromParent, &RenderStyle::textEmphasisColor, &RenderStyle::setTextEmphasi
sColor, &RenderStyle::setVisitedLinkTextEmphasisColor, &RenderStyle::color>::cre
ateHandler()); | |
1934 setPropertyHandler(CSSPropertyWebkitTextEmphasisStyle, ApplyPropertyTextEmph
asisStyle::createHandler()); | 1763 setPropertyHandler(CSSPropertyWebkitTextEmphasisStyle, ApplyPropertyTextEmph
asisStyle::createHandler()); |
1935 setPropertyHandler(CSSPropertyWebkitTextFillColor, ApplyPropertyColor<NoInhe
ritFromParent, &RenderStyle::textFillColor, &RenderStyle::setTextFillColor, &Ren
derStyle::setVisitedLinkTextFillColor, &RenderStyle::color>::createHandler()); | |
1936 setPropertyHandler(CSSPropertyWebkitTextStrokeColor, ApplyPropertyColor<NoIn
heritFromParent, &RenderStyle::textStrokeColor, &RenderStyle::setTextStrokeColor
, &RenderStyle::setVisitedLinkTextStrokeColor, &RenderStyle::color>::createHandl
er()); | |
1937 setPropertyHandler(CSSPropertyWebkitTransformOriginZ, ApplyPropertyComputeLe
ngth<float, &RenderStyle::transformOriginZ, &RenderStyle::setTransformOriginZ, &
RenderStyle::initialTransformOriginZ>::createHandler()); | 1764 setPropertyHandler(CSSPropertyWebkitTransformOriginZ, ApplyPropertyComputeLe
ngth<float, &RenderStyle::transformOriginZ, &RenderStyle::setTransformOriginZ, &
RenderStyle::initialTransformOriginZ>::createHandler()); |
1938 setPropertyHandler(CSSPropertyWebkitTransitionDelay, ApplyPropertyAnimation<
double, &CSSAnimationData::delay, &CSSAnimationData::setDelay, &CSSAnimationData
::isDelaySet, &CSSAnimationData::clearDelay, &CSSAnimationData::initialAnimation
Delay, &CSSToStyleMap::mapAnimationDelay, &RenderStyle::accessTransitions, &Rend
erStyle::transitions>::createHandler()); | 1765 setPropertyHandler(CSSPropertyWebkitTransitionDelay, ApplyPropertyAnimation<
double, &CSSAnimationData::delay, &CSSAnimationData::setDelay, &CSSAnimationData
::isDelaySet, &CSSAnimationData::clearDelay, &CSSAnimationData::initialAnimation
Delay, &CSSToStyleMap::mapAnimationDelay, &RenderStyle::accessTransitions, &Rend
erStyle::transitions>::createHandler()); |
1939 setPropertyHandler(CSSPropertyWebkitTransitionDuration, ApplyPropertyAnimati
on<double, &CSSAnimationData::duration, &CSSAnimationData::setDuration, &CSSAnim
ationData::isDurationSet, &CSSAnimationData::clearDuration, &CSSAnimationData::i
nitialAnimationDuration, &CSSToStyleMap::mapAnimationDuration, &RenderStyle::acc
essTransitions, &RenderStyle::transitions>::createHandler()); | 1766 setPropertyHandler(CSSPropertyWebkitTransitionDuration, ApplyPropertyAnimati
on<double, &CSSAnimationData::duration, &CSSAnimationData::setDuration, &CSSAnim
ationData::isDurationSet, &CSSAnimationData::clearDuration, &CSSAnimationData::i
nitialAnimationDuration, &CSSToStyleMap::mapAnimationDuration, &RenderStyle::acc
essTransitions, &RenderStyle::transitions>::createHandler()); |
1940 setPropertyHandler(CSSPropertyWebkitTransitionProperty, ApplyPropertyAnimati
on<CSSPropertyID, &CSSAnimationData::property, &CSSAnimationData::setProperty, &
CSSAnimationData::isPropertySet, &CSSAnimationData::clearProperty, &CSSAnimation
Data::initialAnimationProperty, &CSSToStyleMap::mapAnimationProperty, &RenderSty
le::accessTransitions, &RenderStyle::transitions>::createHandler()); | 1767 setPropertyHandler(CSSPropertyWebkitTransitionProperty, ApplyPropertyAnimati
on<CSSPropertyID, &CSSAnimationData::property, &CSSAnimationData::setProperty, &
CSSAnimationData::isPropertySet, &CSSAnimationData::clearProperty, &CSSAnimation
Data::initialAnimationProperty, &CSSToStyleMap::mapAnimationProperty, &RenderSty
le::accessTransitions, &RenderStyle::transitions>::createHandler()); |
1941 setPropertyHandler(CSSPropertyWebkitTransitionTimingFunction, ApplyPropertyA
nimation<const PassRefPtr<TimingFunction>, &CSSAnimationData::timingFunction, &C
SSAnimationData::setTimingFunction, &CSSAnimationData::isTimingFunctionSet, &CSS
AnimationData::clearTimingFunction, &CSSAnimationData::initialAnimationTimingFun
ction, &CSSToStyleMap::mapAnimationTimingFunction, &RenderStyle::accessTransitio
ns, &RenderStyle::transitions>::createHandler()); | 1768 setPropertyHandler(CSSPropertyWebkitTransitionTimingFunction, ApplyPropertyA
nimation<const PassRefPtr<TimingFunction>, &CSSAnimationData::timingFunction, &C
SSAnimationData::setTimingFunction, &CSSAnimationData::isTimingFunctionSet, &CSS
AnimationData::clearTimingFunction, &CSSAnimationData::initialAnimationTimingFun
ction, &CSSToStyleMap::mapAnimationTimingFunction, &RenderStyle::accessTransitio
ns, &RenderStyle::transitions>::createHandler()); |
1942 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS
tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat
eHandler()); | 1769 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS
tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat
eHandler()); |
1943 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyExclusionShape
<&RenderStyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialS
hapeInside>::createHandler()); | 1770 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyExclusionShape
<&RenderStyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialS
hapeInside>::createHandler()); |
1944 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyExclusionShap
e<&RenderStyle::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initi
alShapeOutside>::createHandler()); | 1771 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyExclusionShap
e<&RenderStyle::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initi
alShapeOutside>::createHandler()); |
1945 setPropertyHandler(CSSPropertyWidows, ApplyPropertyAuto<short, &RenderStyle:
:widows, &RenderStyle::setWidows, &RenderStyle::hasAutoWidows, &RenderStyle::set
HasAutoWidows>::createHandler()); | 1772 setPropertyHandler(CSSPropertyWidows, ApplyPropertyAuto<short, &RenderStyle:
:widows, &RenderStyle::setWidows, &RenderStyle::hasAutoWidows, &RenderStyle::set
HasAutoWidows>::createHandler()); |
1946 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, &
RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet
terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler
()); | 1773 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, &
RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet
terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler
()); |
1947 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z
Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa
sAutoZIndex>::createHandler()); | 1774 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z
Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa
sAutoZIndex>::createHandler()); |
1948 } | 1775 } |
1949 | 1776 |
1950 | 1777 |
1951 } | 1778 } |
OLD | NEW |