| 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 21 matching lines...) Expand all Loading... |
| 32 #include "core/css/CSSPrimitiveValueMappings.h" | 32 #include "core/css/CSSPrimitiveValueMappings.h" |
| 33 #include "core/css/CSSToStyleMap.h" | 33 #include "core/css/CSSToStyleMap.h" |
| 34 #include "core/css/CSSValueList.h" | 34 #include "core/css/CSSValueList.h" |
| 35 #include "core/css/Pair.h" | 35 #include "core/css/Pair.h" |
| 36 #include "core/css/Rect.h" | 36 #include "core/css/Rect.h" |
| 37 #include "core/css/resolver/StyleResolver.h" | 37 #include "core/css/resolver/StyleResolver.h" |
| 38 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
| 39 #include "core/dom/Element.h" | 39 #include "core/dom/Element.h" |
| 40 #include "core/page/Settings.h" | 40 #include "core/page/Settings.h" |
| 41 #include "core/rendering/ClipPathOperation.h" | 41 #include "core/rendering/ClipPathOperation.h" |
| 42 #include "core/rendering/RenderObject.h" | |
| 43 #include "core/rendering/RenderView.h" | 42 #include "core/rendering/RenderView.h" |
| 44 #include "core/rendering/style/BasicShapes.h" | 43 #include "core/rendering/style/BasicShapes.h" |
| 45 #include "core/rendering/style/CursorList.h" | 44 #include "core/rendering/style/CursorList.h" |
| 46 #include "core/rendering/style/ExclusionShapeValue.h" | 45 #include "core/rendering/style/ExclusionShapeValue.h" |
| 47 #include "core/rendering/style/RenderStyle.h" | 46 #include "core/rendering/style/RenderStyle.h" |
| 48 #include <wtf/StdLibExtras.h> | 47 #include <wtf/StdLibExtras.h> |
| 49 #include <wtf/UnusedParam.h> | 48 #include <wtf/UnusedParam.h> |
| 50 | 49 |
| 51 using namespace std; | 50 using namespace std; |
| 52 | 51 |
| (...skipping 2209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2262 setPropertyHandler(CSSPropertyWordBreak, ApplyPropertyDefault<EWordBreak, &R
enderStyle::wordBreak, EWordBreak, &RenderStyle::setWordBreak, EWordBreak, &Rend
erStyle::initialWordBreak>::createHandler()); | 2261 setPropertyHandler(CSSPropertyWordBreak, ApplyPropertyDefault<EWordBreak, &R
enderStyle::wordBreak, EWordBreak, &RenderStyle::setWordBreak, EWordBreak, &Rend
erStyle::initialWordBreak>::createHandler()); |
| 2263 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, &
RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet
terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler
()); | 2262 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, &
RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet
terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler
()); |
| 2264 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p
roperty. So using the same handlers. | 2263 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p
roperty. So using the same handlers. |
| 2265 setPropertyHandler(CSSPropertyWordWrap, ApplyPropertyDefault<EOverflowWrap,
&RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EOverf
lowWrap, &RenderStyle::initialOverflowWrap>::createHandler()); | 2264 setPropertyHandler(CSSPropertyWordWrap, ApplyPropertyDefault<EOverflowWrap,
&RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EOverf
lowWrap, &RenderStyle::initialOverflowWrap>::createHandler()); |
| 2266 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z
Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa
sAutoZIndex>::createHandler()); | 2265 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z
Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa
sAutoZIndex>::createHandler()); |
| 2267 setPropertyHandler(CSSPropertyZoom, ApplyPropertyZoom::createHandler()); | 2266 setPropertyHandler(CSSPropertyZoom, ApplyPropertyZoom::createHandler()); |
| 2268 } | 2267 } |
| 2269 | 2268 |
| 2270 | 2269 |
| 2271 } | 2270 } |
| OLD | NEW |