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 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1368 setPropertyHandler(CSSPropertyFontStyle, ApplyPropertyFont<FontItalic, &Font Description::italic, &FontDescription::setItalic, FontItalicOff>::createHandler( )); | 1368 setPropertyHandler(CSSPropertyFontStyle, ApplyPropertyFont<FontItalic, &Font Description::italic, &FontDescription::setItalic, FontItalicOff>::createHandler( )); |
1369 setPropertyHandler(CSSPropertyFontVariant, ApplyPropertyFont<FontSmallCaps, &FontDescription::smallCaps, &FontDescription::setSmallCaps, FontSmallCapsOff>:: createHandler()); | 1369 setPropertyHandler(CSSPropertyFontVariant, ApplyPropertyFont<FontSmallCaps, &FontDescription::smallCaps, &FontDescription::setSmallCaps, FontSmallCapsOff>:: createHandler()); |
1370 setPropertyHandler(CSSPropertyFontWeight, ApplyPropertyFontWeight::createHan dler()); | 1370 setPropertyHandler(CSSPropertyFontWeight, ApplyPropertyFontWeight::createHan dler()); |
1371 setPropertyHandler(CSSPropertyLineHeight, ApplyPropertyLineHeight::createHan dler()); | 1371 setPropertyHandler(CSSPropertyLineHeight, ApplyPropertyLineHeight::createHan dler()); |
1372 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi stStyleImage, CSSPropertyListStyleImage>::createHandler()); | 1372 setPropertyHandler(CSSPropertyListStyleImage, ApplyPropertyStyleImage<&Rende rStyle::listStyleImage, &RenderStyle::setListStyleImage, &RenderStyle::initialLi stStyleImage, CSSPropertyListStyleImage>::createHandler()); |
1373 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler()); | 1373 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler()); |
1374 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler()); | 1374 setPropertyHandler(CSSPropertyResize, ApplyPropertyResize::createHandler()); |
1375 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler()); | 1375 setPropertyHandler(CSSPropertySize, ApplyPropertyPageSize::createHandler()); |
1376 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl er()); | 1376 setPropertyHandler(CSSPropertyTextAlign, ApplyPropertyTextAlign::createHandl er()); |
1377 setPropertyHandler(CSSPropertyTextAlignLast, ApplyPropertyDefault<TextAlignL ast, &RenderStyle::textAlignLast, TextAlignLast, &RenderStyle::setTextAlignLast, TextAlignLast, &RenderStyle::initialTextAlignLast>::createHandler()); | 1377 setPropertyHandler(CSSPropertyTextAlignLast, ApplyPropertyDefault<TextAlignL ast, &RenderStyle::textAlignLast, TextAlignLast, &RenderStyle::setTextAlignLast, TextAlignLast, &RenderStyle::initialTextAlignLast>::createHandler()); |
1378 setPropertyHandler(CSSPropertyTextJustify, ApplyPropertyDefault<TextJustify, &RenderStyle::textJustify, TextJustify, &RenderStyle::setTextJustify, TextJusti fy, &RenderStyle::initialTextJustify>::createHandler()); | |
Julien - ping for review
2013/07/15 22:05:47
It is NOT acceptable to add more code to a depreca
dw.im
2013/07/16 01:13:56
in the CSSProperties.in file, I see.
| |
1378 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c reateHandler()); | 1379 setPropertyHandler(CSSPropertyTextDecoration, ApplyPropertyTextDecoration::c reateHandler()); |
1379 setPropertyHandler(CSSPropertyTextDecorationLine, ApplyPropertyTextDecoratio n::createHandler()); | 1380 setPropertyHandler(CSSPropertyTextDecorationLine, ApplyPropertyTextDecoratio n::createHandler()); |
1380 | 1381 |
1381 #if ENABLE(CSS3_TEXT) | 1382 #if ENABLE(CSS3_TEXT) |
1382 setPropertyHandler(CSSPropertyWebkitTextUnderlinePosition, ApplyPropertyText UnderlinePosition::createHandler()); | 1383 setPropertyHandler(CSSPropertyWebkitTextUnderlinePosition, ApplyPropertyText UnderlinePosition::createHandler()); |
1383 #endif // CSS3_TEXT | 1384 #endif // CSS3_TEXT |
1384 setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyTextIndent::createHan dler()); | 1385 setPropertyHandler(CSSPropertyTextIndent, ApplyPropertyTextIndent::createHan dler()); |
1385 setPropertyHandler(CSSPropertyTextRendering, ApplyPropertyFont<TextRendering Mode, &FontDescription::textRenderingMode, &FontDescription::setTextRenderingMod e, AutoTextRendering>::createHandler()); | 1386 setPropertyHandler(CSSPropertyTextRendering, ApplyPropertyFont<TextRendering Mode, &FontDescription::textRenderingMode, &FontDescription::setTextRenderingMod e, AutoTextRendering>::createHandler()); |
1386 setPropertyHandler(CSSPropertyVerticalAlign, ApplyPropertyVerticalAlign::cre ateHandler()); | 1387 setPropertyHandler(CSSPropertyVerticalAlign, ApplyPropertyVerticalAlign::cre ateHandler()); |
1387 setPropertyHandler(CSSPropertyWebkitAspectRatio, ApplyPropertyAspectRatio::c reateHandler()); | 1388 setPropertyHandler(CSSPropertyWebkitAspectRatio, ApplyPropertyAspectRatio::c reateHandler()); |
1388 setPropertyHandler(CSSPropertyWebkitFontKerning, ApplyPropertyFont<FontDescr iption::Kerning, &FontDescription::kerning, &FontDescription::setKerning, FontDe scription::AutoKerning>::createHandler()); | 1389 setPropertyHandler(CSSPropertyWebkitFontKerning, ApplyPropertyFont<FontDescr iption::Kerning, &FontDescription::kerning, &FontDescription::setKerning, FontDe scription::AutoKerning>::createHandler()); |
1389 setPropertyHandler(CSSPropertyWebkitFontSmoothing, ApplyPropertyFont<FontSmo othingMode, &FontDescription::fontSmoothing, &FontDescription::setFontSmoothing, AutoSmoothing>::createHandler()); | 1390 setPropertyHandler(CSSPropertyWebkitFontSmoothing, ApplyPropertyFont<FontSmo othingMode, &FontDescription::fontSmoothing, &FontDescription::setFontSmoothing, AutoSmoothing>::createHandler()); |
1390 setPropertyHandler(CSSPropertyWebkitFontVariantLigatures, ApplyPropertyFontV ariantLigatures::createHandler()); | 1391 setPropertyHandler(CSSPropertyWebkitFontVariantLigatures, ApplyPropertyFontV ariantLigatures::createHandler()); |
1391 setPropertyHandler(CSSPropertyWebkitMarqueeSpeed, ApplyPropertyMarqueeSpeed: :createHandler()); | 1392 setPropertyHandler(CSSPropertyWebkitMarqueeSpeed, ApplyPropertyMarqueeSpeed: :createHandler()); |
1392 setPropertyHandler(CSSPropertyWebkitPerspectiveOrigin, ApplyPropertyExpandin g<SuppressValue, CSSPropertyWebkitPerspectiveOriginX, CSSPropertyWebkitPerspecti veOriginY>::createHandler()); | 1393 setPropertyHandler(CSSPropertyWebkitPerspectiveOrigin, ApplyPropertyExpandin g<SuppressValue, CSSPropertyWebkitPerspectiveOriginX, CSSPropertyWebkitPerspecti veOriginY>::createHandler()); |
1393 setPropertyHandler(CSSPropertyWebkitTextEmphasisStyle, ApplyPropertyTextEmph asisStyle::createHandler()); | 1394 setPropertyHandler(CSSPropertyWebkitTextEmphasisStyle, ApplyPropertyTextEmph asisStyle::createHandler()); |
1394 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat eHandler()); | 1395 setPropertyHandler(CSSPropertyWebkitClipPath, ApplyPropertyClipPath<&RenderS tyle::clipPath, &RenderStyle::setClipPath, &RenderStyle::initialClipPath>::creat eHandler()); |
1395 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyShape<&RenderS tyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialShapeInsid e>::createHandler()); | 1396 setPropertyHandler(CSSPropertyWebkitShapeInside, ApplyPropertyShape<&RenderS tyle::shapeInside, &RenderStyle::setShapeInside, &RenderStyle::initialShapeInsid e>::createHandler()); |
1396 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyShape<&Render Style::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initialShapeOu tside>::createHandler()); | 1397 setPropertyHandler(CSSPropertyWebkitShapeOutside, ApplyPropertyShape<&Render Style::shapeOutside, &RenderStyle::setShapeOutside, &RenderStyle::initialShapeOu tside>::createHandler()); |
1397 } | 1398 } |
1398 | 1399 |
1399 | 1400 |
1400 } | 1401 } |
OLD | NEW |