| 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) 2004-2008, 2013, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004-2008, 2013, 2014 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 6 * Copyright (C) 2011 Motorola Mobility. 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 Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitLine
Break, CSSValueAfterWhiteSpace); | 259 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitLine
Break, CSSValueAfterWhiteSpace); |
| 260 UseCounter::count(document(), UseCounter::ContentEditablePlainTextOn
ly); | 260 UseCounter::count(document(), UseCounter::ContentEditablePlainTextOn
ly); |
| 261 } else if (equalIgnoringCase(value, "false")) { | 261 } else if (equalIgnoringCase(value, "false")) { |
| 262 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitUser
Modify, CSSValueReadOnly); | 262 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitUser
Modify, CSSValueReadOnly); |
| 263 } | 263 } |
| 264 } else if (name == hiddenAttr) { | 264 } else if (name == hiddenAttr) { |
| 265 addPropertyToPresentationAttributeStyle(style, CSSPropertyDisplay, CSSVa
lueNone); | 265 addPropertyToPresentationAttributeStyle(style, CSSPropertyDisplay, CSSVa
lueNone); |
| 266 } else if (name == draggableAttr) { | 266 } else if (name == draggableAttr) { |
| 267 if (equalIgnoringCase(value, "true")) { | 267 if (equalIgnoringCase(value, "true")) { |
| 268 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitUser
Drag, CSSValueElement); | 268 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitUser
Drag, CSSValueElement); |
| 269 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitUser
Select, CSSValueNone); | 269 addPropertyToPresentationAttributeStyle(style, CSSPropertyUserSelect
, CSSValueNone); |
| 270 } else if (equalIgnoringCase(value, "false")) { | 270 } else if (equalIgnoringCase(value, "false")) { |
| 271 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitUser
Drag, CSSValueNone); | 271 addPropertyToPresentationAttributeStyle(style, CSSPropertyWebkitUser
Drag, CSSValueNone); |
| 272 } | 272 } |
| 273 } else if (name == dirAttr) { | 273 } else if (name == dirAttr) { |
| 274 if (equalIgnoringCase(value, "auto")) { | 274 if (equalIgnoringCase(value, "auto")) { |
| 275 addPropertyToPresentationAttributeStyle(style, CSSPropertyUnicodeBid
i, unicodeBidiAttributeForDirAuto(this)); | 275 addPropertyToPresentationAttributeStyle(style, CSSPropertyUnicodeBid
i, unicodeBidiAttributeForDirAuto(this)); |
| 276 } else { | 276 } else { |
| 277 if (isValidDirAttribute(value)) | 277 if (isValidDirAttribute(value)) |
| 278 addPropertyToPresentationAttributeStyle(style, CSSPropertyDirect
ion, value); | 278 addPropertyToPresentationAttributeStyle(style, CSSPropertyDirect
ion, value); |
| 279 else if (isHTMLBodyElement(*this)) | 279 else if (isHTMLBodyElement(*this)) |
| (...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1147 #ifndef NDEBUG | 1147 #ifndef NDEBUG |
| 1148 | 1148 |
| 1149 // For use in the debugger | 1149 // For use in the debugger |
| 1150 void dumpInnerHTML(blink::HTMLElement*); | 1150 void dumpInnerHTML(blink::HTMLElement*); |
| 1151 | 1151 |
| 1152 void dumpInnerHTML(blink::HTMLElement* element) | 1152 void dumpInnerHTML(blink::HTMLElement* element) |
| 1153 { | 1153 { |
| 1154 printf("%s\n", element->innerHTML().ascii().data()); | 1154 printf("%s\n", element->innerHTML().ascii().data()); |
| 1155 } | 1155 } |
| 1156 #endif | 1156 #endif |
| OLD | NEW |