OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
3 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. |
4 * Copyright (C) 2011 Igalia S.L. | 4 * Copyright (C) 2011 Igalia S.L. |
5 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 5 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "core/frame/LocalFrame.h" | 53 #include "core/frame/LocalFrame.h" |
54 #include "core/html/HTMLBodyElement.h" | 54 #include "core/html/HTMLBodyElement.h" |
55 #include "core/html/HTMLElement.h" | 55 #include "core/html/HTMLElement.h" |
56 #include "core/html/HTMLTableCellElement.h" | 56 #include "core/html/HTMLTableCellElement.h" |
57 #include "core/html/HTMLTextFormControlElement.h" | 57 #include "core/html/HTMLTextFormControlElement.h" |
58 #include "core/rendering/RenderObject.h" | 58 #include "core/rendering/RenderObject.h" |
59 #include "platform/weborigin/KURL.h" | 59 #include "platform/weborigin/KURL.h" |
60 #include "wtf/StdLibExtras.h" | 60 #include "wtf/StdLibExtras.h" |
61 #include "wtf/text/StringBuilder.h" | 61 #include "wtf/text/StringBuilder.h" |
62 | 62 |
63 using namespace std; | |
64 | |
65 namespace WebCore { | 63 namespace WebCore { |
66 | 64 |
67 using namespace HTMLNames; | 65 using namespace HTMLNames; |
68 | 66 |
69 static bool propertyMissingOrEqualToNone(StylePropertySet*, CSSPropertyID); | 67 static bool propertyMissingOrEqualToNone(StylePropertySet*, CSSPropertyID); |
70 | 68 |
71 class AttributeChange { | 69 class AttributeChange { |
72 ALLOW_ONLY_INLINE_ALLOCATION(); | 70 ALLOW_ONLY_INLINE_ALLOCATION(); |
73 public: | 71 public: |
74 AttributeChange() | 72 AttributeChange() |
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1079 return; | 1077 return; |
1080 | 1078 |
1081 RefPtrWillBeRawPtr<Text> textNode = toText(node.get()); | 1079 RefPtrWillBeRawPtr<Text> textNode = toText(node.get()); |
1082 RefPtrWillBeRawPtr<Text> textNext = toText(next); | 1080 RefPtrWillBeRawPtr<Text> textNext = toText(next); |
1083 textNode->appendData(textNext->data()); | 1081 textNode->appendData(textNext->data()); |
1084 if (textNext->parentNode()) // Might have been removed by mutation event. | 1082 if (textNext->parentNode()) // Might have been removed by mutation event. |
1085 textNext->remove(exceptionState); | 1083 textNext->remove(exceptionState); |
1086 } | 1084 } |
1087 | 1085 |
1088 } | 1086 } |
OLD | NEW |