Changeset 41944 in webkit
- Timestamp:
- Mar 24, 2009 11:25:43 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r41943 r41944 1 2009-03-24 Adele Peterson <adele@apple.com> 2 3 RS by Mark Rowe. 4 5 Only build these Mail quirks checks in on the Mac. 6 7 * dom/Document.cpp: (WebCore::disableRangeMutation): 8 * html/HTMLElement.cpp: (WebCore::HTMLElement::inEitherTagList): 9 1 10 2009-03-24 Brent Fulgham <bfulgham@webkit.org> 2 11 -
trunk/WebCore/dom/Document.cpp
r41932 r41944 278 278 static bool disableRangeMutation(Page* page) 279 279 { 280 #if PLATFORM(MAC) 280 281 // Disable Range mutation on document modifications in Tiger and Leopard Mail 281 282 // See <rdar://problem/5865171> 282 283 return page && (page->settings()->needsLeopardMailQuirks() || page->settings()->needsTigerMailQuirks()); 284 #else 285 return false; 286 #endif 283 287 } 284 288 -
trunk/WebCore/html/HTMLElement.cpp
r41926 r41944 922 922 const HTMLElement* child = static_cast<const HTMLElement*>(newChild); 923 923 if (inlineTagList()->contains(child->tagQName().localName().impl())) { 924 #if PLATFORM(MAC) 924 925 if (child->tagQName().localName() == styleTag) { 925 926 // Leopard Mail doesn't expect <style> to be in the body of the document, so don't allow it in that case. … … 929 930 return false; 930 931 } 932 #endif 931 933 return true; 932 934 }
Note: See TracChangeset
for help on using the changeset viewer.