| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 if (name == typeAttr) | 39 if (name == typeAttr) |
| 40 return true; | 40 return true; |
| 41 return HTMLElement::IsPresentationAttribute(name); | 41 return HTMLElement::IsPresentationAttribute(name); |
| 42 } | 42 } |
| 43 | 43 |
| 44 void HTMLUListElement::CollectStyleForPresentationAttribute( | 44 void HTMLUListElement::CollectStyleForPresentationAttribute( |
| 45 const QualifiedName& name, | 45 const QualifiedName& name, |
| 46 const AtomicString& value, | 46 const AtomicString& value, |
| 47 MutableStylePropertySet* style) { | 47 MutableStylePropertySet* style) { |
| 48 if (name == typeAttr) { | 48 if (name == typeAttr) { |
| 49 if (EqualIgnoringCase(value, "disc")) | 49 if (DeprecatedEqualIgnoringCase(value, "disc")) |
| 50 AddPropertyToPresentationAttributeStyle(style, CSSPropertyListStyleType, | 50 AddPropertyToPresentationAttributeStyle(style, CSSPropertyListStyleType, |
| 51 CSSValueDisc); | 51 CSSValueDisc); |
| 52 else if (EqualIgnoringCase(value, "circle")) | 52 else if (DeprecatedEqualIgnoringCase(value, "circle")) |
| 53 AddPropertyToPresentationAttributeStyle(style, CSSPropertyListStyleType, | 53 AddPropertyToPresentationAttributeStyle(style, CSSPropertyListStyleType, |
| 54 CSSValueCircle); | 54 CSSValueCircle); |
| 55 else if (EqualIgnoringCase(value, "square")) | 55 else if (DeprecatedEqualIgnoringCase(value, "square")) |
| 56 AddPropertyToPresentationAttributeStyle(style, CSSPropertyListStyleType, | 56 AddPropertyToPresentationAttributeStyle(style, CSSPropertyListStyleType, |
| 57 CSSValueSquare); | 57 CSSValueSquare); |
| 58 else if (EqualIgnoringCase(value, "none")) | 58 else if (DeprecatedEqualIgnoringCase(value, "none")) |
| 59 AddPropertyToPresentationAttributeStyle(style, CSSPropertyListStyleType, | 59 AddPropertyToPresentationAttributeStyle(style, CSSPropertyListStyleType, |
| 60 CSSValueNone); | 60 CSSValueNone); |
| 61 } else { | 61 } else { |
| 62 HTMLElement::CollectStyleForPresentationAttribute(name, value, style); | 62 HTMLElement::CollectStyleForPresentationAttribute(name, value, style); |
| 63 } | 63 } |
| 64 } | 64 } |
| 65 | 65 |
| 66 } // namespace blink | 66 } // namespace blink |
| OLD | NEW |