Merge updateSelectionCachesIfSelectionIsInsideTextFormControl into setSelectionWithou...
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2014-02-07  Ryosuke Niwa  <rniwa@webkit.org>
2
3         Merge updateSelectionCachesIfSelectionIsInsideTextFormControl into setSelectionWithoutUpdatingAppearance
4         https://bugs.webkit.org/show_bug.cgi?id=128439
5
6         Reviewed by Anders Carlsson.
7
8         FrameSelection::selectAll had a superfluous call to updateSelectionCachesIfSelectionIsInsideTextFormControl
9         because it wasn't setting UserTriggered option to avoid revealing selection.
10
11         Call setSelection with UserTriggered and recently added DoNotRevealSelection option and merge
12         updateSelectionCachesIfSelectionIsInsideTextFormControl into setSelectionWithoutUpdatingAppearance.
13
14         Also rename local variables in setSelectionWithoutUpdatingAppearance, newSelection to
15         newSelectionPossiblyWithoutDirection and s to newSelection so that they're self explanatory.
16
17         In addition, we now update the input element's selection caches before calling
18         selectFrameElementInParentIfFullySelected but this should be fine because selection cannot simultaneously
19         select the entire document and be inside a text form control.
20
21         * editing/FrameSelection.cpp:
22         (WebCore::FrameSelection::setSelectionWithoutUpdatingAppearance):
23         (WebCore::FrameSelection::selectAll):
24
25 2014-02-07  Ryosuke Niwa  <rniwa@webkit.org>
26
27         EFL build fix attempt after r163662.
28
29         * Modules/indexeddb/leveldb/IDBLevelDBCoding.cpp:
30         (WebCore::IDBLevelDBCoding::encodeIDBKey):
31
32 2014-02-07  Ryosuke Niwa  <rniwa@webkit.org>
33
34         FrameSelection's destructor shouldn't notify accessibility
35         https://bugs.webkit.org/show_bug.cgi?id=128421
36
37         Reviewed by Benjamin Poulain.
38
39         Extracted setSelectionWithoutUpdatingAppearance out of setSelection and called it in prepareForDestruction
40         instead of setting DoNotUpdateAppearance option. This new function doesn't reveal selection or notify
41         accessibility code in addition to not updating appearance.
42
43         Note that all implementations of notifyAccessibilityForSelectionChange in FrameSelectionAtk.cpp and
44         FrameSelectionMac.mm exit early when the selection type is not caret or either start or end is null,
45         which is already the case inside FrameSelection's destructor. In addition, revealSelection is never called
46         when selection change was not triggered by user so there should be no behavioral change from this patch.
47
48         * editing/FrameSelection.cpp:
49         (WebCore::FrameSelection::setSelectionWithoutUpdatingAppearance):
50         (WebCore::FrameSelection::setSelection):
51         (WebCore::FrameSelection::prepareForDestruction):
52         * editing/FrameSelection.h:
53         (WebCore::FrameSelection::notifyAccessibilityForSelectionChange): Added the trivial implementation in the case
54         accessibility is disabled to tidy up call sites.
55
56 2014-02-07  Martin Robinson  <mrobinson@igalia.com>
57
58         Build fix for the GTK+ CMake build
59
60         * PlatformGTK.cmake: VTTCue.idl was unintentionally added to the list of GObject DOM bindings
61         output files. Remove it.
62
63 2014-02-07  Dirk Schulze  <krit@webkit.org>
64
65         Per CSSOM, computed rect() function values must be comma separated
66         https://bugs.webkit.org/show_bug.cgi?id=128401
67
68         Reviewed by Simon Fraser.
69
70         Updated tests.
71
72         * css/Rect.h:
73         (WebCore::Rect::generateCSSString):
74
75 2014-02-07  Gavin Barraclough  <barraclough@apple.com>
76
77         Remove isInitialState flag from Page::setViewState
78         https://bugs.webkit.org/show_bug.cgi?id=128428
79
80         Reviewed by Sam Weinig.
81
82         * WebCore.exp.in:
83             - removed isInitialState.
84         * page/Page.cpp:
85         (WebCore::Page::setViewState):
86             - removed isInitialState.
87         (WebCore::Page::setIsVisible):
88             - removed isInitialState.
89         (WebCore::Page::setIsVisibleInternal):
90             - removed isInitialState.
91         * page/Page.h:
92             - removed isInitialState.
93
94 2014-02-07  Simon Fraser  <simon.fraser@apple.com>
95
96         Encode requestedScrollPosition on ScrollingStateScrollingNodes to send to the UI process
97         https://bugs.webkit.org/show_bug.cgi?id=128416
98
99         Reviewed by Tim Horton.
100         
101         Change requestedScrollPosition() to be a FloatPoint, and export
102         ScrollingStateScrollingNode::setRequestedScrollPosition(WebCore::FloatPoint const&, bool)
103         for WK2.
104
105         * WebCore.exp.in:
106         * page/scrolling/ScrollingStateScrollingNode.cpp:
107         (WebCore::ScrollingStateScrollingNode::setRequestedScrollPosition):
108         * page/scrolling/ScrollingStateScrollingNode.h:
109
110 2014-02-07  Beth Dakin  <bdakin@apple.com>
111
112         Should get rid of TileController's CoverageForSlowScrolling mode
113         https://bugs.webkit.org/show_bug.cgi?id=128339
114
115         Reviewed by Simon Fraser.
116
117         This patch gets rid of CoverageForSlowScrolling in the TileController. It also 
118         makes sure that margin tiles are properly invalidated on pages with slow repaint 
119         objects that cause slow scrolling. 
120
121         When we invalidate because of slow scrolling, don’t clip the update rect to the 
122         layer bounds.
123         * page/FrameView.cpp:
124         (WebCore::FrameView::scrollContentsSlowPath):
125
126         Call new RenderObject paint function repaintSlowRepaintObject() instead of the 
127         more-generic repaint().
128         (WebCore::FrameView::repaintSlowRepaintObjects):
129
130         Remove CoverageForSlowScrolling.
131         * platform/graphics/TiledBacking.h:
132         * platform/graphics/ca/mac/TileController.h:
133         * platform/graphics/ca/mac/TileController.mm:
134         (WebCore::TileController::tilesWouldChangeForVisibleRect):
135         (WebCore::TileController::computeTileCoverageRect):
136         (WebCore::TileController::revalidateTiles):
137         * rendering/RenderLayerBacking.cpp:
138         (WebCore::computeTileCoverage):
139
140         Handle repainting a slow repaint object. Don’t clip when we shouldn’t, use the 
141         RenderView’s backgroundRect as a repaintRect when this is the root background 
142         since that will take the extended background rect into consideration.
143         * rendering/RenderObject.cpp:
144         (WebCore::RenderObject::repaintSlowRepaintObject):
145         * rendering/RenderObject.h:
146
147 2014-02-06  Filip Pizlo  <fpizlo@apple.com>
148
149         More FTL build scaffolding
150         https://bugs.webkit.org/show_bug.cgi?id=128330
151
152         Reviewed by Geoffrey Garen.
153
154         The FTL already has tests.
155
156         * Configurations/FeatureDefines.xcconfig:
157
158 2014-02-07  Alexey Proskuryakov  <ap@apple.com>
159
160         Remove some unused functions from SerializedScriptValue
161         https://bugs.webkit.org/show_bug.cgi?id=128407
162
163         Reviewed by Anders Carlsson.
164
165         * bindings/js/SerializedScriptValue.cpp:
166         (WebCore::SerializedScriptValue::undefinedValue):
167         (WebCore::SerializedScriptValue::nullValue):
168         * bindings/js/SerializedScriptValue.h:
169
170 2014-02-07  Brady Eidson  <beidson@apple.com>
171
172         IDB: Some Mozilla cursor mutation tests fail
173         <rdar://problem/16011680> and https://bugs.webkit.org/show_bug.cgi?id=128374
174
175         Reviewed by Sam Weinig.
176
177         Tested by:
178         storage/indexeddb/mozilla/cursor-mutation-objectstore-only.html
179         storage/indexeddb/mozilla/cursor-mutation.html
180
181         The previous comment about LevelDB was wrong.
182         Apparently calling onSuccess() with a null SharedBuffer means the cursor reached the end.
183         Update to distinguish between an error and reaching the end:
184         * Modules/indexeddb/IDBCursorBackendOperations.cpp:
185         (WebCore::CursorAdvanceOperation::perform):
186         (WebCore::CursorIterationOperation::perform):
187  
188         Add a new IDBKey type - Maximum - To be used in comparisons between keys.
189         This will allow the DatabaseProcess to operate on the range of all keys:
190         * Modules/indexeddb/IDBKey.cpp:
191         (WebCore::IDBKey::compare):
192         * Modules/indexeddb/IDBKey.h:
193
194         * Modules/indexeddb/IDBKeyData.cpp:
195         (WebCore::IDBKeyData::IDBKeyData):
196         (WebCore::IDBKeyData::maybeCreateIDBKey):
197         (WebCore::IDBKeyData::isolatedCopy):
198         (WebCore::IDBKeyData::encode):
199         (WebCore::IDBKeyData::decode):
200         (WebCore::IDBKeyData::compare):
201         (WebCore::IDBKeyData::loggingString):
202         * Modules/indexeddb/IDBKeyData.h:
203         (WebCore::IDBKeyData::minimum):
204         (WebCore::IDBKeyData::maximum):
205
206         * bindings/js/IDBBindingUtilities.cpp:
207         (WebCore::idbKeyToJSValue):
208
209         Remove an unused callback:
210         * Modules/indexeddb/IDBCallbacks.h:
211         * Modules/indexeddb/IDBRequest.h:
212
213 2014-02-07  Roger Fong  <roger_fong@apple.com>
214
215         CGContextGetUserSpaceToDeviceSpaceTransform returns the wrong value on Windows.
216         https://bugs.webkit.org/show_bug.cgi?id=128395.
217         
218         Rubberstamped by Zalan Bujtas.
219
220         The call essentially returns 0 and causes an assertion failure when running many layout tests.
221
222         * platform/graphics/cg/GraphicsContextCG.cpp: Don't make the call on Windows. We default to 1.
223         (WebCore::GraphicsContext::platformInit):
224
225 2014-02-07  Dan Bernstein  <mitz@apple.com>
226
227         iOS build fix.
228
229         * platform/PlatformKeyboardEvent.h: Fixed a typo.
230
231 2014-02-07  Dan Bernstein  <mitz@apple.com>
232
233         Stop using PLATFORM(MAC) in WebCore/platform except where it means “OS X but not iOS”
234         https://bugs.webkit.org/show_bug.cgi?id=128404
235
236         Reviewed by Anders Carlsson.
237
238         * Configurations/WebCore.xcconfig: Removed KeyEventMac.mm from
239         EXCLUDED_SOURCE_FILE_NAMES_iphoneos, because that file contains !PLATFORM(IOS) guards.
240         Removed WheelEventMac.mm from the same definition, because that file no longer exists.
241         * platform/ContentFilter.h: Changed PLATFORM(MAC) to PLATFORM(COCOA).
242         * platform/ContextMenu.h: Ditto.
243         * platform/ContextMenuItem.h: Ditto.
244         * platform/Cursor.cpp: Ditto.
245         * platform/Cursor.h: Ditto.
246         * platform/DragData.cpp: Ditto.
247         * platform/DragImage.cpp: Ditto.
248         * platform/Language.cpp:
249         (WebCore::displayNameForLanguageLocale): Changed PLATFORM(MAC) to USE(CF) && !PLATFORM(WIN).
250         * platform/LocalizedStrings.cpp: Changed PLATFORM(MAC) to PLATFORM(COCOA).
251         (WebCore::contextMenuItemTagSearchWeb):
252         * platform/LocalizedStrings.h: Ditto.
253         * platform/MIMETypeRegistry.cpp: Ditto.
254         (WebCore::initializeSupportedImageMIMETypesForEncoding):
255         * platform/PasteboardStrategy.h: Ditto.
256         * platform/PlatformKeyboardEvent.h: Ditto.
257         * platform/PlatformMenuDescription.h: Ditto.
258         * platform/PlatformSpeechSynthesizer.h: Ditto.
259         * platform/PlatformWheelEvent.h: Ditto.
260         (WebCore::PlatformWheelEvent::PlatformWheelEvent):
261         * platform/SchemeRegistry.cpp: Ditto.
262         (WebCore::localURLSchemes):
263         (WebCore::SchemeRegistry::removeURLSchemeRegisteredAsLocal):
264         (WebCore::SchemeRegistry::shouldCacheResponsesFromURLSchemeIndefinitely):
265         * platform/ScrollAnimator.cpp: Ditto.
266         (WebCore::ScrollAnimator::handleWheelEvent):
267         * platform/ScrollAnimator.h: Ditto.
268         * platform/ScrollView.cpp: Ditto.
269         * platform/ScrollView.h: Ditto.
270         * platform/ScrollbarThemeComposite.h: Ditto.
271         * platform/SharedBuffer.h: Changed PLATFORM(MAC) to USE(FOUNDATION) around NSData-related
272         code.
273         * platform/URL.h: Changed PLATFORM(MAC) to USE(FOUNDATION) around NSURL-related code.
274         * platform/Widget.cpp: Changed PLATFORM(MAC) to PLATFORM(COCOA).
275         * platform/Widget.h: Ditto.
276         * platform/audio/AudioSession.cpp: Changed !PLATFORM(MAC) && !PLATFORM(IOS) to
277         !PLATFORM(COCOA).
278         * platform/audio/HRTFElevation.cpp: Changed PLATFORM(MAC) to PLATFORM(COCOA).
279         * platform/audio/MediaSessionManager.cpp: Ditto.
280         * platform/audio/mac/AudioSessionMac.cpp: Updated comment.
281         * platform/audio/mac/MediaSessionManagerMac.cpp: Removed PLATFORM(MAC) from Cocoa-only file.
282         * platform/cf/SharedBufferCF.cpp: Changed !PLATFORM(MAC) to !USE(FOUNDATION) and updated
283         comment.
284         * platform/cf/URLCF.cpp: Changed !PLATFORM(MAC) to !USE(FOUNDATION).
285         * platform/graphics/BitmapImage.h: Changed one instance of PLATFORM(MAC) to
286         USE(CG) || USE(APPKIT), and another to PLATFORM(COCOA).
287         * platform/graphics/DisplayRefreshMonitor.cpp: Changed PLATFORM(MAC) to PLATFORM(COCOA).
288         (WebCore::DisplayRefreshMonitor::DisplayRefreshMonitor):
289         * platform/graphics/DisplayRefreshMonitor.h: Ditto.
290         * platform/graphics/FloatPoint.h: Collapsed nested #ifs into a single #if.
291         * platform/graphics/FloatRect.h: Ditto.
292         * platform/graphics/FloatSize.h: Ditto.
293         * platform/graphics/Font.cpp: Changed PLATFORM(MAC) to PLATFORM(COCOA).
294         * platform/graphics/Font.h: Ditto.
295         * platform/graphics/FontCache.cpp: Ditto.
296         (WebCore::FontCache::getFontData):
297         * platform/graphics/FontCache.h: Ditto. Also removed redundant friend class declaration.
298         * platform/graphics/FontGlyphs.cpp: Changed PLATFORM(MAC) to PLATFORM(COCOA).
299         (WebCore::FontGlyphs::glyphDataAndPageForCharacter):
300         * platform/graphics/GlyphPage.h: Ditto.
301         * platform/graphics/GraphicsContext3D.h: Ditto.
302         * platform/graphics/Image.h: Changed PLATFORM(MAC) to USE(APPKIT) around use of NSImage.
303         Changed another PLATFORM(MAC) to PLATFORM(COCOA).
304         * platform/graphics/IntRect.h: Collapsed nested #ifs into a single #if.
305         * platform/graphics/IntSize.h: Ditto.
306         * platform/graphics/MediaPlayer.cpp: Changed PLATFORM(MAC) to PLATFORM(COCOA).
307         (WebCore::installedMediaEngines):
308         (WebCore::MediaPlayer::supportsType):
309         * platform/graphics/SimpleFontData.cpp: Ditto.
310         (WebCore::SimpleFontData::nonSyntheticItalicFontData):
311         (WebCore::SimpleFontData::DerivedFontData::~DerivedFontData):
312         * platform/graphics/SimpleFontData.h: Ditto.
313         * platform/graphics/TiledBacking.h: Ditto.
314         * platform/graphics/ca/GraphicsLayerCA.cpp: Ditto.
315         (WebCore::GraphicsLayerCA::filtersCanBeComposited):
316         (WebCore::GraphicsLayerCA::createPlatformCALayer):
317         * platform/graphics/ca/LayerFlushScheduler.h: Ditto.
318         * platform/graphics/ca/PlatformCAAnimation.h: Ditto.
319         * platform/graphics/ca/PlatformCAFilters.h: Ditto.
320         * platform/graphics/ca/PlatformCALayer.h: Ditto.
321         * platform/graphics/cg/BitmapImageCG.cpp: Ditto.
322         * platform/graphics/cg/GraphicsContextCG.cpp: Ditto.
323         (WebCore::GraphicsContext::setAllowsFontSmoothing):
324         * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h: Ditto.
325         * platform/graphics/cg/ImageBufferCG.cpp: Ditto.
326         * platform/graphics/cg/ImageBufferDataCG.h: Ditto.
327         * platform/graphics/cg/ImageCG.cpp: Ditto.
328         * platform/graphics/cg/ImageSourceCG.cpp: Ditto.
329         (WebCore::ImageSource::setData):
330         * platform/graphics/cg/ImageSourceCG.h: Ditto.
331         * platform/graphics/cg/PathCG.cpp: Ditto.
332         (WebCore::Path::platformAddPathForRoundedRect):
333         * platform/graphics/cg/PatternCG.cpp: Ditto.
334         * platform/graphics/gpu/DrawingBuffer.h: Ditto.
335         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
336         (WebCore::MediaPlayerPrivateQTKit::createQTMovieView): Removed PLATFORM(MAC) guards, since
337         this file is only used on Mac and iOS.
338         * platform/graphics/opengl/Extensions3DOpenGL.cpp:
339         (WebCore::Extensions3DOpenGL::supportsExtension): Changed the GL_EXT_draw_buffers check to
340         match the implementation.
341         * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: Changed PLATFORM(MAC) to
342         PLATFORM(COCOA).
343         * platform/mac/KeyEventMac.mm: Added !PLATFORM(IOS).
344         * platform/mac/PlatformEventFactoryMac.h: Changed PLATFORM(MAC) to PLATFORM(COCOA).
345         * platform/mac/WebCoreSystemInterface.h: Ditto. Removed redundant check for PLATFORM(MAC).
346         * platform/mac/WebCoreSystemInterface.mm: Removed redundant check for PLATFORM(MAC).
347         * platform/network/Credential.h: Changed PLATFORM(IOS) || PLATFORM(MAC) to PLATFORM(COCOA).
348         * platform/network/NetworkStateNotifier.h: Changed PLATFORM(MAC) to PLATFORM(COCOA).
349         * platform/network/NetworkStorageSession.h: Ditto.
350         * platform/network/NetworkingContext.h: Ditto.
351         * platform/network/ProtectionSpace.cpp: Ditto.
352         (WebCore::ProtectionSpace::receivesCredentialSecurely):
353         * platform/network/ResourceHandle.cpp: Ditto.
354         (WebCore::ResourceHandle::clearAuthentication):
355         (WebCore::ResourceHandle::shouldContentSniffURL):
356         * platform/network/ResourceHandle.h: Ditto.
357         * platform/network/ResourceHandleClient.cpp: Ditto.
358         * platform/network/ResourceHandleClient.h: Ditto.
359         * platform/network/ResourceHandleInternal.h: Ditto.
360         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
361         * platform/network/ResourceRequestBase.cpp: Ditto.
362         * platform/network/cf/AuthenticationCF.h: Ditto.
363         * platform/network/cf/CookieStorageCFNet.cpp: Ditto.
364         * platform/network/cf/CredentialStorageCFNet.cpp: Ditto.
365         * platform/network/cf/FormDataStreamCFNet.cpp: Ditto.
366         * platform/network/cf/NetworkStorageSessionCFNet.cpp: Ditto.
367         (WebCore::NetworkStorageSession::switchToNewTestingSession):
368         (WebCore::NetworkStorageSession::createPrivateBrowsingSession):
369         * platform/network/cf/ResourceError.h: Ditto.
370         * platform/network/cf/ResourceHandleCFNet.cpp: Ditto.
371         (WebCore::ResourceHandle::createCFURLConnection):
372         * platform/network/cf/ResourceHandleCFURLConnectionDelegate.cpp:
373         * platform/network/cf/ResourceRequest.h: Ditto.
374         (WebCore::ResourceRequest::ResourceRequest):
375         * platform/network/cf/ResourceRequestCFNet.cpp: Ditto.
376         (WebCore::ResourceRequest::doUpdatePlatformRequest):
377         (WebCore::ResourceRequest::doUpdatePlatformHTTPBody):
378         (WebCore::ResourceRequest::setStorageSession):
379         * platform/network/cf/ResourceResponse.h: Ditto.
380         * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp:
381         (WebCore::SynchronousResourceHandleCFURLConnectionDelegate::didReceiveResponse):
382         * platform/network/mac/ResourceResponseMac.mm: Ditto.
383         * platform/posix/FileSystemPOSIX.cpp: Changed PLATFORM(MAC) to OS(DARWIN) &&
384         !PLATFORM(EFL) && !PLATFORM(GTK).
385         * platform/text/TextBoundaries.cpp: Changed PLATFORM(MAC) to PLATFORM(COCOA).
386
387 2014-02-07  Ryosuke Niwa  <rniwa@webkit.org>
388
389         Revert r154384 and r154674 as they broke selection rect computations for text with ligatures.
390
391         * platform/graphics/Font.cpp:
392         (WebCore::Font::drawText):
393         (WebCore::Font::drawEmphasisMarks):
394         (WebCore::Font::selectionRectForText):
395         (WebCore::Font::offsetForPosition):
396         * platform/graphics/FontFastPath.cpp:
397         (WebCore::Font::getGlyphsAndAdvancesForSimpleText):
398         (WebCore::Font::selectionRectForSimpleText):
399         (WebCore::Font::offsetForPositionForSimpleText):
400         * platform/graphics/GlyphBuffer.h:
401         * platform/graphics/WidthIterator.cpp:
402         (WebCore::WidthIterator::WidthIterator):
403         (WebCore::WidthIterator::advanceInternal):
404         (WebCore::WidthIterator::advanceOneCharacter):
405         * platform/graphics/WidthIterator.h:
406
407 2014-02-07  Benjamin Poulain  <bpoulain@apple.com>
408
409         [WK2] Add support for text document viewport configuration
410         https://bugs.webkit.org/show_bug.cgi?id=128359
411
412         Reviewed by Simon Fraser.
413
414         Define a set of ViewportParameters suitable for displaying text documents.
415         Add a documents class for text document to differentiate them from other type of documents.
416
417         * WebCore.exp.in:
418         * dom/Document.h:
419         (WebCore::Document::isTextDocument):
420         * html/TextDocument.cpp:
421         (WebCore::TextDocument::TextDocument):
422         * page/ViewportConfiguration.cpp:
423         (WebCore::ViewportConfiguration::ViewportConfiguration):
424         (WebCore::ViewportConfiguration::webpageParameters):
425         (WebCore::ViewportConfiguration::plainTextParameters):
426         * page/ViewportConfiguration.h:
427
428 2014-02-07  Bem Jones-Bey  <bjonesbe@adobe.com>
429
430         FloatingObject::unsafeClone should not copy m_originatingLine
431         https://bugs.webkit.org/show_bug.cgi?id=128381
432
433         Reviewed by Andreas Kling.
434
435         Copying the originatingLine allows to break the invariant that the
436         floating object must only contain lines that are owned by the renderer
437         it is attached to.
438
439         * rendering/FloatingObjects.cpp:
440         (WebCore::FloatingObject::unsafeClone):
441
442 2014-02-07  Brendan Long  <b.long@cablelabs.com>
443
444         Update TextTrack API to current spec
445         https://bugs.webkit.org/show_bug.cgi?id=122218
446
447         Refactoring VTTCue out of TextTrackCue.
448
449         Reviewed by Eric Carlson.
450
451         Test: media/track/track-vttcue.html
452
453         * CMakeLists.txt: Add VTTCue and rename RenderTextTrackCue to RenderVTTCue.
454         * DerivedSources.cpp: Same.
455         * DerivedSources.make: Same.
456         * GNUmakefile.list.am: Same.
457         * PlatformGTK.cmake:  Same.
458         * WebCore.vcxproj/WebCore.vcxproj: Same.
459         * WebCore.vcxproj/WebCore.vcxproj.filters: Same.
460         * WebCore.xcodeproj/project.pbxproj: Same.
461         * bindings/js/JSTextTrackCueCustom.cpp:
462         (WebCore::toJS): Use VTTCue DOM wrapper for VTTCue and its subclasses.
463         * html/HTMLMediaElement.cpp:
464         (WebCore::HTMLMediaElement::updateActiveTextTrackCues): Convert to VTTCue as needed.
465         (WebCore::HTMLMediaElement::textTrackRemoveCue): Same.
466         * html/HTMLMediaElement.h: Only print cue.text in debug output if the cue type has a .text attribute
467         * html/shadow/MediaControlElements.cpp:
468         (WebCore::MediaControlTextTrackContainerElement::updateDisplay): Convert to VTTCue as needed, and fix TextTrackCueBox to VTTCueBox.
469         (WebCore::MediaControlTextTrackContainerElement::updateTimerFired): Convert to VTTCue as needed.
470         * html/track/InbandGenericTextTrack.cpp:
471         (WebCore::InbandGenericTextTrack::addGenericCue): Use refactored VTTCue attributes.
472         * html/track/InbandWebVTTTextTrack.cpp:
473         (WebCore::InbandWebVTTTextTrack::newCuesParsed): Use VTTCue's constructor instead of deprecated TextTrackCue constructor.
474         * html/track/TextTrack.cpp:
475         (WebCore::TextTrack::setMode): Convert to VTTCue as needed.
476         (WebCore::TextTrack::hasCue): Make this function only accept VTTCues, since it's only used for them anyway, and convert existing cues to VTTCues as needed.
477         * html/track/TextTrack.h: Same as hasCue above.
478         * html/track/TextTrackCue.cpp: Refactor a lot of code out. Everything that was removed went to VTTCue.cpp.
479         (WebCore::TextTrackCue::create): For backwards compatibility, just call VTTCue::create().
480         (WebCore::TextTrackCue::TextTrackCue): Refactor a lot of code out.
481         (WebCore::TextTrackCue::~TextTrackCue): Same.
482         (WebCore::TextTrackCue::didChange): Same.
483         (WebCore::TextTrackCue::setIsActive): Same.
484         * html/track/TextTrackCue.h: Same.
485         * html/track/TextTrackCue.idl: Remove VTTCue attributes and add custom toJS function.
486         * html/track/TextTrackCueGeneric.cpp: Use VTTCue instead of TextTrackCue.
487         * html/track/TextTrackCueGeneric.h: Same.
488         * html/track/VTTCue.cpp: Copied from Source/WebCore/html/track/TextTrackCue.cpp.
489         * html/track/VTTCue.h: Copied from Source/WebCore/html/track/TextTrackCue.h.
490         * html/track/VTTCue.idl: Copied from Source/WebCore/html/track/TextTrackCue.idl.
491         * loader/TextTrackLoader.cpp:
492         (WebCore::TextTrackLoader::getNewCues): Use VTTCue instead of TextTrackCue.
493         * page/CaptionUserPreferencesMediaAF.cpp:
494         (WebCore::CaptionUserPreferencesMediaAF::captionsStyleSheetOverride): Use VTTCueBox instead of TextTrackCueBox.
495         * rendering/RenderVTTCue.cpp: Renamed from Source/WebCore/rendering/RenderTextTrackCue.cpp. Changed to use VTTCue instead of TextTrackCue.
496         * rendering/RenderVTTCue.h: Renamed from Source/WebCore/rendering/RenderTextTrackCue.h. Changed to use VTTCue instead of TextTrackCue.
497         * rendering/RenderingAllInOne.cpp: Rename RenderTextTrackCue to RenderVTTCue.
498
499 2014-02-07  Gavin Barraclough  <barraclough@apple.com>
500
501         Should report user input to PageThrottler
502         https://bugs.webkit.org/show_bug.cgi?id=128398
503
504         Reviewed by Tim Horton.
505
506         Make sure we wake from AppNap if there is user interaction.
507
508         * page/PageThrottler.h:
509         (WebCore::PageThrottler::didReceiveUserInput):
510         (WebCore::PageThrottler::pluginDidEvaluate):
511             - added, these call reportInterestingEvent()
512
513 2014-02-07  Jer Noble  <jer.noble@apple.com>
514
515         Unreviewed build fix for 32-bit iOS.
516
517         Use magic ? values to allow the exported symbol to be different on 32- and 64-bit builds.
518
519         * WebCore.exp.in:
520
521 2014-02-07  Anders Carlsson  <andersca@apple.com>
522
523         Convert ProgressTracker to std::chrono
524         https://bugs.webkit.org/show_bug.cgi?id=128377
525
526         Reviewed by Andreas Kling.
527
528         * loader/ProgressTracker.cpp:
529         (WebCore::ProgressTracker::ProgressTracker):
530         (WebCore::ProgressTracker::reset):
531         (WebCore::ProgressTracker::progressStarted):
532         (WebCore::ProgressTracker::finalProgressComplete):
533         (WebCore::ProgressTracker::incrementProgress):
534         * loader/ProgressTracker.h:
535
536 2014-02-07  Alexey Proskuryakov  <ap@apple.com>
537
538         32-bit build fix.
539
540         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
541         (accessibilitySelectTextCriteriaForCriteriaParameterizedAttribute):
542
543 2014-02-07  Mihai Tica  <mitica@adobe.com>
544
545         [CSS Background Blending] Unprefix the -webkit-background-blend-mode property
546
547         https://bugs.webkit.org/show_bug.cgi?id=128270
548
549         Reviewed by Dean Jackson.
550
551         This patch consist of unprefixing the -webkit-background-blend-mode.
552         The property now changes to background-blend-mode.
553
554         * css/CSSComputedStyleDeclaration.cpp:
555         (WebCore::ComputedStyleExtractor::propertyValue):
556         * css/CSSParser.cpp:
557         (WebCore::CSSParser::parseValue):
558         (WebCore::CSSParser::parseFillProperty):
559         * css/CSSPropertyNames.in:
560         * css/DeprecatedStyleBuilder.cpp:
561         (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
562
563 2014-02-07  Samuel White  <samuel_white@apple.com>
564
565         AX: Find and select text with respect to insertion point using accessibility API.
566         https://bugs.webkit.org/show_bug.cgi?id=128026
567
568         Reviewed by Chris Fleizach.
569
570         Added facilities to support semi-ambiguous text selection through the accessibility API. All
571         requests are handled with respect to the current selection. The requests are disambiguated in
572         WebCore using passed parameters such as: SelectStringAfterSelection , ..Before.., ..ClosestTo...,
573         etc. Callers can also supply an array of strings to select and the closest that matches the
574         disambiguation criteria will be used.
575
576         Test: platform/mac/accessibility/select-text.html
577
578         * accessibility/AccessibilityObject.cpp:
579         (WebCore::AccessibilityObject::rangeClosestToRange):
580         (WebCore::AccessibilityObject::rangeOfStringClosestToRangeInDirection):
581         (WebCore::AccessibilityObject::selectionRange):
582         (WebCore::AccessibilityObject::selectText):
583         (WebCore::AccessibilityObject::frame):
584         * accessibility/AccessibilityObject.h:
585         (WebCore::AccessibilitySelectTextCriteria::AccessibilitySelectTextCriteria):
586         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
587         (accessibilitySelectTextCriteriaForCriteriaParameterizedAttribute):
588         (-[WebAccessibilityObjectWrapper accessibilityParameterizedAttributeNames]):
589         (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
590         * dom/Position.cpp:
591         (WebCore::Position::positionCountBetweenPositions):
592         * dom/Position.h:
593
594 2014-02-07  Bem Jones-Bey  <bjonesbe@adobe.com>
595
596         FloatingObject m_paginationStrut should be LayoutUnit
597         https://bugs.webkit.org/show_bug.cgi?id=119808
598
599         Reviewed by Andreas Kling.
600
601         Make the paginationStrut in FloatingObject have the same type as all
602         of the other paginationStruts in the code.
603
604         * rendering/FloatingObjects.h:
605         (WebCore::FloatingObject::paginationStrut):
606         (WebCore::FloatingObject::setPaginationStrut):
607         * rendering/RenderBlockLineLayout.cpp:
608         (WebCore::RenderBlockFlow::positionNewFloatOnLine):
609
610 2014-02-06  Brady Eidson  <beidson@apple.com>
611
612         IDB: storage/indexeddb/create-index-with-integer-keys.html fails
613         <rdar://problem/16002857> and https://bugs.webkit.org/show_bug.cgi?id=128316
614
615         Reviewed by Geoff Garen.
616
617         Tested by storage/indexeddb/create-index-with-integer-keys.html (and probably some others)
618
619         * Modules/indexeddb/IDBCursor.cpp:
620         (WebCore::IDBCursor::update): Update createIDBKeyFromScriptValueAndKeyPath usage.
621         (WebCore::IDBCursor::setValueReady): Update createIDBKeyFromScriptValueAndKeyPath usage.
622
623         * Modules/indexeddb/IDBObjectStore.cpp:
624         (WebCore::IDBObjectStore::put): Update usage of binding utilities.
625
626         * Modules/indexeddb/IDBRequest.cpp:
627         (WebCore::IDBRequest::onSuccess): Update createIDBKeyFromScriptValueAndKeyPath usage.
628
629         * bindings/js/IDBBindingUtilities.cpp:
630         (WebCore::internalCreateIDBKeyFromScriptValueAndKeyPath):
631         (WebCore::createIDBKeyFromScriptValueAndKeyPath): Changed to take an ExecState*.
632         (WebCore::deserializeIDBValueBuffer): Added new version that starts with ExecState* and Vector<uint8_t>
633           instead of RequestState and SharedBuffer.
634         (WebCore::generateIndexKeysForValue): Moved from IDBObjectStore.cpp and changed to take an ExecState*
635         * bindings/js/IDBBindingUtilities.h:
636
637         Added new blob fetcher that works with uint8_t buffers:
638         * platform/sql/SQLiteStatement.cpp:
639         (WebCore::SQLiteStatement::getColumnBlobAsVector):
640         * platform/sql/SQLiteStatement.h:
641
642         * WebCore.exp.in:
643
644 2014-02-07  Frédéric Wang  <fred.wang@free.fr>
645
646         childShouldCreateRenderer should return false for the mspace element
647         https://bugs.webkit.org/show_bug.cgi?id=128325
648
649         Reviewed by Chris Fleizach.
650
651         The mspace element can not have children so this makes its
652         childShouldCreateRenderer always return false.
653
654         Test: mathml/presentation/mspace-children.html
655
656         * mathml/MathMLTextElement.cpp:
657         (WebCore::MathMLTextElement::childShouldCreateRenderer):
658
659 2014-02-07  Javier Fernandez  <jfernandez@igalia.com>
660
661         [CSS Grid Layout] Rename grid-definition-{columns|rows} to match the new syntax
662         https://bugs.webkit.org/show_bug.cgi?id=127989
663
664         Reviewed by Andreas Kling.
665
666         In the latest WD, grid-definition-{columns|rows} were renamed to grid-template-{columns|rows}.
667
668         * css/CSSComputedStyleDeclaration.cpp:
669         (WebCore::isLayoutDependent):
670         (WebCore::ComputedStyleExtractor::propertyValue):
671         * css/CSSParser.cpp:
672         (WebCore::CSSParser::parseValue):
673         * css/CSSPropertyNames.in:
674         * css/StyleResolver.cpp:
675         (WebCore::StyleResolver::applyProperty):
676
677 2014-02-07  Andreas Kling  <akling@apple.com>
678
679         CTTE: DocumentThreadableLoader always has a Document.
680         <https://webkit.org/b/128364>
681
682         DocumentThreadableLoader always has an "owner" Document, so store
683         that as a reference instead of a pointer. Removed some unnecessary
684         assertions exposed by this change.
685
686         Reviewed by Antti Koivisto.
687
688         * loader/DocumentThreadableLoader.cpp:
689         (WebCore::DocumentThreadableLoader::loadResourceSynchronously):
690         (WebCore::DocumentThreadableLoader::create):
691         (WebCore::DocumentThreadableLoader::DocumentThreadableLoader):
692         (WebCore::DocumentThreadableLoader::didReceiveResponse):
693         (WebCore::DocumentThreadableLoader::didReceiveData):
694         (WebCore::DocumentThreadableLoader::didFinishLoading):
695         (WebCore::DocumentThreadableLoader::didFail):
696         (WebCore::DocumentThreadableLoader::preflightFailure):
697         (WebCore::DocumentThreadableLoader::loadRequest):
698         (WebCore::DocumentThreadableLoader::securityOrigin):
699         * loader/DocumentThreadableLoader.h:
700         * loader/ThreadableLoader.cpp:
701         (WebCore::ThreadableLoader::create):
702         (WebCore::ThreadableLoader::loadResourceSynchronously):
703         * loader/WorkerThreadableLoader.cpp:
704         (WebCore::WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader):
705
706 2014-02-07  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
707
708         Vector-effect updates require a re-layout
709         https://bugs.webkit.org/show_bug.cgi?id=127553
710
711         Reviewed by Andreas Kling.
712
713         As noted in the stale SVGRenderStyle::diff() comment, now that layout() observes vector-effect
714         we need to trigger a re-layout on attribute changes.
715
716         Merged from Blink: https://src.chromium.org/viewvc/blink?revision=152570&view=revision
717
718         Tests: svg/custom/non-scaling-stroke-update-expected.svg
719                svg/custom/non-scaling-stroke-update.svg
720
721         * rendering/style/SVGRenderStyle.cpp:
722         (WebCore::SVGRenderStyle::diff):
723
724 2014-02-07  Laszlo Vidacs  <lvidacs.u-szeged@partner.samsung.com>
725
726         Renaming isTableElement() to isRenderedTable() as per the FIXME comment
727         https://bugs.webkit.org/show_bug.cgi?id=127769
728
729         Reviewed by Andreas Kling.
730
731         Rename method and use IsTable() instead of local type checking.
732
733         * dom/Position.cpp:
734         (WebCore::Position::parentAnchoredEquivalent):
735         (WebCore::Position::upstream):
736         (WebCore::Position::downstream):
737         (WebCore::Position::isCandidate):
738         * dom/PositionIterator.cpp:
739         (WebCore::PositionIterator::isCandidate):
740         * editing/CompositeEditCommand.cpp:
741         (WebCore::CompositeEditCommand::cloneParagraphUnderNewElement):
742         (WebCore::CompositeEditCommand::moveParagraphWithClones):
743         * editing/FrameSelection.cpp:
744         (WebCore::caretRendersInsideNode):
745         * editing/VisibleUnits.cpp:
746         (WebCore::startOfParagraph):
747         (WebCore::endOfParagraph):
748         * editing/htmlediting.cpp:
749         (WebCore::firstInSpecialElement):
750         (WebCore::lastInSpecialElement):
751         (WebCore::isRenderedTable):
752         * editing/htmlediting.h:
753         * rendering/RenderBox.cpp:
754         (WebCore::RenderBox::localCaretRect):
755
756 2014-02-06  Brady Eidson  <beidson@apple.com>
757
758         IDB: Remove the entirely unnecessary "Value Key" concept
759         https://bugs.webkit.org/show_bug.cgi?id=128360
760
761         Reviewed by Dan Bernstein.
762
763         No new tests (No change in behavior)
764
765         All cursor operations were set up to pass a value key parameter around, but it was:
766         1 - Entirely unused
767         2 - The same thing that the primary key is supposed to be
768
769         * Modules/indexeddb/IDBCallbacks.h:
770
771         * Modules/indexeddb/IDBCursorBackend.cpp:
772         (WebCore::IDBCursorBackend::updateCursorData):
773         (WebCore::IDBCursorBackend::clear):
774         * Modules/indexeddb/IDBCursorBackend.h:
775
776         * Modules/indexeddb/IDBCursorBackendOperations.cpp:
777         (WebCore::CursorAdvanceOperation::perform):
778         (WebCore::CursorIterationOperation::perform):
779
780         * Modules/indexeddb/IDBRequest.cpp:
781         (WebCore::IDBRequest::onSuccess):
782         * Modules/indexeddb/IDBRequest.h:
783
784         * Modules/indexeddb/IDBTransactionBackendOperations.cpp:
785         (WebCore::OpenCursorOperation::perform):
786
787         * Modules/indexeddb/IDBServerConnection.h:
788         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.cpp:
789         (WebCore::IDBServerConnectionLevelDB::openCursor):
790         (WebCore::IDBServerConnectionLevelDB::cursorAdvance):
791         (WebCore::IDBServerConnectionLevelDB::cursorIterate):
792         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
793
794 2014-02-06  Jeremy Jones  <jeremyj@apple.com>
795
796         Add support for AVKit fullscreen to WebKit2
797         https://bugs.webkit.org/show_bug.cgi?id=128143
798
799         Reviewed by Simon Fraser.
800
801         Rename overloaded functions to prevent ambiguous template parameter
802         compile error in generated code.
803
804         Rename overloaded exitFullscreen to exitFullscreenWithCompletionHandler.
805         Rename overloaded enterFullscreen to enterFullscreenWithCompletionHandler.
806
807         * WebCore.exp.in:
808         * WebCore.xcodeproj/project.pbxproj:
809         * platform/ios/WebVideoFullscreenControllerAVKit.mm:
810         (-[WebVideoFullscreenController exitFullscreen]):
811         * platform/ios/WebVideoFullscreenInterfaceAVKit.h:
812         * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
813         (WebVideoFullscreenInterfaceAVKit::enterFullscreenWithCompletionHandler):
814         (WebVideoFullscreenInterfaceAVKit::enterFullscreen):
815         (WebVideoFullscreenInterfaceAVKit::exitFullscreenWithCompletionHandler):
816         (WebVideoFullscreenInterfaceAVKit::exitFullscreen):
817         * platform/ios/WebVideoFullscreenModelMediaElement.h:
818
819 2014-02-06  Jeffrey Pfau  <jpfau@apple.com>
820
821         loadSubframe can return null in SubframeLoader::loadOrRedirectSubframe
822         https://bugs.webkit.org/show_bug.cgi?id=128344
823
824         Reviewed by Ryosuke Niwa.
825
826         * loader/SubframeLoader.cpp:
827         (WebCore::SubframeLoader::loadOrRedirectSubframe):
828
829 2014-02-06  Andreas Kling  <akling@apple.com>
830
831         Use child iterator in HTMLDetailsElement::findMainSummary().
832         <https://webkit.org/b/128335>
833
834         Reviewed by Antti Koivisto.
835
836         * html/HTMLDetailsElement.h:
837         * html/HTMLDetailsElement.cpp:
838         (WebCore::HTMLDetailsElement::findMainSummary):
839
840 2014-02-06  Antti Koivisto  <antti@apple.com>
841
842         Add missing &.
843
844         * css/StyleInvalidationAnalysis.cpp:
845         (WebCore::shouldDirtyAllStyle):
846
847 2014-02-06  Antti Koivisto  <antti@apple.com>
848
849         Check selectors exactly when invalidating style
850         https://bugs.webkit.org/show_bug.cgi?id=128321
851
852         Reviewed by Andreas Kling.
853         
854         Selectors are now really fast to match with the JIT. Take advantage of this by invalidating
855         the document style exactly when a new stylesheet arrives (instead of using heuristics).
856         
857         This reduces need for large style recalculations in some common cases.
858
859         * css/ElementRuleCollector.cpp:
860         (WebCore::ElementRuleCollector::clearMatchedRules):
861         (WebCore::ElementRuleCollector::collectMatchingRulesForList):
862         * css/ElementRuleCollector.h:
863         (WebCore::ElementRuleCollector::hasMatchedRules):
864         * css/RuleSet.h:
865         (WebCore::RuleSet::hasShadowPseudoElementRules):
866         * css/SelectorChecker.cpp:
867         (WebCore::SelectorChecker::matchRecursively):
868         * css/SelectorChecker.h:
869         
870             Add new mode where all pseudo elements match so we can invalidate their element.
871
872         * css/StyleInvalidationAnalysis.cpp:
873         (WebCore::shouldDirtyAllStyle):
874         (WebCore::StyleInvalidationAnalysis::StyleInvalidationAnalysis):
875         (WebCore::invalidateStyleRecursively):
876         (WebCore::StyleInvalidationAnalysis::invalidateStyle):
877         
878             Switch to real selector checker.
879
880         * css/StyleInvalidationAnalysis.h:
881         * css/StyleResolver.cpp:
882         (WebCore::StyleResolver::MatchedProperties::~MatchedProperties):
883         * css/StyleResolver.h:
884         (WebCore::StyleResolver::mediaQueryEvaluator):
885         * dom/DocumentStyleSheetCollection.cpp:
886         (WebCore::DocumentStyleSheetCollection::analyzeStyleSheetChange):
887
888 2014-02-06  Gavin Barraclough  <barraclough@apple.com>
889
890         Remove ChildProcess::m_activeTasks
891         https://bugs.webkit.org/show_bug.cgi?id=128342
892
893         Reviewed by Anders Carlson.
894
895         Currently we funnel a number of different user activities
896         to a single UserActivity object, which requires a call down
897         from WebCore to WebKit2. Split these out so we can track
898         them separately.
899
900         * page/ChromeClient.h:
901             - removed [inc|dec]rementActivePageCount
902         * page/PageThrottler.cpp:
903         (WebCore::PageThrottler::PageThrottler):
904             - incrementActivePageCount -> beginActivity
905         (WebCore::PageThrottler::~PageThrottler):
906             - decrementActivePageCount -> endActivity
907         (WebCore::PageThrottler::throttlePage):
908             - decrementActivePageCount -> endActivity
909         (WebCore::PageThrottler::unthrottlePage):
910             - incrementActivePageCount -> beginActivity
911         * page/PageThrottler.h:
912             - Added m_pageActivity.
913
914 2014-02-06  Commit Queue  <commit-queue@webkit.org>
915
916         Unreviewed, rolling out r163558.
917         http://trac.webkit.org/changeset/163558
918         https://bugs.webkit.org/show_bug.cgi?id=128350
919
920         Breaks scrolling on certain websites (Requested by bfulgham on
921         #webkit).
922
923         * page/EventHandler.cpp:
924         (WebCore::EventHandler::handleWheelEvent):
925         * page/WheelEventDeltaTracker.h:
926
927 2014-02-06  Chris Fleizach  <cfleizach@apple.com>
928
929         AX: Crash in WebCore::AXObjectCache::computedObjectAttributeCache
930         https://bugs.webkit.org/show_bug.cgi?id=128310
931
932         Reviewed by Alexey Proskuryakov.
933
934         Be more careful about using axObjectCache() directly since it can return null.
935         I audited the usage cases of this method and ensured the ptr was not null in cases
936         where I thought we might get hit by this.
937
938         * accessibility/AccessibilityNodeObject.cpp:
939         (WebCore::AccessibilityNodeObject::parentObject):
940         (WebCore::AccessibilityNodeObject::menuForMenuButton):
941         (WebCore::AccessibilityNodeObject::menuButtonForMenu):
942         * accessibility/AccessibilityObject.cpp:
943         (WebCore::AccessibilityObject::firstAccessibleObjectFromNode):
944         (WebCore::AccessibilityObject::findMatchingObjects):
945         (WebCore::AccessibilityObject::elementAccessibilityHitTest):
946         (WebCore::AccessibilityObject::axObjectCache):
947         (WebCore::AccessibilityObject::notifyIfIgnoredValueChanged):
948         (WebCore::AccessibilityObject::accessibilityIsIgnored):
949         * accessibility/AccessibilityRenderObject.cpp:
950         (WebCore::AccessibilityRenderObject::parentObjectIfExists):
951         (WebCore::AccessibilityRenderObject::parentObject):
952         (WebCore::AccessibilityRenderObject::anchorElement):
953         (WebCore::AccessibilityRenderObject::isTabItemSelected):
954         (WebCore::AccessibilityRenderObject::accessibilityParentForImageMap):
955         (WebCore::AccessibilityRenderObject::nodeIsTextControl):
956         (WebCore::AccessibilityRenderObject::activeDescendant):
957         (WebCore::AccessibilityRenderObject::handleAriaExpandedChanged):
958         (WebCore::AccessibilityRenderObject::observableObject):
959         (WebCore::AccessibilityRenderObject::textChanged):
960         * accessibility/AccessibilityScrollView.cpp:
961         (WebCore::AccessibilityScrollView::addChildScrollbar):
962         (WebCore::AccessibilityScrollView::webAreaObject):
963         (WebCore::AccessibilityScrollView::parentObject):
964         (WebCore::AccessibilityScrollView::parentObjectIfExists):
965
966 2014-02-06  Zoltan Horvath  <zoltan@webkit.org>
967
968         [CSS Shapes] Rounded Insets Let Content Overlap Shape
969         https://bugs.webkit.org/show_bug.cgi?id=127852
970
971         Reviewed by Bem Jones-Bey.
972
973         Using LengthSize to FloatSize conversion from LengthSize.h lead to miscalculated
974         inset border radius, when the border radius was defined by percentages. This patch
975         fixes the behavior and removes the incorrect conversion.
976
977         Test: fast/shapes/shape-outside-floats/shape-outside-rounded-inset.html
978
979         * css/LengthFunctions.cpp:
980         (WebCore::floatSizeForLengthSize): Add new helper function for LengthSize to FloatSize conversion.
981         * css/LengthFunctions.h:
982         * platform/LengthSize.h: Remove floatSize conversion.
983         * rendering/shapes/Shape.cpp:
984         (WebCore::Shape::createShape): Use new helper function to calculate the right with for the inset border radius.
985
986 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
987
988         Regenerate JSTestObj now that ScriptArguments moved. Generator knows what to do.
989
990         Rubber-stamped by Zalan Bujtas.
991
992         * bindings/scripts/test/JS/JSTestObj.cpp:
993         (WebCore::jsTestObjPrototypeFunctionWithScriptArgumentsAndCallStack):
994
995 2014-02-04  Jeffrey Pfau  <jpfau@apple.com>
996
997         Make adoption agency use the task queue
998         https://bugs.webkit.org/show_bug.cgi?id=109445
999
1000         Reviewed by Ryosuke Niwa.
1001
1002         Tests: fast/parser/adoption-agency-crash-01.html
1003                fast/parser/adoption-agency-crash-02.html
1004                fast/parser/adoption-agency-crash-03.html
1005
1006         * html/parser/HTMLConstructionSite.cpp:
1007         (WebCore::insert):
1008         (WebCore::executeInsertTask):
1009         (WebCore::executeReparentTask):
1010         (WebCore::executeInsertAlreadyParsedChildTask):
1011         (WebCore::executeTakeAllChildrenTask):
1012         (WebCore::executeTask):
1013         (WebCore::HTMLConstructionSite::attachLater):
1014         (WebCore::HTMLConstructionSite::executeQueuedTasks):
1015         (WebCore::HTMLConstructionSite::insertTextNode):
1016         (WebCore::HTMLConstructionSite::reparent):
1017         (WebCore::HTMLConstructionSite::insertAlreadyParsedChild):
1018         (WebCore::HTMLConstructionSite::takeAllChildren):
1019         (WebCore::HTMLConstructionSite::fosterParent):
1020         * html/parser/HTMLConstructionSite.h:
1021         (WebCore::HTMLConstructionSiteTask::HTMLConstructionSiteTask):
1022         (WebCore::HTMLConstructionSiteTask::oldParent):
1023         * html/parser/HTMLTreeBuilder.cpp:
1024         (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
1025
1026 2014-02-06  Mark Hahnenberg  <mhahnenberg@apple.com>
1027
1028         Heap::writeBarrier shouldn't be static
1029         https://bugs.webkit.org/show_bug.cgi?id=127807
1030
1031         Reviewed by Geoffrey Garen.
1032
1033         Currently it looks up the Heap in which to fire the write barrier by using 
1034         the cell passed to it. Almost every call site already has a reference to the 
1035         VM or the Heap itself. It seems wasteful to look it up all over again.
1036
1037         * bindings/js/JSEventListener.cpp:
1038         (WebCore::JSEventListener::JSEventListener):
1039         * bindings/js/JSEventListener.h:
1040         (WebCore::JSEventListener::jsFunction):
1041
1042 2014-02-06  Jaehun Lim  <ljaehun.lim@samsung.com>
1043
1044         Unreviewed, fix build error on 64bit debug build
1045
1046         Apply static_cast<long long> to int64_t variable when '%lli' is used.
1047
1048         * Modules/indexeddb/IDBDatabaseBackend.cpp:
1049         (WebCore::IDBDatabaseBackend::clearObjectStore):
1050         * Modules/indexeddb/IDBTransaction.cpp:
1051         (WebCore::IDBTransaction::setActive):
1052
1053 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
1054
1055         Web Inspector: Add Console support to JSContext Inspection
1056         https://bugs.webkit.org/show_bug.cgi?id=127941
1057
1058         Reviewed by Geoffrey Garen.
1059
1060           - Move InspectorConsoleAgent and dependencies to JavaScriptCore
1061             and into the Inspector namespace.
1062           - Update Console Message enum types to enum classes and update
1063             all users to the new, simpler names.
1064           - Since we are updating addConsoleMessage callsites anyways, add
1065             ASCIILiteral where appropriate.
1066           - Add WebConsoleAgent base of Page/Worker ConsoleAgent to implement
1067             what could not be pushed into JavaScriptCore.
1068
1069         * CMakeLists.txt:
1070         * DerivedSources.make:
1071         * ForwardingHeaders/inspector/ConsoleMessage.h: Added.
1072         * ForwardingHeaders/inspector/ConsoleTypes.h: Added.
1073         * ForwardingHeaders/inspector/IdentifiersFactory.h: Added.
1074         * ForwardingHeaders/inspector/ScriptArguments.h: Added.
1075         * ForwardingHeaders/inspector/ScriptCallFrame.h: Added.
1076         * ForwardingHeaders/inspector/ScriptCallStack.h: Added.
1077         * ForwardingHeaders/inspector/ScriptCallStackFactory.h: Added.
1078         * ForwardingHeaders/inspector/agents/InspectorConsoleAgent.h: Added.
1079         * GNUmakefile.am:
1080         * GNUmakefile.list.am:
1081         Add / remove files from builds.
1082
1083         * inspector/WebConsoleAgent.h:
1084         * inspector/WebConsoleAgent.cpp: Added.
1085         (WebCore::WebConsoleAgent::WebConsoleAgent):
1086         (WebCore::WebConsoleAgent::setMonitoringXHREnabled):
1087         (WebCore::WebConsoleAgent::frameWindowDiscarded):
1088         (WebCore::WebConsoleAgent::didFinishXHRLoading):
1089         (WebCore::WebConsoleAgent::didReceiveResponse):
1090         (WebCore::WebConsoleAgent::didFailLoading):
1091         (WebCore::WebConsoleAgent::addInspectedHeapObject):
1092         Implement what could not be pushed down into JavaScriptCore.
1093
1094         * inspector/InstrumentingAgents.h:
1095         (WebCore::InstrumentingAgents::webConsoleAgent):
1096         (WebCore::InstrumentingAgents::setWebConsoleAgent):
1097         Hold a WebConsoleAgent instead of InspectorConsoleAgent.
1098
1099         * Modules/indexeddb/IDBCursor.cpp:
1100         * Modules/indexeddb/IDBDatabase.cpp:
1101         * Modules/indexeddb/IDBTransaction.cpp:
1102         * Modules/quota/DOMWindowQuota.cpp:
1103         (WebCore::DOMWindowQuota::webkitStorageInfo):
1104         * Modules/webaudio/AudioBufferSourceNode.cpp:
1105         (WebCore::AudioBufferSourceNode::looping):
1106         (WebCore::AudioBufferSourceNode::setLooping):
1107         * Modules/webaudio/AudioContext.cpp:
1108         * Modules/webaudio/PannerNode.cpp:
1109         (WebCore::PannerNode::setPanningModel):
1110         * Modules/webdatabase/DatabaseBase.cpp:
1111         (WebCore::DatabaseBase::logErrorMessage):
1112         * Modules/webdatabase/DatabaseManager.cpp:
1113         (WebCore::DatabaseManager::logErrorMessage):
1114         * Modules/websockets/WebSocket.cpp:
1115         (WebCore::WebSocket::connect):
1116         (WebCore::WebSocket::send):
1117         (WebCore::WebSocket::close):
1118         (WebCore::WebSocket::setBinaryType):
1119         * Modules/websockets/WebSocketChannel.cpp:
1120         (WebCore::WebSocketChannel::fail):
1121         (WebCore::WebSocketChannel::didFailSocketStream):
1122         * Modules/websockets/WebSocketHandshake.cpp:
1123         * WebCore.exp.in:
1124         * WebCore.vcxproj/WebCore.vcxproj:
1125         * WebCore.vcxproj/WebCore.vcxproj.filters:
1126         * WebCore.xcodeproj/project.pbxproj:
1127         * bindings/js/JSAudioContextCustom.cpp:
1128         (WebCore::JSAudioContextConstructor::constructJSAudioContext):
1129         * bindings/js/JSCustomXPathNSResolver.cpp:
1130         (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
1131         * bindings/js/JSDOMBinding.cpp:
1132         * bindings/js/JSSubtleCryptoCustom.cpp:
1133         (WebCore::JSSubtleCrypto::encrypt):
1134         (WebCore::JSSubtleCrypto::decrypt):
1135         (WebCore::JSSubtleCrypto::sign):
1136         (WebCore::JSSubtleCrypto::verify):
1137         (WebCore::JSSubtleCrypto::wrapKey):
1138         (WebCore::JSSubtleCrypto::unwrapKey):
1139         * bindings/js/ScriptController.cpp:
1140         (WebCore::ScriptController::canExecuteScripts):
1141         * bindings/scripts/CodeGeneratorJS.pm:
1142         (GenerateCallWith):
1143         * bindings/scripts/test/JS/JSTestObj.cpp:
1144         * css/CSSParser.cpp:
1145         (WebCore::CSSParser::logError):
1146         * css/MediaList.cpp:
1147         (WebCore::addResolutionWarningMessageToConsole):
1148         * dom/Document.cpp:
1149         (WebCore::Document::logExceptionToConsole):
1150         (WebCore::Document::processHttpEquiv):
1151         (WebCore::Document::addMessage):
1152         * dom/Document.h:
1153         * dom/ScriptElement.cpp:
1154         (WebCore::ScriptElement::executeScript):
1155         (WebCore::ScriptElement::notifyFinished):
1156         * dom/ScriptExecutionContext.cpp:
1157         * dom/ScriptExecutionContext.h:
1158         * dom/ViewportArguments.cpp:
1159         (WebCore::viewportErrorMessageLevel):
1160         (WebCore::reportViewportWarning):
1161         * fileapi/Blob.cpp:
1162         * fileapi/WebKitBlobBuilder.cpp:
1163         * html/HTMLFormControlElement.cpp:
1164         (WebCore::shouldAutofocus):
1165         * html/HTMLFormElement.cpp:
1166         (WebCore::HTMLFormElement::validateInteractively):
1167         * html/HTMLIFrameElement.cpp:
1168         (WebCore::HTMLIFrameElement::parseAttribute):
1169         * html/HTMLMediaElement.cpp:
1170         (WebCore::HTMLMediaElement::parseAttribute):
1171         * html/canvas/CanvasRenderingContext2D.cpp:
1172         (WebCore::CanvasRenderingContext2D::getImageData):
1173         * html/canvas/WebGLRenderingContext.cpp:
1174         (WebCore::WebGLRenderingContext::printWarningToConsole):
1175         * html/parser/XSSAuditor.cpp:
1176         (WebCore::XSSAuditor::init):
1177         * html/parser/XSSAuditorDelegate.cpp:
1178         (WebCore::XSSAuditorDelegate::didBlockScript):
1179         * inspector/CommandLineAPIHost.cpp:
1180         * inspector/CommandLineAPIHost.h:
1181         (WebCore::CommandLineAPIHost::init):
1182         * inspector/InspectorAllInOne.cpp:
1183         * inspector/InspectorConsoleAgent.h: Removed.
1184         * inspector/InspectorConsoleInstrumentation.h:
1185         (WebCore::InspectorInstrumentation::addMessageToConsole):
1186         (WebCore::InspectorInstrumentation::consoleCount):
1187         (WebCore::InspectorInstrumentation::stopConsoleTiming):
1188         (WebCore::InspectorInstrumentation::consoleTimeStamp):
1189         (WebCore::InspectorInstrumentation::addProfile):
1190         * inspector/InspectorController.cpp:
1191         (WebCore::InspectorController::InspectorController):
1192         * inspector/InspectorDOMAgent.cpp:
1193         * inspector/InspectorFrontendHost.h:
1194         * inspector/InspectorInstrumentation.cpp:
1195         (WebCore::InspectorInstrumentation::frameWindowDiscardedImpl):
1196         (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl):
1197         (WebCore::InspectorInstrumentation::didFailLoadingImpl):
1198         (WebCore::InspectorInstrumentation::didFinishXHRLoadingImpl):
1199         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
1200         (WebCore::isConsoleAssertMessage):
1201         (WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
1202         (WebCore::InspectorInstrumentation::consoleCountImpl):
1203         (WebCore::InspectorInstrumentation::startConsoleTimingImpl):
1204         (WebCore::InspectorInstrumentation::stopConsoleTimingImpl):
1205         (WebCore::InspectorInstrumentation::consoleAgentEnabled):
1206         * inspector/InspectorInstrumentation.h:
1207         * inspector/InspectorLayerTreeAgent.cpp:
1208         * inspector/InspectorPageAgent.cpp:
1209         * inspector/InspectorProfilerAgent.cpp:
1210         (WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
1211         (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
1212         * inspector/InspectorProfilerAgent.h:
1213         * inspector/InspectorResourceAgent.cpp:
1214         (WebCore::InspectorResourceAgent::buildInitiatorObject):
1215         * inspector/InspectorTimelineAgent.cpp:
1216         * inspector/InstrumentingAgents.cpp:
1217         (WebCore::InstrumentingAgents::InstrumentingAgents):
1218         (WebCore::InstrumentingAgents::reset):
1219         * inspector/PageConsoleAgent.cpp:
1220         (WebCore::PageConsoleAgent::PageConsoleAgent):
1221         (WebCore::PageConsoleAgent::clearMessages):
1222         (WebCore::PageConsoleAgent::addInspectedNode):
1223         * inspector/PageConsoleAgent.h:
1224         * inspector/PageDebuggerAgent.cpp:
1225         (WebCore::PageDebuggerAgent::breakpointActionLog):
1226         * inspector/PageInjectedScriptHost.h:
1227         * inspector/PageInjectedScriptManager.h:
1228         * inspector/TimelineRecordFactory.cpp:
1229         (WebCore::TimelineRecordFactory::createGenericRecord):
1230         (WebCore::WebConsoleAgent::~WebConsoleAgent):
1231         * inspector/WorkerConsoleAgent.cpp:
1232         (WebCore::WorkerConsoleAgent::WorkerConsoleAgent):
1233         (WebCore::WorkerConsoleAgent::addInspectedNode):
1234         * inspector/WorkerConsoleAgent.h:
1235         * inspector/WorkerDebuggerAgent.cpp:
1236         (WebCore::WorkerDebuggerAgent::breakpointActionLog):
1237         * inspector/WorkerInspectorController.cpp:
1238         (WebCore::WorkerInspectorController::WorkerInspectorController):
1239         * loader/DocumentLoader.cpp:
1240         (WebCore::DocumentLoader::responseReceived):
1241         * loader/FrameLoader.cpp:
1242         (WebCore::FrameLoader::submitForm):
1243         (WebCore::FrameLoader::reportLocalLoadFailed):
1244         (WebCore::FrameLoader::handleBeforeUnloadEvent):
1245         (WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):
1246         (WebCore::createWindow):
1247         * loader/ImageLoader.cpp:
1248         (WebCore::ImageLoader::notifyFinished):
1249         * loader/MixedContentChecker.cpp:
1250         (WebCore::MixedContentChecker::logWarning):
1251         * loader/TextTrackLoader.cpp:
1252         (WebCore::TextTrackLoader::corsPolicyPreventedLoad):
1253         * loader/appcache/ApplicationCacheGroup.cpp:
1254         (WebCore::ApplicationCacheGroup::abort):
1255         (WebCore::ApplicationCacheGroup::didReceiveResponse):
1256         (WebCore::ApplicationCacheGroup::didFinishLoading):
1257         (WebCore::ApplicationCacheGroup::didFail):
1258         (WebCore::ApplicationCacheGroup::didReceiveManifestResponse):
1259         (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
1260         (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
1261         * loader/cache/CachedResourceLoader.cpp:
1262         (WebCore::CachedResourceLoader::printAccessDeniedMessage):
1263         * page/ChromeClient.h:
1264         * page/Console.cpp:
1265         (WebCore::internalAddMessage):
1266         (WebCore::Console::debug):
1267         (WebCore::Console::error):
1268         (WebCore::Console::log):
1269         (WebCore::Console::warn):
1270         (WebCore::Console::dir):
1271         (WebCore::Console::dirxml):
1272         (WebCore::Console::table):
1273         (WebCore::Console::clear):
1274         (WebCore::Console::trace):
1275         (WebCore::Console::assertCondition):
1276         (WebCore::Console::group):
1277         (WebCore::Console::groupCollapsed):
1278         (WebCore::Console::groupEnd):
1279         * page/Console.h:
1280         * page/ConsoleTypes.h: Removed.
1281         * page/ContentSecurityPolicy.cpp:
1282         (WebCore::ContentSecurityPolicy::reportViolation):
1283         (WebCore::ContentSecurityPolicy::logToConsole):
1284         * page/DOMSecurityPolicy.cpp:
1285         * page/DOMWindow.cpp:
1286         (WebCore::DOMWindow::postMessage):
1287         (WebCore::DOMWindow::dispatchMessageEventWithOriginCheck):
1288         (WebCore::DOMWindow::close):
1289         (WebCore::DOMWindow::printErrorMessage):
1290         * page/DOMWindow.h:
1291         * page/EventSource.cpp:
1292         (WebCore::EventSource::didReceiveResponse):
1293         (WebCore::EventSource::didFailAccessControlCheck):
1294         * page/PageConsole.cpp:
1295         (WebCore::PageConsole::printMessageSourceAndLevelPrefix):
1296         (WebCore::PageConsole::addMessage):
1297         * page/PageConsole.h:
1298         * page/PointerLockController.cpp:
1299         (WebCore::PointerLockController::requestPointerLock):
1300         * platform/CrossThreadCopier.h:
1301         * rendering/shapes/ShapeInfo.cpp:
1302         (WebCore::checkShapeImageOrigin):
1303         * svg/SVGDocumentExtensions.cpp:
1304         (WebCore::reportMessage):
1305         (WebCore::SVGDocumentExtensions::reportWarning):
1306         (WebCore::SVGDocumentExtensions::reportError):
1307         * testing/Internals.cpp:
1308         (WebCore::Internals::consoleMessageArgumentCounts):
1309         * workers/DefaultSharedWorkerRepository.cpp:
1310         * workers/SharedWorkerGlobalScope.cpp:
1311         (WebCore::SharedWorkerGlobalScope::logExceptionToConsole):
1312         * workers/SharedWorkerGlobalScope.h:
1313         * workers/WorkerGlobalScope.cpp:
1314         (WebCore::WorkerGlobalScope::addMessageToWorkerConsole):
1315         * workers/WorkerGlobalScope.h:
1316         * workers/WorkerMessagingProxy.cpp:
1317         * workers/WorkerReportingProxy.h:
1318         * xml/XMLHttpRequest.cpp:
1319         (WebCore::logConsoleError):
1320         (WebCore::XMLHttpRequest::send):
1321         * xml/XSLTProcessorLibxslt.cpp:
1322         (WebCore::XSLTProcessor::parseErrorFunc):
1323
1324 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
1325
1326         Convert a parameter to PassRefPtr
1327         https://bugs.webkit.org/show_bug.cgi?id=128327
1328
1329         Reviewed by Timothy Hatcher.
1330
1331         * inspector/InspectorConsoleInstrumentation.h:
1332         (WebCore::InspectorInstrumentation::addProfile):
1333         * inspector/InspectorInstrumentation.h:
1334
1335 2014-01-30  Oliver Hunt  <oliver@apple.com>
1336
1337         Push DOM attributes into the prototype chain
1338         https://bugs.webkit.org/show_bug.cgi?id=127969
1339
1340         Reviewed by Mark Lam.
1341
1342         This patch does the actual work of moving dom attributes up the
1343         prototype chain. There are still a few class and edge cases
1344         where we can't do this without impacting existing behaviour,
1345         but they can be fixed separately in later patches.
1346
1347         * bindings/js/JSDOMBinding.h:
1348         (WebCore::getStaticPropertySlotEntryWithoutCaching):
1349         (WebCore::getStaticPropertySlotEntryWithoutCaching<JSDOMWrapper>):
1350         * bindings/scripts/CodeGeneratorJS.pm:
1351         (GenerateGetOwnPropertySlotBody):
1352         (HasComplexGetOwnProperty):
1353         (ConstructorShouldBeOnInstance):
1354         (AttributeShouldBeOnInstance):
1355         (InstanceAttributeCount):
1356         (PrototypeAttributeCount):
1357         (InstanceOverridesGetOwnPropertySlot):
1358         (PrototypeOverridesGetOwnPropertySlot):
1359         (GenerateAttributesHashTable):
1360         (GenerateImplementation):
1361
1362 2014-02-06  Andreas Kling  <akling@apple.com>
1363
1364         Remove display:run-in support.
1365         <https://webkit.org/b/127874>
1366         <rdar://problem/15926949>
1367
1368         Remove support for the "run-in" display type. Blink recently removed
1369         this and Gecko never supported in the first place.
1370
1371         Rubber-stamped by Anders Carlsson.
1372
1373         * css/CSSParser.cpp:
1374         (WebCore::isValidKeywordPropertyAndValue):
1375         * css/CSSPrimitiveValueMappings.h:
1376         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
1377         * css/CSSValueKeywords.in:
1378         * css/StyleResolver.cpp:
1379         (WebCore::equivalentBlockDisplay):
1380         (WebCore::doesNotInheritTextDecoration):
1381         * rendering/RenderBlock.cpp:
1382         (WebCore::RenderBlock::willBeDestroyed):
1383         (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
1384         (WebCore::RenderBlock::makeChildrenNonInline):
1385         (WebCore::canMergeContiguousAnonymousBlocks):
1386         (WebCore::RenderBlock::renderName):
1387         * rendering/RenderBlock.h:
1388         * rendering/RenderBlockFlow.cpp:
1389         (WebCore::RenderBlockFlow::willBeDestroyed):
1390         (WebCore::shouldCheckLines):
1391         (WebCore::getHeightForLineCount):
1392         * rendering/RenderElement.cpp:
1393         (WebCore::RenderElement::createFor):
1394         (WebCore::RenderElement::destroyLeftoverChildren):
1395         * rendering/RenderFileUploadControl.cpp:
1396         * rendering/RenderFileUploadControl.h:
1397         * rendering/RenderInline.cpp:
1398         (WebCore::RenderInline::updateFromStyle):
1399         (WebCore::RenderInline::renderName):
1400         (WebCore::RenderInline::clippedOverflowRectForRepaint):
1401         * rendering/RenderListBox.cpp:
1402         * rendering/RenderListBox.h:
1403         * rendering/RenderMenuList.cpp:
1404         * rendering/RenderMenuList.h:
1405         * rendering/RenderObject.cpp:
1406         * rendering/RenderObject.h:
1407         * rendering/RenderProgress.cpp:
1408         * rendering/RenderProgress.h:
1409         * rendering/RenderSlider.cpp:
1410         * rendering/RenderSlider.h:
1411         * rendering/RenderTextControl.cpp:
1412         * rendering/RenderTextControl.h:
1413         * rendering/RenderTheme.cpp:
1414         (WebCore::RenderTheme::adjustStyle):
1415         * rendering/style/RenderStyleConstants.h:
1416
1417 2014-02-06  Andreas Kling  <akling@apple.com>
1418
1419         Remove leftover cruft from scoped stylesheet implementation.
1420         <https://webkit.org/b/128139>
1421
1422         Kill some pointless non-null checks that were left behind by the
1423         removed <style scoped> code. Also pruned outdated comments and
1424         FIXME's about such scopes.
1425
1426         Reviewed by Antti Koivisto.
1427
1428         * css/ElementRuleCollector.cpp:
1429         (WebCore::ElementRuleCollector::collectMatchingRules):
1430         * css/RuleSet.cpp:
1431         (WebCore::RuleSet::addChildRules):
1432         (WebCore::RuleSet::addRulesFromSheet):
1433         * css/RuleSet.h:
1434         * css/StyleResolver.cpp:
1435         (WebCore::StyleResolver::checkRegionStyle):
1436
1437 2014-02-05  Brent Fulgham  <bfulgham@apple.com>
1438
1439         Wheel events don't latch to inner scrollable elements 
1440         https://bugs.webkit.org/show_bug.cgi?id=128225
1441
1442         Reviewed by Beth Dakin.
1443
1444         * page/EventHandler.cpp:
1445         (WebCore::EventHandler::handleWheelEvent): Identify the case
1446         where we have hit the end of a scroll, and treat that as a
1447         valid 'handled' case. If the scroll event is just starting,
1448         treat end-of-scroll as unhandled so the parent element can
1449         handle things.
1450         * page/WheelEventDeltaTracker.h:
1451         (WebCore::WheelEventDeltaTracker::isFirstWheelEvent): Added.
1452
1453 2014-02-06  Commit Queue  <commit-queue@webkit.org>
1454
1455         Unreviewed, rolling out r163542.
1456         http://trac.webkit.org/changeset/163542
1457         https://bugs.webkit.org/show_bug.cgi?id=128324
1458
1459         Caused many assertion failures (Requested by ap on #webkit).
1460
1461         * bindings/js/JSEventListener.cpp:
1462         (WebCore::JSEventListener::JSEventListener):
1463         * bindings/js/JSEventListener.h:
1464         (WebCore::JSEventListener::jsFunction):
1465
1466 2014-02-06  Frédéric Wang  <fred.wang@free.fr>
1467
1468         Do not draw multi-characters <mi> in italic.
1469         https://bugs.webkit.org/show_bug.cgi?id=44208
1470
1471         Reviewed by Chris Fleizach.
1472
1473         This test prevents multi-char <mi> to be drawn in italic and prepare
1474         further improvements to MathML token and mfenced elements (bugs 124838
1475         and bug 99620).
1476
1477         Test: mathml/presentation/tokenElements-dynamic.html
1478
1479         * CMakeLists.txt:
1480         * GNUmakefile.list.am:
1481         * WebCore.vcxproj/WebCore.vcxproj:
1482         * WebCore.vcxproj/WebCore.vcxproj.filters:
1483         * WebCore.xcodeproj/project.pbxproj:
1484         * css/mathml.css:
1485         (mi, mo, mrow, mfenced, mfrac, msub, msup, msubsup, mmultiscripts, mprescripts, none, munder, mover, munderover, msqrt, mroot, merror, mphantom, mstyle, menclose):
1486         * mathml/MathMLTextElement.cpp:
1487         (WebCore::MathMLTextElement::didAttachRenderers):
1488         (WebCore::MathMLTextElement::childrenChanged):
1489         (WebCore::MathMLTextElement::createElementRenderer):
1490         * rendering/RenderObject.h:
1491         (WebCore::RenderObject::isRenderMathMLToken):
1492         * rendering/mathml/RenderMathMLToken.cpp: Added.
1493         (WebCore::RenderMathMLToken::RenderMathMLToken):
1494         (WebCore::RenderMathMLToken::addChild):
1495         (WebCore::RenderMathMLToken::createWrapperIfNeeded):
1496         (WebCore::RenderMathMLToken::updateTokenContent):
1497         (WebCore::RenderMathMLToken::updateStyle):
1498         (WebCore::RenderMathMLToken::styleDidChange):
1499         (WebCore::RenderMathMLToken::updateFromElement):
1500         * rendering/mathml/RenderMathMLToken.h: Added.
1501         (WebCore::RenderMathMLToken::element):
1502         (WebCore::RenderMathMLToken>):
1503
1504 2014-02-06  Zoltan Horvath  <zoltan@webkit.org>
1505
1506         [CSS Shapes] Simplify BasicShapeInset creation
1507         https://bugs.webkit.org/show_bug.cgi?id=128314
1508
1509         Reviewed by David Hyatt.
1510
1511         Introduce convertToLengthSize helper function in order to simplify and make BasicShapeInset more readable.
1512
1513         No new tests, no behavior change.
1514
1515         * css/BasicShapeFunctions.cpp:
1516         (WebCore::convertToLengthSize):
1517         (WebCore::basicShapeForValue):
1518
1519 2014-02-06  Anders Carlsson  <andersca@apple.com>
1520
1521         Try to fix the Windows build.
1522
1523         * loader/DocumentThreadableLoader.cpp:
1524         (WebCore::DocumentThreadableLoader::didReceiveResponse):
1525
1526 2014-01-29  Sergio Villar Senin  <svillar@igalia.com>
1527
1528         [CSS Grid Layout] getComputedStyle() is wrong for grid-definition-{columns|rows}
1529         https://bugs.webkit.org/show_bug.cgi?id=127033
1530
1531         Reviewed by Andreas Kling.
1532
1533         Tests: fast/css-grid-layout/non-grid-columns-rows-get-set-multiple.html
1534                fast/css-grid-layout/non-grid-columns-rows-get-set.html
1535                fast/css-grid-layout/non-grid-element-repeat-get-set.html
1536                fast/css-grid-layout/non-named-grid-line-get-set.html
1537
1538         According to the specs getComputedStyle() should return the used
1539         values instead of the resolved values for compatibility with early
1540         implementations. This means that grid-definition-{columns|rows}
1541         are now layout dependent as we need to compute the used values for
1542         grid track sizes.
1543
1544         Updated the outcome of existing tests and added a bunch of new
1545         ones that check the behavior of the different properties outside
1546         grid containers.
1547
1548         * css/CSSComputedStyleDeclaration.cpp:
1549         (WebCore::specifiedValueForGridTrackSize):
1550         (WebCore::valueForGridTrackList):
1551         (WebCore::isLayoutDependent):
1552         (WebCore::ComputedStyleExtractor::propertyValue):
1553         * rendering/RenderGrid.cpp:
1554         (WebCore::RenderGrid::GridIterator::GridIterator):
1555         (WebCore::RenderGrid::computedUsedBreadthOfGridTracks):
1556         (WebCore::RenderGrid::computeUsedBreadthOfMinLength):
1557         (WebCore::RenderGrid::computeUsedBreadthOfMaxLength):
1558         (WebCore::RenderGrid::computeUsedBreadthOfSpecifiedLength):
1559         (WebCore::RenderGrid::computeNormalizedFractionBreadth):
1560         (WebCore::RenderGrid::gridTrackSize):
1561         (WebCore::RenderGrid::minContentForChild):
1562         (WebCore::RenderGrid::maxContentForChild):
1563         (WebCore::RenderGrid::resolveContentBasedTrackSizingFunctions):
1564         (WebCore::RenderGrid::resolveContentBasedTrackSizingFunctionsForItems):
1565         (WebCore::RenderGrid::tracksAreWiderThanMinTrackBreadth):
1566         (WebCore::RenderGrid::growGrid):
1567         (WebCore::RenderGrid::autoPlacementMajorAxisDirection):
1568         (WebCore::RenderGrid::autoPlacementMinorAxisDirection):
1569         (WebCore::RenderGrid::layoutGridItems):
1570         (WebCore::RenderGrid::resolveGridPositionsFromAutoPlacementPosition):
1571         (WebCore::RenderGrid::resolveGridPositionsFromStyle):
1572         (WebCore::RenderGrid::gridAreaBreadthForChild):
1573         (WebCore::RenderGrid::populateGridPositions):
1574         (WebCore::RenderGrid::findChildLogicalPosition):
1575         * rendering/RenderGrid.h:
1576
1577 2014-02-06  Anders Carlsson  <andersca@apple.com>
1578
1579         Modernize CrossOriginPreflightResultCache
1580         https://bugs.webkit.org/show_bug.cgi?id=128309
1581
1582         Reviewed by Antti Koivisto.
1583
1584         Use std::chrono::steady_clock instead of currentTime() for determining when
1585         cache items expire, Use std::unique_ptr instead of OwnPtr, use NeverDestroyed,
1586         get rid of unnecessary container typedefs now that we have auto. Finally,
1587         de-indent the entire class declaration.
1588
1589         * loader/CrossOriginPreflightResultCache.cpp:
1590         (WebCore::CrossOriginPreflightResultCache::CrossOriginPreflightResultCache):
1591         (WebCore::parseAccessControlMaxAge):
1592         (WebCore::CrossOriginPreflightResultCacheItem::parse):
1593         (WebCore::CrossOriginPreflightResultCacheItem::allowsRequest):
1594         (WebCore::CrossOriginPreflightResultCache::shared):
1595         (WebCore::CrossOriginPreflightResultCache::appendEntry):
1596         (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
1597         * loader/CrossOriginPreflightResultCache.h:
1598         (WebCore::CrossOriginPreflightResultCacheItem::CrossOriginPreflightResultCacheItem):
1599         * loader/DocumentThreadableLoader.cpp:
1600         (WebCore::DocumentThreadableLoader::didReceiveResponse):
1601
1602 2014-02-06  Gurpreet Kaur  <k.gurpreet@samsung.com>
1603
1604         Menclose with no notation attribute does not display anything.
1605         https://bugs.webkit.org/show_bug.cgi?id=127889
1606
1607         Reviewed by Chris Fleizach.
1608
1609         Menclose with no notation attribute should behave same as menclose with
1610         notation attribute with value as longdiv. By default the division
1611         symbol should be displayed. For empty and invalid notation attribute
1612         nothing should be displayed.
1613
1614         Tests: mathml/presentation/menclose-notation-default-longdiv.html
1615                mathml/presentation/menclose-notation-invalid-empty.html
1616
1617         * mathml/MathMLMencloseElement.h:
1618         * rendering/mathml/RenderMathMLMenclose.cpp:
1619         (WebCore::RenderMathMLMenclose::computePreferredLogicalWidths):
1620         (WebCore::RenderMathMLMenclose::paint):
1621         Added style for menclose with no notation attribute and handled this
1622         condition in paint also where for longdiv we are explicitly drawing
1623         the division symbol.
1624
1625 2014-02-05  Mark Hahnenberg  <mhahnenberg@apple.com>
1626
1627         Heap::writeBarrier shouldn't be static
1628         https://bugs.webkit.org/show_bug.cgi?id=127807
1629
1630         Reviewed by Geoffrey Garen.
1631
1632         Currently it looks up the Heap in which to fire the write barrier by using 
1633         the cell passed to it. Almost every call site already has a reference to the 
1634         VM or the Heap itself. It seems wasteful to look it up all over again.
1635
1636         * bindings/js/JSEventListener.cpp:
1637         (WebCore::JSEventListener::JSEventListener):
1638         * bindings/js/JSEventListener.h:
1639         (WebCore::JSEventListener::jsFunction):
1640
1641 2014-02-06  Brady Eidson  <beidson@apple.com>
1642
1643         IDB: storage/indexeddb/mozilla/clear.html fails
1644         <rdar://problem/15997155> and https://bugs.webkit.org/show_bug.cgi?id=128282
1645
1646         Reviewed by David Kilzer.
1647
1648         Covered by storage/indexeddb/mozilla/clear.html (and probably others)
1649
1650         Update the value deserializer to take into account whether or not there was an IDBKey:
1651         * bindings/js/IDBBindingUtilities.cpp:
1652         (WebCore::deserializeIDBValueBuffer):
1653         * bindings/js/IDBBindingUtilities.h:
1654
1655         * Modules/indexeddb/IDBRequest.cpp:
1656         (WebCore::IDBRequest::onSuccess): Call the new form of deserializeIDBValueBuffer.
1657
1658         * Modules/indexeddb/IDBDatabaseBackend.cpp:
1659         (WebCore::IDBDatabaseBackend::clearObjectStore): Update logging.
1660
1661         * Modules/indexeddb/IDBTransaction.cpp:
1662         (WebCore::IDBTransaction::setActive): Update logging.
1663
1664         * Modules/indexeddb/IDBTransactionBackend.cpp:
1665         (WebCore::IDBTransactionBackend::commit): Fix ASSERTs to reflect multi-process worlds.
1666
1667 2014-02-06  Csaba Osztrogonác  <ossy@webkit.org>
1668
1669         Re-enable simple line layout on non-Mac platforms
1670         https://bugs.webkit.org/show_bug.cgi?id=123338
1671
1672         Reviewed by Anders Carlsson.
1673
1674         * rendering/SimpleLineLayout.cpp:
1675         (WebCore::SimpleLineLayout::canUseFor):
1676
1677 2014-02-06  Koop Mast <kwm@FreeBSD.org>
1678
1679         Use system default compiler instead of gcc, as final fall through.
1680         https://bugs.webkit.org/show_bug.cgi?id=126773
1681
1682         Reviewed by Alexey Proskuryakov.
1683
1684         * dom/make_names.pl:
1685
1686 2014-02-06  Eric Carlson  <eric.carlson@apple.com>
1687
1688         No need to enterFullscreen() when already in fullscreen
1689         https://bugs.webkit.org/show_bug.cgi?id=128276
1690
1691         Reviewed by Jer Noble.
1692
1693         No new tests, this is just cleanup.
1694
1695         * html/HTMLMediaElement.cpp:
1696         (WebCore::HTMLMediaElement::updatePlayState): Don't call enterFullscreen() if already there.
1697         (WebCore::HTMLMediaElement::enterFullscreen): Return early if m_isFullscreen is already true.
1698
1699 2014-02-06  Radu Stavila  <stavila@adobe.com>
1700
1701         [CSS Regions] Null dereference applying animation with CSS regions
1702         https://bugs.webkit.org/show_bug.cgi?id=128218
1703
1704         Reviewed by Andrei Bucur.
1705
1706         The first issue (the null dereference) was caused by the checkForZoomChange method
1707         not guarding against a null parentStyle parameter, as the checkForGenericFamilyChange 
1708         method does, which in the crashing scenario is called just before the faulty
1709         checkForZoomChange method.
1710         The second issue was an assert which was caused by the fact that detaching is performed
1711         in a certain situation if the element has a renderer or if it's inside a named flow.
1712         However, when reattaching and asserting the element has no renderer, the 
1713         "inside named flow" condition was no longer considered.
1714
1715         Test: fast/regions/animation-element-in-region-flowed-to-other-thread.html
1716
1717         * css/StyleResolver.cpp:
1718         (WebCore::StyleResolver::checkForZoomChange):
1719         * style/StyleResolveTree.cpp:
1720         (WebCore::Style::attachChildren):
1721
1722 2014-02-06  László Langó  <llango.u-szeged@partner.samsung.com>
1723
1724         Create a HTMLUnknownElement when using createElement('image')
1725         https://bugs.webkit.org/show_bug.cgi?id=125896
1726
1727         Reviewed by Antti Koivisto.
1728
1729         Backported from Blink: https://chromium.googlesource.com/chromium/blink/+/fd8a7b65f3300fb9245db24d5ed240c80b7f76ad
1730
1731         * html/HTMLTagNames.in:
1732
1733 2014-02-06  Youenn Fablet  <youennf@gmail.com>
1734
1735         [XHR] Ensure response return null when error flag is set for blob and arraybuffer
1736         https://bugs.webkit.org/show_bug.cgi?id=127050
1737
1738         Reviewed by Alexey Proskuryakov.
1739
1740         Added a check in JSXMLHttpRequest::response to ensure response return null when error flag is set for blob and arraybuffer
1741         This check also applies to document and json response types (no change in behavior for those types but code path change)
1742         Added assertions in the related XMLHttpRequest blob and array buffer getters
1743         Minor code clean-up.
1744         The test cases check all four response types in case of timeout and abort
1745
1746         Tests: http/tests/xmlhttprequest/onabort-response-getters.html
1747                http/tests/xmlhttprequest/ontimeout-response-getters.html
1748
1749         * bindings/js/JSXMLHttpRequestCustom.cpp:
1750         (WebCore::JSXMLHttpRequest::response):
1751         * xml/XMLHttpRequest.cpp:
1752         (WebCore::XMLHttpRequest::didCacheResponseJSON):
1753         (WebCore::XMLHttpRequest::responseXML):
1754         (WebCore::XMLHttpRequest::responseBlob):
1755         (WebCore::XMLHttpRequest::responseArrayBuffer):
1756
1757 2014-02-05  Gavin Barraclough  <barraclough@apple.com>
1758
1759         Change Page, FocusController to use ViewState
1760         https://bugs.webkit.org/show_bug.cgi?id=126533
1761
1762         Reviewed by Tim Horton.
1763
1764         These classes currently maintain a set of separate fields to represent the view state;
1765         combine these into a single field, and allow WebPage to send the combined update rather
1766         than individual changes.
1767
1768         Maintain existing interface for WebKit1 clients.
1769
1770         * WebCore.exp.in:
1771             - Added WebCore::setViewState, removed WebCore::setIsVisuallyIdle.
1772         * page/FocusController.cpp:
1773         (WebCore::FocusController::FocusController):
1774             - Initialize combined m_viewState.
1775         (WebCore::FocusController::setFocused):
1776             - Calls setViewState.
1777         (WebCore::FocusController::setFocusedInternal):
1778             - setFocused -> setFocusedInternal.
1779         (WebCore::FocusController::setViewState):
1780             - Added, update all ViewState flags.
1781         (WebCore::FocusController::setActive):
1782             - Calls setViewState.
1783         (WebCore::FocusController::setActiveInternal):
1784             - setActive -> setActiveInternal.
1785         (WebCore::FocusController::setContentIsVisible):
1786             - Calls setViewState.
1787         (WebCore::FocusController::setContentIsVisibleInternal):
1788             - setContentIsVisible -> setContentIsVisibleInternal.
1789         * page/FocusController.h:
1790         (WebCore::FocusController::isActive):
1791         (WebCore::FocusController::isFocused):
1792         (WebCore::FocusController::contentIsVisible):
1793             - Implemented in terms of ViewState.
1794         * page/Page.cpp:
1795         (WebCore::Page::Page):
1796             - Initialize using PageInitialViewState.
1797         (WebCore::Page::setIsInWindow):
1798             - Calls setViewState.
1799         (WebCore::Page::setIsInWindowInternal):
1800             - setIsInWindow -> setIsInWindowInternal.
1801         (WebCore::Page::setIsVisuallyIdleInternal):
1802             - setIsVisuallyIdle -> setIsVisuallyIdleInternal.
1803         (WebCore::Page::setViewState):
1804             - Added, update all ViewState flags, including FocusController.
1805         (WebCore::Page::setIsVisible):
1806             - Calls setViewState.
1807         (WebCore::Page::setIsVisibleInternal):
1808             - setIsVisible -> setIsVisibleInternal.
1809         (WebCore::Page::visibilityState):
1810             - m_isVisible -> isVisible()
1811         (WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged):
1812             - m_isVisible -> isVisible()
1813         * page/Page.h:
1814         (WebCore::Page::isVisible):
1815         (WebCore::Page::isInWindow):
1816             - Implemented in terms of ViewState.
1817         (WebCore::Page::scriptedAnimationsSuspended):
1818             - Combined member fields into ViewState::Flags.
1819
1820 2014-02-05  Simon Fraser  <simon.fraser@apple.com>
1821
1822         Transfer the non-fast-scrollable region to the UI process for iOS
1823         https://bugs.webkit.org/show_bug.cgi?id=128293
1824
1825         Reviewed by Benjamin Poulain.
1826
1827         Two main changes to support sending the non-fast scrollable region
1828         to the UI process for iOS:
1829         
1830         1. Add ScrollingCoordinator::frameViewNonFastScrollableRegionChanged(),
1831         which is called when we've updated the touch event region (this can happen
1832         independenly of layout). When called we just scheduled a scrolling tree
1833         commit with the new region.
1834         
1835         2. Avoid thinking that we have a new root node with every remote scrolling
1836         transaction. This was a side-effect of reconstructing the scrolling state
1837         tree in the UI process, and caused us to try to grab a nonFastScrollableRegion
1838         from a node which never had one set.
1839
1840         * WebCore.exp.in:
1841         * page/scrolling/AsyncScrollingCoordinator.cpp:
1842         (WebCore::AsyncScrollingCoordinator::frameViewNonFastScrollableRegionChanged):
1843         * page/scrolling/AsyncScrollingCoordinator.h:
1844         * page/scrolling/ScrollingCoordinator.cpp:
1845         (WebCore::ScrollingCoordinator::computeNonFastScrollableRegion):
1846         * page/scrolling/ScrollingCoordinator.h:
1847         (WebCore::ScrollingCoordinator::frameViewNonFastScrollableRegionChanged):
1848         * page/scrolling/ScrollingStateTree.h:
1849         (WebCore::ScrollingStateTree::setHasNewRootStateNode):
1850         * page/scrolling/ScrollingTree.cpp:
1851         (WebCore::ScrollingTree::commitNewTreeState):
1852         (WebCore::ScrollingTree::isPointInNonFastScrollableRegion):
1853         * page/scrolling/ScrollingTree.h:
1854
1855 2014-02-05  Benjamin Poulain  <benjamin@webkit.org>
1856
1857         [iOS] Synchronize the WKContentView and UIScrollView updates with the tiles being commited
1858         https://bugs.webkit.org/show_bug.cgi?id=127886
1859
1860         Reviewed by Simon Fraser.
1861
1862         The updates of the views on the UIProcess side was completely disconnected
1863         from the tiles updates from the DrawingArea. There is a non-negligible time
1864         between the size/scale update and the new tiles coming, which causes
1865         visual glitches.
1866
1867         There are three main cases where the tiles and content would be out of sync
1868         with the UIViews:
1869         -When loading a new page with different content width of a different viewport.
1870         -When a page changes its viewport.
1871         -When the viewport-constrainted viewport size changes.
1872
1873         To fix the issue, WKView is modified to maintain the old state of WKContentView
1874         and UIScrollView until the new tiles are available.
1875
1876         Geometry/scale update are split in two phases:
1877         1) A source (the page or the user) changes parameters of the geometry. The WebProcess updates
1878            its layout accordingly.
1879            At this point, the UIViews are unchanged and are left with the old parameters.
1880         2) Eventually, new tiles come and commitLayerTree() is called on the drawing area proxy.
1881            At that point, WKContentView and its UIScrollView are updated to match the committed
1882            size and scale for the page.
1883
1884         * WebCore.exp.in:
1885         * WebCore.xcodeproj/project.pbxproj:
1886         * page/ViewportConfiguration.cpp: Added.
1887         (WebCore::constraintsAreAllRelative):
1888         (WebCore::ViewportConfiguration::ViewportConfiguration):
1889         (WebCore::ViewportConfiguration::setDefaultConfiguration):
1890         (WebCore::ViewportConfiguration::setContentsSize):
1891         (WebCore::ViewportConfiguration::setMinimumLayoutSize):
1892         (WebCore::ViewportConfiguration::setViewportArguments):
1893         (WebCore::ViewportConfiguration::layoutSize):
1894         (WebCore::ViewportConfiguration::initialScale):
1895         (WebCore::ViewportConfiguration::minimumScale):
1896         (WebCore::ViewportConfiguration::maximumScale):
1897         (WebCore::ViewportConfiguration::allowsUserScaling):
1898         (WebCore::viewportArgumentValueIsValid):
1899         (WebCore::applyViewportArgument):
1900         (WebCore::ViewportConfiguration::updateConfiguration):
1901         (WebCore::ViewportConfiguration::layoutWidth):
1902         (WebCore::ViewportConfiguration::layoutHeight):
1903         * page/ViewportConfiguration.h: Added.
1904         (WebCore::ViewportConfigurationConfiguration::ViewportConfigurationConfiguration):
1905         (WebCore::ViewportConfiguration::defaultConfiguration):
1906         (WebCore::ViewportConfiguration::contentsSize):
1907         (WebCore::ViewportConfiguration::minimumLayoutSize):
1908         (WebCore::ViewportConfiguration::viewportArguments):
1909
1910 2014-02-05  Benjamin Poulain  <benjamin@webkit.org>
1911
1912         SelectorCodeGenerator::generateElementHasTagName should match the local name before the namespace
1913         https://bugs.webkit.org/show_bug.cgi?id=128167
1914
1915         Reviewed by Sam Weinig.
1916
1917         The local name is a stricter filter than the namespace, it should always run first.
1918
1919         * cssjit/SelectorCompiler.cpp:
1920         (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementHasTagName):
1921
1922 2014-02-05  Benjamin Poulain  <benjamin@webkit.org>
1923
1924         Add HTMLNames::classAttr as a regular name in SVGElement::isAnimatableAttribute
1925         https://bugs.webkit.org/show_bug.cgi?id=128166
1926
1927         Reviewed by Sam Weinig.
1928
1929         For historical reasons, classAttr was treated separately. There is no reasons for that anymore.
1930
1931         * svg/SVGElement.cpp:
1932         (WebCore::SVGElement::isAnimatableAttribute):
1933
1934 2014-02-05  Simon Fraser  <simon.fraser@apple.com>
1935
1936         Support encoding and decoding of Regions
1937         https://bugs.webkit.org/show_bug.cgi?id=128284
1938
1939         Reviewed by Anders Carlsson.
1940
1941         Region changes to make it encodable:
1942         
1943         Make Region::Span public and give it a default constructor.
1944         Allow getting and setting of Shape internals, and a way to update
1945         the Region bounds after changing the shape. Also add a way to test
1946         for valid spans and segments.
1947
1948         * platform/graphics/Region.cpp:
1949         (WebCore::Region::Shape::isValid):
1950         (WebCore::Region::updateBoundsFromShape):
1951         * platform/graphics/Region.h:
1952         (WebCore::Region::isValid):
1953         (WebCore::Region::Span::Span):
1954         (WebCore::Region::shapeSegments):
1955         (WebCore::Region::shapeSpans):
1956         (WebCore::Region::setShapeSegments):
1957         (WebCore::Region::setShapeSpans):
1958         (WebCore::Region::Shape::segments):
1959         (WebCore::Region::Shape::spans):
1960         (WebCore::Region::Shape::setSegments):
1961         (WebCore::Region::Shape::setSpans):
1962
1963 2014-02-05  Andreas Kling  <akling@apple.com>
1964
1965         Rebaseline the bindings tests after Oliver's hackery.
1966
1967         * bindings/scripts/test/JS/:
1968
1969 2014-02-05  Ryuan Choi  <ryuan.choi@samsung.com>
1970
1971         [EFL][GTK] Share plugin's implementation between EFL and Gtk ports.
1972         https://bugs.webkit.org/show_bug.cgi?id=70592
1973
1974         Reviewed by Gyuyoung Kim.
1975
1976         Merge common logics of PluginViewGtk.cpp and PluginViewEfl.cpp to PluginViewX11.cpp.
1977         So, this patch improves the windowless plugin support for the EFL port.
1978
1979         * GNUmakefile.am: Add include path for gtk2xtbin.h header file.
1980         * GNUmakefile.list.am: Added PluginViewX11.cpp into source lists.
1981         * PlatformEfl.cmake: Ditto.
1982         * PlatformGTK.cmake: Ditto.
1983         * plugins/PluginView.h: Added getRootWindow and getPluginDisply which implement platform specific code.
1984         * plugins/efl/PluginViewEfl.cpp:
1985         (WebCore::PluginView::getRootWindow):
1986         (WebCore::PluginView::platformGetValueStatic): Turn on NPNVSupportsWindowless support.
1987         (WebCore::PluginView::getPluginDisplay):
1988         (WebCore::PluginView::platformStart):
1989         * plugins/gtk/PluginViewGtk.cpp:
1990         (WebCore::PluginView::getRootWindow):
1991         (WebCore::setXButtonEventSpecificFields):
1992         (WebCore::setXMotionEventSpecificFields):
1993         (WebCore::setXCrossingEventSpecificFields):
1994         (WebCore::PluginView::getPluginDisplay):
1995         (WebCore::PluginView::platformStart):
1996         * plugins/x11/PluginViewX11.cpp: Moved common logics from PluginViewGtk.cpp
1997         (WebCore::PluginView::dispatchNPEvent):
1998         (WebCore::PluginView::updatePluginWidget):
1999         (WebCore::PluginView::handleFocusInEvent):
2000         (WebCore::PluginView::invalidateRect):
2001         (WebCore::PluginView::invalidateRegion):
2002         (WebCore::PluginView::handleFocusOutEvent):
2003         (WebCore::PluginView::initXEvent):
2004         (WebCore::PluginView::paint):
2005         (WebCore::PluginView::setParent):
2006         (WebCore::PluginView::setNPWindowRect):
2007         (WebCore::PluginView::setNPWindowIfNeeded):
2008
2009 2014-02-05  Anders Carlsson  <andersca@apple.com>
2010
2011         Fix a warning.
2012
2013         * platform/mac/ContentFilterMac.mm:
2014         (WebCore::ContentFilter::ContentFilter):
2015         Remove an unnecessary comparison.
2016
2017 2014-02-05  Csaba Osztrogonác  <ossy@webkit.org>
2018
2019         Fix the !ENABLE(PAGE_VISIBILITY_API) build
2020         https://bugs.webkit.org/show_bug.cgi?id=127907
2021
2022         Reviewed by Brent Fulgham.
2023
2024         * page/Page.cpp:
2025         (WebCore::Page::setIsVisible):
2026
2027 2014-02-05  Oliver Hunt  <oliver@apple.com>
2028
2029         Change custom getter signature to make the base reference an object pointer
2030         https://bugs.webkit.org/show_bug.cgi?id=128279
2031
2032         Reviewed by Geoffrey Garen.
2033
2034         Update everything to the new calling convention.
2035
2036         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
2037         (WebCore::cssPropertyGetterPixelOrPosPrefixCallback):
2038         (WebCore::cssPropertyGetterCallback):
2039         * bindings/js/JSDOMBinding.cpp:
2040         (WebCore::objectToStringFunctionGetter):
2041         * bindings/js/JSDOMBinding.h:
2042         * bindings/js/JSDOMMimeTypeArrayCustom.cpp:
2043         (WebCore::JSDOMMimeTypeArray::nameGetter):
2044         * bindings/js/JSDOMPluginArrayCustom.cpp:
2045         (WebCore::JSDOMPluginArray::nameGetter):
2046         * bindings/js/JSDOMPluginCustom.cpp:
2047         (WebCore::JSDOMPlugin::nameGetter):
2048         * bindings/js/JSDOMWindowCustom.cpp:
2049         (WebCore::nonCachingStaticFunctionGetter):
2050         (WebCore::childFrameGetter):
2051         (WebCore::indexGetter):
2052         (WebCore::namedItemGetter):
2053         * bindings/js/JSHTMLAllCollectionCustom.cpp:
2054         (WebCore::JSHTMLAllCollection::nameGetter):
2055         * bindings/js/JSHTMLCollectionCustom.cpp:
2056         (WebCore::JSHTMLCollection::nameGetter):
2057         * bindings/js/JSHTMLDocumentCustom.cpp:
2058         (WebCore::JSHTMLDocument::nameGetter):
2059         * bindings/js/JSHTMLFormControlsCollectionCustom.cpp:
2060         (WebCore::JSHTMLFormControlsCollection::nameGetter):
2061         * bindings/js/JSHTMLFormElementCustom.cpp:
2062         (WebCore::JSHTMLFormElement::nameGetter):
2063         * bindings/js/JSHTMLFrameSetElementCustom.cpp:
2064         (WebCore::JSHTMLFrameSetElement::nameGetter):
2065         * bindings/js/JSHistoryCustom.cpp:
2066         (WebCore::nonCachingStaticBackFunctionGetter):
2067         (WebCore::nonCachingStaticForwardFunctionGetter):
2068         (WebCore::nonCachingStaticGoFunctionGetter):
2069         * bindings/js/JSLocationCustom.cpp:
2070         (WebCore::nonCachingStaticReplaceFunctionGetter):
2071         (WebCore::nonCachingStaticReloadFunctionGetter):
2072         (WebCore::nonCachingStaticAssignFunctionGetter):
2073         * bindings/js/JSNamedNodeMapCustom.cpp:
2074         (WebCore::JSNamedNodeMap::nameGetter):
2075         * bindings/js/JSPluginElementFunctions.cpp:
2076         (WebCore::pluginElementPropertyGetter):
2077         * bindings/js/JSPluginElementFunctions.h:
2078         * bindings/js/JSRTCStatsResponseCustom.cpp:
2079         (WebCore::JSRTCStatsResponse::nameGetter):
2080         * bindings/js/JSStorageCustom.cpp:
2081         (WebCore::JSStorage::nameGetter):
2082         * bindings/js/JSStyleSheetListCustom.cpp:
2083         (WebCore::JSStyleSheetList::nameGetter):
2084         * bindings/scripts/CodeGeneratorJS.pm:
2085         (GenerateHeader):
2086         (GenerateImplementation):
2087         * bridge/runtime_array.cpp:
2088         (JSC::RuntimeArray::lengthGetter):
2089         (JSC::RuntimeArray::indexGetter):
2090         * bridge/runtime_array.h:
2091         * bridge/runtime_method.cpp:
2092         (JSC::RuntimeMethod::lengthGetter):
2093         * bridge/runtime_method.h:
2094         * bridge/runtime_object.cpp:
2095         (JSC::Bindings::RuntimeObject::fallbackObjectGetter):
2096         (JSC::Bindings::RuntimeObject::fieldGetter):
2097         (JSC::Bindings::RuntimeObject::methodGetter):
2098         * bridge/runtime_object.h:
2099
2100 2014-02-04  Andy Estes  <aestes@apple.com>
2101
2102         Buffer incoming data in ContentFilter when using NEFilterSource
2103         https://bugs.webkit.org/show_bug.cgi?id=127979
2104
2105         Reviewed by Sam Weinig.
2106
2107         WebFilterEvaluator buffers incoming data and returns it to us as
2108         replacement data if the load is allowed. NEFilterSource doesn't do
2109         this, so we need to do our own buffering.
2110
2111         * platform/ContentFilter.h: Forward-declared NSMutableData and added
2112         m_originalData.
2113         * platform/mac/ContentFilterMac.mm:
2114         (WebCore::ContentFilter::ContentFilter): Constructed m_originalData
2115         with an initial capacity (if we know the expected content size).
2116         (WebCore::ContentFilter::addData): Buffered incoming data if we are
2117         using NEFilterSource.
2118         (WebCore::ContentFilter::finishedAddingData):
2119         (WebCore::ContentFilter::getReplacementData): Returned m_originalData
2120         if the load wasn't blocked.
2121
2122 2014-02-05  Andreas Kling  <akling@apple.com>
2123
2124         Remove ENABLE(DIRECTORY_UPLOAD).
2125         <https://webkit.org/b/128275>
2126
2127         This is a non-standard Chrome extension that none of the WebKit
2128         ports have even been building.
2129
2130         Rubber-stamped by Ryosuke Niwa.
2131
2132         * Configurations/FeatureDefines.xcconfig:
2133         * fileapi/File.cpp:
2134         * fileapi/File.h:
2135         * fileapi/File.idl:
2136         * html/FileInputType.cpp:
2137         (WebCore::FileInputType::handleDOMActivateEvent):
2138         (WebCore::FileInputType::createFileList):
2139         (WebCore::FileInputType::receiveDroppedFiles):
2140         * html/FileInputType.h:
2141         * html/HTMLAttributeNames.in:
2142         * html/HTMLInputElement.cpp:
2143         (WebCore::HTMLInputElement::parseAttribute):
2144         * html/HTMLInputElement.idl:
2145         * loader/EmptyClients.h:
2146         * page/Chrome.cpp:
2147         * page/Chrome.h:
2148         * page/ChromeClient.h:
2149         * platform/FileChooser.h:
2150         * platform/network/FormData.cpp:
2151         (WebCore::FormData::appendKeyValuePairItems):
2152
2153 2014-02-05  Brady Eidson  <beidson@apple.com>
2154
2155         IDB: storage/indexeddb/mozilla/autoincrement-indexes.html fails
2156         https://bugs.webkit.org/show_bug.cgi?id=128257
2157
2158         Reviewed by Sam Weinig.
2159
2160         Tests: storage/indexeddb/mozilla/autoincrement-indexes.html
2161
2162         Add some IDBKeyData utility methods for WK2 to use:
2163         * Modules/indexeddb/IDBKeyData.cpp:
2164         (WebCore::IDBKeyData::setArrayValue):
2165         (WebCore::IDBKeyData::setStringValue):
2166         (WebCore::IDBKeyData::setDateValue):
2167         (WebCore::IDBKeyData::setNumberValue):
2168         * Modules/indexeddb/IDBKeyData.h:
2169
2170         * WebCore.exp.in:
2171
2172 2014-02-05  Andreas Kling  <akling@apple.com>
2173
2174         Turn on ENABLE(8BIT_TEXTRUN) for everyone.
2175         <https://webkit.org/b/128273>
2176
2177         Reviewed by Anders Carlsson.
2178
2179         * platform/graphics/TextRun.h:
2180         (WebCore::TextRun::TextRun):
2181         (WebCore::TextRun::subRun):
2182         * rendering/RenderBlock.cpp:
2183         (WebCore::RenderBlock::constructTextRun):
2184         * rendering/RenderBlock.h:
2185
2186 2014-02-05  Enrica Casucci  <enrica@apple.com>
2187
2188         WK2: Caret, selections and autocorrection bubbles are incorrectly positioned when inside an iframe.
2189         https://bugs.webkit.org/show_bug.cgi?id=128264
2190         <rdar://problem/15986954>
2191
2192         Reviewed by Simon Fraser.
2193
2194         Adding new exported function.
2195
2196         * WebCore.exp.in:
2197
2198 2014-02-05  Antti Koivisto  <antti@apple.com>
2199
2200         ElementRuleCollector should not use StyleResolver::State
2201         https://bugs.webkit.org/show_bug.cgi?id=128247
2202
2203         Reviewed by Andreas Kling.
2204         
2205         Make ElementRuleCollector more reusable.
2206
2207         * css/ElementRuleCollector.cpp:
2208         (WebCore::ElementRuleCollector::collectMatchingRules):
2209         (WebCore::ElementRuleCollector::sortAndTransferMatchedRules):
2210         (WebCore::ElementRuleCollector::matchAuthorRules):
2211         (WebCore::ElementRuleCollector::matchUARules):
2212         (WebCore::ElementRuleCollector::ruleMatches):
2213         (WebCore::ElementRuleCollector::collectMatchingRulesForList):
2214         (WebCore::ElementRuleCollector::matchAllRules):
2215         * css/ElementRuleCollector.h:
2216         (WebCore::ElementRuleCollector::ElementRuleCollector):
2217         
2218             Pass the objects that are actually needed rather than the entire State.
2219
2220 2014-02-05  Brent Fulgham  <bfulgham@apple.com>
2221
2222         [Mac] Correct copy/paste error in scrolling code.
2223         https://bugs.webkit.org/show_bug.cgi?id=128258
2224
2225         Reviewed by Anders Carlsson.
2226
2227         * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
2228         (WebCore::ScrollingTreeScrollingNodeMac::pinnedInDirection): Use
2229         'setWidth' when dealing with width metrics.
2230
2231 2014-02-05  Yuki Sekiguchi  <yuki.sekiguchi@access-company.com>
2232
2233         Ruby base oddly justify its text when the text is ideograph and it contains <br> on Mac.
2234         https://bugs.webkit.org/show_bug.cgi?id=106417
2235
2236         Reviewed by David Hyatt.
2237
2238         Ruby base always justify even if a line have hard break.
2239         Even if next leaf child is line break, InlineTextBox allow trailing expansion.
2240         This make <br> expanded, and there is odd space at the end of the line.
2241
2242         Test: fast/text/ruby-justification-br.html
2243
2244         * rendering/InlineTextBox.h:
2245         (WebCore::InlineTextBox::expansionBehavior):
2246          - If next leaf child is line break, we should forbid trailing expansion.
2247
2248 2014-02-05  Andreas Kling  <akling@apple.com>
2249
2250         FrameLoader::stateMachine() should return a reference.
2251         <https://webkit.org/b/128263>
2252
2253         There is always a FrameLoaderStateMatchine, so return it by
2254         reference since it can never be null.
2255
2256         Reviewed by Anders Carlsson.
2257
2258         * history/PageCache.cpp:
2259         (WebCore::logCanCachePageDecision):
2260         * loader/DocumentLoader.cpp:
2261         (WebCore::DocumentLoader::finishedLoading):
2262         (WebCore::DocumentLoader::commitData):
2263         (WebCore::DocumentLoader::maybeLoadEmpty):
2264         * loader/DocumentWriter.cpp:
2265         (WebCore::DocumentWriter::createDocument):
2266         (WebCore::DocumentWriter::begin):
2267         * loader/FrameLoader.cpp:
2268         (WebCore::FrameLoader::prepareForHistoryNavigation):
2269         * loader/FrameLoader.h:
2270         (WebCore::FrameLoader::stateMachine):
2271         * loader/HistoryController.cpp:
2272         (WebCore::HistoryController::restoreScrollPositionAndViewState):
2273         (WebCore::HistoryController::saveDocumentState):
2274         * loader/NavigationScheduler.cpp:
2275         (WebCore::NavigationScheduler::scheduleLocationChange):
2276         (WebCore::NavigationScheduler::scheduleFormSubmission):
2277         * loader/ProgressTracker.cpp:
2278         (WebCore::ProgressTracker::incrementProgress):
2279         * loader/cache/CachedResourceLoader.cpp:
2280         (WebCore::CachedResourceLoader::storeResourceTimingInitiatorInformation):
2281         * page/Frame.cpp:
2282         (WebCore::Frame::injectUserScripts):
2283         * page/FrameView.cpp:
2284         (WebCore::FrameView::qualifiesAsVisuallyNonEmpty):
2285
2286 2014-02-04  Myles C. Maxfield  <mmaxfield@apple.com>
2287
2288         Move characterAt index checks from InlineIterator to RenderText
2289         https://bugs.webkit.org/show_bug.cgi?id=128224
2290
2291         Reviewed by Simon Fraser.
2292
2293         Move characterAt index checks from InlineIterator to RenderText
2294         so that all RenderText calls are covered. Few safe instances are
2295         now covered with uncheckedCharacterAt.
2296
2297         Merged from Blink:
2298         http://src.chromium.org/viewvc/blink?view=revision&revision=150830
2299
2300         Test: fast/text/character-at-crash.html
2301
2302         * rendering/InlineIterator.h:
2303         (WebCore::InlineIterator::characterAt):
2304         * rendering/RenderText.cpp:
2305         (WebCore::RenderText::computePreferredLogicalWidths):
2306         * rendering/RenderText.h:
2307         (WebCore::RenderText::operator[]):
2308         (WebCore::RenderText::uncheckedCharacterAt):
2309         (WebCore::RenderText::characterAt):
2310
2311 2014-02-05  Andreas Kling  <akling@apple.com>
2312
2313         Remove leftover seamless iframe logic from containerForRepaint().
2314         <https://webkit.org/b/128235>
2315
2316         The parent-flow-thread-in-different-document case is no longer
2317         relevant after <iframe seamless> was removed.
2318
2319         Reviewed by David Hyatt.
2320
2321         * rendering/RenderObject.cpp:
2322         (WebCore::RenderObject::containerForRepaint):
2323
2324 2014-02-05  Hans Muller  <hmuller@adobe.com>
2325
2326         [CSS Shapes] Dynamically created element with image valued shape-outside doesn't update automatically
2327         https://bugs.webkit.org/show_bug.cgi?id=128187
2328
2329         Reviewed by Dean Jackson.
2330
2331         Corrected the way shape-outside handles the completion of an image load. Move
2332         the shape-outside imageChanged() logic from RenderBlock to RenderBox and call
2333         markShapeOutsideDependentsForLayout() instead of parent()->setNeedsLayoutAndPrefWidthsRecalc().
2334         The latter did not deal with descendants of the shape element's siblings correctly and it
2335         failed when the shape element was inserted dynamically. The markShapeOutsideDependentsForLayout()
2336         method can't be called during layout, so the imageChanged() code checks for that. The only
2337         scenario where imageChanged() can be called during layout (that I've discovered so far anyway)
2338         is when an SVG Image is renderered  with drawImage(). The Shape::createRasterShape() does this,
2339         and the corresponding imageChanged() notification can be safely ignored.
2340
2341         Test: fast/shapes/shape-outside-floats/shape-outside-insert-svg-shape.html
2342
2343         * rendering/RenderBlock.cpp:
2344         (WebCore::RenderBlock::imageChanged):
2345         * rendering/RenderBox.cpp:
2346         (WebCore::RenderBox::imageChanged):
2347
2348 2014-02-05  Andreas Kling  <akling@apple.com>
2349
2350         CTTE: ImageLoader is always owned by an Element.
2351         <https://webkit.org/b/128254>
2352
2353         - Codify this by making the constructor take Element& or better.
2354         - Make element() return Element&.
2355         - Marked HTMLImageLoader and SVGImageLoader final.
2356         - Made the ImageLoader constructor protected.
2357
2358         Reviewed by Sam Weinig.
2359
2360         * html/HTMLEmbedElement.cpp:
2361         (WebCore::HTMLEmbedElement::parseAttribute):
2362         * html/HTMLImageElement.cpp:
2363         (WebCore::HTMLImageElement::HTMLImageElement):
2364         * html/HTMLImageLoader.cpp:
2365         (WebCore::HTMLImageLoader::HTMLImageLoader):
2366         (WebCore::HTMLImageLoader::dispatchLoadEvent):
2367         (WebCore::HTMLImageLoader::sourceURI):
2368         (WebCore::HTMLImageLoader::notifyFinished):
2369         * html/HTMLImageLoader.h:
2370         * html/HTMLInputElement.cpp:
2371         (WebCore::HTMLInputElement::imageLoader):
2372         * html/HTMLObjectElement.cpp:
2373         (WebCore::HTMLObjectElement::parseAttribute):
2374         * html/HTMLPlugInImageElement.cpp:
2375         (WebCore::HTMLPlugInImageElement::startLoadingImage):
2376         * html/HTMLVideoElement.cpp:
2377         (WebCore::HTMLVideoElement::didAttachRenderers):
2378         (WebCore::HTMLVideoElement::parseAttribute):
2379         * loader/ImageLoader.cpp:
2380         (WebCore::ImageLoader::ImageLoader):
2381         (WebCore::ImageLoader::~ImageLoader):
2382         (WebCore::ImageLoader::updateFromElement):
2383         (WebCore::ImageLoader::notifyFinished):
2384         (WebCore::ImageLoader::renderImageResource):
2385         (WebCore::ImageLoader::updatedHasPendingEvent):
2386         (WebCore::ImageLoader::timerFired):
2387         (WebCore::ImageLoader::dispatchPendingBeforeLoadEvent):
2388         (WebCore::ImageLoader::dispatchPendingLoadEvent):
2389         (WebCore::ImageLoader::dispatchPendingErrorEvent):
2390         * loader/ImageLoader.h:
2391         (WebCore::ImageLoader::element):
2392         * svg/SVGImageElement.cpp:
2393         (WebCore::SVGImageElement::SVGImageElement):
2394         * svg/SVGImageLoader.cpp:
2395         (WebCore::SVGImageLoader::SVGImageLoader):
2396         (WebCore::SVGImageLoader::~SVGImageLoader):
2397         (WebCore::SVGImageLoader::dispatchLoadEvent):
2398         (WebCore::SVGImageLoader::sourceURI):
2399         * svg/SVGImageLoader.h:
2400
2401 2014-02-05  Sergio Correia  <sergio.correia@openbossa.org>
2402
2403         SVG preserveAspectRatio=none is not honored.
2404         https://bugs.webkit.org/show_bug.cgi?id=111402
2405
2406         Reviewed by Andreas Kling.
2407
2408         Previously, preserveAspectRatio=none had no effect on SVG images. This change fixes this so
2409         we follow the special handling of preserveAspectRatio on images as defined in the spec:
2410         http://www.w3.org/TR/SVG/single-page.html, 7.8 The ‘preserveAspectRatio’ attribute.
2411
2412         Images that depend on a container size (such as SVG images) require a call to
2413         setContainerSizeForRenderer(...) to set this size. By passing the image's intrinsic size
2414         as the container size, the non-uniform scaling defined in the spec will be achieved.
2415
2416         Merged from Blink: https://chromiumcodereview.appspot.com/14964004
2417
2418         Test: svg/custom/image-with-preserveAspectRatio-none.html
2419
2420         * rendering/svg/RenderSVGImage.cpp:
2421         (WebCore::RenderSVGImage::updateImageViewport):
2422
2423 2014-02-05  Zoltan Horvath  <zoltan@webkit.org>
2424
2425         [CSS Shapes] Simplify CSSBasicShapeInset::cssText
2426         https://bugs.webkit.org/show_bug.cgi?id=127841
2427
2428         Reviewed by David Hyatt.
2429
2430         I introduced the updateCornerRadiusWidthAndHeight helper function, which makes the code of cssText method clearer.
2431
2432         No new tests, no behavior change.
2433
2434         * css/CSSBasicShapes.cpp:
2435         (WebCore::updateCornerRadiusWidthAndHeight): Add helper function.
2436         (WebCore::CSSBasicShapeInset::cssText):
2437
2438 2014-02-05  Zoltan Horvath  <zoltan@webkit.org>
2439
2440         [CSS Shapes] Simplify BasicShapeInset::path
2441         https://bugs.webkit.org/show_bug.cgi?id=127920
2442
2443         Reviewed by David Hyatt.
2444
2445         I introduced a new static helper function called floatSizeForLengthSize
2446         in order to simplify BasicShapeInset::path method.
2447
2448         No new tests, no behavior change.
2449
2450         * rendering/style/BasicShapes.cpp:
2451         (WebCore::floatSizeForLengthSize): New helper function.
2452         (WebCore::BasicShapeInset::path):
2453
2454 2014-02-05  Wojciech Bielawski  <w.bielawski@samsung.com>
2455
2456         XMLHttpRequest performs too many copies for ArrayBuffer results
2457         https://bugs.webkit.org/show_bug.cgi?id=117458
2458
2459         Reviewed by Alexey Proskuryakov.
2460
2461         Based on blink change: https://chromium.googlesource.com/chromium/blink/+/bed266aa5a43f7c080c87e527bd35e2b80ecc7b7
2462
2463         Add SharedBuffer::createArrayBuffer() and use it to create XMLHttpRequest's response in ArrayBuffer
2464         This cuts
2465             - two memsets (in ArrayBuffer::create and SharedBuffer::m_buffer::resize)
2466             - one copy (SharedBuffer::m_buffer to ArrayBufferContents::m_data)
2467             - one allocation (SharedBuffer::m_buffer)
2468
2469         No new tests. WebKit desn't provide test mechanism similar to blink's one.
2470
2471         * platform/SharedBuffer.cpp:
2472         (WebCore::SharedBuffer::createArrayBuffer):
2473         * platform/SharedBuffer.h:
2474         * xml/XMLHttpRequest.cpp:
2475         (WebCore::XMLHttpRequest::responseArrayBuffer):
2476
2477 2014-02-05  Csaba Osztrogonác  <ossy@webkit.org>
2478
2479         Remove ENABLE(SVG) guards
2480         https://bugs.webkit.org/show_bug.cgi?id=127991
2481
2482         Reviewed by Sam Weinig.
2483
2484         * CMakeLists.txt:
2485         * Configurations/FeatureDefines.xcconfig:
2486         * DerivedSources.make:
2487         * GNUmakefile.am:
2488         * UseJSC.cmake:
2489         * WebCore.exp.in:
2490         * accessibility/AXObjectCache.cpp:
2491         (WebCore::createFromRenderer):
2492         * accessibility/AccessibilityNodeObject.cpp:
2493         (WebCore::AccessibilityNodeObject::alternativeText):
2494         (WebCore::AccessibilityNodeObject::accessibilityDescription):
2495         * accessibility/AccessibilityRenderObject.cpp:
2496         (WebCore::AccessibilityRenderObject::boundingBoxRect):
2497         (WebCore::AccessibilityRenderObject::supportsPath):
2498         (WebCore::AccessibilityRenderObject::elementPath):
2499         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
2500         (WebCore::AccessibilityRenderObject::remoteSVGRootElement):
2501         * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
2502         (-[WebAccessibilityObjectWrapper isSVGGroupElement]):
2503         * bindings/gobject/GNUmakefile.am:
2504         * bindings/js/JSCSSValueCustom.cpp:
2505         (WebCore::toJS):
2506         * bindings/js/JSDocumentCustom.cpp:
2507         (WebCore::toJS):
2508         * bindings/js/JSElementCustom.cpp:
2509         (WebCore::toJSNewlyCreated):
2510         * bindings/js/JSExceptionBase.cpp:
2511         (WebCore::toExceptionBase):
2512         * bindings/js/JSNodeCustom.cpp:
2513         (WebCore::createWrapperInline):
2514         * bindings/js/JSSVGElementInstanceCustom.cpp:
2515         * bindings/js/JSSVGLengthCustom.cpp:
2516         * bindings/js/JSSVGPathSegCustom.cpp:
2517         * css/CSSComputedStyleDeclaration.cpp:
2518         (WebCore::ComputedStyleExtractor::propertyValue):
2519         * css/CSSComputedStyleDeclaration.h:
2520         * css/CSSCursorImageValue.cpp:
2521         (WebCore::resourceReferencedByCursorElement):
2522         (WebCore::CSSCursorImageValue::~CSSCursorImageValue):
2523         (WebCore::CSSCursorImageValue::updateIfSVGCursorIsUsed):
2524         (WebCore::CSSCursorImageValue::cachedImage):
2525         (WebCore::CSSCursorImageValue::removeReferencedElement):
2526         * css/CSSCursorImageValue.h:
2527         * css/CSSDefaultStyleSheets.cpp:
2528         (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
2529         * css/CSSFontSelector.cpp:
2530         * css/CSSParser.cpp:
2531         (WebCore::CSSParser::parseValue):
2532         (WebCore::CSSParser::parseClipPath):
2533         (WebCore::CSSParser::parseShadow):
2534         (WebCore::CSSParser::parseFilter):
2535         (WebCore::CSSParser::realLex):
2536         * css/CSSParser.h:
2537         * css/CSSPrimitiveValueMappings.h:
2538         * css/CSSStyleSheet.cpp:
2539         (WebCore::isAcceptableCSSStyleSheetParent):
2540         * css/CSSValue.cpp:
2541         (WebCore::CSSValue::equals):
2542         (WebCore::CSSValue::cssText):
2543         (WebCore::CSSValue::destroy):
2544         (WebCore::CSSValue::cloneForCSSOM):
2545         * css/CSSValue.h:
2546         (WebCore::CSSValue::isSubtypeExposedToCSSOM):
2547         * css/CSSValueKeywords.in:
2548         * css/DeprecatedStyleBuilder.cpp:
2549         (WebCore::ApplyPropertyDisplay::isValidDisplayValue):
2550         (WebCore::ApplyPropertyClipPath::applyValue):
2551         * css/ElementRuleCollector.cpp:
2552         (WebCore::ElementRuleCollector::matchAllRules):
2553         * css/SVGCSSComputedStyleDeclaration.cpp:
2554         * css/SVGCSSParser.cpp:
2555         * css/SVGCSSPropertyNames.in:
2556         * css/SVGCSSStyleSelector.cpp:
2557         * css/StyleProperties.cpp:
2558         (WebCore::StyleProperties::getPropertyValue):
2559         * css/StylePropertyShorthand.cpp:
2560         (WebCore::markerShorthand):
2561         (WebCore::shorthandForProperty):
2562         (WebCore::matchingShorthandsForLonghand):
2563         * css/StylePropertyShorthand.h:
2564         * css/StyleResolver.cpp:
2565         (WebCore::StyleResolver::State::clear):
2566         (WebCore::StyleResolver::locateCousinList):
2567         (WebCore::StyleResolver::sharingCandidateHasIdenticalStyleAffectingAttributes):
2568         (WebCore::StyleResolver::canShareStyleWithElement):
2569         (WebCore::StyleResolver::locateSharedStyle):
2570         (WebCore::StyleResolver::adjustRenderStyle):
2571         (WebCore::isValidVisitedLinkProperty):
2572         (WebCore::StyleResolver::applyProperty):
2573         (WebCore::StyleResolver::loadPendingSVGDocuments):
2574         (WebCore::StyleResolver::createFilterOperations):
2575         (WebCore::StyleResolver::loadPendingResources):
2576         * css/StyleResolver.h:
2577         * dom/DOMExceptions.in:
2578         * dom/DOMImplementation.cpp:
2579         (WebCore::addString):
2580         (WebCore::isSupportedSVG11Feature):
2581         (WebCore::DOMImplementation::hasFeature):
2582         (WebCore::DOMImplementation::createDocument):
2583         * dom/Document.cpp:
2584         (WebCore::Document::commonTeardown):
2585         (WebCore::Document::createElement):
2586         (WebCore::Document::implicitClose):
2587         (WebCore::Document::hasSVGRootNode):
2588         * dom/Document.h:
2589         * dom/DocumentStyleSheetCollection.cpp:
2590         (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets):
2591         * dom/Element.cpp:
2592         (WebCore::Element::~Element):
2593         (WebCore::Element::synchronizeAllAttributes):
2594         (WebCore::Element::synchronizeAttribute):
2595         (WebCore::Element::boundsInRootViewSpace):
2596         (WebCore::Element::getBoundingClientRect):
2597         (WebCore::Element::removedFrom):
2598         (WebCore::Element::childShouldCreateRenderer):
2599         (WebCore::Element::fastAttributeLookupAllowed):
2600         (WebCore::Element::clearHasPendingResources):
2601         * dom/Element.h:
2602         * dom/ElementData.h:
2603         * dom/ElementRareData.h:
2604         (WebCore::ElementRareData::ElementRareData):
2605         * dom/EventDispatcher.cpp:
2606         (WebCore::eventTargetRespectingTargetRules):
2607         * dom/EventListenerMap.cpp:
2608         * dom/EventListenerMap.h:
2609         * dom/EventNames.in:
2610         * dom/EventTargetFactory.in:
2611         * dom/QualifiedName.cpp:
2612         * dom/ScriptElement.cpp:
2613         (WebCore::toScriptElementIfPossible):
2614         * dom/Text.cpp:
2615         (WebCore::isSVGText):
2616         (WebCore::Text::createTextRenderer):
2617         * history/CachedFrame.cpp:
2618         (WebCore::CachedFrameBase::restore):
2619         * html/HTMLAnchorElement.cpp:
2620         (WebCore::shouldProhibitLinks):
2621         * html/HTMLEmbedElement.idl:
2622         * html/HTMLFrameElement.idl:
2623         * html/HTMLFrameOwnerElement.cpp:
2624         (WebCore::HTMLFrameOwnerElement::getSVGDocument):
2625         * html/HTMLFrameOwnerElement.h:
2626         * html/HTMLIFrameElement.idl:
2627         * html/HTMLObjectElement.idl:
2628         * html/canvas/DOMPath.h:
2629         (WebCore::DOMPath::create):
2630         * html/canvas/DOMPath.idl:
2631         * html/parser/XSSAuditor.cpp:
2632         (WebCore::isSemicolonSeparatedAttribute):
2633         * inspector/DOMPatchSupport.cpp:
2634         (WebCore::DOMPatchSupport::patchDocument):
2635         * inspector/InspectorCSSAgent.cpp:
2636         (WebCore::InspectorCSSAgent::viaInspectorStyleSheet):
2637         * inspector/InspectorDOMAgent.cpp:
2638         (WebCore::InspectorDOMAgent::setOuterHTML):
2639         * inspector/InspectorOverlay.cpp:
2640         * inspector/InspectorStyleSheet.cpp:
2641         (WebCore::InspectorStyleSheet::inlineStyleSheetText):
2642         * loader/FrameLoader.cpp:
2643         * loader/ImageLoader.cpp:
2644         (WebCore::ImageLoader::renderImageResource):
2645         * loader/cache/CachedImage.cpp:
2646         (WebCore::CachedImage::didRemoveClient):
2647         (WebCore::CachedImage::imageForRenderer):
2648         (WebCore::CachedImage::setContainerSizeForRenderer):
2649         (WebCore::CachedImage::imageSizeForRenderer):
2650         (WebCore::CachedImage::createImage):
2651         * loader/cache/CachedImage.h:
2652         * loader/cache/CachedResource.cpp:
2653         (WebCore::defaultPriorityForResourceType):
2654         * loader/cache/CachedResource.h:
2655         * loader/cache/CachedResourceClient.h:
2656         * loader/cache/CachedResourceLoader.cpp:
2657         (WebCore::createResource):
2658         (WebCore::CachedResourceLoader::requestSVGDocument):
2659         (WebCore::CachedResourceLoader::checkInsecureContent):
2660         (WebCore::CachedResourceLoader::canRequest):
2661         * loader/cache/CachedResourceLoader.h:
2662         * loader/cache/CachedSVGDocument.cpp:
2663         * loader/cache/CachedSVGDocument.h:
2664         * loader/cache/CachedSVGDocumentClient.h:
2665         * loader/cache/CachedSVGDocumentReference.cpp:
2666         * loader/cache/CachedSVGDocumentReference.h:
2667         * page/EventHandler.cpp:
2668         (WebCore::EventHandler::EventHandler):
2669         (WebCore::EventHandler::clear):
2670         (WebCore::EventHandler::handleMousePressEvent):
2671         (WebCore::EventHandler::updateSelectionForMouseDrag):
2672         (WebCore::EventHandler::handleMouseMoveEvent):
2673         (WebCore::EventHandler::handleMouseReleaseEvent):
2674         (WebCore::instanceAssociatedWithShadowTreeElement):
2675         (WebCore::EventHandler::updateMouseEventTargetNode):
2676         * page/EventHandler.h:
2677         * page/Frame.cpp:
2678         (WebCore::Frame::setPageAndTextZoomFactors):
2679         * page/FrameView.cpp:
2680         (WebCore::FrameView::applyOverflowToViewport):
2681         (WebCore::FrameView::forceLayoutParentViewIfNeeded):
2682         (WebCore::FrameView::embeddedContentBox):
2683         (WebCore::FrameView::scrollToAnchor):
2684         * page/animation/CSSPropertyAnimation.cpp:
2685         (WebCore::blendFunc):
2686         (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
2687         * platform/MIMETypeRegistry.cpp:
2688         (WebCore::initializeSupportedNonImageMimeTypes):
2689         * platform/graphics/TextRun.cpp:
2690         * platform/graphics/TextRun.h:
2691         (WebCore::TextRun::TextRun):
2692         * platform/graphics/WidthIterator.cpp:
2693         (WebCore::WidthIterator::advanceInternal):
2694         * platform/graphics/filters/FETile.cpp:
2695         (WebCore::FETile::platformApplySoftware):
2696         * platform/graphics/filters/FilterOperation.cpp:
2697         (WebCore::ReferenceFilterOperation::getOrCreateCachedSVGDocumentReference):
2698         * platform/graphics/filters/FilterOperation.h:
2699         * platform/gtk/PasteboardGtk.cpp:
2700         (WebCore::getURLForImageElement):
2701         * rendering/FilterEffectRenderer.cpp:
2702         (WebCore::FilterEffectRenderer::buildReferenceFilter):
2703         * rendering/HitTestLocation.cpp:
2704         * rendering/HitTestResult.cpp:
2705         (WebCore::HitTestResult::absoluteImageURL):
2706         (WebCore::HitTestResult::absoluteLinkURL):
2707         (WebCore::HitTestResult::isLiveLink):
2708         * rendering/InlineBox.h:
2709         * rendering/LogicalSelectionOffsetCaches.h:
2710         (WebCore::isContainingBlockCandidateForAbsolutelyPositionedObject):
2711         * rendering/PaintInfo.h:
2712         (WebCore::PaintInfo::applyTransform):
2713         * rendering/RenderBlockLineLayout.cpp:
2714         (WebCore::RenderBlockFlow::createLineBoxesFromBidiRuns):
2715         * rendering/RenderBoxModelObject.cpp:
2716         (WebCore::RenderBoxModelObject::paintFillLayerExtended):
2717         * rendering/RenderElement.cpp:
2718         (WebCore::RenderElement::addChild):
2719         (WebCore::RenderElement::layerCreationAllowedForSubtree):
2720         (WebCore::RenderElement::styleDidChange):
2721         * rendering/RenderGeometryMap.cpp:
2722         (WebCore::canMapBetweenRenderers):
2723         * rendering/RenderImage.cpp:
2724         (WebCore::RenderImage::embeddedContentBox):
2725         * rendering/RenderLayer.cpp:
2726         (WebCore::RenderLayer::isTransparent):
2727         (WebCore::RenderLayer::setupClipPath):
2728         (WebCore::RenderLayer::calculateClipRects):
2729         * rendering/RenderLayer.h:
2730         * rendering/RenderLayerFilterInfo.cpp:
2731         (WebCore::RenderLayer::FilterInfo::~FilterInfo):
2732         * rendering/RenderLayerFilterInfo.h:
2733         * rendering/RenderNamedFlowThread.cpp:
2734         (WebCore::nextNodeInsideContentElement):
2735         * rendering/RenderObject.cpp:
2736         (WebCore::objectIsRelayoutBoundary):
2737         (WebCore::RenderObject::container):
2738         (WebCore::RenderObject::willBeRemovedFromTree):
2739         * rendering/RenderObject.h:
2740         (WebCore::RenderObject::canContainFixedPositionObjects):
2741         (WebCore::RenderObject::preservesNewline):
2742         * rendering/RenderTreeAsText.cpp:
2743         (WebCore::write):
2744         * rendering/RenderView.cpp:
2745         (WebCore::RenderView::layout):
2746         * rendering/RootInlineBox.cpp:
2747         (WebCore::RootInlineBox::alignBoxesInBlockDirection):
2748         * rendering/SimpleLineLayout.cpp:
2749         (WebCore::SimpleLineLayout::canUseFor):
2750         * rendering/line/BreakingContextInlineHeaders.h:
2751         (WebCore::BreakingContext::initializeForCurrentObject):
2752         (WebCore::BreakingContext::handleText):
2753         * rendering/style/RenderStyle.cpp:
2754         (WebCore::RenderStyle::RenderStyle):
2755         (WebCore::RenderStyle::inheritFrom):
2756         (WebCore::RenderStyle::copyNonInheritedFrom):
2757         (WebCore::RenderStyle::operator==):
2758         (WebCore::RenderStyle::inheritedNotEqual):
2759         (WebCore::RenderStyle::inheritedDataShared):
2760         (WebCore::RenderStyle::diff):
2761         * rendering/style/RenderStyle.h:
2762         * rendering/style/SVGRenderStyle.cpp:
2763         * rendering/style/SVGRenderStyle.h:
2764         * rendering/style/SVGRenderStyleDefs.cpp:
2765         * rendering/style/SVGRenderStyleDefs.h:
2766         * rendering/svg/RenderSVGBlock.cpp:
2767         * rendering/svg/RenderSVGBlock.h:
2768         * rendering/svg/RenderSVGContainer.cpp:
2769         * rendering/svg/RenderSVGContainer.h:
2770         * rendering/svg/RenderSVGEllipse.cpp:
2771         * rendering/svg/RenderSVGEllipse.h:
2772         * rendering/svg/RenderSVGForeignObject.cpp:
2773         * rendering/svg/RenderSVGForeignObject.h:
2774         * rendering/svg/RenderSVGGradientStop.cpp:
2775         * rendering/svg/RenderSVGGradientStop.h:
2776         * rendering/svg/RenderSVGHiddenContainer.cpp:
2777         * rendering/svg/RenderSVGHiddenContainer.h:
2778         * rendering/svg/RenderSVGImage.cpp:
2779         * rendering/svg/RenderSVGImage.h:
2780         * rendering/svg/RenderSVGInline.cpp:
2781         * rendering/svg/RenderSVGInline.h:
2782         * rendering/svg/RenderSVGInlineText.cpp:
2783         * rendering/svg/RenderSVGInlineText.h:
2784         * rendering/svg/RenderSVGModelObject.cpp:
2785         * rendering/svg/RenderSVGModelObject.h:
2786         * rendering/svg/RenderSVGPath.cpp:
2787         * rendering/svg/RenderSVGPath.h:
2788         * rendering/svg/RenderSVGRect.cpp:
2789         * rendering/svg/RenderSVGRect.h:
2790         * rendering/svg/RenderSVGResource.cpp:
2791         * rendering/svg/RenderSVGResource.h:
2792         * rendering/svg/RenderSVGResourceClipper.cpp:
2793         * rendering/svg/RenderSVGResourceClipper.h:
2794         * rendering/svg/RenderSVGResourceContainer.cpp:
2795         * rendering/svg/RenderSVGResourceContainer.h:
2796         * rendering/svg/RenderSVGResourceFilter.cpp:
2797         * rendering/svg/RenderSVGResourceFilter.h:
2798         * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
2799         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
2800         * rendering/svg/RenderSVGResourceGradient.cpp:
2801         (WebCore::RenderSVGResourceGradient::applyResource):
2802         * rendering/svg/RenderSVGResourceGradient.h:
2803         * rendering/svg/RenderSVGResourceLinearGradient.cpp:
2804         * rendering/svg/RenderSVGResourceLinearGradient.h:
2805         * rendering/svg/RenderSVGResourceMarker.cpp:
2806         * rendering/svg/RenderSVGResourceMarker.h:
2807         * rendering/svg/RenderSVGResourceMasker.cpp:
2808         * rendering/svg/RenderSVGResourceMasker.h:
2809         * rendering/svg/RenderSVGResourcePattern.cpp:
2810         * rendering/svg/RenderSVGResourcePattern.h:
2811         * rendering/svg/RenderSVGResourceRadialGradient.cpp:
2812         * rendering/svg/RenderSVGResourceRadialGradient.h:
2813         * rendering/svg/RenderSVGResourceSolidColor.cpp:
2814         * rendering/svg/RenderSVGResourceSolidColor.h:
2815         * rendering/svg/RenderSVGRoot.cpp:
2816         * rendering/svg/RenderSVGRoot.h:
2817         * rendering/svg/RenderSVGShape.cpp:
2818         * rendering/svg/RenderSVGShape.h:
2819         * rendering/svg/RenderSVGTSpan.h:
2820         * rendering/svg/RenderSVGText.cpp:
2821         * rendering/svg/RenderSVGText.h:
2822         * rendering/svg/RenderSVGTextPath.cpp:
2823         * rendering/svg/RenderSVGTextPath.h:
2824         * rendering/svg/RenderSVGTransformableContainer.cpp:
2825         * rendering/svg/RenderSVGTransformableContainer.h:
2826         * rendering/svg/RenderSVGViewportContainer.cpp:
2827         * rendering/svg/RenderSVGViewportContainer.h:
2828         * rendering/svg/SVGInlineFlowBox.cpp:
2829         * rendering/svg/SVGInlineFlowBox.h:
2830         * rendering/svg/SVGInlineTextBox.cpp:
2831         * rendering/svg/SVGInlineTextBox.h:
2832         * rendering/svg/SVGMarkerData.h:
2833         * rendering/svg/SVGPathData.cpp:
2834         * rendering/svg/SVGPathData.h:
2835         * rendering/svg/SVGRenderSupport.cpp:
2836         * rendering/svg/SVGRenderSupport.h:
2837         * rendering/svg/SVGRenderTreeAsText.cpp:
2838         * rendering/svg/SVGRenderTreeAsText.h:
2839         * rendering/svg/SVGRenderingContext.cpp:
2840         * rendering/svg/SVGRenderingContext.h:
2841         * rendering/svg/SVGResources.cpp:
2842         * rendering/svg/SVGResources.h:
2843         * rendering/svg/SVGResourcesCache.cpp:
2844         * rendering/svg/SVGResourcesCache.h:
2845         * rendering/svg/SVGResourcesCycleSolver.cpp:
2846         * rendering/svg/SVGResourcesCycleSolver.h:
2847         * rendering/svg/SVGRootInlineBox.cpp:
2848         * rendering/svg/SVGRootInlineBox.h:
2849         * rendering/svg/SVGSubpathData.h:
2850         * rendering/svg/SVGTextChunk.cpp:
2851         * rendering/svg/SVGTextChunk.h:
2852         * rendering/svg/SVGTextChunkBuilder.cpp:
2853         * rendering/svg/SVGTextChunkBuilder.h:
2854         * rendering/svg/SVGTextFragment.h:
2855         * rendering/svg/SVGTextLayoutAttributes.cpp:
2856         * rendering/svg/SVGTextLayoutAttributes.h:
2857         * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
2858         * rendering/svg/SVGTextLayoutAttributesBuilder.h:
2859         * rendering/svg/SVGTextLayoutEngine.cpp:
2860         * rendering/svg/SVGTextLayoutEngine.h:
2861         * rendering/svg/SVGTextLayoutEngineBaseline.cpp:
2862         * rendering/svg/SVGTextLayoutEngineBaseline.h:
2863         * rendering/svg/SVGTextLayoutEngineSpacing.cpp:
2864         * rendering/svg/SVGTextLayoutEngineSpacing.h:
2865         * rendering/svg/SVGTextMetrics.cpp:
2866         * rendering/svg/SVGTextMetrics.h:
2867         * rendering/svg/SVGTextMetricsBuilder.cpp:
2868         * rendering/svg/SVGTextMetricsBuilder.h:
2869         * rendering/svg/SVGTextQuery.cpp:
2870         * rendering/svg/SVGTextQuery.h:
2871         * svg/ColorDistance.cpp:
2872         * svg/ColorDistance.h:
2873         * svg/GradientAttributes.h:
2874         * svg/LinearGradientAttributes.h:
2875         * svg/PatternAttributes.h:
2876         * svg/RadialGradientAttributes.h:
2877         * svg/SVGAElement.cpp:
2878         * svg/SVGAElement.h:
2879         * svg/SVGAElement.idl:
2880         * svg/SVGAltGlyphDefElement.cpp:
2881         * svg/SVGAltGlyphDefElement.h:
2882         * svg/SVGAltGlyphDefElement.idl:
2883         * svg/SVGAltGlyphElement.cpp:
2884         * svg/SVGAltGlyphElement.h:
2885         * svg/SVGAltGlyphElement.idl:
2886         * svg/SVGAltGlyphItemElement.cpp:
2887         * svg/SVGAltGlyphItemElement.h:
2888         * svg/SVGAltGlyphItemElement.idl:
2889         * svg/SVGAngle.cpp:
2890         * svg/SVGAngle.h:
2891         * svg/SVGAngle.idl:
2892         * svg/SVGAnimateColorElement.cpp:
2893         * svg/SVGAnimateColorElement.h:
2894         * svg/SVGAnimateColorElement.idl:
2895         * svg/SVGAnimateElement.cpp:
2896         * svg/SVGAnimateElement.h:
2897         * svg/SVGAnimateElement.idl:
2898         * svg/SVGAnimateMotionElement.cpp:
2899         * svg/SVGAnimateMotionElement.h:
2900         * svg/SVGAnimateMotionElement.idl:
2901         * svg/SVGAnimateTransformElement.cpp:
2902         * svg/SVGAnimateTransformElement.h:
2903         * svg/SVGAnimateTransformElement.idl:
2904         * svg/SVGAnimatedAngle.cpp:
2905         * svg/SVGAnimatedAngle.h:
2906         * svg/SVGAnimatedAngle.idl:
2907         * svg/SVGAnimatedBoolean.cpp:
2908         * svg/SVGAnimatedBoolean.h:
2909         * svg/SVGAnimatedBoolean.idl:
2910         * svg/SVGAnimatedColor.cpp:
2911         * svg/SVGAnimatedColor.h:
2912         * svg/SVGAnimatedEnumeration.cpp:
2913         * svg/SVGAnimatedEnumeration.h:
2914         * svg/SVGAnimatedEnumeration.idl:
2915         * svg/SVGAnimatedInteger.cpp:
2916         * svg/SVGAnimatedInteger.h:
2917         * svg/SVGAnimatedInteger.idl:
2918         * svg/SVGAnimatedIntegerOptionalInteger.cpp:
2919         * svg/SVGAnimatedIntegerOptionalInteger.h:
2920         * svg/SVGAnimatedLength.cpp:
2921         * svg/SVGAnimatedLength.h:
2922         * svg/SVGAnimatedLength.idl:
2923         * svg/SVGAnimatedLengthList.cpp:
2924         * svg/SVGAnimatedLengthList.h:
2925         * svg/SVGAnimatedLengthList.idl:
2926         * svg/SVGAnimatedNumber.cpp:
2927         * svg/SVGAnimatedNumber.h:
2928         * svg/SVGAnimatedNumber.idl:
2929         * svg/SVGAnimatedNumberList.cpp:
2930         * svg/SVGAnimatedNumberList.h:
2931         * svg/SVGAnimatedNumberList.idl:
2932         * svg/SVGAnimatedNumberOptionalNumber.cpp:
2933         * svg/SVGAnimatedNumberOptionalNumber.h:
2934         * svg/SVGAnimatedPath.cpp:
2935         * svg/SVGAnimatedPath.h:
2936         * svg/SVGAnimatedPointList.cpp:
2937         * svg/SVGAnimatedPointList.h:
2938         * svg/SVGAnimatedPreserveAspectRatio.cpp:
2939         * svg/SVGAnimatedPreserveAspectRatio.h:
2940         * svg/SVGAnimatedPreserveAspectRatio.idl:
2941         * svg/SVGAnimatedRect.cpp:
2942         * svg/SVGAnimatedRect.h:
2943         * svg/SVGAnimatedRect.idl:
2944         * svg/SVGAnimatedString.cpp:
2945         * svg/SVGAnimatedString.h:
2946         * svg/SVGAnimatedString.idl:
2947         * svg/SVGAnimatedTransformList.cpp:
2948         * svg/SVGAnimatedTransformList.h:
2949         * svg/SVGAnimatedTransformList.idl:
2950         * svg/SVGAnimatedType.cpp:
2951         * svg/SVGAnimatedType.h:
2952         * svg/SVGAnimatedTypeAnimator.cpp:
2953         * svg/SVGAnimatedTypeAnimator.h:
2954         * svg/SVGAnimationElement.cpp:
2955         * svg/SVGAnimationElement.h:
2956         * svg/SVGAnimationElement.idl:
2957         * svg/SVGAnimatorFactory.h:
2958         * svg/SVGCircleElement.cpp:
2959         * svg/SVGCircleElement.h:
2960         * svg/SVGCircleElement.idl:
2961         * svg/SVGClipPathElement.cpp:
2962         * svg/SVGClipPathElement.h:
2963         * svg/SVGClipPathElement.idl:
2964         * svg/SVGColor.cpp:
2965         * svg/SVGColor.h:
2966         * svg/SVGColor.idl:
2967         * svg/SVGComponentTransferFunctionElement.cpp:
2968         * svg/SVGComponentTransferFunctionElement.h:
2969         * svg/SVGComponentTransferFunctionElement.idl:
2970         * svg/SVGCursorElement.cpp:
2971         * svg/SVGCursorElement.h:
2972         * svg/SVGCursorElement.idl:
2973         * svg/SVGDefsElement.cpp:
2974         * svg/SVGDefsElement.h:
2975         * svg/SVGDefsElement.idl:
2976         * svg/SVGDescElement.cpp:
2977         * svg/SVGDescElement.h:
2978         * svg/SVGDescElement.idl:
2979         * svg/SVGDocument.cpp:
2980         * svg/SVGDocument.h:
2981         * svg/SVGDocument.idl:
2982         * svg/SVGDocumentExtensions.cpp:
2983         * svg/SVGDocumentExtensions.h:
2984         * svg/SVGElement.cpp:
2985         * svg/SVGElement.h:
2986         * svg/SVGElement.idl:
2987         * svg/SVGElementInstance.cpp:
2988         * svg/SVGElementInstance.h:
2989         * svg/SVGElementInstance.idl:
2990         * svg/SVGElementInstanceList.cpp:
2991         * svg/SVGElementInstanceList.h:
2992         * svg/SVGElementInstanceList.idl:
2993         * svg/SVGEllipseElement.cpp:
2994         * svg/SVGEllipseElement.h:
2995         * svg/SVGEllipseElement.idl:
2996         * svg/SVGException.cpp:
2997         * svg/SVGException.h:
2998         * svg/SVGException.idl:
2999         * svg/SVGExternalResourcesRequired.cpp:
3000         * svg/SVGExternalResourcesRequired.h:
3001         * svg/SVGExternalResourcesRequired.idl:
3002         * svg/SVGFEBlendElement.cpp:
3003         * svg/SVGFEBlendElement.h:
3004         * svg/SVGFEBlendElement.idl:
3005         * svg/SVGFEColorMatrixElement.cpp:
3006         * svg/SVGFEColorMatrixElement.h:
3007         * svg/SVGFEColorMatrixElement.idl:
3008         * svg/SVGFEComponentTransferElement.cpp:
3009         * svg/SVGFEComponentTransferElement.h:
3010         * svg/SVGFEComponentTransferElement.idl:
3011         * svg/SVGFECompositeElement.cpp:
3012         * svg/SVGFECompositeElement.h:
3013         * svg/SVGFECompositeElement.idl:
3014         * svg/SVGFEConvolveMatrixElement.cpp:
3015         * svg/SVGFEConvolveMatrixElement.h:
3016         * svg/SVGFEConvolveMatrixElement.idl:
3017         * svg/SVGFEDiffuseLightingElement.cpp:
3018         * svg/SVGFEDiffuseLightingElement.h:
3019         * svg/SVGFEDiffuseLightingElement.idl:
3020         * svg/SVGFEDisplacementMapElement.cpp:
3021         * svg/SVGFEDisplacementMapElement.h:
3022         * svg/SVGFEDisplacementMapElement.idl:
3023         * svg/SVGFEDistantLightElement.cpp:
3024         * svg/SVGFEDistantLightElement.h:
3025         * svg/SVGFEDistantLightElement.idl:
3026         * svg/SVGFEDropShadowElement.cpp:
3027         * svg/SVGFEDropShadowElement.h:
3028         * svg/SVGFEDropShadowElement.idl:
3029         * svg/SVGFEFloodElement.cpp:
3030         * svg/SVGFEFloodElement.h:
3031         * svg/SVGFEFloodElement.idl:
3032         * svg/SVGFEFuncAElement.cpp:
3033         * svg/SVGFEFuncAElement.h:
3034         * svg/SVGFEFuncAElement.idl:
3035         * svg/SVGFEFuncBElement.cpp:
3036         * svg/SVGFEFuncBElement.h:
3037         * svg/SVGFEFuncBElement.idl:
3038         * svg/SVGFEFuncGElement.cpp:
3039         * svg/SVGFEFuncGElement.h:
3040         * svg/SVGFEFuncGElement.idl:
3041         * svg/SVGFEFuncRElement.cpp:
3042         * svg/SVGFEFuncRElement.h:
3043         * svg/SVGFEFuncRElement.idl:
3044         * svg/SVGFEGaussianBlurElement.cpp:
3045         * svg/SVGFEGaussianBlurElement.h:
3046         * svg/SVGFEGaussianBlurElement.idl:
3047         * svg/SVGFEImageElement.cpp:
3048         * svg/SVGFEImageElement.h:
3049         * svg/SVGFEImageElement.idl:
3050         * svg/SVGFELightElement.cpp:
3051         * svg/SVGFELightElement.h:
3052         * svg/SVGFEMergeElement.cpp:
3053         * svg/SVGFEMergeElement.h:
3054         * svg/SVGFEMergeElement.idl:
3055         * svg/SVGFEMergeNodeElement.cpp:
3056         * svg/SVGFEMergeNodeElement.h:
3057         * svg/SVGFEMergeNodeElement.idl:
3058         * svg/SVGFEMorphologyElement.cpp:
3059         * svg/SVGFEMorphologyElement.h:
3060         * svg/SVGFEMorphologyElement.idl:
3061         * svg/SVGFEOffsetElement.cpp:
3062         * svg/SVGFEOffsetElement.h:
3063         * svg/SVGFEOffsetElement.idl:
3064         * svg/SVGFEPointLightElement.cpp:
3065         * svg/SVGFEPointLightElement.h:
3066         * svg/SVGFEPointLightElement.idl:
3067         * svg/SVGFESpecularLightingElement.cpp:
3068         * svg/SVGFESpecularLightingElement.h:
3069         * svg/SVGFESpecularLightingElement.idl:
3070         * svg/SVGFESpotLightElement.cpp:
3071         * svg/SVGFESpotLightElement.h:
3072         * svg/SVGFESpotLightElement.idl:
3073         * svg/SVGFETileElement.cpp:
3074         * svg/SVGFETileElement.h:
3075         * svg/SVGFETileElement.idl:
3076         * svg/SVGFETurbulenceElement.cpp:
3077         * svg/SVGFETurbulenceElement.h:
3078         * svg/SVGFETurbulenceElement.idl:
3079         * svg/SVGFilterElement.cpp:
3080         * svg/SVGFilterElement.h:
3081         * svg/SVGFilterElement.idl:
3082         * svg/SVGFilterPrimitiveStandardAttributes.cpp:
3083         * svg/SVGFilterPrimitiveStandardAttributes.h:
3084         * svg/SVGFilterPrimitiveStandardAttributes.idl:
3085         * svg/SVGFitToViewBox.cpp:
3086         * svg/SVGFitToViewBox.h:
3087         * svg/SVGFitToViewBox.idl:
3088         * svg/SVGFontElement.idl:
3089         * svg/SVGFontFaceElement.idl:
3090         * svg/SVGFontFaceFormatElement.idl:
3091         * svg/SVGFontFaceNameElement.cpp:
3092         * svg/SVGFontFaceNameElement.idl:
3093         * svg/SVGFontFaceSrcElement.idl:
3094         * svg/SVGFontFaceUriElement.idl:
3095         * svg/SVGForeignObjectElement.cpp:
3096         * svg/SVGForeignObjectElement.h:
3097         * svg/SVGForeignObjectElement.idl:
3098         * svg/SVGGElement.cpp:
3099         * svg/SVGGElement.h:
3100         * svg/SVGGElement.idl:
3101         * svg/SVGGlyphElement.idl:
3102         * svg/SVGGlyphRefElement.cpp:
3103         * svg/SVGGlyphRefElement.h:
3104         * svg/SVGGlyphRefElement.idl:
3105         * svg/SVGGradientElement.cpp:
3106         * svg/SVGGradientElement.h:
3107         * svg/SVGGradientElement.idl:
3108         * svg/SVGGraphicsElement.cpp:
3109         * svg/SVGGraphicsElement.h:
3110         * svg/SVGGraphicsElement.idl:
3111         * svg/SVGHKernElement.idl:
3112         * svg/SVGImageElement.cpp:
3113         * svg/SVGImageElement.h:
3114         * svg/SVGImageElement.idl:
3115         * svg/SVGImageLoader.cpp:
3116         * svg/SVGImageLoader.h:
3117         * svg/SVGLangSpace.cpp:
3118         * svg/SVGLangSpace.h:
3119         * svg/SVGLength.cpp:
3120         * svg/SVGLength.h:
3121         * svg/SVGLength.idl:
3122         * svg/SVGLengthContext.cpp:
3123         * svg/SVGLengthContext.h:
3124         * svg/SVGLengthList.cpp:
3125         * svg/SVGLengthList.h:
3126         * svg/SVGLengthList.idl:
3127         * svg/SVGLineElement.cpp:
3128         * svg/SVGLineElement.h:
3129         * svg/SVGLineElement.idl:
3130         * svg/SVGLinearGradientElement.cpp:
3131         * svg/SVGLinearGradientElement.h:
3132         * svg/SVGLinearGradientElement.idl:
3133         * svg/SVGLocatable.cpp:
3134         * svg/SVGLocatable.h:
3135         * svg/SVGMPathElement.cpp:
3136         * svg/SVGMPathElement.h:
3137         * svg/SVGMPathElement.idl:
3138         * svg/SVGMarkerElement.cpp:
3139         * svg/SVGMarkerElement.h:
3140         * svg/SVGMarkerElement.idl:
3141         * svg/SVGMaskElement.cpp:
3142         * svg/SVGMaskElement.h:
3143         * svg/SVGMaskElement.idl:
3144         * svg/SVGMatrix.h:
3145         * svg/SVGMatrix.idl:
3146         * svg/SVGMetadataElement.cpp:
3147         * svg/SVGMetadataElement.h:
3148         * svg/SVGMetadataElement.idl:
3149         * svg/SVGMissingGlyphElement.idl:
3150         * svg/SVGNumber.idl:
3151         * svg/SVGNumberList.cpp:
3152         * svg/SVGNumberList.h:
3153         * svg/SVGNumberList.idl:
3154         * svg/SVGPaint.cpp:
3155         * svg/SVGPaint.h:
3156         * svg/SVGPaint.idl:
3157         * svg/SVGParserUtilities.cpp:
3158         * svg/SVGParserUtilities.h:
3159         * svg/SVGParsingError.h:
3160         * svg/SVGPathBlender.cpp:
3161         * svg/SVGPathBlender.h:
3162         * svg/SVGPathBuilder.cpp:
3163         * svg/SVGPathBuilder.h:
3164         * svg/SVGPathByteStream.h:
3165         * svg/SVGPathByteStreamBuilder.cpp:
3166         * svg/SVGPathByteStreamBuilder.h:
3167         * svg/SVGPathByteStreamSource.cpp:
3168         * svg/SVGPathByteStreamSource.h:
3169         * svg/SVGPathConsumer.h:
3170         * svg/SVGPathElement.cpp:
3171         * svg/SVGPathElement.h:
3172         * svg/SVGPathElement.idl:
3173         * svg/SVGPathParser.cpp:
3174         * svg/SVGPathParser.h:
3175         * svg/SVGPathSeg.h:
3176         * svg/SVGPathSeg.idl:
3177         * svg/SVGPathSegArc.h:
3178         * svg/SVGPathSegArcAbs.h:
3179         * svg/SVGPathSegArcAbs.idl:
3180         * svg/SVGPathSegArcRel.h:
3181         * svg/SVGPathSegArcRel.idl:
3182         * svg/SVGPathSegClosePath.h:
3183         * svg/SVGPathSegClosePath.idl:
3184         * svg/SVGPathSegCurvetoCubic.h:
3185         * svg/SVGPathSegCurvetoCubicAbs.h:
3186         * svg/SVGPathSegCurvetoCubicAbs.idl:
3187         * svg/SVGPathSegCurvetoCubicRel.h:
3188         * svg/SVGPathSegCurvetoCubicRel.idl:
3189         * svg/SVGPathSegCurvetoCubicSmooth.h:
3190         * svg/SVGPathSegCurvetoCubicSmoothAbs.h:
3191         * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
3192         * svg/SVGPathSegCurvetoCubicSmoothRel.h:
3193         * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
3194         * svg/SVGPathSegCurvetoQuadratic.h:
3195         * svg/SVGPathSegCurvetoQuadraticAbs.h:
3196         * svg/SVGPathSegCurvetoQuadraticAbs.idl:
3197         * svg/SVGPathSegCurvetoQuadraticRel.h:
3198         * svg/SVGPathSegCurvetoQuadraticRel.idl:
3199         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
3200         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
3201         * svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
3202         * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
3203         * svg/SVGPathSegLinetoAbs.h:
3204         * svg/SVGPathSegLinetoAbs.idl:
3205         * svg/SVGPathSegLinetoHorizontal.h:
3206         * svg/SVGPathSegLinetoHorizontalAbs.h:
3207         * svg/SVGPathSegLinetoHorizontalAbs.idl:
3208         * svg/SVGPathSegLinetoHorizontalRel.h:
3209         * svg/SVGPathSegLinetoHorizontalRel.idl:
3210         * svg/SVGPathSegLinetoRel.h:
3211         * svg/SVGPathSegLinetoRel.idl:
3212         * svg/SVGPathSegLinetoVertical.h:
3213         * svg/SVGPathSegLinetoVerticalAbs.h:
3214         * svg/SVGPathSegLinetoVerticalAbs.idl:
3215         * svg/SVGPathSegLinetoVerticalRel.h:
3216         * svg/SVGPathSegLinetoVerticalRel.idl:
3217         * svg/SVGPathSegList.cpp:
3218         * svg/SVGPathSegList.h:
3219         * svg/SVGPathSegList.idl:
3220         * svg/SVGPathSegListBuilder.cpp:
3221         * svg/SVGPathSegListBuilder.h:
3222         * svg/SVGPathSegListSource.cpp:
3223         * svg/SVGPathSegListSource.h:
3224         * svg/SVGPathSegMovetoAbs.h:
3225         * svg/SVGPathSegMovetoAbs.idl:
3226         * svg/SVGPathSegMovetoRel.h:
3227         * svg/SVGPathSegMovetoRel.idl:
3228         * svg/SVGPathSegWithContext.h:
3229         * svg/SVGPathSource.h:
3230         * svg/SVGPathStringBuilder.cpp:
3231         * svg/SVGPathStringBuilder.h:
3232         * svg/SVGPathStringSource.cpp:
3233         * svg/SVGPathStringSource.h:
3234         * svg/SVGPathTraversalStateBuilder.cpp:
3235         * svg/SVGPathTraversalStateBuilder.h:
3236         * svg/SVGPathUtilities.cpp:
3237         * svg/SVGPathUtilities.h:
3238         * svg/SVGPatternElement.cpp:
3239         * svg/SVGPatternElement.h:
3240         * svg/SVGPatternElement.idl:
3241         * svg/SVGPoint.h:
3242         * svg/SVGPoint.idl:
3243         * svg/SVGPointList.cpp:
3244         * svg/SVGPointList.h:
3245         * svg/SVGPointList.idl:
3246         * svg/SVGPolyElement.cpp:
3247         * svg/SVGPolyElement.h:
3248         * svg/SVGPolygonElement.cpp:
3249         * svg/SVGPolygonElement.h:
3250         * svg/SVGPolygonElement.idl:
3251         * svg/SVGPolylineElement.cpp:
3252         * svg/SVGPolylineElement.h:
3253         * svg/SVGPolylineElement.idl:
3254         * svg/SVGPreserveAspectRatio.cpp:
3255         * svg/SVGPreserveAspectRatio.h:
3256         * svg/SVGPreserveAspectRatio.idl:
3257         * svg/SVGRadialGradientElement.cpp:
3258         * svg/SVGRadialGradientElement.h:
3259         * svg/SVGRadialGradientElement.idl:
3260         * svg/SVGRect.h:
3261         * svg/SVGRect.idl:
3262         * svg/SVGRectElement.cpp:
3263         * svg/SVGRectElement.h:
3264         * svg/SVGRectElement.idl:
3265         * svg/SVGRenderingIntent.h:
3266         * svg/SVGRenderingIntent.idl:
3267         * svg/SVGSVGElement.cpp:
3268         * svg/SVGSVGElement.h:
3269         * svg/SVGSVGElement.idl:
3270         * svg/SVGScriptElement.cpp:
3271         * svg/SVGScriptElement.h:
3272         * svg/SVGScriptElement.idl:
3273         * svg/SVGSetElement.cpp:
3274         * svg/SVGSetElement.h:
3275         * svg/SVGSetElement.idl:
3276         * svg/SVGStopElement.cpp:
3277         * svg/SVGStopElement.h:
3278         * svg/SVGStopElement.idl:
3279         * svg/SVGStringList.cpp:
3280         * svg/SVGStringList.h:
3281         * svg/SVGStringList.idl:
3282         * svg/SVGStyleElement.cpp:
3283         * svg/SVGStyleElement.h:
3284         * svg/SVGStyleElement.idl:
3285         * svg/SVGSwitchElement.cpp:
3286         * svg/SVGSwitchElement.h:
3287         * svg/SVGSwitchElement.idl:
3288         * svg/SVGSymbolElement.cpp:
3289         * svg/SVGSymbolElement.h:
3290         * svg/SVGSymbolElement.idl:
3291         * svg/SVGTRefElement.cpp:
3292         * svg/SVGTRefElement.h:
3293         * svg/SVGTRefElement.idl:
3294         * svg/SVGTSpanElement.cpp:
3295         * svg/SVGTSpanElement.h:
3296         * svg/SVGTSpanElement.idl:
3297         * svg/SVGTests.cpp:
3298         * svg/SVGTests.h:
3299         * svg/SVGTests.idl:
3300         * svg/SVGTextContentElement.cpp:
3301         * svg/SVGTextContentElement.h:
3302         * svg/SVGTextContentElement.idl:
3303         * svg/SVGTextElement.cpp:
3304         * svg/SVGTextElement.h:
3305         * svg/SVGTextElement.idl:
3306         * svg/SVGTextPathElement.cpp:
3307         * svg/SVGTextPathElement.h:
3308         * svg/SVGTextPathElement.idl:
3309         * svg/SVGTextPositioningElement.cpp:
3310         * svg/SVGTextPositioningElement.h:
3311         * svg/SVGTextPositioningElement.idl:
3312         * svg/SVGTitleElement.cpp:
3313         * svg/SVGTitleElement.h:
3314         * svg/SVGTitleElement.idl:
3315         * svg/SVGTransform.cpp:
3316         * svg/SVGTransform.h:
3317         * svg/SVGTransform.idl:
3318         * svg/SVGTransformDistance.cpp:
3319         * svg/SVGTransformDistance.h:
3320         * svg/SVGTransformList.cpp:
3321         * svg/SVGTransformList.h:
3322         * svg/SVGTransformList.idl:
3323         * svg/SVGTransformable.cpp:
3324         * svg/SVGTransformable.h:
3325         * svg/SVGURIReference.cpp:
3326         * svg/SVGURIReference.h:
3327         * svg/SVGURIReference.idl:
3328         * svg/SVGUnitTypes.h:
3329         * svg/SVGUnitTypes.idl:
3330         * svg/SVGUnknownElement.h:
3331         * svg/SVGUseElement.cpp:
3332         * svg/SVGUseElement.h:
3333         * svg/SVGUseElement.idl:
3334         * svg/SVGVKernElement.idl:
3335         * svg/SVGViewElement.cpp:
3336         * svg/SVGViewElement.h:
3337         * svg/SVGViewElement.idl:
3338         * svg/SVGViewSpec.cpp:
3339         * svg/SVGViewSpec.h:
3340         * svg/SVGViewSpec.idl:
3341         * svg/SVGZoomAndPan.cpp:
3342         * svg/SVGZoomAndPan.h:
3343         * svg/SVGZoomAndPan.idl:
3344         * svg/SVGZoomEvent.cpp:
3345         * svg/SVGZoomEvent.h:
3346         * svg/SVGZoomEvent.idl:
3347         * svg/animation/SMILTime.cpp:
3348         (WebCore::operator*):
3349         * svg/animation/SMILTime.h:
3350         * svg/animation/SMILTimeContainer.cpp:
3351         * svg/animation/SMILTimeContainer.h:
3352         * svg/animation/SVGSMILElement.cpp:
3353         * svg/animation/SVGSMILElement.h:
3354         * svg/graphics/SVGImage.cpp:
3355         * svg/graphics/SVGImage.h:
3356         * svg/graphics/SVGImageCache.cpp:
3357         * svg/graphics/SVGImageCache.h:
3358         * svg/graphics/SVGImageChromeClient.h:
3359         * svg/graphics/SVGImageForContainer.cpp:
3360         * svg/graphics/SVGImageForContainer.h:
3361         * svg/graphics/filters/SVGFEImage.cpp:
3362         * svg/graphics/filters/SVGFEImage.h:
3363         * svg/graphics/filters/SVGFilter.cpp:
3364         * svg/graphics/filters/SVGFilter.h:
3365         * svg/graphics/filters/SVGFilterBuilder.cpp:
3366         * svg/graphics/filters/SVGFilterBuilder.h:
3367         * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
3368         * svg/properties/SVGAnimatedListPropertyTearOff.h:
3369         * svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
3370         * svg/properties/SVGAnimatedProperty.cpp:
3371         * svg/properties/SVGAnimatedProperty.h:
3372         * svg/properties/SVGAnimatedPropertyDescription.h:
3373         * svg/properties/SVGAnimatedPropertyMacros.h:
3374         * svg/properties/SVGAnimatedPropertyTearOff.h:
3375         * svg/properties/SVGAnimatedStaticPropertyTearOff.h:
3376         * svg/properties/SVGAnimatedTransformListPropertyTearOff.h:
3377         * svg/properties/SVGAttributeToPropertyMap.cpp:
3378         * svg/properties/SVGAttributeToPropertyMap.h:
3379         * svg/properties/SVGListProperty.h:
3380         * svg/properties/SVGListPropertyTearOff.h:
3381         * svg/properties/SVGPathSegListPropertyTearOff.cpp:
3382         * svg/properties/SVGPathSegListPropertyTearOff.h:
3383         * svg/properties/SVGProperty.h:
3384         * svg/properties/SVGPropertyInfo.cpp:
3385         * svg/properties/SVGPropertyInfo.h:
3386         * svg/properties/SVGPropertyTearOff.h:
3387         * svg/properties/SVGPropertyTraits.h:
3388         * svg/properties/SVGStaticListPropertyTearOff.h:
3389         * svg/properties/SVGStaticPropertyTearOff.h:
3390         * svg/properties/SVGStaticPropertyWithParentTearOff.h:
3391         * svg/properties/SVGTransformListPropertyTearOff.h:
3392         * svg/svgattrs.in:
3393         * svg/svgtags.in:
3394         * xml/XMLErrors.cpp:
3395         (WebCore::XMLErrors::insertErrorMessageBlock):
3396         * xml/parser/XMLDocumentParser.cpp:
3397
3398 2014-02-05  Zan Dobersek  <zdobersek@igalia.com>
3399
3400         Manage CalcExpressionNode and derived classes through std::unique_ptr instead of OwnPtr
3401         https://bugs.webkit.org/show_bug.cgi?id=128118
3402
3403         Reviewed by Darin Adler.
3404
3405         Replace uses of OwnPtr for CalcExpressionNode and derived classes with std::unique_ptr.
3406
3407         * css/CSSCalculationValue.cpp:
3408         (WebCore::CSSCalcPrimitiveValue::toCalcValue):
3409         (WebCore::CSSCalcBinaryOperation::toCalcValue):
3410         * css/CSSCalculationValue.h:
3411         * platform/CalculationValue.cpp:
3412         (WebCore::CalculationValue::create):
3413         * platform/CalculationValue.h:
3414         (WebCore::CalculationValue::CalculationValue):
3415         (WebCore::CalcExpressionBinaryOperation::CalcExpressionBinaryOperation):
3416         * platform/Length.cpp:
3417         (WebCore::Length::blendMixedTypes):
3418         * rendering/style/BasicShapes.cpp:
3419         (WebCore::BasicShapeCenterCoordinate::updateComputedLength):
3420
3421 2014-02-05  Zan Dobersek  <zdobersek@igalia.com>
3422
3423         Remove CLASS_IF_GCC workarounds
3424         https://bugs.webkit.org/show_bug.cgi?id=128207
3425
3426         Reviewed by Anders Carlsson.
3427
3428         Remove the CLASS_IF_GCC macro that was defined to 'class' when using the GCC compiler.
3429         The macro was then used in class friendship declarations for templated classes to avoid
3430         corner-case compiler failures on both GCC pre-4.7 and MSVC pre-2013. The problematic
3431         versions of both compilers are no longer supported, so this macro is good to go.
3432
3433         * bindings/generic/RuntimeEnabledFeatures.h:
3434
3435 2014-02-05  Ryuan Choi  <ryuan.choi@samsung.com>
3436
3437         MediaPlayerPrivateGStreamerBase should have virtual destructor
3438         https://bugs.webkit.org/show_bug.cgi?id=128238
3439
3440         Reviewed by Carlos Garcia Campos.
3441
3442         MediaPlayerPrivateGStreamer inherit MediaPlayerPrivateGStreamerBase.
3443         So MediaPlayerPrivateGStreamerBase should have virtual destructor.
3444
3445         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h: Made destructor as virtual.
3446
3447 2014-02-04  Andreas Kling  <akling@apple.com>
3448
3449         Remove <iframe seamless> support.
3450         <https://webkit.org/b/128213>
3451
3452         Seamless iframes were behind a runtime flag that we never enabled,
3453         and the only other engine that implemented them (Blink) recently
3454         removed them. Since the feature is very invasive, let's take it
3455         out for now.
3456
3457         Rubber-stamped by Antti Koivisto.
3458
3459         * Configurations/FeatureDefines.xcconfig:
3460         * accessibility/AccessibilityObject.h:
3461         * accessibility/AccessibilityRenderObject.cpp:
3462         (WebCore::AccessibilityRenderObject::parentObjectIfExists):
3463         (WebCore::AccessibilityRenderObject::parentObject):
3464         (WebCore::AccessibilityRenderObject::boundingBoxRect):
3465         (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
3466         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
3467         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
3468         (createAccessibilityRoleMap):
3469         * bindings/generic/RuntimeEnabledFeatures.cpp:
3470         (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
3471         * bindings/generic/RuntimeEnabledFeatures.h:
3472         * css/CSSComputedStyleDeclaration.cpp:
3473         (WebCore::ComputedStyleExtractor::propertyValue):