784bdfbe8779411e5b71a6ebb95fc32a0bdda58c
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2014-02-06  Commit Queue  <commit-queue@webkit.org>
2
3         Unreviewed, rolling out r163542.
4         http://trac.webkit.org/changeset/163542
5         https://bugs.webkit.org/show_bug.cgi?id=128324
6
7         Caused many assertion failures (Requested by ap on #webkit).
8
9         * bindings/js/JSEventListener.cpp:
10         (WebCore::JSEventListener::JSEventListener):
11         * bindings/js/JSEventListener.h:
12         (WebCore::JSEventListener::jsFunction):
13
14 2014-02-06  Frédéric Wang  <fred.wang@free.fr>
15
16         Do not draw multi-characters <mi> in italic.
17         https://bugs.webkit.org/show_bug.cgi?id=44208
18
19         Reviewed by Chris Fleizach.
20
21         This test prevents multi-char <mi> to be drawn in italic and prepare
22         further improvements to MathML token and mfenced elements (bugs 124838
23         and bug 99620).
24
25         Test: mathml/presentation/tokenElements-dynamic.html
26
27         * CMakeLists.txt:
28         * GNUmakefile.list.am:
29         * WebCore.vcxproj/WebCore.vcxproj:
30         * WebCore.vcxproj/WebCore.vcxproj.filters:
31         * WebCore.xcodeproj/project.pbxproj:
32         * css/mathml.css:
33         (mi, mo, mrow, mfenced, mfrac, msub, msup, msubsup, mmultiscripts, mprescripts, none, munder, mover, munderover, msqrt, mroot, merror, mphantom, mstyle, menclose):
34         * mathml/MathMLTextElement.cpp:
35         (WebCore::MathMLTextElement::didAttachRenderers):
36         (WebCore::MathMLTextElement::childrenChanged):
37         (WebCore::MathMLTextElement::createElementRenderer):
38         * rendering/RenderObject.h:
39         (WebCore::RenderObject::isRenderMathMLToken):
40         * rendering/mathml/RenderMathMLToken.cpp: Added.
41         (WebCore::RenderMathMLToken::RenderMathMLToken):
42         (WebCore::RenderMathMLToken::addChild):
43         (WebCore::RenderMathMLToken::createWrapperIfNeeded):
44         (WebCore::RenderMathMLToken::updateTokenContent):
45         (WebCore::RenderMathMLToken::updateStyle):
46         (WebCore::RenderMathMLToken::styleDidChange):
47         (WebCore::RenderMathMLToken::updateFromElement):
48         * rendering/mathml/RenderMathMLToken.h: Added.
49         (WebCore::RenderMathMLToken::element):
50         (WebCore::RenderMathMLToken>):
51
52 2014-02-06  Zoltan Horvath  <zoltan@webkit.org>
53
54         [CSS Shapes] Simplify BasicShapeInset creation
55         https://bugs.webkit.org/show_bug.cgi?id=128314
56
57         Reviewed by David Hyatt.
58
59         Introduce convertToLengthSize helper function in order to simplify and make BasicShapeInset more readable.
60
61         No new tests, no behavior change.
62
63         * css/BasicShapeFunctions.cpp:
64         (WebCore::convertToLengthSize):
65         (WebCore::basicShapeForValue):
66
67 2014-02-06  Anders Carlsson  <andersca@apple.com>
68
69         Try to fix the Windows build.
70
71         * loader/DocumentThreadableLoader.cpp:
72         (WebCore::DocumentThreadableLoader::didReceiveResponse):
73
74 2014-01-29  Sergio Villar Senin  <svillar@igalia.com>
75
76         [CSS Grid Layout] getComputedStyle() is wrong for grid-definition-{columns|rows}
77         https://bugs.webkit.org/show_bug.cgi?id=127033
78
79         Reviewed by Andreas Kling.
80
81         Tests: fast/css-grid-layout/non-grid-columns-rows-get-set-multiple.html
82                fast/css-grid-layout/non-grid-columns-rows-get-set.html
83                fast/css-grid-layout/non-grid-element-repeat-get-set.html
84                fast/css-grid-layout/non-named-grid-line-get-set.html
85
86         According to the specs getComputedStyle() should return the used
87         values instead of the resolved values for compatibility with early
88         implementations. This means that grid-definition-{columns|rows}
89         are now layout dependent as we need to compute the used values for
90         grid track sizes.
91
92         Updated the outcome of existing tests and added a bunch of new
93         ones that check the behavior of the different properties outside
94         grid containers.
95
96         * css/CSSComputedStyleDeclaration.cpp:
97         (WebCore::specifiedValueForGridTrackSize):
98         (WebCore::valueForGridTrackList):
99         (WebCore::isLayoutDependent):
100         (WebCore::ComputedStyleExtractor::propertyValue):
101         * rendering/RenderGrid.cpp:
102         (WebCore::RenderGrid::GridIterator::GridIterator):
103         (WebCore::RenderGrid::computedUsedBreadthOfGridTracks):
104         (WebCore::RenderGrid::computeUsedBreadthOfMinLength):
105         (WebCore::RenderGrid::computeUsedBreadthOfMaxLength):
106         (WebCore::RenderGrid::computeUsedBreadthOfSpecifiedLength):
107         (WebCore::RenderGrid::computeNormalizedFractionBreadth):
108         (WebCore::RenderGrid::gridTrackSize):
109         (WebCore::RenderGrid::minContentForChild):
110         (WebCore::RenderGrid::maxContentForChild):
111         (WebCore::RenderGrid::resolveContentBasedTrackSizingFunctions):
112         (WebCore::RenderGrid::resolveContentBasedTrackSizingFunctionsForItems):
113         (WebCore::RenderGrid::tracksAreWiderThanMinTrackBreadth):
114         (WebCore::RenderGrid::growGrid):
115         (WebCore::RenderGrid::autoPlacementMajorAxisDirection):
116         (WebCore::RenderGrid::autoPlacementMinorAxisDirection):
117         (WebCore::RenderGrid::layoutGridItems):
118         (WebCore::RenderGrid::resolveGridPositionsFromAutoPlacementPosition):
119         (WebCore::RenderGrid::resolveGridPositionsFromStyle):
120         (WebCore::RenderGrid::gridAreaBreadthForChild):
121         (WebCore::RenderGrid::populateGridPositions):
122         (WebCore::RenderGrid::findChildLogicalPosition):
123         * rendering/RenderGrid.h:
124
125 2014-02-06  Anders Carlsson  <andersca@apple.com>
126
127         Modernize CrossOriginPreflightResultCache
128         https://bugs.webkit.org/show_bug.cgi?id=128309
129
130         Reviewed by Antti Koivisto.
131
132         Use std::chrono::steady_clock instead of currentTime() for determining when
133         cache items expire, Use std::unique_ptr instead of OwnPtr, use NeverDestroyed,
134         get rid of unnecessary container typedefs now that we have auto. Finally,
135         de-indent the entire class declaration.
136
137         * loader/CrossOriginPreflightResultCache.cpp:
138         (WebCore::CrossOriginPreflightResultCache::CrossOriginPreflightResultCache):
139         (WebCore::parseAccessControlMaxAge):
140         (WebCore::CrossOriginPreflightResultCacheItem::parse):
141         (WebCore::CrossOriginPreflightResultCacheItem::allowsRequest):
142         (WebCore::CrossOriginPreflightResultCache::shared):
143         (WebCore::CrossOriginPreflightResultCache::appendEntry):
144         (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
145         * loader/CrossOriginPreflightResultCache.h:
146         (WebCore::CrossOriginPreflightResultCacheItem::CrossOriginPreflightResultCacheItem):
147         * loader/DocumentThreadableLoader.cpp:
148         (WebCore::DocumentThreadableLoader::didReceiveResponse):
149
150 2014-02-06  Gurpreet Kaur  <k.gurpreet@samsung.com>
151
152         Menclose with no notation attribute does not display anything.
153         https://bugs.webkit.org/show_bug.cgi?id=127889
154
155         Reviewed by Chris Fleizach.
156
157         Menclose with no notation attribute should behave same as menclose with
158         notation attribute with value as longdiv. By default the division
159         symbol should be displayed. For empty and invalid notation attribute
160         nothing should be displayed.
161
162         Tests: mathml/presentation/menclose-notation-default-longdiv.html
163                mathml/presentation/menclose-notation-invalid-empty.html
164
165         * mathml/MathMLMencloseElement.h:
166         * rendering/mathml/RenderMathMLMenclose.cpp:
167         (WebCore::RenderMathMLMenclose::computePreferredLogicalWidths):
168         (WebCore::RenderMathMLMenclose::paint):
169         Added style for menclose with no notation attribute and handled this
170         condition in paint also where for longdiv we are explicitly drawing
171         the division symbol.
172
173 2014-02-05  Mark Hahnenberg  <mhahnenberg@apple.com>
174
175         Heap::writeBarrier shouldn't be static
176         https://bugs.webkit.org/show_bug.cgi?id=127807
177
178         Reviewed by Geoffrey Garen.
179
180         Currently it looks up the Heap in which to fire the write barrier by using 
181         the cell passed to it. Almost every call site already has a reference to the 
182         VM or the Heap itself. It seems wasteful to look it up all over again.
183
184         * bindings/js/JSEventListener.cpp:
185         (WebCore::JSEventListener::JSEventListener):
186         * bindings/js/JSEventListener.h:
187         (WebCore::JSEventListener::jsFunction):
188
189 2014-02-06  Brady Eidson  <beidson@apple.com>
190
191         IDB: storage/indexeddb/mozilla/clear.html fails
192         <rdar://problem/15997155> and https://bugs.webkit.org/show_bug.cgi?id=128282
193
194         Reviewed by David Kilzer.
195
196         Covered by storage/indexeddb/mozilla/clear.html (and probably others)
197
198         Update the value deserializer to take into account whether or not there was an IDBKey:
199         * bindings/js/IDBBindingUtilities.cpp:
200         (WebCore::deserializeIDBValueBuffer):
201         * bindings/js/IDBBindingUtilities.h:
202
203         * Modules/indexeddb/IDBRequest.cpp:
204         (WebCore::IDBRequest::onSuccess): Call the new form of deserializeIDBValueBuffer.
205
206         * Modules/indexeddb/IDBDatabaseBackend.cpp:
207         (WebCore::IDBDatabaseBackend::clearObjectStore): Update logging.
208
209         * Modules/indexeddb/IDBTransaction.cpp:
210         (WebCore::IDBTransaction::setActive): Update logging.
211
212         * Modules/indexeddb/IDBTransactionBackend.cpp:
213         (WebCore::IDBTransactionBackend::commit): Fix ASSERTs to reflect multi-process worlds.
214
215 2014-02-06  Csaba Osztrogonác  <ossy@webkit.org>
216
217         Re-enable simple line layout on non-Mac platforms
218         https://bugs.webkit.org/show_bug.cgi?id=123338
219
220         Reviewed by Anders Carlsson.
221
222         * rendering/SimpleLineLayout.cpp:
223         (WebCore::SimpleLineLayout::canUseFor):
224
225 2014-02-06  Koop Mast <kwm@FreeBSD.org>
226
227         Use system default compiler instead of gcc, as final fall through.
228         https://bugs.webkit.org/show_bug.cgi?id=126773
229
230         Reviewed by Alexey Proskuryakov.
231
232         * dom/make_names.pl:
233
234 2014-02-06  Eric Carlson  <eric.carlson@apple.com>
235
236         No need to enterFullscreen() when already in fullscreen
237         https://bugs.webkit.org/show_bug.cgi?id=128276
238
239         Reviewed by Jer Noble.
240
241         No new tests, this is just cleanup.
242
243         * html/HTMLMediaElement.cpp:
244         (WebCore::HTMLMediaElement::updatePlayState): Don't call enterFullscreen() if already there.
245         (WebCore::HTMLMediaElement::enterFullscreen): Return early if m_isFullscreen is already true.
246
247 2014-02-06  Radu Stavila  <stavila@adobe.com>
248
249         [CSS Regions] Null dereference applying animation with CSS regions
250         https://bugs.webkit.org/show_bug.cgi?id=128218
251
252         Reviewed by Andrei Bucur.
253
254         The first issue (the null dereference) was caused by the checkForZoomChange method
255         not guarding against a null parentStyle parameter, as the checkForGenericFamilyChange 
256         method does, which in the crashing scenario is called just before the faulty
257         checkForZoomChange method.
258         The second issue was an assert which was caused by the fact that detaching is performed
259         in a certain situation if the element has a renderer or if it's inside a named flow.
260         However, when reattaching and asserting the element has no renderer, the 
261         "inside named flow" condition was no longer considered.
262
263         Test: fast/regions/animation-element-in-region-flowed-to-other-thread.html
264
265         * css/StyleResolver.cpp:
266         (WebCore::StyleResolver::checkForZoomChange):
267         * style/StyleResolveTree.cpp:
268         (WebCore::Style::attachChildren):
269
270 2014-02-06  László Langó  <llango.u-szeged@partner.samsung.com>
271
272         Create a HTMLUnknownElement when using createElement('image')
273         https://bugs.webkit.org/show_bug.cgi?id=125896
274
275         Reviewed by Antti Koivisto.
276
277         Backported from Blink: https://chromium.googlesource.com/chromium/blink/+/fd8a7b65f3300fb9245db24d5ed240c80b7f76ad
278
279         * html/HTMLTagNames.in:
280
281 2014-02-06  Youenn Fablet  <youennf@gmail.com>
282
283         [XHR] Ensure response return null when error flag is set for blob and arraybuffer
284         https://bugs.webkit.org/show_bug.cgi?id=127050
285
286         Reviewed by Alexey Proskuryakov.
287
288         Added a check in JSXMLHttpRequest::response to ensure response return null when error flag is set for blob and arraybuffer
289         This check also applies to document and json response types (no change in behavior for those types but code path change)
290         Added assertions in the related XMLHttpRequest blob and array buffer getters
291         Minor code clean-up.
292         The test cases check all four response types in case of timeout and abort
293
294         Tests: http/tests/xmlhttprequest/onabort-response-getters.html
295                http/tests/xmlhttprequest/ontimeout-response-getters.html
296
297         * bindings/js/JSXMLHttpRequestCustom.cpp:
298         (WebCore::JSXMLHttpRequest::response):
299         * xml/XMLHttpRequest.cpp:
300         (WebCore::XMLHttpRequest::didCacheResponseJSON):
301         (WebCore::XMLHttpRequest::responseXML):
302         (WebCore::XMLHttpRequest::responseBlob):
303         (WebCore::XMLHttpRequest::responseArrayBuffer):
304
305 2014-02-05  Gavin Barraclough  <barraclough@apple.com>
306
307         Change Page, FocusController to use ViewState
308         https://bugs.webkit.org/show_bug.cgi?id=126533
309
310         Reviewed by Tim Horton.
311
312         These classes currently maintain a set of separate fields to represent the view state;
313         combine these into a single field, and allow WebPage to send the combined update rather
314         than individual changes.
315
316         Maintain existing interface for WebKit1 clients.
317
318         * WebCore.exp.in:
319             - Added WebCore::setViewState, removed WebCore::setIsVisuallyIdle.
320         * page/FocusController.cpp:
321         (WebCore::FocusController::FocusController):
322             - Initialize combined m_viewState.
323         (WebCore::FocusController::setFocused):
324             - Calls setViewState.
325         (WebCore::FocusController::setFocusedInternal):
326             - setFocused -> setFocusedInternal.
327         (WebCore::FocusController::setViewState):
328             - Added, update all ViewState flags.
329         (WebCore::FocusController::setActive):
330             - Calls setViewState.
331         (WebCore::FocusController::setActiveInternal):
332             - setActive -> setActiveInternal.
333         (WebCore::FocusController::setContentIsVisible):
334             - Calls setViewState.
335         (WebCore::FocusController::setContentIsVisibleInternal):
336             - setContentIsVisible -> setContentIsVisibleInternal.
337         * page/FocusController.h:
338         (WebCore::FocusController::isActive):
339         (WebCore::FocusController::isFocused):
340         (WebCore::FocusController::contentIsVisible):
341             - Implemented in terms of ViewState.
342         * page/Page.cpp:
343         (WebCore::Page::Page):
344             - Initialize using PageInitialViewState.
345         (WebCore::Page::setIsInWindow):
346             - Calls setViewState.
347         (WebCore::Page::setIsInWindowInternal):
348             - setIsInWindow -> setIsInWindowInternal.
349         (WebCore::Page::setIsVisuallyIdleInternal):
350             - setIsVisuallyIdle -> setIsVisuallyIdleInternal.
351         (WebCore::Page::setViewState):
352             - Added, update all ViewState flags, including FocusController.
353         (WebCore::Page::setIsVisible):
354             - Calls setViewState.
355         (WebCore::Page::setIsVisibleInternal):
356             - setIsVisible -> setIsVisibleInternal.
357         (WebCore::Page::visibilityState):
358             - m_isVisible -> isVisible()
359         (WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged):
360             - m_isVisible -> isVisible()
361         * page/Page.h:
362         (WebCore::Page::isVisible):
363         (WebCore::Page::isInWindow):
364             - Implemented in terms of ViewState.
365         (WebCore::Page::scriptedAnimationsSuspended):
366             - Combined member fields into ViewState::Flags.
367
368 2014-02-05  Simon Fraser  <simon.fraser@apple.com>
369
370         Transfer the non-fast-scrollable region to the UI process for iOS
371         https://bugs.webkit.org/show_bug.cgi?id=128293
372
373         Reviewed by Benjamin Poulain.
374
375         Two main changes to support sending the non-fast scrollable region
376         to the UI process for iOS:
377         
378         1. Add ScrollingCoordinator::frameViewNonFastScrollableRegionChanged(),
379         which is called when we've updated the touch event region (this can happen
380         independenly of layout). When called we just scheduled a scrolling tree
381         commit with the new region.
382         
383         2. Avoid thinking that we have a new root node with every remote scrolling
384         transaction. This was a side-effect of reconstructing the scrolling state
385         tree in the UI process, and caused us to try to grab a nonFastScrollableRegion
386         from a node which never had one set.
387
388         * WebCore.exp.in:
389         * page/scrolling/AsyncScrollingCoordinator.cpp:
390         (WebCore::AsyncScrollingCoordinator::frameViewNonFastScrollableRegionChanged):
391         * page/scrolling/AsyncScrollingCoordinator.h:
392         * page/scrolling/ScrollingCoordinator.cpp:
393         (WebCore::ScrollingCoordinator::computeNonFastScrollableRegion):
394         * page/scrolling/ScrollingCoordinator.h:
395         (WebCore::ScrollingCoordinator::frameViewNonFastScrollableRegionChanged):
396         * page/scrolling/ScrollingStateTree.h:
397         (WebCore::ScrollingStateTree::setHasNewRootStateNode):
398         * page/scrolling/ScrollingTree.cpp:
399         (WebCore::ScrollingTree::commitNewTreeState):
400         (WebCore::ScrollingTree::isPointInNonFastScrollableRegion):
401         * page/scrolling/ScrollingTree.h:
402
403 2014-02-05  Benjamin Poulain  <benjamin@webkit.org>
404
405         [iOS] Synchronize the WKContentView and UIScrollView updates with the tiles being commited
406         https://bugs.webkit.org/show_bug.cgi?id=127886
407
408         Reviewed by Simon Fraser.
409
410         The updates of the views on the UIProcess side was completely disconnected
411         from the tiles updates from the DrawingArea. There is a non-negligible time
412         between the size/scale update and the new tiles coming, which causes
413         visual glitches.
414
415         There are three main cases where the tiles and content would be out of sync
416         with the UIViews:
417         -When loading a new page with different content width of a different viewport.
418         -When a page changes its viewport.
419         -When the viewport-constrainted viewport size changes.
420
421         To fix the issue, WKView is modified to maintain the old state of WKContentView
422         and UIScrollView until the new tiles are available.
423
424         Geometry/scale update are split in two phases:
425         1) A source (the page or the user) changes parameters of the geometry. The WebProcess updates
426            its layout accordingly.
427            At this point, the UIViews are unchanged and are left with the old parameters.
428         2) Eventually, new tiles come and commitLayerTree() is called on the drawing area proxy.
429            At that point, WKContentView and its UIScrollView are updated to match the committed
430            size and scale for the page.
431
432         * WebCore.exp.in:
433         * WebCore.xcodeproj/project.pbxproj:
434         * page/ViewportConfiguration.cpp: Added.
435         (WebCore::constraintsAreAllRelative):
436         (WebCore::ViewportConfiguration::ViewportConfiguration):
437         (WebCore::ViewportConfiguration::setDefaultConfiguration):
438         (WebCore::ViewportConfiguration::setContentsSize):
439         (WebCore::ViewportConfiguration::setMinimumLayoutSize):
440         (WebCore::ViewportConfiguration::setViewportArguments):
441         (WebCore::ViewportConfiguration::layoutSize):
442         (WebCore::ViewportConfiguration::initialScale):
443         (WebCore::ViewportConfiguration::minimumScale):
444         (WebCore::ViewportConfiguration::maximumScale):
445         (WebCore::ViewportConfiguration::allowsUserScaling):
446         (WebCore::viewportArgumentValueIsValid):
447         (WebCore::applyViewportArgument):
448         (WebCore::ViewportConfiguration::updateConfiguration):
449         (WebCore::ViewportConfiguration::layoutWidth):
450         (WebCore::ViewportConfiguration::layoutHeight):
451         * page/ViewportConfiguration.h: Added.
452         (WebCore::ViewportConfigurationConfiguration::ViewportConfigurationConfiguration):
453         (WebCore::ViewportConfiguration::defaultConfiguration):
454         (WebCore::ViewportConfiguration::contentsSize):
455         (WebCore::ViewportConfiguration::minimumLayoutSize):
456         (WebCore::ViewportConfiguration::viewportArguments):
457
458 2014-02-05  Benjamin Poulain  <benjamin@webkit.org>
459
460         SelectorCodeGenerator::generateElementHasTagName should match the local name before the namespace
461         https://bugs.webkit.org/show_bug.cgi?id=128167
462
463         Reviewed by Sam Weinig.
464
465         The local name is a stricter filter than the namespace, it should always run first.
466
467         * cssjit/SelectorCompiler.cpp:
468         (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementHasTagName):
469
470 2014-02-05  Benjamin Poulain  <benjamin@webkit.org>
471
472         Add HTMLNames::classAttr as a regular name in SVGElement::isAnimatableAttribute
473         https://bugs.webkit.org/show_bug.cgi?id=128166
474
475         Reviewed by Sam Weinig.
476
477         For historical reasons, classAttr was treated separately. There is no reasons for that anymore.
478
479         * svg/SVGElement.cpp:
480         (WebCore::SVGElement::isAnimatableAttribute):
481
482 2014-02-05  Simon Fraser  <simon.fraser@apple.com>
483
484         Support encoding and decoding of Regions
485         https://bugs.webkit.org/show_bug.cgi?id=128284
486
487         Reviewed by Anders Carlsson.
488
489         Region changes to make it encodable:
490         
491         Make Region::Span public and give it a default constructor.
492         Allow getting and setting of Shape internals, and a way to update
493         the Region bounds after changing the shape. Also add a way to test
494         for valid spans and segments.
495
496         * platform/graphics/Region.cpp:
497         (WebCore::Region::Shape::isValid):
498         (WebCore::Region::updateBoundsFromShape):
499         * platform/graphics/Region.h:
500         (WebCore::Region::isValid):
501         (WebCore::Region::Span::Span):
502         (WebCore::Region::shapeSegments):
503         (WebCore::Region::shapeSpans):
504         (WebCore::Region::setShapeSegments):
505         (WebCore::Region::setShapeSpans):
506         (WebCore::Region::Shape::segments):
507         (WebCore::Region::Shape::spans):
508         (WebCore::Region::Shape::setSegments):
509         (WebCore::Region::Shape::setSpans):
510
511 2014-02-05  Andreas Kling  <akling@apple.com>
512
513         Rebaseline the bindings tests after Oliver's hackery.
514
515         * bindings/scripts/test/JS/:
516
517 2014-02-05  Ryuan Choi  <ryuan.choi@samsung.com>
518
519         [EFL][GTK] Share plugin's implementation between EFL and Gtk ports.
520         https://bugs.webkit.org/show_bug.cgi?id=70592
521
522         Reviewed by Gyuyoung Kim.
523
524         Merge common logics of PluginViewGtk.cpp and PluginViewEfl.cpp to PluginViewX11.cpp.
525         So, this patch improves the windowless plugin support for the EFL port.
526
527         * GNUmakefile.am: Add include path for gtk2xtbin.h header file.
528         * GNUmakefile.list.am: Added PluginViewX11.cpp into source lists.
529         * PlatformEfl.cmake: Ditto.
530         * PlatformGTK.cmake: Ditto.
531         * plugins/PluginView.h: Added getRootWindow and getPluginDisply which implement platform specific code.
532         * plugins/efl/PluginViewEfl.cpp:
533         (WebCore::PluginView::getRootWindow):
534         (WebCore::PluginView::platformGetValueStatic): Turn on NPNVSupportsWindowless support.
535         (WebCore::PluginView::getPluginDisplay):
536         (WebCore::PluginView::platformStart):
537         * plugins/gtk/PluginViewGtk.cpp:
538         (WebCore::PluginView::getRootWindow):
539         (WebCore::setXButtonEventSpecificFields):
540         (WebCore::setXMotionEventSpecificFields):
541         (WebCore::setXCrossingEventSpecificFields):
542         (WebCore::PluginView::getPluginDisplay):
543         (WebCore::PluginView::platformStart):
544         * plugins/x11/PluginViewX11.cpp: Moved common logics from PluginViewGtk.cpp
545         (WebCore::PluginView::dispatchNPEvent):
546         (WebCore::PluginView::updatePluginWidget):
547         (WebCore::PluginView::handleFocusInEvent):
548         (WebCore::PluginView::invalidateRect):
549         (WebCore::PluginView::invalidateRegion):
550         (WebCore::PluginView::handleFocusOutEvent):
551         (WebCore::PluginView::initXEvent):
552         (WebCore::PluginView::paint):
553         (WebCore::PluginView::setParent):
554         (WebCore::PluginView::setNPWindowRect):
555         (WebCore::PluginView::setNPWindowIfNeeded):
556
557 2014-02-05  Anders Carlsson  <andersca@apple.com>
558
559         Fix a warning.
560
561         * platform/mac/ContentFilterMac.mm:
562         (WebCore::ContentFilter::ContentFilter):
563         Remove an unnecessary comparison.
564
565 2014-02-05  Csaba Osztrogonác  <ossy@webkit.org>
566
567         Fix the !ENABLE(PAGE_VISIBILITY_API) build
568         https://bugs.webkit.org/show_bug.cgi?id=127907
569
570         Reviewed by Brent Fulgham.
571
572         * page/Page.cpp:
573         (WebCore::Page::setIsVisible):
574
575 2014-02-05  Oliver Hunt  <oliver@apple.com>
576
577         Change custom getter signature to make the base reference an object pointer
578         https://bugs.webkit.org/show_bug.cgi?id=128279
579
580         Reviewed by Geoffrey Garen.
581
582         Update everything to the new calling convention.
583
584         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
585         (WebCore::cssPropertyGetterPixelOrPosPrefixCallback):
586         (WebCore::cssPropertyGetterCallback):
587         * bindings/js/JSDOMBinding.cpp:
588         (WebCore::objectToStringFunctionGetter):
589         * bindings/js/JSDOMBinding.h:
590         * bindings/js/JSDOMMimeTypeArrayCustom.cpp:
591         (WebCore::JSDOMMimeTypeArray::nameGetter):
592         * bindings/js/JSDOMPluginArrayCustom.cpp:
593         (WebCore::JSDOMPluginArray::nameGetter):
594         * bindings/js/JSDOMPluginCustom.cpp:
595         (WebCore::JSDOMPlugin::nameGetter):
596         * bindings/js/JSDOMWindowCustom.cpp:
597         (WebCore::nonCachingStaticFunctionGetter):
598         (WebCore::childFrameGetter):
599         (WebCore::indexGetter):
600         (WebCore::namedItemGetter):
601         * bindings/js/JSHTMLAllCollectionCustom.cpp:
602         (WebCore::JSHTMLAllCollection::nameGetter):
603         * bindings/js/JSHTMLCollectionCustom.cpp:
604         (WebCore::JSHTMLCollection::nameGetter):
605         * bindings/js/JSHTMLDocumentCustom.cpp:
606         (WebCore::JSHTMLDocument::nameGetter):
607         * bindings/js/JSHTMLFormControlsCollectionCustom.cpp:
608         (WebCore::JSHTMLFormControlsCollection::nameGetter):
609         * bindings/js/JSHTMLFormElementCustom.cpp:
610         (WebCore::JSHTMLFormElement::nameGetter):
611         * bindings/js/JSHTMLFrameSetElementCustom.cpp:
612         (WebCore::JSHTMLFrameSetElement::nameGetter):
613         * bindings/js/JSHistoryCustom.cpp:
614         (WebCore::nonCachingStaticBackFunctionGetter):
615         (WebCore::nonCachingStaticForwardFunctionGetter):
616         (WebCore::nonCachingStaticGoFunctionGetter):
617         * bindings/js/JSLocationCustom.cpp:
618         (WebCore::nonCachingStaticReplaceFunctionGetter):
619         (WebCore::nonCachingStaticReloadFunctionGetter):
620         (WebCore::nonCachingStaticAssignFunctionGetter):
621         * bindings/js/JSNamedNodeMapCustom.cpp:
622         (WebCore::JSNamedNodeMap::nameGetter):
623         * bindings/js/JSPluginElementFunctions.cpp:
624         (WebCore::pluginElementPropertyGetter):
625         * bindings/js/JSPluginElementFunctions.h:
626         * bindings/js/JSRTCStatsResponseCustom.cpp:
627         (WebCore::JSRTCStatsResponse::nameGetter):
628         * bindings/js/JSStorageCustom.cpp:
629         (WebCore::JSStorage::nameGetter):
630         * bindings/js/JSStyleSheetListCustom.cpp:
631         (WebCore::JSStyleSheetList::nameGetter):
632         * bindings/scripts/CodeGeneratorJS.pm:
633         (GenerateHeader):
634         (GenerateImplementation):
635         * bridge/runtime_array.cpp:
636         (JSC::RuntimeArray::lengthGetter):
637         (JSC::RuntimeArray::indexGetter):
638         * bridge/runtime_array.h:
639         * bridge/runtime_method.cpp:
640         (JSC::RuntimeMethod::lengthGetter):
641         * bridge/runtime_method.h:
642         * bridge/runtime_object.cpp:
643         (JSC::Bindings::RuntimeObject::fallbackObjectGetter):
644         (JSC::Bindings::RuntimeObject::fieldGetter):
645         (JSC::Bindings::RuntimeObject::methodGetter):
646         * bridge/runtime_object.h:
647
648 2014-02-04  Andy Estes  <aestes@apple.com>
649
650         Buffer incoming data in ContentFilter when using NEFilterSource
651         https://bugs.webkit.org/show_bug.cgi?id=127979
652
653         Reviewed by Sam Weinig.
654
655         WebFilterEvaluator buffers incoming data and returns it to us as
656         replacement data if the load is allowed. NEFilterSource doesn't do
657         this, so we need to do our own buffering.
658
659         * platform/ContentFilter.h: Forward-declared NSMutableData and added
660         m_originalData.
661         * platform/mac/ContentFilterMac.mm:
662         (WebCore::ContentFilter::ContentFilter): Constructed m_originalData
663         with an initial capacity (if we know the expected content size).
664         (WebCore::ContentFilter::addData): Buffered incoming data if we are
665         using NEFilterSource.
666         (WebCore::ContentFilter::finishedAddingData):
667         (WebCore::ContentFilter::getReplacementData): Returned m_originalData
668         if the load wasn't blocked.
669
670 2014-02-05  Andreas Kling  <akling@apple.com>
671
672         Remove ENABLE(DIRECTORY_UPLOAD).
673         <https://webkit.org/b/128275>
674
675         This is a non-standard Chrome extension that none of the WebKit
676         ports have even been building.
677
678         Rubber-stamped by Ryosuke Niwa.
679
680         * Configurations/FeatureDefines.xcconfig:
681         * fileapi/File.cpp:
682         * fileapi/File.h:
683         * fileapi/File.idl:
684         * html/FileInputType.cpp:
685         (WebCore::FileInputType::handleDOMActivateEvent):
686         (WebCore::FileInputType::createFileList):
687         (WebCore::FileInputType::receiveDroppedFiles):
688         * html/FileInputType.h:
689         * html/HTMLAttributeNames.in:
690         * html/HTMLInputElement.cpp:
691         (WebCore::HTMLInputElement::parseAttribute):
692         * html/HTMLInputElement.idl:
693         * loader/EmptyClients.h:
694         * page/Chrome.cpp:
695         * page/Chrome.h:
696         * page/ChromeClient.h:
697         * platform/FileChooser.h:
698         * platform/network/FormData.cpp:
699         (WebCore::FormData::appendKeyValuePairItems):
700
701 2014-02-05  Brady Eidson  <beidson@apple.com>
702
703         IDB: storage/indexeddb/mozilla/autoincrement-indexes.html fails
704         https://bugs.webkit.org/show_bug.cgi?id=128257
705
706         Reviewed by Sam Weinig.
707
708         Tests: storage/indexeddb/mozilla/autoincrement-indexes.html
709
710         Add some IDBKeyData utility methods for WK2 to use:
711         * Modules/indexeddb/IDBKeyData.cpp:
712         (WebCore::IDBKeyData::setArrayValue):
713         (WebCore::IDBKeyData::setStringValue):
714         (WebCore::IDBKeyData::setDateValue):
715         (WebCore::IDBKeyData::setNumberValue):
716         * Modules/indexeddb/IDBKeyData.h:
717
718         * WebCore.exp.in:
719
720 2014-02-05  Andreas Kling  <akling@apple.com>
721
722         Turn on ENABLE(8BIT_TEXTRUN) for everyone.
723         <https://webkit.org/b/128273>
724
725         Reviewed by Anders Carlsson.
726
727         * platform/graphics/TextRun.h:
728         (WebCore::TextRun::TextRun):
729         (WebCore::TextRun::subRun):
730         * rendering/RenderBlock.cpp:
731         (WebCore::RenderBlock::constructTextRun):
732         * rendering/RenderBlock.h:
733
734 2014-02-05  Enrica Casucci  <enrica@apple.com>
735
736         WK2: Caret, selections and autocorrection bubbles are incorrectly positioned when inside an iframe.
737         https://bugs.webkit.org/show_bug.cgi?id=128264
738         <rdar://problem/15986954>
739
740         Reviewed by Simon Fraser.
741
742         Adding new exported function.
743
744         * WebCore.exp.in:
745
746 2014-02-05  Antti Koivisto  <antti@apple.com>
747
748         ElementRuleCollector should not use StyleResolver::State
749         https://bugs.webkit.org/show_bug.cgi?id=128247
750
751         Reviewed by Andreas Kling.
752         
753         Make ElementRuleCollector more reusable.
754
755         * css/ElementRuleCollector.cpp:
756         (WebCore::ElementRuleCollector::collectMatchingRules):
757         (WebCore::ElementRuleCollector::sortAndTransferMatchedRules):
758         (WebCore::ElementRuleCollector::matchAuthorRules):
759         (WebCore::ElementRuleCollector::matchUARules):
760         (WebCore::ElementRuleCollector::ruleMatches):
761         (WebCore::ElementRuleCollector::collectMatchingRulesForList):
762         (WebCore::ElementRuleCollector::matchAllRules):
763         * css/ElementRuleCollector.h:
764         (WebCore::ElementRuleCollector::ElementRuleCollector):
765         
766             Pass the objects that are actually needed rather than the entire State.
767
768 2014-02-05  Brent Fulgham  <bfulgham@apple.com>
769
770         [Mac] Correct copy/paste error in scrolling code.
771         https://bugs.webkit.org/show_bug.cgi?id=128258
772
773         Reviewed by Anders Carlsson.
774
775         * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
776         (WebCore::ScrollingTreeScrollingNodeMac::pinnedInDirection): Use
777         'setWidth' when dealing with width metrics.
778
779 2014-02-05  Yuki Sekiguchi  <yuki.sekiguchi@access-company.com>
780
781         Ruby base oddly justify its text when the text is ideograph and it contains <br> on Mac.
782         https://bugs.webkit.org/show_bug.cgi?id=106417
783
784         Reviewed by David Hyatt.
785
786         Ruby base always justify even if a line have hard break.
787         Even if next leaf child is line break, InlineTextBox allow trailing expansion.
788         This make <br> expanded, and there is odd space at the end of the line.
789
790         Test: fast/text/ruby-justification-br.html
791
792         * rendering/InlineTextBox.h:
793         (WebCore::InlineTextBox::expansionBehavior):
794          - If next leaf child is line break, we should forbid trailing expansion.
795
796 2014-02-05  Andreas Kling  <akling@apple.com>
797
798         FrameLoader::stateMachine() should return a reference.
799         <https://webkit.org/b/128263>
800
801         There is always a FrameLoaderStateMatchine, so return it by
802         reference since it can never be null.
803
804         Reviewed by Anders Carlsson.
805
806         * history/PageCache.cpp:
807         (WebCore::logCanCachePageDecision):
808         * loader/DocumentLoader.cpp:
809         (WebCore::DocumentLoader::finishedLoading):
810         (WebCore::DocumentLoader::commitData):
811         (WebCore::DocumentLoader::maybeLoadEmpty):
812         * loader/DocumentWriter.cpp:
813         (WebCore::DocumentWriter::createDocument):
814         (WebCore::DocumentWriter::begin):
815         * loader/FrameLoader.cpp:
816         (WebCore::FrameLoader::prepareForHistoryNavigation):
817         * loader/FrameLoader.h:
818         (WebCore::FrameLoader::stateMachine):
819         * loader/HistoryController.cpp:
820         (WebCore::HistoryController::restoreScrollPositionAndViewState):
821         (WebCore::HistoryController::saveDocumentState):
822         * loader/NavigationScheduler.cpp:
823         (WebCore::NavigationScheduler::scheduleLocationChange):
824         (WebCore::NavigationScheduler::scheduleFormSubmission):
825         * loader/ProgressTracker.cpp:
826         (WebCore::ProgressTracker::incrementProgress):
827         * loader/cache/CachedResourceLoader.cpp:
828         (WebCore::CachedResourceLoader::storeResourceTimingInitiatorInformation):
829         * page/Frame.cpp:
830         (WebCore::Frame::injectUserScripts):
831         * page/FrameView.cpp:
832         (WebCore::FrameView::qualifiesAsVisuallyNonEmpty):
833
834 2014-02-04  Myles C. Maxfield  <mmaxfield@apple.com>
835
836         Move characterAt index checks from InlineIterator to RenderText
837         https://bugs.webkit.org/show_bug.cgi?id=128224
838
839         Reviewed by Simon Fraser.
840
841         Move characterAt index checks from InlineIterator to RenderText
842         so that all RenderText calls are covered. Few safe instances are
843         now covered with uncheckedCharacterAt.
844
845         Merged from Blink:
846         http://src.chromium.org/viewvc/blink?view=revision&revision=150830
847
848         Test: fast/text/character-at-crash.html
849
850         * rendering/InlineIterator.h:
851         (WebCore::InlineIterator::characterAt):
852         * rendering/RenderText.cpp:
853         (WebCore::RenderText::computePreferredLogicalWidths):
854         * rendering/RenderText.h:
855         (WebCore::RenderText::operator[]):
856         (WebCore::RenderText::uncheckedCharacterAt):
857         (WebCore::RenderText::characterAt):
858
859 2014-02-05  Andreas Kling  <akling@apple.com>
860
861         Remove leftover seamless iframe logic from containerForRepaint().
862         <https://webkit.org/b/128235>
863
864         The parent-flow-thread-in-different-document case is no longer
865         relevant after <iframe seamless> was removed.
866
867         Reviewed by David Hyatt.
868
869         * rendering/RenderObject.cpp:
870         (WebCore::RenderObject::containerForRepaint):
871
872 2014-02-05  Hans Muller  <hmuller@adobe.com>
873
874         [CSS Shapes] Dynamically created element with image valued shape-outside doesn't update automatically
875         https://bugs.webkit.org/show_bug.cgi?id=128187
876
877         Reviewed by Dean Jackson.
878
879         Corrected the way shape-outside handles the completion of an image load. Move
880         the shape-outside imageChanged() logic from RenderBlock to RenderBox and call
881         markShapeOutsideDependentsForLayout() instead of parent()->setNeedsLayoutAndPrefWidthsRecalc().
882         The latter did not deal with descendants of the shape element's siblings correctly and it
883         failed when the shape element was inserted dynamically. The markShapeOutsideDependentsForLayout()
884         method can't be called during layout, so the imageChanged() code checks for that. The only
885         scenario where imageChanged() can be called during layout (that I've discovered so far anyway)
886         is when an SVG Image is renderered  with drawImage(). The Shape::createRasterShape() does this,
887         and the corresponding imageChanged() notification can be safely ignored.
888
889         Test: fast/shapes/shape-outside-floats/shape-outside-insert-svg-shape.html
890
891         * rendering/RenderBlock.cpp:
892         (WebCore::RenderBlock::imageChanged):
893         * rendering/RenderBox.cpp:
894         (WebCore::RenderBox::imageChanged):
895
896 2014-02-05  Andreas Kling  <akling@apple.com>
897
898         CTTE: ImageLoader is always owned by an Element.
899         <https://webkit.org/b/128254>
900
901         - Codify this by making the constructor take Element& or better.
902         - Make element() return Element&.
903         - Marked HTMLImageLoader and SVGImageLoader final.
904         - Made the ImageLoader constructor protected.
905
906         Reviewed by Sam Weinig.
907
908         * html/HTMLEmbedElement.cpp:
909         (WebCore::HTMLEmbedElement::parseAttribute):
910         * html/HTMLImageElement.cpp:
911         (WebCore::HTMLImageElement::HTMLImageElement):
912         * html/HTMLImageLoader.cpp:
913         (WebCore::HTMLImageLoader::HTMLImageLoader):
914         (WebCore::HTMLImageLoader::dispatchLoadEvent):
915         (WebCore::HTMLImageLoader::sourceURI):
916         (WebCore::HTMLImageLoader::notifyFinished):
917         * html/HTMLImageLoader.h:
918         * html/HTMLInputElement.cpp:
919         (WebCore::HTMLInputElement::imageLoader):
920         * html/HTMLObjectElement.cpp:
921         (WebCore::HTMLObjectElement::parseAttribute):
922         * html/HTMLPlugInImageElement.cpp:
923         (WebCore::HTMLPlugInImageElement::startLoadingImage):
924         * html/HTMLVideoElement.cpp:
925         (WebCore::HTMLVideoElement::didAttachRenderers):
926         (WebCore::HTMLVideoElement::parseAttribute):
927         * loader/ImageLoader.cpp:
928         (WebCore::ImageLoader::ImageLoader):
929         (WebCore::ImageLoader::~ImageLoader):
930         (WebCore::ImageLoader::updateFromElement):
931         (WebCore::ImageLoader::notifyFinished):
932         (WebCore::ImageLoader::renderImageResource):
933         (WebCore::ImageLoader::updatedHasPendingEvent):
934         (WebCore::ImageLoader::timerFired):
935         (WebCore::ImageLoader::dispatchPendingBeforeLoadEvent):
936         (WebCore::ImageLoader::dispatchPendingLoadEvent):
937         (WebCore::ImageLoader::dispatchPendingErrorEvent):
938         * loader/ImageLoader.h:
939         (WebCore::ImageLoader::element):
940         * svg/SVGImageElement.cpp:
941         (WebCore::SVGImageElement::SVGImageElement):
942         * svg/SVGImageLoader.cpp:
943         (WebCore::SVGImageLoader::SVGImageLoader):
944         (WebCore::SVGImageLoader::~SVGImageLoader):
945         (WebCore::SVGImageLoader::dispatchLoadEvent):
946         (WebCore::SVGImageLoader::sourceURI):
947         * svg/SVGImageLoader.h:
948
949 2014-02-05  Sergio Correia  <sergio.correia@openbossa.org>
950
951         SVG preserveAspectRatio=none is not honored.
952         https://bugs.webkit.org/show_bug.cgi?id=111402
953
954         Reviewed by Andreas Kling.
955
956         Previously, preserveAspectRatio=none had no effect on SVG images. This change fixes this so
957         we follow the special handling of preserveAspectRatio on images as defined in the spec:
958         http://www.w3.org/TR/SVG/single-page.html, 7.8 The ‘preserveAspectRatio’ attribute.
959
960         Images that depend on a container size (such as SVG images) require a call to
961         setContainerSizeForRenderer(...) to set this size. By passing the image's intrinsic size
962         as the container size, the non-uniform scaling defined in the spec will be achieved.
963
964         Merged from Blink: https://chromiumcodereview.appspot.com/14964004
965
966         Test: svg/custom/image-with-preserveAspectRatio-none.html
967
968         * rendering/svg/RenderSVGImage.cpp:
969         (WebCore::RenderSVGImage::updateImageViewport):
970
971 2014-02-05  Zoltan Horvath  <zoltan@webkit.org>
972
973         [CSS Shapes] Simplify CSSBasicShapeInset::cssText
974         https://bugs.webkit.org/show_bug.cgi?id=127841
975
976         Reviewed by David Hyatt.
977
978         I introduced the updateCornerRadiusWidthAndHeight helper function, which makes the code of cssText method clearer.
979
980         No new tests, no behavior change.
981
982         * css/CSSBasicShapes.cpp:
983         (WebCore::updateCornerRadiusWidthAndHeight): Add helper function.
984         (WebCore::CSSBasicShapeInset::cssText):
985
986 2014-02-05  Zoltan Horvath  <zoltan@webkit.org>
987
988         [CSS Shapes] Simplify BasicShapeInset::path
989         https://bugs.webkit.org/show_bug.cgi?id=127920
990
991         Reviewed by David Hyatt.
992
993         I introduced a new static helper function called floatSizeForLengthSize
994         in order to simplify BasicShapeInset::path method.
995
996         No new tests, no behavior change.
997
998         * rendering/style/BasicShapes.cpp:
999         (WebCore::floatSizeForLengthSize): New helper function.
1000         (WebCore::BasicShapeInset::path):
1001
1002 2014-02-05  Wojciech Bielawski  <w.bielawski@samsung.com>
1003
1004         XMLHttpRequest performs too many copies for ArrayBuffer results
1005         https://bugs.webkit.org/show_bug.cgi?id=117458
1006
1007         Reviewed by Alexey Proskuryakov.
1008
1009         Based on blink change: https://chromium.googlesource.com/chromium/blink/+/bed266aa5a43f7c080c87e527bd35e2b80ecc7b7
1010
1011         Add SharedBuffer::createArrayBuffer() and use it to create XMLHttpRequest's response in ArrayBuffer
1012         This cuts
1013             - two memsets (in ArrayBuffer::create and SharedBuffer::m_buffer::resize)
1014             - one copy (SharedBuffer::m_buffer to ArrayBufferContents::m_data)
1015             - one allocation (SharedBuffer::m_buffer)
1016
1017         No new tests. WebKit desn't provide test mechanism similar to blink's one.
1018
1019         * platform/SharedBuffer.cpp:
1020         (WebCore::SharedBuffer::createArrayBuffer):
1021         * platform/SharedBuffer.h:
1022         * xml/XMLHttpRequest.cpp:
1023         (WebCore::XMLHttpRequest::responseArrayBuffer):
1024
1025 2014-02-05  Csaba Osztrogonác  <ossy@webkit.org>
1026
1027         Remove ENABLE(SVG) guards
1028         https://bugs.webkit.org/show_bug.cgi?id=127991
1029
1030         Reviewed by Sam Weinig.
1031
1032         * CMakeLists.txt:
1033         * Configurations/FeatureDefines.xcconfig:
1034         * DerivedSources.make:
1035         * GNUmakefile.am:
1036         * UseJSC.cmake:
1037         * WebCore.exp.in:
1038         * accessibility/AXObjectCache.cpp:
1039         (WebCore::createFromRenderer):
1040         * accessibility/AccessibilityNodeObject.cpp:
1041         (WebCore::AccessibilityNodeObject::alternativeText):
1042         (WebCore::AccessibilityNodeObject::accessibilityDescription):
1043         * accessibility/AccessibilityRenderObject.cpp:
1044         (WebCore::AccessibilityRenderObject::boundingBoxRect):
1045         (WebCore::AccessibilityRenderObject::supportsPath):
1046         (WebCore::AccessibilityRenderObject::elementPath):
1047         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
1048         (WebCore::AccessibilityRenderObject::remoteSVGRootElement):
1049         * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
1050         (-[WebAccessibilityObjectWrapper isSVGGroupElement]):
1051         * bindings/gobject/GNUmakefile.am:
1052         * bindings/js/JSCSSValueCustom.cpp:
1053         (WebCore::toJS):
1054         * bindings/js/JSDocumentCustom.cpp:
1055         (WebCore::toJS):
1056         * bindings/js/JSElementCustom.cpp:
1057         (WebCore::toJSNewlyCreated):
1058         * bindings/js/JSExceptionBase.cpp:
1059         (WebCore::toExceptionBase):
1060         * bindings/js/JSNodeCustom.cpp:
1061         (WebCore::createWrapperInline):
1062         * bindings/js/JSSVGElementInstanceCustom.cpp:
1063         * bindings/js/JSSVGLengthCustom.cpp:
1064         * bindings/js/JSSVGPathSegCustom.cpp:
1065         * css/CSSComputedStyleDeclaration.cpp:
1066         (WebCore::ComputedStyleExtractor::propertyValue):
1067         * css/CSSComputedStyleDeclaration.h:
1068         * css/CSSCursorImageValue.cpp:
1069         (WebCore::resourceReferencedByCursorElement):
1070         (WebCore::CSSCursorImageValue::~CSSCursorImageValue):
1071         (WebCore::CSSCursorImageValue::updateIfSVGCursorIsUsed):
1072         (WebCore::CSSCursorImageValue::cachedImage):
1073         (WebCore::CSSCursorImageValue::removeReferencedElement):
1074         * css/CSSCursorImageValue.h:
1075         * css/CSSDefaultStyleSheets.cpp:
1076         (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
1077         * css/CSSFontSelector.cpp:
1078         * css/CSSParser.cpp:
1079         (WebCore::CSSParser::parseValue):
1080         (WebCore::CSSParser::parseClipPath):
1081         (WebCore::CSSParser::parseShadow):
1082         (WebCore::CSSParser::parseFilter):
1083         (WebCore::CSSParser::realLex):
1084         * css/CSSParser.h:
1085         * css/CSSPrimitiveValueMappings.h:
1086         * css/CSSStyleSheet.cpp:
1087         (WebCore::isAcceptableCSSStyleSheetParent):
1088         * css/CSSValue.cpp:
1089         (WebCore::CSSValue::equals):
1090         (WebCore::CSSValue::cssText):
1091         (WebCore::CSSValue::destroy):
1092         (WebCore::CSSValue::cloneForCSSOM):
1093         * css/CSSValue.h:
1094         (WebCore::CSSValue::isSubtypeExposedToCSSOM):
1095         * css/CSSValueKeywords.in:
1096         * css/DeprecatedStyleBuilder.cpp:
1097         (WebCore::ApplyPropertyDisplay::isValidDisplayValue):
1098         (WebCore::ApplyPropertyClipPath::applyValue):
1099         * css/ElementRuleCollector.cpp:
1100         (WebCore::ElementRuleCollector::matchAllRules):
1101         * css/SVGCSSComputedStyleDeclaration.cpp:
1102         * css/SVGCSSParser.cpp:
1103         * css/SVGCSSPropertyNames.in:
1104         * css/SVGCSSStyleSelector.cpp:
1105         * css/StyleProperties.cpp:
1106         (WebCore::StyleProperties::getPropertyValue):
1107         * css/StylePropertyShorthand.cpp:
1108         (WebCore::markerShorthand):
1109         (WebCore::shorthandForProperty):
1110         (WebCore::matchingShorthandsForLonghand):
1111         * css/StylePropertyShorthand.h:
1112         * css/StyleResolver.cpp:
1113         (WebCore::StyleResolver::State::clear):
1114         (WebCore::StyleResolver::locateCousinList):
1115         (WebCore::StyleResolver::sharingCandidateHasIdenticalStyleAffectingAttributes):
1116         (WebCore::StyleResolver::canShareStyleWithElement):
1117         (WebCore::StyleResolver::locateSharedStyle):
1118         (WebCore::StyleResolver::adjustRenderStyle):
1119         (WebCore::isValidVisitedLinkProperty):
1120         (WebCore::StyleResolver::applyProperty):
1121         (WebCore::StyleResolver::loadPendingSVGDocuments):
1122         (WebCore::StyleResolver::createFilterOperations):
1123         (WebCore::StyleResolver::loadPendingResources):
1124         * css/StyleResolver.h:
1125         * dom/DOMExceptions.in:
1126         * dom/DOMImplementation.cpp:
1127         (WebCore::addString):
1128         (WebCore::isSupportedSVG11Feature):
1129         (WebCore::DOMImplementation::hasFeature):
1130         (WebCore::DOMImplementation::createDocument):
1131         * dom/Document.cpp:
1132         (WebCore::Document::commonTeardown):
1133         (WebCore::Document::createElement):
1134         (WebCore::Document::implicitClose):
1135         (WebCore::Document::hasSVGRootNode):
1136         * dom/Document.h:
1137         * dom/DocumentStyleSheetCollection.cpp:
1138         (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets):
1139         * dom/Element.cpp:
1140         (WebCore::Element::~Element):
1141         (WebCore::Element::synchronizeAllAttributes):
1142         (WebCore::Element::synchronizeAttribute):
1143         (WebCore::Element::boundsInRootViewSpace):
1144         (WebCore::Element::getBoundingClientRect):
1145         (WebCore::Element::removedFrom):
1146         (WebCore::Element::childShouldCreateRenderer):
1147         (WebCore::Element::fastAttributeLookupAllowed):
1148         (WebCore::Element::clearHasPendingResources):
1149         * dom/Element.h:
1150         * dom/ElementData.h:
1151         * dom/ElementRareData.h:
1152         (WebCore::ElementRareData::ElementRareData):
1153         * dom/EventDispatcher.cpp:
1154         (WebCore::eventTargetRespectingTargetRules):
1155         * dom/EventListenerMap.cpp:
1156         * dom/EventListenerMap.h:
1157         * dom/EventNames.in:
1158         * dom/EventTargetFactory.in:
1159         * dom/QualifiedName.cpp:
1160         * dom/ScriptElement.cpp:
1161         (WebCore::toScriptElementIfPossible):
1162         * dom/Text.cpp:
1163         (WebCore::isSVGText):
1164         (WebCore::Text::createTextRenderer):
1165         * history/CachedFrame.cpp:
1166         (WebCore::CachedFrameBase::restore):
1167         * html/HTMLAnchorElement.cpp:
1168         (WebCore::shouldProhibitLinks):
1169         * html/HTMLEmbedElement.idl:
1170         * html/HTMLFrameElement.idl:
1171         * html/HTMLFrameOwnerElement.cpp:
1172         (WebCore::HTMLFrameOwnerElement::getSVGDocument):
1173         * html/HTMLFrameOwnerElement.h:
1174         * html/HTMLIFrameElement.idl:
1175         * html/HTMLObjectElement.idl:
1176         * html/canvas/DOMPath.h:
1177         (WebCore::DOMPath::create):
1178         * html/canvas/DOMPath.idl:
1179         * html/parser/XSSAuditor.cpp:
1180         (WebCore::isSemicolonSeparatedAttribute):
1181         * inspector/DOMPatchSupport.cpp:
1182         (WebCore::DOMPatchSupport::patchDocument):
1183         * inspector/InspectorCSSAgent.cpp:
1184         (WebCore::InspectorCSSAgent::viaInspectorStyleSheet):
1185         * inspector/InspectorDOMAgent.cpp:
1186         (WebCore::InspectorDOMAgent::setOuterHTML):
1187         * inspector/InspectorOverlay.cpp:
1188         * inspector/InspectorStyleSheet.cpp:
1189         (WebCore::InspectorStyleSheet::inlineStyleSheetText):
1190         * loader/FrameLoader.cpp:
1191         * loader/ImageLoader.cpp:
1192         (WebCore::ImageLoader::renderImageResource):
1193         * loader/cache/CachedImage.cpp:
1194         (WebCore::CachedImage::didRemoveClient):
1195         (WebCore::CachedImage::imageForRenderer):
1196         (WebCore::CachedImage::setContainerSizeForRenderer):
1197         (WebCore::CachedImage::imageSizeForRenderer):
1198         (WebCore::CachedImage::createImage):
1199         * loader/cache/CachedImage.h:
1200         * loader/cache/CachedResource.cpp:
1201         (WebCore::defaultPriorityForResourceType):
1202         * loader/cache/CachedResource.h:
1203         * loader/cache/CachedResourceClient.h:
1204         * loader/cache/CachedResourceLoader.cpp:
1205         (WebCore::createResource):
1206         (WebCore::CachedResourceLoader::requestSVGDocument):
1207         (WebCore::CachedResourceLoader::checkInsecureContent):
1208         (WebCore::CachedResourceLoader::canRequest):
1209         * loader/cache/CachedResourceLoader.h:
1210         * loader/cache/CachedSVGDocument.cpp:
1211         * loader/cache/CachedSVGDocument.h:
1212         * loader/cache/CachedSVGDocumentClient.h:
1213         * loader/cache/CachedSVGDocumentReference.cpp:
1214         * loader/cache/CachedSVGDocumentReference.h:
1215         * page/EventHandler.cpp:
1216         (WebCore::EventHandler::EventHandler):
1217         (WebCore::EventHandler::clear):
1218         (WebCore::EventHandler::handleMousePressEvent):
1219         (WebCore::EventHandler::updateSelectionForMouseDrag):
1220         (WebCore::EventHandler::handleMouseMoveEvent):
1221         (WebCore::EventHandler::handleMouseReleaseEvent):
1222         (WebCore::instanceAssociatedWithShadowTreeElement):
1223         (WebCore::EventHandler::updateMouseEventTargetNode):
1224         * page/EventHandler.h:
1225         * page/Frame.cpp:
1226         (WebCore::Frame::setPageAndTextZoomFactors):
1227         * page/FrameView.cpp:
1228         (WebCore::FrameView::applyOverflowToViewport):
1229         (WebCore::FrameView::forceLayoutParentViewIfNeeded):
1230         (WebCore::FrameView::embeddedContentBox):
1231         (WebCore::FrameView::scrollToAnchor):
1232         * page/animation/CSSPropertyAnimation.cpp:
1233         (WebCore::blendFunc):
1234         (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
1235         * platform/MIMETypeRegistry.cpp:
1236         (WebCore::initializeSupportedNonImageMimeTypes):
1237         * platform/graphics/TextRun.cpp:
1238         * platform/graphics/TextRun.h:
1239         (WebCore::TextRun::TextRun):
1240         * platform/graphics/WidthIterator.cpp:
1241         (WebCore::WidthIterator::advanceInternal):
1242         * platform/graphics/filters/FETile.cpp:
1243         (WebCore::FETile::platformApplySoftware):
1244         * platform/graphics/filters/FilterOperation.cpp:
1245         (WebCore::ReferenceFilterOperation::getOrCreateCachedSVGDocumentReference):
1246         * platform/graphics/filters/FilterOperation.h:
1247         * platform/gtk/PasteboardGtk.cpp:
1248         (WebCore::getURLForImageElement):
1249         * rendering/FilterEffectRenderer.cpp:
1250         (WebCore::FilterEffectRenderer::buildReferenceFilter):
1251         * rendering/HitTestLocation.cpp:
1252         * rendering/HitTestResult.cpp:
1253         (WebCore::HitTestResult::absoluteImageURL):
1254         (WebCore::HitTestResult::absoluteLinkURL):
1255         (WebCore::HitTestResult::isLiveLink):
1256         * rendering/InlineBox.h:
1257         * rendering/LogicalSelectionOffsetCaches.h:
1258         (WebCore::isContainingBlockCandidateForAbsolutelyPositionedObject):
1259         * rendering/PaintInfo.h:
1260         (WebCore::PaintInfo::applyTransform):
1261         * rendering/RenderBlockLineLayout.cpp:
1262         (WebCore::RenderBlockFlow::createLineBoxesFromBidiRuns):
1263         * rendering/RenderBoxModelObject.cpp:
1264         (WebCore::RenderBoxModelObject::paintFillLayerExtended):
1265         * rendering/RenderElement.cpp:
1266         (WebCore::RenderElement::addChild):
1267         (WebCore::RenderElement::layerCreationAllowedForSubtree):
1268         (WebCore::RenderElement::styleDidChange):
1269         * rendering/RenderGeometryMap.cpp:
1270         (WebCore::canMapBetweenRenderers):
1271         * rendering/RenderImage.cpp:
1272         (WebCore::RenderImage::embeddedContentBox):
1273         * rendering/RenderLayer.cpp:
1274         (WebCore::RenderLayer::isTransparent):
1275         (WebCore::RenderLayer::setupClipPath):
1276         (WebCore::RenderLayer::calculateClipRects):
1277         * rendering/RenderLayer.h:
1278         * rendering/RenderLayerFilterInfo.cpp:
1279         (WebCore::RenderLayer::FilterInfo::~FilterInfo):
1280         * rendering/RenderLayerFilterInfo.h:
1281         * rendering/RenderNamedFlowThread.cpp:
1282         (WebCore::nextNodeInsideContentElement):
1283         * rendering/RenderObject.cpp:
1284         (WebCore::objectIsRelayoutBoundary):
1285         (WebCore::RenderObject::container):
1286         (WebCore::RenderObject::willBeRemovedFromTree):
1287         * rendering/RenderObject.h:
1288         (WebCore::RenderObject::canContainFixedPositionObjects):
1289         (WebCore::RenderObject::preservesNewline):
1290         * rendering/RenderTreeAsText.cpp:
1291         (WebCore::write):
1292         * rendering/RenderView.cpp:
1293         (WebCore::RenderView::layout):
1294         * rendering/RootInlineBox.cpp:
1295         (WebCore::RootInlineBox::alignBoxesInBlockDirection):
1296         * rendering/SimpleLineLayout.cpp:
1297         (WebCore::SimpleLineLayout::canUseFor):
1298         * rendering/line/BreakingContextInlineHeaders.h:
1299         (WebCore::BreakingContext::initializeForCurrentObject):
1300         (WebCore::BreakingContext::handleText):
1301         * rendering/style/RenderStyle.cpp:
1302         (WebCore::RenderStyle::RenderStyle):
1303         (WebCore::RenderStyle::inheritFrom):
1304         (WebCore::RenderStyle::copyNonInheritedFrom):
1305         (WebCore::RenderStyle::operator==):
1306         (WebCore::RenderStyle::inheritedNotEqual):
1307         (WebCore::RenderStyle::inheritedDataShared):
1308         (WebCore::RenderStyle::diff):
1309         * rendering/style/RenderStyle.h:
1310         * rendering/style/SVGRenderStyle.cpp:
1311         * rendering/style/SVGRenderStyle.h:
1312         * rendering/style/SVGRenderStyleDefs.cpp:
1313         * rendering/style/SVGRenderStyleDefs.h:
1314         * rendering/svg/RenderSVGBlock.cpp:
1315         * rendering/svg/RenderSVGBlock.h:
1316         * rendering/svg/RenderSVGContainer.cpp:
1317         * rendering/svg/RenderSVGContainer.h:
1318         * rendering/svg/RenderSVGEllipse.cpp:
1319         * rendering/svg/RenderSVGEllipse.h:
1320         * rendering/svg/RenderSVGForeignObject.cpp:
1321         * rendering/svg/RenderSVGForeignObject.h:
1322         * rendering/svg/RenderSVGGradientStop.cpp:
1323         * rendering/svg/RenderSVGGradientStop.h:
1324         * rendering/svg/RenderSVGHiddenContainer.cpp:
1325         * rendering/svg/RenderSVGHiddenContainer.h:
1326         * rendering/svg/RenderSVGImage.cpp:
1327         * rendering/svg/RenderSVGImage.h:
1328         * rendering/svg/RenderSVGInline.cpp:
1329         * rendering/svg/RenderSVGInline.h:
1330         * rendering/svg/RenderSVGInlineText.cpp:
1331         * rendering/svg/RenderSVGInlineText.h:
1332         * rendering/svg/RenderSVGModelObject.cpp:
1333         * rendering/svg/RenderSVGModelObject.h:
1334         * rendering/svg/RenderSVGPath.cpp:
1335         * rendering/svg/RenderSVGPath.h:
1336         * rendering/svg/RenderSVGRect.cpp:
1337         * rendering/svg/RenderSVGRect.h:
1338         * rendering/svg/RenderSVGResource.cpp:
1339         * rendering/svg/RenderSVGResource.h:
1340         * rendering/svg/RenderSVGResourceClipper.cpp:
1341         * rendering/svg/RenderSVGResourceClipper.h:
1342         * rendering/svg/RenderSVGResourceContainer.cpp:
1343         * rendering/svg/RenderSVGResourceContainer.h:
1344         * rendering/svg/RenderSVGResourceFilter.cpp:
1345         * rendering/svg/RenderSVGResourceFilter.h:
1346         * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
1347         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
1348         * rendering/svg/RenderSVGResourceGradient.cpp:
1349         (WebCore::RenderSVGResourceGradient::applyResource):
1350         * rendering/svg/RenderSVGResourceGradient.h:
1351         * rendering/svg/RenderSVGResourceLinearGradient.cpp:
1352         * rendering/svg/RenderSVGResourceLinearGradient.h:
1353         * rendering/svg/RenderSVGResourceMarker.cpp:
1354         * rendering/svg/RenderSVGResourceMarker.h:
1355         * rendering/svg/RenderSVGResourceMasker.cpp:
1356         * rendering/svg/RenderSVGResourceMasker.h:
1357         * rendering/svg/RenderSVGResourcePattern.cpp:
1358         * rendering/svg/RenderSVGResourcePattern.h:
1359         * rendering/svg/RenderSVGResourceRadialGradient.cpp:
1360         * rendering/svg/RenderSVGResourceRadialGradient.h:
1361         * rendering/svg/RenderSVGResourceSolidColor.cpp:
1362         * rendering/svg/RenderSVGResourceSolidColor.h:
1363         * rendering/svg/RenderSVGRoot.cpp:
1364         * rendering/svg/RenderSVGRoot.h:
1365         * rendering/svg/RenderSVGShape.cpp:
1366         * rendering/svg/RenderSVGShape.h:
1367         * rendering/svg/RenderSVGTSpan.h:
1368         * rendering/svg/RenderSVGText.cpp:
1369         * rendering/svg/RenderSVGText.h:
1370         * rendering/svg/RenderSVGTextPath.cpp:
1371         * rendering/svg/RenderSVGTextPath.h:
1372         * rendering/svg/RenderSVGTransformableContainer.cpp:
1373         * rendering/svg/RenderSVGTransformableContainer.h:
1374         * rendering/svg/RenderSVGViewportContainer.cpp:
1375         * rendering/svg/RenderSVGViewportContainer.h:
1376         * rendering/svg/SVGInlineFlowBox.cpp:
1377         * rendering/svg/SVGInlineFlowBox.h:
1378         * rendering/svg/SVGInlineTextBox.cpp:
1379         * rendering/svg/SVGInlineTextBox.h:
1380         * rendering/svg/SVGMarkerData.h:
1381         * rendering/svg/SVGPathData.cpp:
1382         * rendering/svg/SVGPathData.h:
1383         * rendering/svg/SVGRenderSupport.cpp:
1384         * rendering/svg/SVGRenderSupport.h:
1385         * rendering/svg/SVGRenderTreeAsText.cpp:
1386         * rendering/svg/SVGRenderTreeAsText.h:
1387         * rendering/svg/SVGRenderingContext.cpp:
1388         * rendering/svg/SVGRenderingContext.h:
1389         * rendering/svg/SVGResources.cpp:
1390         * rendering/svg/SVGResources.h:
1391         * rendering/svg/SVGResourcesCache.cpp:
1392         * rendering/svg/SVGResourcesCache.h:
1393         * rendering/svg/SVGResourcesCycleSolver.cpp:
1394         * rendering/svg/SVGResourcesCycleSolver.h:
1395         * rendering/svg/SVGRootInlineBox.cpp:
1396         * rendering/svg/SVGRootInlineBox.h:
1397         * rendering/svg/SVGSubpathData.h:
1398         * rendering/svg/SVGTextChunk.cpp:
1399         * rendering/svg/SVGTextChunk.h:
1400         * rendering/svg/SVGTextChunkBuilder.cpp:
1401         * rendering/svg/SVGTextChunkBuilder.h:
1402         * rendering/svg/SVGTextFragment.h:
1403         * rendering/svg/SVGTextLayoutAttributes.cpp:
1404         * rendering/svg/SVGTextLayoutAttributes.h:
1405         * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
1406         * rendering/svg/SVGTextLayoutAttributesBuilder.h:
1407         * rendering/svg/SVGTextLayoutEngine.cpp:
1408         * rendering/svg/SVGTextLayoutEngine.h:
1409         * rendering/svg/SVGTextLayoutEngineBaseline.cpp:
1410         * rendering/svg/SVGTextLayoutEngineBaseline.h:
1411         * rendering/svg/SVGTextLayoutEngineSpacing.cpp:
1412         * rendering/svg/SVGTextLayoutEngineSpacing.h:
1413         * rendering/svg/SVGTextMetrics.cpp:
1414         * rendering/svg/SVGTextMetrics.h:
1415         * rendering/svg/SVGTextMetricsBuilder.cpp:
1416         * rendering/svg/SVGTextMetricsBuilder.h:
1417         * rendering/svg/SVGTextQuery.cpp:
1418         * rendering/svg/SVGTextQuery.h:
1419         * svg/ColorDistance.cpp:
1420         * svg/ColorDistance.h:
1421         * svg/GradientAttributes.h:
1422         * svg/LinearGradientAttributes.h:
1423         * svg/PatternAttributes.h:
1424         * svg/RadialGradientAttributes.h:
1425         * svg/SVGAElement.cpp:
1426         * svg/SVGAElement.h:
1427         * svg/SVGAElement.idl:
1428         * svg/SVGAltGlyphDefElement.cpp:
1429         * svg/SVGAltGlyphDefElement.h:
1430         * svg/SVGAltGlyphDefElement.idl:
1431         * svg/SVGAltGlyphElement.cpp:
1432         * svg/SVGAltGlyphElement.h:
1433         * svg/SVGAltGlyphElement.idl:
1434         * svg/SVGAltGlyphItemElement.cpp:
1435         * svg/SVGAltGlyphItemElement.h:
1436         * svg/SVGAltGlyphItemElement.idl:
1437         * svg/SVGAngle.cpp:
1438         * svg/SVGAngle.h:
1439         * svg/SVGAngle.idl:
1440         * svg/SVGAnimateColorElement.cpp:
1441         * svg/SVGAnimateColorElement.h:
1442         * svg/SVGAnimateColorElement.idl:
1443         * svg/SVGAnimateElement.cpp:
1444         * svg/SVGAnimateElement.h:
1445         * svg/SVGAnimateElement.idl:
1446         * svg/SVGAnimateMotionElement.cpp:
1447         * svg/SVGAnimateMotionElement.h:
1448         * svg/SVGAnimateMotionElement.idl:
1449         * svg/SVGAnimateTransformElement.cpp:
1450         * svg/SVGAnimateTransformElement.h:
1451         * svg/SVGAnimateTransformElement.idl:
1452         * svg/SVGAnimatedAngle.cpp:
1453         * svg/SVGAnimatedAngle.h:
1454         * svg/SVGAnimatedAngle.idl:
1455         * svg/SVGAnimatedBoolean.cpp:
1456         * svg/SVGAnimatedBoolean.h:
1457         * svg/SVGAnimatedBoolean.idl:
1458         * svg/SVGAnimatedColor.cpp:
1459         * svg/SVGAnimatedColor.h:
1460         * svg/SVGAnimatedEnumeration.cpp:
1461         * svg/SVGAnimatedEnumeration.h:
1462         * svg/SVGAnimatedEnumeration.idl:
1463         * svg/SVGAnimatedInteger.cpp:
1464         * svg/SVGAnimatedInteger.h:
1465         * svg/SVGAnimatedInteger.idl:
1466         * svg/SVGAnimatedIntegerOptionalInteger.cpp:
1467         * svg/SVGAnimatedIntegerOptionalInteger.h:
1468         * svg/SVGAnimatedLength.cpp:
1469         * svg/SVGAnimatedLength.h:
1470         * svg/SVGAnimatedLength.idl:
1471         * svg/SVGAnimatedLengthList.cpp:
1472         * svg/SVGAnimatedLengthList.h:
1473         * svg/SVGAnimatedLengthList.idl:
1474         * svg/SVGAnimatedNumber.cpp:
1475         * svg/SVGAnimatedNumber.h:
1476         * svg/SVGAnimatedNumber.idl:
1477         * svg/SVGAnimatedNumberList.cpp:
1478         * svg/SVGAnimatedNumberList.h:
1479         * svg/SVGAnimatedNumberList.idl:
1480         * svg/SVGAnimatedNumberOptionalNumber.cpp:
1481         * svg/SVGAnimatedNumberOptionalNumber.h:
1482         * svg/SVGAnimatedPath.cpp:
1483         * svg/SVGAnimatedPath.h:
1484         * svg/SVGAnimatedPointList.cpp:
1485         * svg/SVGAnimatedPointList.h:
1486         * svg/SVGAnimatedPreserveAspectRatio.cpp:
1487         * svg/SVGAnimatedPreserveAspectRatio.h:
1488         * svg/SVGAnimatedPreserveAspectRatio.idl:
1489         * svg/SVGAnimatedRect.cpp:
1490         * svg/SVGAnimatedRect.h:
1491         * svg/SVGAnimatedRect.idl:
1492         * svg/SVGAnimatedString.cpp:
1493         * svg/SVGAnimatedString.h:
1494         * svg/SVGAnimatedString.idl:
1495         * svg/SVGAnimatedTransformList.cpp:
1496         * svg/SVGAnimatedTransformList.h:
1497         * svg/SVGAnimatedTransformList.idl:
1498         * svg/SVGAnimatedType.cpp:
1499         * svg/SVGAnimatedType.h:
1500         * svg/SVGAnimatedTypeAnimator.cpp:
1501         * svg/SVGAnimatedTypeAnimator.h:
1502         * svg/SVGAnimationElement.cpp:
1503         * svg/SVGAnimationElement.h:
1504         * svg/SVGAnimationElement.idl:
1505         * svg/SVGAnimatorFactory.h:
1506         * svg/SVGCircleElement.cpp:
1507         * svg/SVGCircleElement.h:
1508         * svg/SVGCircleElement.idl:
1509         * svg/SVGClipPathElement.cpp:
1510         * svg/SVGClipPathElement.h:
1511         * svg/SVGClipPathElement.idl:
1512         * svg/SVGColor.cpp:
1513         * svg/SVGColor.h:
1514         * svg/SVGColor.idl:
1515         * svg/SVGComponentTransferFunctionElement.cpp:
1516         * svg/SVGComponentTransferFunctionElement.h:
1517         * svg/SVGComponentTransferFunctionElement.idl:
1518         * svg/SVGCursorElement.cpp:
1519         * svg/SVGCursorElement.h:
1520         * svg/SVGCursorElement.idl:
1521         * svg/SVGDefsElement.cpp:
1522         * svg/SVGDefsElement.h:
1523         * svg/SVGDefsElement.idl:
1524         * svg/SVGDescElement.cpp:
1525         * svg/SVGDescElement.h:
1526         * svg/SVGDescElement.idl:
1527         * svg/SVGDocument.cpp:
1528         * svg/SVGDocument.h:
1529         * svg/SVGDocument.idl:
1530         * svg/SVGDocumentExtensions.cpp:
1531         * svg/SVGDocumentExtensions.h:
1532         * svg/SVGElement.cpp:
1533         * svg/SVGElement.h:
1534         * svg/SVGElement.idl:
1535         * svg/SVGElementInstance.cpp:
1536         * svg/SVGElementInstance.h:
1537         * svg/SVGElementInstance.idl:
1538         * svg/SVGElementInstanceList.cpp:
1539         * svg/SVGElementInstanceList.h:
1540         * svg/SVGElementInstanceList.idl:
1541         * svg/SVGEllipseElement.cpp:
1542         * svg/SVGEllipseElement.h:
1543         * svg/SVGEllipseElement.idl:
1544         * svg/SVGException.cpp:
1545         * svg/SVGException.h:
1546         * svg/SVGException.idl:
1547         * svg/SVGExternalResourcesRequired.cpp:
1548         * svg/SVGExternalResourcesRequired.h:
1549         * svg/SVGExternalResourcesRequired.idl:
1550         * svg/SVGFEBlendElement.cpp:
1551         * svg/SVGFEBlendElement.h:
1552         * svg/SVGFEBlendElement.idl:
1553         * svg/SVGFEColorMatrixElement.cpp:
1554         * svg/SVGFEColorMatrixElement.h:
1555         * svg/SVGFEColorMatrixElement.idl:
1556         * svg/SVGFEComponentTransferElement.cpp:
1557         * svg/SVGFEComponentTransferElement.h:
1558         * svg/SVGFEComponentTransferElement.idl:
1559         * svg/SVGFECompositeElement.cpp:
1560         * svg/SVGFECompositeElement.h:
1561         * svg/SVGFECompositeElement.idl:
1562         * svg/SVGFEConvolveMatrixElement.cpp:
1563         * svg/SVGFEConvolveMatrixElement.h:
1564         * svg/SVGFEConvolveMatrixElement.idl:
1565         * svg/SVGFEDiffuseLightingElement.cpp:
1566         * svg/SVGFEDiffuseLightingElement.h:
1567         * svg/SVGFEDiffuseLightingElement.idl:
1568         * svg/SVGFEDisplacementMapElement.cpp:
1569         * svg/SVGFEDisplacementMapElement.h:
1570         * svg/SVGFEDisplacementMapElement.idl:
1571         * svg/SVGFEDistantLightElement.cpp:
1572         * svg/SVGFEDistantLightElement.h:
1573         * svg/SVGFEDistantLightElement.idl:
1574         * svg/SVGFEDropShadowElement.cpp:
1575         * svg/SVGFEDropShadowElement.h:
1576         * svg/SVGFEDropShadowElement.idl:
1577         * svg/SVGFEFloodElement.cpp:
1578         * svg/SVGFEFloodElement.h:
1579         * svg/SVGFEFloodElement.idl:
1580         * svg/SVGFEFuncAElement.cpp:
1581         * svg/SVGFEFuncAElement.h:
1582         * svg/SVGFEFuncAElement.idl:
1583         * svg/SVGFEFuncBElement.cpp:
1584         * svg/SVGFEFuncBElement.h:
1585         * svg/SVGFEFuncBElement.idl:
1586         * svg/SVGFEFuncGElement.cpp:
1587         * svg/SVGFEFuncGElement.h:
1588         * svg/SVGFEFuncGElement.idl:
1589         * svg/SVGFEFuncRElement.cpp:
1590         * svg/SVGFEFuncRElement.h:
1591         * svg/SVGFEFuncRElement.idl:
1592         * svg/SVGFEGaussianBlurElement.cpp:
1593         * svg/SVGFEGaussianBlurElement.h:
1594         * svg/SVGFEGaussianBlurElement.idl:
1595         * svg/SVGFEImageElement.cpp:
1596         * svg/SVGFEImageElement.h:
1597         * svg/SVGFEImageElement.idl:
1598         * svg/SVGFELightElement.cpp:
1599         * svg/SVGFELightElement.h:
1600         * svg/SVGFEMergeElement.cpp:
1601         * svg/SVGFEMergeElement.h:
1602         * svg/SVGFEMergeElement.idl:
1603         * svg/SVGFEMergeNodeElement.cpp:
1604         * svg/SVGFEMergeNodeElement.h:
1605         * svg/SVGFEMergeNodeElement.idl:
1606         * svg/SVGFEMorphologyElement.cpp:
1607         * svg/SVGFEMorphologyElement.h:
1608         * svg/SVGFEMorphologyElement.idl:
1609         * svg/SVGFEOffsetElement.cpp:
1610         * svg/SVGFEOffsetElement.h:
1611         * svg/SVGFEOffsetElement.idl:
1612         * svg/SVGFEPointLightElement.cpp:
1613         * svg/SVGFEPointLightElement.h:
1614         * svg/SVGFEPointLightElement.idl:
1615         * svg/SVGFESpecularLightingElement.cpp:
1616         * svg/SVGFESpecularLightingElement.h:
1617         * svg/SVGFESpecularLightingElement.idl:
1618         * svg/SVGFESpotLightElement.cpp:
1619         * svg/SVGFESpotLightElement.h:
1620         * svg/SVGFESpotLightElement.idl:
1621         * svg/SVGFETileElement.cpp:
1622         * svg/SVGFETileElement.h:
1623         * svg/SVGFETileElement.idl:
1624         * svg/SVGFETurbulenceElement.cpp:
1625         * svg/SVGFETurbulenceElement.h:
1626         * svg/SVGFETurbulenceElement.idl:
1627         * svg/SVGFilterElement.cpp:
1628         * svg/SVGFilterElement.h:
1629         * svg/SVGFilterElement.idl:
1630         * svg/SVGFilterPrimitiveStandardAttributes.cpp:
1631         * svg/SVGFilterPrimitiveStandardAttributes.h:
1632         * svg/SVGFilterPrimitiveStandardAttributes.idl:
1633         * svg/SVGFitToViewBox.cpp:
1634         * svg/SVGFitToViewBox.h:
1635         * svg/SVGFitToViewBox.idl:
1636         * svg/SVGFontElement.idl:
1637         * svg/SVGFontFaceElement.idl:
1638         * svg/SVGFontFaceFormatElement.idl:
1639         * svg/SVGFontFaceNameElement.cpp:
1640         * svg/SVGFontFaceNameElement.idl:
1641         * svg/SVGFontFaceSrcElement.idl:
1642         * svg/SVGFontFaceUriElement.idl:
1643         * svg/SVGForeignObjectElement.cpp:
1644         * svg/SVGForeignObjectElement.h:
1645         * svg/SVGForeignObjectElement.idl:
1646         * svg/SVGGElement.cpp:
1647         * svg/SVGGElement.h:
1648         * svg/SVGGElement.idl:
1649         * svg/SVGGlyphElement.idl:
1650         * svg/SVGGlyphRefElement.cpp:
1651         * svg/SVGGlyphRefElement.h:
1652         * svg/SVGGlyphRefElement.idl:
1653         * svg/SVGGradientElement.cpp:
1654         * svg/SVGGradientElement.h:
1655         * svg/SVGGradientElement.idl:
1656         * svg/SVGGraphicsElement.cpp:
1657         * svg/SVGGraphicsElement.h:
1658         * svg/SVGGraphicsElement.idl:
1659         * svg/SVGHKernElement.idl:
1660         * svg/SVGImageElement.cpp:
1661         * svg/SVGImageElement.h:
1662         * svg/SVGImageElement.idl:
1663         * svg/SVGImageLoader.cpp:
1664         * svg/SVGImageLoader.h:
1665         * svg/SVGLangSpace.cpp:
1666         * svg/SVGLangSpace.h:
1667         * svg/SVGLength.cpp:
1668         * svg/SVGLength.h:
1669         * svg/SVGLength.idl:
1670         * svg/SVGLengthContext.cpp:
1671         * svg/SVGLengthContext.h:
1672         * svg/SVGLengthList.cpp:
1673         * svg/SVGLengthList.h:
1674         * svg/SVGLengthList.idl:
1675         * svg/SVGLineElement.cpp:
1676         * svg/SVGLineElement.h:
1677         * svg/SVGLineElement.idl:
1678         * svg/SVGLinearGradientElement.cpp:
1679         * svg/SVGLinearGradientElement.h:
1680         * svg/SVGLinearGradientElement.idl:
1681         * svg/SVGLocatable.cpp:
1682         * svg/SVGLocatable.h:
1683         * svg/SVGMPathElement.cpp:
1684         * svg/SVGMPathElement.h:
1685         * svg/SVGMPathElement.idl:
1686         * svg/SVGMarkerElement.cpp:
1687         * svg/SVGMarkerElement.h:
1688         * svg/SVGMarkerElement.idl:
1689         * svg/SVGMaskElement.cpp:
1690         * svg/SVGMaskElement.h:
1691         * svg/SVGMaskElement.idl:
1692         * svg/SVGMatrix.h:
1693         * svg/SVGMatrix.idl:
1694         * svg/SVGMetadataElement.cpp:
1695         * svg/SVGMetadataElement.h:
1696         * svg/SVGMetadataElement.idl:
1697         * svg/SVGMissingGlyphElement.idl:
1698         * svg/SVGNumber.idl:
1699         * svg/SVGNumberList.cpp:
1700         * svg/SVGNumberList.h:
1701         * svg/SVGNumberList.idl:
1702         * svg/SVGPaint.cpp:
1703         * svg/SVGPaint.h:
1704         * svg/SVGPaint.idl:
1705         * svg/SVGParserUtilities.cpp:
1706         * svg/SVGParserUtilities.h:
1707         * svg/SVGParsingError.h:
1708         * svg/SVGPathBlender.cpp:
1709         * svg/SVGPathBlender.h:
1710         * svg/SVGPathBuilder.cpp:
1711         * svg/SVGPathBuilder.h:
1712         * svg/SVGPathByteStream.h:
1713         * svg/SVGPathByteStreamBuilder.cpp:
1714         * svg/SVGPathByteStreamBuilder.h:
1715         * svg/SVGPathByteStreamSource.cpp:
1716         * svg/SVGPathByteStreamSource.h:
1717         * svg/SVGPathConsumer.h:
1718         * svg/SVGPathElement.cpp:
1719         * svg/SVGPathElement.h:
1720         * svg/SVGPathElement.idl:
1721         * svg/SVGPathParser.cpp:
1722         * svg/SVGPathParser.h:
1723         * svg/SVGPathSeg.h:
1724         * svg/SVGPathSeg.idl:
1725         * svg/SVGPathSegArc.h:
1726         * svg/SVGPathSegArcAbs.h:
1727         * svg/SVGPathSegArcAbs.idl:
1728         * svg/SVGPathSegArcRel.h:
1729         * svg/SVGPathSegArcRel.idl:
1730         * svg/SVGPathSegClosePath.h:
1731         * svg/SVGPathSegClosePath.idl:
1732         * svg/SVGPathSegCurvetoCubic.h:
1733         * svg/SVGPathSegCurvetoCubicAbs.h:
1734         * svg/SVGPathSegCurvetoCubicAbs.idl:
1735         * svg/SVGPathSegCurvetoCubicRel.h:
1736         * svg/SVGPathSegCurvetoCubicRel.idl:
1737         * svg/SVGPathSegCurvetoCubicSmooth.h:
1738         * svg/SVGPathSegCurvetoCubicSmoothAbs.h:
1739         * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
1740         * svg/SVGPathSegCurvetoCubicSmoothRel.h:
1741         * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
1742         * svg/SVGPathSegCurvetoQuadratic.h:
1743         * svg/SVGPathSegCurvetoQuadraticAbs.h:
1744         * svg/SVGPathSegCurvetoQuadraticAbs.idl:
1745         * svg/SVGPathSegCurvetoQuadraticRel.h:
1746         * svg/SVGPathSegCurvetoQuadraticRel.idl:
1747         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
1748         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
1749         * svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
1750         * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
1751         * svg/SVGPathSegLinetoAbs.h:
1752         * svg/SVGPathSegLinetoAbs.idl:
1753         * svg/SVGPathSegLinetoHorizontal.h:
1754         * svg/SVGPathSegLinetoHorizontalAbs.h:
1755         * svg/SVGPathSegLinetoHorizontalAbs.idl:
1756         * svg/SVGPathSegLinetoHorizontalRel.h:
1757         * svg/SVGPathSegLinetoHorizontalRel.idl:
1758         * svg/SVGPathSegLinetoRel.h:
1759         * svg/SVGPathSegLinetoRel.idl:
1760         * svg/SVGPathSegLinetoVertical.h:
1761         * svg/SVGPathSegLinetoVerticalAbs.h:
1762         * svg/SVGPathSegLinetoVerticalAbs.idl:
1763         * svg/SVGPathSegLinetoVerticalRel.h:
1764         * svg/SVGPathSegLinetoVerticalRel.idl:
1765         * svg/SVGPathSegList.cpp:
1766         * svg/SVGPathSegList.h:
1767         * svg/SVGPathSegList.idl:
1768         * svg/SVGPathSegListBuilder.cpp:
1769         * svg/SVGPathSegListBuilder.h:
1770         * svg/SVGPathSegListSource.cpp:
1771         * svg/SVGPathSegListSource.h:
1772         * svg/SVGPathSegMovetoAbs.h:
1773         * svg/SVGPathSegMovetoAbs.idl:
1774         * svg/SVGPathSegMovetoRel.h:
1775         * svg/SVGPathSegMovetoRel.idl:
1776         * svg/SVGPathSegWithContext.h:
1777         * svg/SVGPathSource.h:
1778         * svg/SVGPathStringBuilder.cpp:
1779         * svg/SVGPathStringBuilder.h:
1780         * svg/SVGPathStringSource.cpp:
1781         * svg/SVGPathStringSource.h:
1782         * svg/SVGPathTraversalStateBuilder.cpp:
1783         * svg/SVGPathTraversalStateBuilder.h:
1784         * svg/SVGPathUtilities.cpp:
1785         * svg/SVGPathUtilities.h:
1786         * svg/SVGPatternElement.cpp:
1787         * svg/SVGPatternElement.h:
1788         * svg/SVGPatternElement.idl:
1789         * svg/SVGPoint.h:
1790         * svg/SVGPoint.idl:
1791         * svg/SVGPointList.cpp:
1792         * svg/SVGPointList.h:
1793         * svg/SVGPointList.idl:
1794         * svg/SVGPolyElement.cpp:
1795         * svg/SVGPolyElement.h:
1796         * svg/SVGPolygonElement.cpp:
1797         * svg/SVGPolygonElement.h:
1798         * svg/SVGPolygonElement.idl:
1799         * svg/SVGPolylineElement.cpp:
1800         * svg/SVGPolylineElement.h:
1801         * svg/SVGPolylineElement.idl:
1802         * svg/SVGPreserveAspectRatio.cpp:
1803         * svg/SVGPreserveAspectRatio.h:
1804         * svg/SVGPreserveAspectRatio.idl:
1805         * svg/SVGRadialGradientElement.cpp:
1806         * svg/SVGRadialGradientElement.h:
1807         * svg/SVGRadialGradientElement.idl:
1808         * svg/SVGRect.h:
1809         * svg/SVGRect.idl:
1810         * svg/SVGRectElement.cpp:
1811         * svg/SVGRectElement.h:
1812         * svg/SVGRectElement.idl:
1813         * svg/SVGRenderingIntent.h:
1814         * svg/SVGRenderingIntent.idl:
1815         * svg/SVGSVGElement.cpp:
1816         * svg/SVGSVGElement.h:
1817         * svg/SVGSVGElement.idl:
1818         * svg/SVGScriptElement.cpp:
1819         * svg/SVGScriptElement.h:
1820         * svg/SVGScriptElement.idl:
1821         * svg/SVGSetElement.cpp:
1822         * svg/SVGSetElement.h:
1823         * svg/SVGSetElement.idl:
1824         * svg/SVGStopElement.cpp:
1825         * svg/SVGStopElement.h:
1826         * svg/SVGStopElement.idl:
1827         * svg/SVGStringList.cpp:
1828         * svg/SVGStringList.h:
1829         * svg/SVGStringList.idl:
1830         * svg/SVGStyleElement.cpp:
1831         * svg/SVGStyleElement.h:
1832         * svg/SVGStyleElement.idl:
1833         * svg/SVGSwitchElement.cpp:
1834         * svg/SVGSwitchElement.h:
1835         * svg/SVGSwitchElement.idl:
1836         * svg/SVGSymbolElement.cpp:
1837         * svg/SVGSymbolElement.h:
1838         * svg/SVGSymbolElement.idl:
1839         * svg/SVGTRefElement.cpp:
1840         * svg/SVGTRefElement.h:
1841         * svg/SVGTRefElement.idl:
1842         * svg/SVGTSpanElement.cpp:
1843         * svg/SVGTSpanElement.h:
1844         * svg/SVGTSpanElement.idl:
1845         * svg/SVGTests.cpp:
1846         * svg/SVGTests.h:
1847         * svg/SVGTests.idl:
1848         * svg/SVGTextContentElement.cpp:
1849         * svg/SVGTextContentElement.h:
1850         * svg/SVGTextContentElement.idl:
1851         * svg/SVGTextElement.cpp:
1852         * svg/SVGTextElement.h:
1853         * svg/SVGTextElement.idl:
1854         * svg/SVGTextPathElement.cpp:
1855         * svg/SVGTextPathElement.h:
1856         * svg/SVGTextPathElement.idl:
1857         * svg/SVGTextPositioningElement.cpp:
1858         * svg/SVGTextPositioningElement.h:
1859         * svg/SVGTextPositioningElement.idl:
1860         * svg/SVGTitleElement.cpp:
1861         * svg/SVGTitleElement.h:
1862         * svg/SVGTitleElement.idl:
1863         * svg/SVGTransform.cpp:
1864         * svg/SVGTransform.h:
1865         * svg/SVGTransform.idl:
1866         * svg/SVGTransformDistance.cpp:
1867         * svg/SVGTransformDistance.h:
1868         * svg/SVGTransformList.cpp:
1869         * svg/SVGTransformList.h:
1870         * svg/SVGTransformList.idl:
1871         * svg/SVGTransformable.cpp:
1872         * svg/SVGTransformable.h:
1873         * svg/SVGURIReference.cpp:
1874         * svg/SVGURIReference.h:
1875         * svg/SVGURIReference.idl:
1876         * svg/SVGUnitTypes.h:
1877         * svg/SVGUnitTypes.idl:
1878         * svg/SVGUnknownElement.h:
1879         * svg/SVGUseElement.cpp:
1880         * svg/SVGUseElement.h:
1881         * svg/SVGUseElement.idl:
1882         * svg/SVGVKernElement.idl:
1883         * svg/SVGViewElement.cpp:
1884         * svg/SVGViewElement.h:
1885         * svg/SVGViewElement.idl:
1886         * svg/SVGViewSpec.cpp:
1887         * svg/SVGViewSpec.h:
1888         * svg/SVGViewSpec.idl:
1889         * svg/SVGZoomAndPan.cpp:
1890         * svg/SVGZoomAndPan.h:
1891         * svg/SVGZoomAndPan.idl:
1892         * svg/SVGZoomEvent.cpp:
1893         * svg/SVGZoomEvent.h:
1894         * svg/SVGZoomEvent.idl:
1895         * svg/animation/SMILTime.cpp:
1896         (WebCore::operator*):
1897         * svg/animation/SMILTime.h:
1898         * svg/animation/SMILTimeContainer.cpp:
1899         * svg/animation/SMILTimeContainer.h:
1900         * svg/animation/SVGSMILElement.cpp:
1901         * svg/animation/SVGSMILElement.h:
1902         * svg/graphics/SVGImage.cpp:
1903         * svg/graphics/SVGImage.h:
1904         * svg/graphics/SVGImageCache.cpp:
1905         * svg/graphics/SVGImageCache.h:
1906         * svg/graphics/SVGImageChromeClient.h:
1907         * svg/graphics/SVGImageForContainer.cpp:
1908         * svg/graphics/SVGImageForContainer.h:
1909         * svg/graphics/filters/SVGFEImage.cpp:
1910         * svg/graphics/filters/SVGFEImage.h:
1911         * svg/graphics/filters/SVGFilter.cpp:
1912         * svg/graphics/filters/SVGFilter.h:
1913         * svg/graphics/filters/SVGFilterBuilder.cpp:
1914         * svg/graphics/filters/SVGFilterBuilder.h:
1915         * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
1916         * svg/properties/SVGAnimatedListPropertyTearOff.h:
1917         * svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
1918         * svg/properties/SVGAnimatedProperty.cpp:
1919         * svg/properties/SVGAnimatedProperty.h:
1920         * svg/properties/SVGAnimatedPropertyDescription.h:
1921         * svg/properties/SVGAnimatedPropertyMacros.h:
1922         * svg/properties/SVGAnimatedPropertyTearOff.h:
1923         * svg/properties/SVGAnimatedStaticPropertyTearOff.h:
1924         * svg/properties/SVGAnimatedTransformListPropertyTearOff.h:
1925         * svg/properties/SVGAttributeToPropertyMap.cpp:
1926         * svg/properties/SVGAttributeToPropertyMap.h:
1927         * svg/properties/SVGListProperty.h:
1928         * svg/properties/SVGListPropertyTearOff.h:
1929         * svg/properties/SVGPathSegListPropertyTearOff.cpp:
1930         * svg/properties/SVGPathSegListPropertyTearOff.h:
1931         * svg/properties/SVGProperty.h:
1932         * svg/properties/SVGPropertyInfo.cpp:
1933         * svg/properties/SVGPropertyInfo.h:
1934         * svg/properties/SVGPropertyTearOff.h:
1935         * svg/properties/SVGPropertyTraits.h:
1936         * svg/properties/SVGStaticListPropertyTearOff.h:
1937         * svg/properties/SVGStaticPropertyTearOff.h:
1938         * svg/properties/SVGStaticPropertyWithParentTearOff.h:
1939         * svg/properties/SVGTransformListPropertyTearOff.h:
1940         * svg/svgattrs.in:
1941         * svg/svgtags.in:
1942         * xml/XMLErrors.cpp:
1943         (WebCore::XMLErrors::insertErrorMessageBlock):
1944         * xml/parser/XMLDocumentParser.cpp:
1945
1946 2014-02-05  Zan Dobersek  <zdobersek@igalia.com>
1947
1948         Manage CalcExpressionNode and derived classes through std::unique_ptr instead of OwnPtr
1949         https://bugs.webkit.org/show_bug.cgi?id=128118
1950
1951         Reviewed by Darin Adler.
1952
1953         Replace uses of OwnPtr for CalcExpressionNode and derived classes with std::unique_ptr.
1954
1955         * css/CSSCalculationValue.cpp:
1956         (WebCore::CSSCalcPrimitiveValue::toCalcValue):
1957         (WebCore::CSSCalcBinaryOperation::toCalcValue):
1958         * css/CSSCalculationValue.h:
1959         * platform/CalculationValue.cpp:
1960         (WebCore::CalculationValue::create):
1961         * platform/CalculationValue.h:
1962         (WebCore::CalculationValue::CalculationValue):
1963         (WebCore::CalcExpressionBinaryOperation::CalcExpressionBinaryOperation):
1964         * platform/Length.cpp:
1965         (WebCore::Length::blendMixedTypes):
1966         * rendering/style/BasicShapes.cpp:
1967         (WebCore::BasicShapeCenterCoordinate::updateComputedLength):
1968
1969 2014-02-05  Zan Dobersek  <zdobersek@igalia.com>
1970
1971         Remove CLASS_IF_GCC workarounds
1972         https://bugs.webkit.org/show_bug.cgi?id=128207
1973
1974         Reviewed by Anders Carlsson.
1975
1976         Remove the CLASS_IF_GCC macro that was defined to 'class' when using the GCC compiler.
1977         The macro was then used in class friendship declarations for templated classes to avoid
1978         corner-case compiler failures on both GCC pre-4.7 and MSVC pre-2013. The problematic
1979         versions of both compilers are no longer supported, so this macro is good to go.
1980
1981         * bindings/generic/RuntimeEnabledFeatures.h:
1982
1983 2014-02-05  Ryuan Choi  <ryuan.choi@samsung.com>
1984
1985         MediaPlayerPrivateGStreamerBase should have virtual destructor
1986         https://bugs.webkit.org/show_bug.cgi?id=128238
1987
1988         Reviewed by Carlos Garcia Campos.
1989
1990         MediaPlayerPrivateGStreamer inherit MediaPlayerPrivateGStreamerBase.
1991         So MediaPlayerPrivateGStreamerBase should have virtual destructor.
1992
1993         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h: Made destructor as virtual.
1994
1995 2014-02-04  Andreas Kling  <akling@apple.com>
1996
1997         Remove <iframe seamless> support.
1998         <https://webkit.org/b/128213>
1999
2000         Seamless iframes were behind a runtime flag that we never enabled,
2001         and the only other engine that implemented them (Blink) recently
2002         removed them. Since the feature is very invasive, let's take it
2003         out for now.
2004
2005         Rubber-stamped by Antti Koivisto.
2006
2007         * Configurations/FeatureDefines.xcconfig:
2008         * accessibility/AccessibilityObject.h:
2009         * accessibility/AccessibilityRenderObject.cpp:
2010         (WebCore::AccessibilityRenderObject::parentObjectIfExists):
2011         (WebCore::AccessibilityRenderObject::parentObject):
2012         (WebCore::AccessibilityRenderObject::boundingBoxRect):
2013         (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
2014         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
2015         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
2016         (createAccessibilityRoleMap):
2017         * bindings/generic/RuntimeEnabledFeatures.cpp:
2018         (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
2019         * bindings/generic/RuntimeEnabledFeatures.h:
2020         * css/CSSComputedStyleDeclaration.cpp:
2021         (WebCore::ComputedStyleExtractor::propertyValue):
2022         * css/CSSSelector.cpp:
2023         (WebCore::CSSSelector::pseudoId):
2024         (WebCore::populatePseudoTypeByNameMap):
2025         (WebCore::CSSSelector::extractPseudoType):
2026         * css/CSSSelector.h:
2027         * css/SelectorChecker.cpp:
2028         (WebCore::SelectorChecker::checkOne):
2029         * css/StyleResolver.cpp:
2030         (WebCore::StyleResolver::adjustRenderStyle):
2031         * css/html.css:
2032         (iframe):
2033         * dom/Document.cpp:
2034         (WebCore::Document::scheduleStyleRecalc):
2035         (WebCore::Document::implicitOpen):
2036         (WebCore::Document::initSecurityContext):
2037         * dom/Document.h:
2038         * dom/DocumentStyleSheetCollection.cpp:
2039         (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
2040         * dom/SecurityContext.cpp:
2041         (WebCore::SecurityContext::SecurityContext):
2042         * dom/SecurityContext.h:
2043         * html/HTMLAttributeNames.in:
2044         * html/HTMLIFrameElement.cpp:
2045         (WebCore::HTMLIFrameElement::HTMLIFrameElement):
2046         (WebCore::HTMLIFrameElement::isPresentationAttribute):
2047         (WebCore::HTMLIFrameElement::parseAttribute):
2048         * html/HTMLIFrameElement.h:
2049         * html/HTMLIFrameElement.idl:
2050         * loader/FrameLoader.cpp:
2051         (WebCore::FrameLoader::findFrameForNavigation):
2052         * page/FrameView.cpp:
2053         (WebCore::FrameView::calculateScrollbarModesForLayout):
2054         (WebCore::FrameView::isInChildFrameWithFrameFlattening):
2055         * page/Location.cpp:
2056         (WebCore::Location::setLocation):
2057         * rendering/RenderBox.h:
2058         (WebCore::RenderBox::stretchesToViewport):
2059         * rendering/RenderIFrame.cpp:
2060         (WebCore::RenderIFrame::shouldComputeSizeAsReplaced):
2061         (WebCore::RenderIFrame::isInlineBlockOrInlineTable):
2062         (WebCore::RenderIFrame::flattenFrame):
2063         (WebCore::RenderIFrame::layout):
2064         * rendering/RenderIFrame.h:
2065         * rendering/RenderView.cpp:
2066         (WebCore::RenderView::initializeLayoutState):
2067         (WebCore::RenderView::layout):
2068         * rendering/RenderView.h:
2069         * style/StyleResolveForDocument.cpp:
2070         (WebCore::Style::resolveForDocument):
2071         * style/StyleResolveTree.cpp:
2072         (WebCore::Style::resolveTree):
2073
2074 2014-02-04  Tim Horton  <timothy_horton@apple.com>
2075
2076         [iOS][wk2] Make development builds of WebKit work on device
2077         https://bugs.webkit.org/show_bug.cgi?id=128230
2078
2079         Reviewed by Anders Carlsson.
2080
2081         * platform/RuntimeApplicationChecksIOS.mm:
2082         (WebCore::applicationIsWebProcess):
2083         Add WebContent.Development as an additional name for the WebContent process.
2084
2085 2014-02-04  Brady Eidson  <beidson@apple.com>
2086
2087         IDB: indexeddb/mozilla/add-twice-failure.html fails
2088         <rdar://problem/15982569> and https://bugs.webkit.org/show_bug.cgi?id=128208
2089
2090         Reviewed by Tim Horton.
2091
2092         Covered specifically by indexeddb/mozilla/add-twice-failure.html and a handful of others.
2093
2094         * Modules/indexeddb/IDBRequest.cpp:
2095         (WebCore::IDBRequest::onError): Improve logging.
2096
2097         * Modules/indexeddb/IDBTransactionBackend.cpp:
2098         (WebCore::IDBTransactionBackend::abort): Improve logging.
2099
2100         * Modules/indexeddb/IDBTransactionBackendOperations.cpp:
2101         (WebCore::PutOperation::perform): Don’t abort the transaction when an error occurred.
2102
2103         * WebCore.exp.in:
2104
2105 2014-02-04  Yoav Weiss  <yoav@yoav.ws>
2106
2107         Use srcset's pixel density to determine intrinsic size
2108         https://bugs.webkit.org/show_bug.cgi?id=123832
2109
2110         Reviewed by Dean Jackson.
2111
2112         The patch is a port of a similar Blink patch: https://codereview.chromium.org/25105004
2113         According to the spec "When an img element has a current pixel density that is not 1.0,
2114         the element's image data must be treated as if its resolution, in device pixels per CSS pixels,
2115         was the current pixel density."
2116
2117         I've added that support using the following changes:
2118         - bestFitSourceForImageAttributes now returns the image candidate to HTMLImageElement.
2119         - HTMLImageElement passes the devicePixelRatio data to RenderImage, which stores it.
2120         - Bitmap images are scaled using the devicePixelRatio at RenderImageResource's intrinsicSize() and imageSize().
2121         - SVG images are scaled using the devicePixelRatio at RenderReplaced::computeAspectRatioInformationForRenderBox.
2122         - Canvas support added at CanvasRenderingContext2D::size.
2123
2124         Tests: fast/hidpi/image-srcset-intrinsic-size.html
2125                fast/hidpi/image-srcset-png-canvas.html
2126                fast/hidpi/image-srcset-png.html
2127                fast/hidpi/image-srcset-relative-svg-canvas-2x.html
2128                fast/hidpi/image-srcset-relative-svg.html
2129                fast/hidpi/image-srcset-space-left-nomodifier.html
2130                fast/hidpi/image-srcset-svg-canvas-2x.html
2131                fast/hidpi/image-srcset-svg-canvas.html
2132                fast/hidpi/image-srcset-svg.html
2133                fast/hidpi/image-srcset-svg2.html
2134
2135         * html/HTMLImageElement.cpp:
2136         (WebCore::HTMLImageElement::HTMLImageElement):
2137         (WebCore::HTMLImageElement::parseAttribute):
2138         (WebCore::HTMLImageElement::createRenderer):
2139         * html/HTMLImageElement.h:
2140         * html/canvas/CanvasRenderingContext2D.cpp:
2141         (WebCore::size):
2142         (WebCore::CanvasRenderingContext2D::drawImage):
2143         * html/parser/HTMLParserIdioms.cpp:
2144         (WebCore::compareByScaleFactor):
2145         (WebCore::parseImagesWithScaleFromSrcsetAttribute):
2146         (WebCore::bestFitSourceForImageAttributes):
2147         * html/parser/HTMLParserIdioms.h:
2148         (WebCore::ImageWithScale::ImageWithScale):
2149         (WebCore::ImageWithScale::imageURL):
2150         (WebCore::ImageWithScale::scaleFactor):
2151         * html/parser/HTMLPreloadScanner.cpp:
2152         (WebCore::TokenPreloadScanner::StartTagScanner::processAttributes):
2153         * rendering/RenderImage.cpp:
2154         (WebCore::RenderImage::RenderImage):
2155         * rendering/RenderImage.h:
2156         (WebCore::RenderImage::setImageDevicePixelRatio):
2157         (WebCore::RenderImage::imageDevicePixelRatio):
2158         * rendering/RenderImageResource.cpp:
2159         (WebCore::RenderImageResource::imageSize):
2160         (WebCore::RenderImageResource::intrinsicSize):
2161         (WebCore::RenderImageResource::getImageSize):
2162         * rendering/RenderImageResource.h:
2163         * rendering/RenderReplaced.cpp:
2164         (WebCore::RenderReplaced::computeAspectRatioInformationForRenderBox):
2165
2166 2014-02-04  Geoffrey Garen  <ggaren@apple.com>
2167
2168         Rolled out <http://trac.webkit.org/changeset/163280>:
2169
2170             Push DOM attributes into the prototype chain
2171             ​https://bugs.webkit.org/show_bug.cgi?id=127969
2172
2173         It caused performance regressions, and broken websites on iOS.
2174
2175         Reviewed by Geoffrey Garen.
2176
2177         * bindings/js/JSDOMBinding.h:
2178         (WebCore::getStaticValueSlotEntryWithoutCaching):
2179         * bindings/js/JSStorageCustom.cpp:
2180         (WebCore::JSStorage::nameGetter):
2181         (WebCore::JSStorage::deleteProperty):
2182         (WebCore::JSStorage::putDelegate):
2183         * bindings/scripts/CodeGeneratorJS.pm:
2184         (GenerateGetOwnPropertySlotBody):
2185         (InstanceOverridesGetOwnPropertySlot):
2186         (PrototypeOverridesGetOwnPropertySlot):
2187         (GenerateAttributesHashTable):
2188         (GenerateImplementation):
2189         * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
2190         (WebCore::jsTestActiveDOMObjectConstructor):
2191         * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
2192         (WebCore::jsTestCustomNamedGetterConstructor):
2193         * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
2194         (WebCore::JSTestEventConstructor::getOwnPropertySlot):
2195         (WebCore::jsTestEventConstructorConstructor):
2196         * bindings/scripts/test/JS/JSTestEventConstructor.h:
2197         * bindings/scripts/test/JS/JSTestEventTarget.cpp:
2198         (WebCore::jsTestEventTargetConstructor):
2199         * bindings/scripts/test/JS/JSTestException.cpp:
2200         (WebCore::jsTestExceptionConstructor):
2201         * bindings/scripts/test/JS/JSTestException.h:
2202         * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
2203         (WebCore::JSTestGenerateIsReachable::getOwnPropertySlot):
2204         (WebCore::jsTestGenerateIsReachableConstructor):
2205         * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
2206         * bindings/scripts/test/JS/JSTestInterface.cpp:
2207         (WebCore::jsTestInterfaceConstructor):
2208         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
2209         (WebCore::JSTestMediaQueryListListenerPrototype::getOwnPropertySlot):
2210         (WebCore::JSTestMediaQueryListListener::getOwnPropertySlot):
2211         (WebCore::jsTestMediaQueryListListenerConstructor):
2212         * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
2213         (WebCore::JSTestNamedConstructor::getOwnPropertySlot):
2214         (WebCore::jsTestNamedConstructorConstructor):
2215         * bindings/scripts/test/JS/JSTestNamedConstructor.h:
2216         * bindings/scripts/test/JS/JSTestNode.cpp:
2217         (WebCore::JSTestNode::getOwnPropertySlot):
2218         (WebCore::jsTestNodeConstructor):
2219         * bindings/scripts/test/JS/JSTestNode.h:
2220         * bindings/scripts/test/JS/JSTestObj.cpp:
2221         (WebCore::jsTestObjConstructor):
2222         * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
2223         (WebCore::JSTestOverloadedConstructors::getOwnPropertySlot):
2224         (WebCore::jsTestOverloadedConstructorsConstructor):
2225         * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
2226         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
2227         (WebCore::JSTestSerializedScriptValueInterface::getOwnPropertySlot):
2228         (WebCore::jsTestSerializedScriptValueInterfaceConstructor):
2229         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
2230         * bindings/scripts/test/JS/JSTestTypedefs.cpp:
2231         (WebCore::JSTestTypedefsPrototype::getOwnPropertySlot):
2232         (WebCore::jsTestTypedefsConstructor):
2233         * bindings/scripts/test/JS/JSattribute.cpp:
2234         (WebCore::JSattribute::getOwnPropertySlot):
2235         (WebCore::jsattributeConstructor):
2236         * bindings/scripts/test/JS/JSattribute.h:
2237         * bindings/scripts/test/JS/JSreadonly.cpp:
2238         (WebCore::JSreadonly::getOwnPropertySlot):
2239         (WebCore::jsreadonlyConstructor):
2240         * bindings/scripts/test/JS/JSreadonly.h:
2241
2242 2014-02-04  Alexey Proskuryakov  <ap@apple.com>
2243
2244         WebCrypto HMAC verification uses a non-constant-time memcmp
2245         https://bugs.webkit.org/show_bug.cgi?id=128198
2246         <rdar://problem/15976961>
2247
2248         Reviewed by Oliver Hunt.
2249
2250         * crypto/mac/CryptoAlgorithmHMACMac.cpp: (WebCore::CryptoAlgorithmHMAC::platformVerify):
2251         Use a constant time memcmp.
2252
2253 2014-02-04  Simon Fraser  <simon.fraser@apple.com>
2254
2255         Add WK2 event handling path for iOS, and make Mac and iOS code more similar
2256         https://bugs.webkit.org/show_bug.cgi?id=128199
2257
2258         Reviewed by Sam Weinig.
2259
2260         EventHandlerIOS need some changes for WebKit2, where we have no native
2261         widget. Merge those changes from EventHandlerMac.
2262         
2263         Make a few drive-by changes to match EventHandlerMac behavior.
2264         
2265         Clean up EventHandlerMac, removing trailing whitespace and fixing
2266         the odd comment.
2267
2268         * page/ios/EventHandlerIOS.mm:
2269         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
2270         (WebCore::EventHandler::passMouseDownEventToWidget):
2271         (WebCore::EventHandler::passSubframeEventToSubframe):
2272         (WebCore::EventHandler::passWheelEventToWidget):
2273         (WebCore::EventHandler::mouseDown):
2274         (WebCore::EventHandler::mouseMoved):
2275         (WebCore::frameHasPlatformWidget):
2276         (WebCore::EventHandler::passMousePressEventToSubframe):
2277         (WebCore::EventHandler::passMouseMoveEventToSubframe):
2278         (WebCore::EventHandler::passMouseReleaseEventToSubframe):
2279         * page/mac/EventHandlerMac.mm:
2280         (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
2281         (WebCore::EventHandler::passMouseDownEventToWidget):
2282         (WebCore::findViewInSubviews):
2283         (WebCore::EventHandler::eventLoopHandleMouseUp):
2284         (WebCore::EventHandler::passWheelEventToWidget):
2285         (WebCore::EventHandler::mouseMoved):
2286
2287 2014-02-04  Benjamin Poulain  <bpoulain@apple.com>
2288
2289         [OSX] Limit progress bar's dimensions to ushort
2290         https://bugs.webkit.org/show_bug.cgi?id=128019
2291
2292         Wordaround a crash in Quartz until <rdar://problem/15855086> is fixed.
2293
2294         Reviewed by Sam Weinig.
2295
2296         * rendering/RenderThemeMac.mm:
2297         (WebCore::RenderThemeMac::progressBarRectForBounds):
2298
2299 2014-02-04  Anders Carlsson  <andersca@apple.com>
2300
2301         Rename StringImpl::getCharacters to StringImpl::characters
2302         https://bugs.webkit.org/show_bug.cgi?id=128205
2303
2304         Reviewed by Antti Koivisto.
2305
2306         Update for WTF changes.
2307
2308         * rendering/SimpleLineLayout.cpp:
2309         (WebCore::SimpleLineLayout::createTextRuns):
2310
2311 2014-02-04  Anders Carlsson  <andersca@apple.com>
2312
2313         Rename equalNonNull to equal and make it take const StringImpl& instead
2314         https://bugs.webkit.org/show_bug.cgi?id=128206
2315
2316         Reviewed by Andreas Kling.
2317
2318         * html/parser/HTMLParserIdioms.cpp:
2319         (WebCore::threadSafeEqual):
2320         (WebCore::threadSafeMatch):
2321
2322 2014-02-04  Anders Carlsson  <andersca@apple.com>
2323
2324         Rename String::getCharacters to String::characters
2325         https://bugs.webkit.org/show_bug.cgi?id=128196
2326
2327         Reviewed by Andreas Kling.
2328
2329         Update for WTF::String changes.
2330
2331         * dom/Document.cpp:
2332         (WebCore::canonicalizedTitle):
2333
2334 2014-02-04  Eric Carlson  <eric.carlson@apple.com>
2335
2336         Fix Release build after r163390.
2337
2338         * platform/audio/MediaSession.cpp: Add "#if !LOG_DISABLED" around logging-only function.
2339
2340 2014-02-04  Eric Carlson  <eric.carlson@apple.com>
2341
2342         Refine MediaSession interruptions
2343         https://bugs.webkit.org/show_bug.cgi?id=128125
2344
2345         Reviewed by Jer Noble.
2346
2347         Test: media/video-background-playback.html
2348
2349         * WebCore.exp.in: Export applicationWillEnterForeground and applicationWillEnterBackground for
2350             Internals.
2351
2352         * html/HTMLMediaElement.cpp:
2353         (WebCore::HTMLMediaElement::play): Ask the media session if playback is allowed instead of check
2354             to see if it is interrupted directly.
2355         (WebCore::HTMLMediaElement::pause): Ask the media session if pausing is allowed instead of check
2356             to see if it is interrupted directly.
2357         (WebCore::HTMLMediaElement::mediaType): Return media type based on media characteristics once
2358             the information is available.
2359         (WebCore::HTMLMediaElement::resumePlayback): New.
2360         * html/HTMLMediaElement.h:
2361
2362         * html/HTMLMediaSession.cpp:
2363         (WebCore::restrictionName): New, use for logging only.
2364         (WebCore::HTMLMediaSession::addBehaviorRestriction): Log  restriction changes.
2365         (WebCore::HTMLMediaSession::removeBehaviorRestriction): Ditto.
2366         * html/HTMLMediaSession.h:
2367
2368         * platform/audio/MediaSession.cpp:
2369         (WebCore::stateName): New, used for logging.
2370         (WebCore::MediaSession::MediaSession): Don't cache client media type because it can change.
2371         (WebCore::MediaSession::setState): Log state changes.
2372         (WebCore::MediaSession::beginInterruption): Remember the current state in case we want to use it
2373             to restore state when the interruption ends.
2374         (WebCore::MediaSession::endInterruption): Resume playback if appropriate.
2375         (WebCore::MediaSession::clientWillBeginPlayback): Track the client's playback state.
2376         (WebCore::MediaSession::clientWillPausePlayback): Ditto.
2377         (WebCore::MediaSession::mediaType): Ask client for state.
2378         * platform/audio/MediaSession.h:
2379
2380         * platform/audio/MediaSessionManager.cpp:
2381         (WebCore::MediaSessionManager::MediaSessionManager): m_interruptions -> m_interrupted.
2382         (WebCore::MediaSessionManager::beginInterruption): Don't assume interruptions are always balanced.
2383         (WebCore::MediaSessionManager::endInterruption): Ditto.
2384         (WebCore::MediaSessionManager::addSession): 
2385         (WebCore::MediaSessionManager::applicationWillEnterBackground): Interrupt client if it is not
2386             allowed to play in the background.
2387         (WebCore::MediaSessionManager::applicationWillEnterForeground): End client interruption if it
2388             was stopped by an interruption.
2389         * platform/audio/MediaSessionManager.h:
2390
2391         * platform/audio/ios/MediaSessionManagerIOS.h:
2392         * platform/audio/ios/MediaSessionManagerIOS.mm:
2393         (WebCore::MediaSessionManageriOS::~MediaSessionManageriOS): Clear the helper callback.
2394         (WebCore::MediaSessionManageriOS::resetRestrictions): Mark video as not allowed to play
2395             while the application is in the background. Register for application suspend/resume
2396             notifications.
2397         (-[WebMediaSessionHelper clearCallback]): Set _callback to nil.
2398         (-[WebMediaSessionHelper applicationWillEnterForeground:]): New, notify client of application 
2399             state change.
2400         (-[WebMediaSessionHelper applicationWillResignActive:]): Ditto.
2401
2402         * platform/audio/mac/AudioDestinationMac.h: Add resumePlayback.
2403
2404         * testing/Internals.cpp:
2405         (WebCore::Internals::applicationWillEnterForeground): New, simulate application context switch.
2406         (WebCore::Internals::applicationWillEnterBackground): Ditto.
2407         (WebCore::Internals::setMediaSessionRestrictions): Add "BackgroundPlaybackNotPermitted" restriction.
2408         * testing/Internals.h:
2409         * testing/Internals.idl:
2410
2411 2014-02-04  Andreas Kling  <akling@apple.com>
2412
2413         Remove CPP bindings generator.
2414         <https://webkit.org/b/128189>
2415
2416         Scrub out some leftover Blackberry gunk.
2417
2418         Reviewed by Anders Carlsson.
2419
2420         * Modules/webdatabase/SQLResultSet.idl:
2421         * bindings/cpp/WebDOMCString.cpp: Removed.
2422         * bindings/cpp/WebDOMCString.h: Removed.
2423         * bindings/cpp/WebDOMDOMWindowCustom.cpp: Removed.
2424         * bindings/cpp/WebDOMEventListenerCustom.cpp: Removed.
2425         * bindings/cpp/WebDOMEventTarget.cpp: Removed.
2426         * bindings/cpp/WebDOMEventTarget.h: Removed.
2427         * bindings/cpp/WebDOMHTMLCollectionCustom.cpp: Removed.
2428         * bindings/cpp/WebDOMHTMLDocumentCustom.cpp: Removed.
2429         * bindings/cpp/WebDOMHTMLOptionsCollectionCustom.cpp: Removed.
2430         * bindings/cpp/WebDOMNodeCustom.cpp: Removed.
2431         * bindings/cpp/WebDOMNodeFilterCustom.cpp: Removed.
2432         * bindings/cpp/WebDOMObject.h: Removed.
2433         * bindings/cpp/WebDOMString.cpp: Removed.
2434         * bindings/cpp/WebDOMString.h: Removed.
2435         * bindings/cpp/WebExceptionHandler.cpp: Removed.
2436         * bindings/cpp/WebExceptionHandler.h: Removed.
2437         * bindings/cpp/WebNativeEventListener.cpp: Removed.
2438         * bindings/cpp/WebNativeEventListener.h: Removed.
2439         * bindings/cpp/WebNativeNodeFilterCondition.cpp: Removed.
2440         * bindings/cpp/WebNativeNodeFilterCondition.h: Removed.
2441         * bindings/scripts/CodeGeneratorCPP.pm: Removed.
2442         * bindings/scripts/test/CPP/CPPTestSupplemental.cpp: Removed.
2443         * bindings/scripts/test/CPP/CPPTestSupplemental.h: Removed.
2444         * bindings/scripts/test/CPP/WebDOMFloat64Array.cpp: Removed.
2445         * bindings/scripts/test/CPP/WebDOMFloat64Array.h: Removed.
2446         * bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.cpp: Removed.
2447         * bindings/scripts/test/CPP/WebDOMTestActiveDOMObject.h: Removed.
2448         * bindings/scripts/test/CPP/WebDOMTestCallback.cpp: Removed.
2449         * bindings/scripts/test/CPP/WebDOMTestCallback.h: Removed.
2450         * bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.cpp: Removed.
2451         * bindings/scripts/test/CPP/WebDOMTestCustomNamedGetter.h: Removed.
2452         * bindings/scripts/test/CPP/WebDOMTestEventConstructor.cpp: Removed.
2453         * bindings/scripts/test/CPP/WebDOMTestEventConstructor.h: Removed.
2454         * bindings/scripts/test/CPP/WebDOMTestEventTarget.cpp: Removed.
2455         * bindings/scripts/test/CPP/WebDOMTestEventTarget.h: Removed.
2456         * bindings/scripts/test/CPP/WebDOMTestException.cpp: Removed.
2457         * bindings/scripts/test/CPP/WebDOMTestException.h: Removed.
2458         * bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.cpp: Removed.
2459         * bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.h: Removed.
2460         * bindings/scripts/test/CPP/WebDOMTestImplements.cpp: Removed.
2461         * bindings/scripts/test/CPP/WebDOMTestImplements.h: Removed.
2462         * bindings/scripts/test/CPP/WebDOMTestInterface.cpp: Removed.
2463         * bindings/scripts/test/CPP/WebDOMTestInterface.h: Removed.
2464         * bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.cpp: Removed.
2465         * bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.h: Removed.
2466         * bindings/scripts/test/CPP/WebDOMTestNamedConstructor.cpp: Removed.
2467         * bindings/scripts/test/CPP/WebDOMTestNamedConstructor.h: Removed.
2468         * bindings/scripts/test/CPP/WebDOMTestNode.cpp: Removed.
2469         * bindings/scripts/test/CPP/WebDOMTestNode.h: Removed.
2470         * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Removed.
2471         * bindings/scripts/test/CPP/WebDOMTestObj.h: Removed.
2472         * bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.cpp: Removed.
2473         * bindings/scripts/test/CPP/WebDOMTestOverloadedConstructors.h: Removed.
2474         * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.cpp: Removed.
2475         * bindings/scripts/test/CPP/WebDOMTestSerializedScriptValueInterface.h: Removed.
2476         * bindings/scripts/test/CPP/WebDOMTestSupplemental.cpp: Removed.
2477         * bindings/scripts/test/CPP/WebDOMTestSupplemental.h: Removed.
2478         * bindings/scripts/test/CPP/WebDOMTestTypedefs.cpp: Removed.
2479         * bindings/scripts/test/CPP/WebDOMTestTypedefs.h: Removed.
2480         * bindings/scripts/test/CPP/WebDOMattribute.cpp: Removed.
2481         * bindings/scripts/test/CPP/WebDOMattribute.h: Removed.
2482         * bindings/scripts/test/CPP/WebDOMreadonly.cpp: Removed.
2483         * bindings/scripts/test/CPP/WebDOMreadonly.h: Removed.
2484         * css/StyleSheet.idl:
2485         * dom/CustomEvent.idl:
2486         * dom/Document.idl:
2487         * dom/Event.idl:
2488         * dom/Node.idl:
2489         * dom/PopStateEvent.idl:
2490         * html/HTMLCanvasElement.idl:
2491         * html/HTMLInputElement.idl:
2492         * html/canvas/CanvasRenderingContext2D.idl:
2493         * page/DOMWindow.idl:
2494         * page/Location.idl:
2495         * workers/DedicatedWorkerGlobalScope.idl:
2496
2497 2014-02-04  Dan Bernstein  <mitz@apple.com>
2498
2499         iOS build fix.
2500
2501         * platform/graphics/cg/GraphicsContextCG.cpp:
2502         (WebCore::GraphicsContext::platformInit):
2503
2504 2014-02-03  Zan Dobersek  <zdobersek@igalia.com>
2505
2506         Manage MediaQuery and MediaQueryExp classes through std::unique_ptr instead of OwnPtr
2507         https://bugs.webkit.org/show_bug.cgi?id=128117
2508
2509         Reviewed by Darin Adler.
2510
2511         Replace uses of OwnPtr for the MediaQuery and MediaQueryExp classes with std::unique_ptr.
2512
2513         * css/CSSGrammar.y.in:
2514         * css/CSSParser.cpp:
2515         (WebCore::CSSParser::parseMediaQuery):
2516         * css/CSSParser.h:
2517         * css/MediaList.cpp:
2518         (WebCore::MediaQuerySet::parse):
2519         (WebCore::MediaQuerySet::add):
2520         (WebCore::MediaQuerySet::remove):
2521         (WebCore::MediaQuerySet::addMediaQuery):
2522         (WebCore::MediaList::item):
2523         (WebCore::reportMediaQueryWarningIfNeeded):
2524         * css/MediaList.h:
2525         (WebCore::MediaQuerySet::queryVector):
2526         * css/MediaQuery.cpp:
2527         (WebCore::MediaQuery::MediaQuery):
2528         * css/MediaQuery.h:
2529         (WebCore::MediaQuery::expressions):
2530         (WebCore::MediaQuery::copy):
2531         * css/MediaQueryEvaluator.cpp:
2532         (WebCore::MediaQueryEvaluator::eval):
2533         * css/MediaQueryExp.cpp:
2534         (WebCore::MediaQueryExp::MediaQueryExp):
2535         * css/MediaQueryExp.h:
2536         (WebCore::MediaQueryExp::copy):
2537
2538 2014-02-04  Tamas Gergely  <tgergely.u-szeged@partner.samsung.com>
2539
2540         Remove SVG_DOM_OBJC_BINDINGS after r161638.
2541         https://bugs.webkit.org/show_bug.cgi?id=128182
2542
2543         Reviewed by Andreas Kling.
2544
2545         Removed ENABLE(SVG_DOM_OBJC_BINDINGS).
2546
2547         No tests required.
2548
2549         * bindings/objc/DOMUIKitExtensions.mm:
2550         (-[DOMNode boundingBoxes]):
2551         (-[DOMNode absoluteQuads]):
2552
2553 2014-02-04  Radu Stavila  <stavila@adobe.com>
2554
2555         REGRESSION (r159609): Images are corrupted when hovering over buttons @ github.com
2556         https://bugs.webkit.org/show_bug.cgi?id=127729
2557
2558         Reviewed by Antti Koivisto.
2559
2560         When clipping a rect, the RenderLayer would not properly save the context when
2561         the clipping rect is the same as the paint rect and the clipping rect
2562         has radius.
2563
2564         Test: fast/regions/repaint/hover-border-radius.html
2565
2566         * rendering/RenderLayer.cpp:
2567         (WebCore::RenderLayer::clipToRect):
2568         (WebCore::RenderLayer::restoreClip):
2569
2570 2014-02-04  Ryuan Choi  <ryuan.choi@samsung.com>
2571
2572         [CMAKE] Remove workaround for GCC 4.6
2573         https://bugs.webkit.org/show_bug.cgi?id=128176
2574
2575         Reviewed by Csaba Osztrogonác.
2576
2577         Since r162126, WebKit requires at least 4.7.
2578
2579         * CMakeLists.txt:
2580
2581 2014-02-04  Zan Dobersek  <zdobersek@igalia.com>
2582
2583         Manage RuleSet and RuleData classes through std::unique_ptr instead of OwnPtr
2584         https://bugs.webkit.org/show_bug.cgi?id=128116
2585
2586         Reviewed by Darin Adler.
2587
2588         Replace uses of OwnPtr for the RuleSet and RuleData classes with std::unique_ptr.
2589
2590         * css/CSSDefaultStyleSheets.cpp:
2591         (WebCore::CSSDefaultStyleSheets::loadFullDefaultStyle):
2592         (WebCore::CSSDefaultStyleSheets::loadSimpleDefaultStyle):
2593         (WebCore::CSSDefaultStyleSheets::viewSourceStyle):
2594         * css/DocumentRuleSets.cpp:
2595         (WebCore::DocumentRuleSets::initUserStyle):
2596         (WebCore::makeRuleSet):
2597         (WebCore::DocumentRuleSets::resetAuthorStyle):
2598         * css/DocumentRuleSets.h:
2599         * css/RuleSet.cpp:
2600         (WebCore::RuleSet::addToRuleSet):
2601         (WebCore::RuleSet::addRegionRule):
2602         * css/RuleSet.h:
2603         (WebCore::RuleSet::RuleSetSelectorPair::RuleSetSelectorPair):
2604
2605 2014-02-04  Commit Queue  <commit-queue@webkit.org>
2606
2607         Unreviewed, rolling out r163376.
2608         http://trac.webkit.org/changeset/163376
2609         https://bugs.webkit.org/show_bug.cgi?id=128184
2610
2611         Unexpected test failures. (Requested by eric_carlson on
2612         #webkit).
2613
2614         * WebCore.exp.in:
2615         * html/HTMLMediaElement.cpp:
2616         (WebCore::HTMLMediaElement::parseAttribute):
2617         * html/HTMLMediaElement.h:
2618         * html/HTMLMediaSession.cpp:
2619         (WebCore::HTMLMediaSession::addBehaviorRestriction):
2620         (WebCore::HTMLMediaSession::removeBehaviorRestriction):
2621         (WebCore::HTMLMediaSession::clientWillBeginPlayback):
2622         * html/HTMLMediaSession.h:
2623         * platform/audio/MediaSession.cpp:
2624         (WebCore::MediaSession::MediaSession):
2625         (WebCore::MediaSession::beginInterruption):
2626         (WebCore::MediaSession::endInterruption):
2627         * platform/audio/MediaSession.h:
2628         (WebCore::MediaSession::mediaType):
2629         (WebCore::MediaSession::setState):
2630         (WebCore::MediaSessionClient::beginInterruption):
2631         (WebCore::MediaSessionClient::endInterruption):
2632         * platform/audio/MediaSessionManager.cpp:
2633         (WebCore::MediaSessionManager::MediaSessionManager):
2634         (WebCore::MediaSessionManager::beginInterruption):
2635         (WebCore::MediaSessionManager::endInterruption):
2636         (WebCore::MediaSessionManager::addSession):
2637         * platform/audio/MediaSessionManager.h:
2638         * platform/audio/ios/MediaSessionManagerIOS.h:
2639         (WebCore::MediaSessionManageriOS::~MediaSessionManageriOS):
2640         * platform/audio/ios/MediaSessionManagerIOS.mm:
2641         (WebCore::MediaSessionManageriOS::resetRestrictions):
2642         (-[WebMediaSessionHelper initWithCallback:]):
2643         * platform/audio/mac/AudioDestinationMac.h:
2644         * testing/Internals.cpp:
2645         (WebCore::Internals::setMediaSessionRestrictions):
2646         * testing/Internals.h:
2647         * testing/Internals.idl:
2648
2649 2014-02-04  Eric Carlson  <eric.carlson@apple.com>
2650
2651         Refine MediaSession interruptions
2652         https://bugs.webkit.org/show_bug.cgi?id=128125
2653
2654         Reviewed by Jer Noble.
2655
2656         Test: media/video-background-playback.html
2657
2658         * WebCore.exp.in: Export applicationWillEnterForeground and applicationWillEnterBackground for
2659             Internals.
2660
2661         * html/HTMLMediaElement.cpp:
2662         (WebCore::HTMLMediaElement::play): Ask the media session if playback is allowed instead of check
2663             to see if it is interrupted directly.
2664         (WebCore::HTMLMediaElement::pause): Ask the media session if pausing is allowed instead of check
2665             to see if it is interrupted directly.
2666         (WebCore::HTMLMediaElement::mediaType): Return media type based on media characteristics once
2667             the information is available.
2668         (WebCore::HTMLMediaElement::resumePlayback): New.
2669         * html/HTMLMediaElement.h:
2670
2671         * html/HTMLMediaSession.cpp:
2672         (WebCore::restrictionName): New, use for logging only.
2673         (WebCore::HTMLMediaSession::addBehaviorRestriction): Log  restriction changes.
2674         (WebCore::HTMLMediaSession::removeBehaviorRestriction): Ditto.
2675         * html/HTMLMediaSession.h:
2676
2677         * platform/audio/MediaSession.cpp:
2678         (WebCore::stateName): New, used for logging.
2679         (WebCore::MediaSession::MediaSession): Don't cache client media type because it can change.
2680         (WebCore::MediaSession::setState): Log state changes.
2681         (WebCore::MediaSession::beginInterruption): Remember the current state in case we want to use it
2682             to restore state when the interruption ends.
2683         (WebCore::MediaSession::endInterruption): Resume playback if appropriate.
2684         (WebCore::MediaSession::clientWillBeginPlayback): Track the client's playback state.
2685         (WebCore::MediaSession::clientWillPausePlayback): Ditto.
2686         (WebCore::MediaSession::mediaType): Ask client for state.
2687         * platform/audio/MediaSession.h:
2688
2689         * platform/audio/MediaSessionManager.cpp:
2690         (WebCore::MediaSessionManager::MediaSessionManager): m_interruptions -> m_interrupted.
2691         (WebCore::MediaSessionManager::beginInterruption): Don't assume interruptions are always balanced.
2692         (WebCore::MediaSessionManager::endInterruption): Ditto.
2693         (WebCore::MediaSessionManager::addSession): 
2694         (WebCore::MediaSessionManager::applicationWillEnterBackground): Interrupt client if it is not
2695             allowed to play in the background.
2696         (WebCore::MediaSessionManager::applicationWillEnterForeground): End client interruption if it
2697             was stopped by an interruption.
2698         * platform/audio/MediaSessionManager.h:
2699
2700         * platform/audio/ios/MediaSessionManagerIOS.h:
2701         * platform/audio/ios/MediaSessionManagerIOS.mm:
2702         (WebCore::MediaSessionManageriOS::~MediaSessionManageriOS): Clear the helper callback.
2703         (WebCore::MediaSessionManageriOS::resetRestrictions): Mark video as not allowed to play
2704             while the application is in the background. Register for application suspend/resume
2705             notifications.
2706         (-[WebMediaSessionHelper clearCallback]): Set _callback to nil.
2707         (-[WebMediaSessionHelper applicationWillEnterForeground:]): New, notify client of application 
2708             state change.
2709         (-[WebMediaSessionHelper applicationWillResignActive:]): Ditto.
2710
2711         * platform/audio/mac/AudioDestinationMac.h: Add resumePlayback.
2712
2713         * testing/Internals.cpp:
2714         (WebCore::Internals::applicationWillEnterForeground): New, simulate application context switch.
2715         (WebCore::Internals::applicationWillEnterBackground): Ditto.
2716         (WebCore::Internals::setMediaSessionRestrictions): Add "BackgroundPlaybackNotPermitted" restriction.
2717         * testing/Internals.h:
2718         * testing/Internals.idl:
2719
2720 2014-02-04  Mihai Maerean  <mmaerean@adobe.com>
2721
2722         [CSS Regions] Fix Assert SHOULD NEVER BE REACHED in RenderLayer::enclosingElement()
2723         https://bugs.webkit.org/show_bug.cgi?id=123329
2724
2725         Reviewed by Mihnea Ovidenie.
2726
2727         The flowthread doesn't have an enclosing element, so when hitting the layer of the
2728         flowthread (e.g. the descent area of the RootInlineBox for the image flowed alone
2729         inside the flow thread) we're letting the hit testing continue so it will hit the region.
2730
2731         Tests: fast/regions/assert-hit-test-image.html
2732                fast/regions/auto-size/region-same-height-as-div-with-inline-child.html
2733
2734         * rendering/RenderLayer.cpp:
2735         (WebCore::RenderLayer::hitTestContents):
2736
2737 2014-02-04  Mihnea Ovidenie  <mihnea@adobe.com>
2738
2739         ASSERTION FAILED: !object || (object->isRenderBlock())
2740         https://bugs.webkit.org/show_bug.cgi?id=127687
2741
2742         Reviewed by Ryosuke Niwa.
2743
2744         Currently, when computing the visible position for a point inside a region,
2745         we transform the point into flow thread coordinates and delegate the processing
2746         to the first child of the flow thread which we incorrectly assume is a block.
2747         However, we can specify flow-into also on inline elements which leads to the
2748         assertion.
2749
2750         Instead of delegating the processing to the first child when the flow thread
2751         has children, delegate the computation of the visible position to the
2752         flow thread and avoid any assumption about the nature of the flow thread
2753         first child. If the flow thread does not have any children that should be
2754         rendered by the region, let the region behave like an ordinary element
2755         with no children.
2756
2757         Tests: fast/regions/selection/position-for-point-inline-content-node.html
2758                fast/regions/selection/selection-ended-in-empty-region.html
2759
2760         * rendering/RenderRegion.cpp:
2761         (WebCore::RenderRegion::positionForPoint):
2762
2763 2014-02-03  Andreas Kling  <akling@apple.com>
2764
2765         Remove stray vestige from ::-webkit-distributed selector.
2766         <https://webkit.org/b/128154>
2767
2768         Reviewed by Anders Carlsson.
2769
2770         * css/CSSSelector.cpp:
2771         (WebCore::CSSSelector::extractPseudoType):
2772
2773 2014-02-03  Andreas Kling  <akling@apple.com>
2774
2775         Remove the CSS @host rule.
2776         <https://webkit.org/b/128146>
2777
2778         The @host rule is no longer part of the spec, and besides this code
2779         was behind ENABLE(SHADOW_DOM) so nobody was building it.
2780
2781         Reviewed by Anders Carlsson.
2782
2783         * CMakeLists.txt:
2784         * DerivedSources.cpp:
2785         * DerivedSources.make:
2786         * GNUmakefile.list.am:
2787         * WebCore.vcxproj/WebCore.vcxproj:
2788         * WebCore.vcxproj/WebCore.vcxproj.filters:
2789         * WebCore.xcodeproj/project.pbxproj:
2790         * bindings/js/JSCSSRuleCustom.cpp:
2791         (WebCore::toJS):
2792         * bindings/objc/DOMCSS.mm:
2793         (kitClass):
2794         * css/CSSAllInOne.cpp:
2795         * css/CSSGrammar.y.in:
2796         * css/CSSHostRule.cpp: Removed.
2797         * css/CSSHostRule.h: Removed.
2798         * css/CSSHostRule.idl: Removed.
2799         * css/CSSParser.cpp:
2800         (WebCore::CSSParser::detectDashToken):
2801         (WebCore::CSSParser::detectAtToken):
2802         * css/CSSParser.h:
2803         * css/CSSRule.h:
2804         * css/CSSRule.idl:
2805         * css/InspectorCSSOMWrappers.cpp:
2806         (WebCore::InspectorCSSOMWrappers::collect):
2807         * css/StyleResolver.h:
2808         * css/StyleRule.cpp:
2809         (WebCore::StyleRuleBase::destroy):
2810         (WebCore::StyleRuleBase::copy):
2811         (WebCore::StyleRuleBase::createCSSOMWrapper):
2812         * css/StyleRule.h:
2813         * css/StyleSheetContents.cpp:
2814         (WebCore::childRulesHaveFailedOrCanceledSubresources):
2815         * inspector/InspectorStyleSheet.cpp:
2816         (flattenSourceData):
2817         (WebCore::asCSSRuleList):
2818
2819 2014-02-03  Zalan Bujtas  <zalan@apple.com>
2820
2821         Subpixel rendering: Do not query the scaling factor when the graphics context is invalid.
2822         https://bugs.webkit.org/show_bug.cgi?id=128131
2823
2824         Reviewed by Simon Fraser.
2825
2826         No existing context to test it.
2827
2828         * platform/graphics/GraphicsContext.h:
2829         * platform/graphics/cairo/GraphicsContextCairo.cpp:
2830         (WebCore::GraphicsContext::platformInit):
2831         * platform/graphics/cg/GraphicsContextCG.cpp:
2832         (WebCore::GraphicsContext::platformInit):
2833         * platform/graphics/wince/GraphicsContextWinCE.cpp:
2834         (WebCore::GraphicsContext::platformInit):
2835
2836 2014-02-03  Hunseop Jeong  <hs85.jeong@samsung.com>
2837
2838         [Cairo] GraphicsContext::m_pixelSnappingFactor is uninitialized
2839         https://bugs.webkit.org/show_bug.cgi?id=128102
2840
2841         Reviewed by Csaba Osztrogonác.
2842
2843         Initalize m_pixelSnappingFactor to 1
2844
2845         * platform/graphics/cairo/GraphicsContextCairo.cpp:
2846         (WebCore::GraphicsContext::GraphicsContext): Initialized pixelSnappingFactor to 1 and 
2847         fixed the coding style violation.
2848
2849 2014-02-03  Brian Burg  <bburg@apple.com>
2850
2851         Web Replay: upstream base input classes and the input cursor interface
2852         https://bugs.webkit.org/show_bug.cgi?id=128110
2853
2854         Reviewed by Joseph Pecoraro.
2855
2856         Add EventLoopInput, a base class for replay inputs that are handled
2857         as if they begin a new run loop. For example, navigations, user input,
2858         network callbacks, and asynchronous timers are modeled by inputs which
2859         derive from this base class.
2860
2861         Add the ability to set an InputCursor instance on a Document. This
2862         is the means for connecting a replay recording to a document context.
2863
2864         Add forwarding headers for some fundamental replay classes.
2865
2866         No new tests; no new functionality is exposed.
2867
2868         * ForwardingHeaders/replay/EmptyInputCursor.h: Added.
2869         * ForwardingHeaders/replay/InputCursor.h: Added.
2870         * ForwardingHeaders/replay/NondeterministicInput.h: Added.
2871         * WebCore.xcodeproj/project.pbxproj:
2872         * dom/Document.cpp:
2873         (WebCore::Document::Document):
2874         * dom/Document.h:
2875         (WebCore::Document::inputCursor):
2876         (WebCore::Document::setInputCursor):
2877         * replay/EventLoopInput.h: Added.
2878         (WebCore::ReplayPosition::ReplayPosition):
2879         (WebCore::ReplayPosition::index):
2880         (WebCore::ReplayPosition::time):
2881         (WebCore::EventLoopInputBase::EventLoopInputBase):
2882         (WebCore::EventLoopInputBase::~EventLoopInputBase):
2883         (WebCore::EventLoopInputBase::setPosition):
2884         (WebCore::EventLoopInputBase::position):
2885
2886 2014-02-03  Jinwoo Song  <jinwoo7.song@samsung.com>
2887
2888         Remove unused code in CSSParser.cpp
2889         https://bugs.webkit.org/show_bug.cgi?id=128135
2890
2891         Reviewed by Darin Adler.
2892
2893         * css/CSSParser.cpp:
2894         (WebCore::CSSParser::parseValue):
2895
2896 2014-02-03  Brent Fulgham  <bfulgham@apple.com>
2897
2898         [Mac] WK1 Clients Only Latch on Momentum Scroll
2899         https://bugs.webkit.org/show_bug.cgi?id=128133
2900
2901         Reviewed by Simon Fraser.
2902
2903         * platform/PlatformWheelEvent.h:
2904         (WebCore::PlatformWheelEvent::useLatchedEventElement): Update
2905         predicate to recognize the start and change phases of the wheel
2906         event as latchable (not just momentum start/change).
2907
2908 2014-02-03  Dean Jackson  <dino@apple.com>
2909
2910         Feature flag for shape-inside
2911         https://bugs.webkit.org/show_bug.cgi?id=128001
2912
2913         Reviewed by Simon Fraser.
2914
2915         Add CSS_SHAPE_INSIDE flag.
2916
2917         I wrapped everything that is specific to shape-inside in
2918         this flag. It is now possible to build with CSS Shapes enabled
2919         but shape-inside disabled. CSS_SHAPE_INSIDE is dependent on
2920         CSS_SHAPES, so disabling the latter should also disable the former.
2921
2922         * Configurations/FeatureDefines.xcconfig:
2923         * css/CSSComputedStyleDeclaration.cpp:
2924         (WebCore::ComputedStyleExtractor::propertyValue):
2925         * css/CSSParser.cpp:
2926         (WebCore::CSSParser::parseValue):
2927         (WebCore::CSSParser::parseShapeProperty):
2928         * css/CSSPropertyNames.in:
2929         * css/DeprecatedStyleBuilder.cpp:
2930         (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
2931         * css/StyleResolver.cpp:
2932         (WebCore::StyleResolver::applyProperty):
2933         (WebCore::StyleResolver::loadPendingImages):
2934         * page/animation/CSSPropertyAnimation.cpp:
2935         (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
2936         * rendering/LayoutState.cpp:
2937         (WebCore::LayoutState::LayoutState):
2938         * rendering/LayoutState.h:
2939         (WebCore::LayoutState::LayoutState):
2940         * rendering/RenderBlock.cpp:
2941         (WebCore::RenderBlock::styleDidChange):
2942         (WebCore::RenderBlock::updateShapesBeforeBlockLayout):
2943         (WebCore::RenderBlock::updateShapesAfterBlockLayout):
2944         * rendering/RenderBlock.h:
2945         * rendering/RenderBlockFlow.cpp:
2946         (WebCore::RenderBlockFlow::layoutBlockChild):
2947         (WebCore::RenderBlockFlow::computeLogicalLocationForFloat):
2948         * rendering/RenderBlockFlow.h:
2949         * rendering/RenderBlockLineLayout.cpp:
2950         (WebCore::RenderBlockFlow::computeInlineDirectionPositionsForLine):
2951         (WebCore::constructBidiRunsForLine):
2952         (WebCore::RenderBlockFlow::layoutRunsAndFloatsInRange):
2953         * rendering/RenderElement.cpp:
2954         (WebCore::RenderElement::~RenderElement):
2955         (WebCore::RenderElement::initializeStyle):
2956         (WebCore::RenderElement::setStyle):
2957         * rendering/RenderNamedFlowFragment.cpp:
2958         (WebCore::RenderNamedFlowFragment::createStyle):
2959         * rendering/RenderView.h:
2960         * rendering/SimpleLineLayout.cpp:
2961         (WebCore::SimpleLineLayout::canUseFor):
2962         * rendering/line/BreakingContextInlineHeaders.h:
2963         (WebCore::BreakingContext::handleText):
2964         (WebCore::BreakingContext::handleEndOfLine):
2965         * rendering/line/LineBreaker.cpp:
2966         (WebCore::LineBreaker::nextLineBreak):
2967         * rendering/line/LineWidth.cpp:
2968         (WebCore::LineWidth::LineWidth):
2969         (WebCore::LineWidth::updateAvailableWidth):
2970         (WebCore::LineWidth::fitBelowFloats):
2971         * rendering/line/LineWidth.h:
2972         * rendering/shapes/ShapeInsideInfo.cpp:
2973         * rendering/shapes/ShapeInsideInfo.h:
2974         * rendering/style/RenderStyle.cpp:
2975         (WebCore::RenderStyle::changeRequiresLayout):
2976         * rendering/style/RenderStyle.h:
2977         * rendering/style/StyleRareNonInheritedData.cpp:
2978         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
2979         (WebCore::StyleRareNonInheritedData::operator==):
2980         * rendering/style/StyleRareNonInheritedData.h:
2981
2982 2014-02-03  Radu Stavila  <stavila@adobe.com>
2983
2984         REGRESSION (r163018): Can’t scroll in <select> lists
2985         https://bugs.webkit.org/show_bug.cgi?id=128090
2986
2987         The regression was caused by the fact that a new method scrollWithWheelEventLocation() was added
2988         to RenderBox to replace the generic scroll() method for the particular case of scrolling using 
2989         the mouse wheel. This turned out to be a mistake because in the case of some elements, like select lists, 
2990         the scroll method was overriden and now the incorrect method was being called.
2991         The solution was to remove the new method and just add two default parameters to the generic
2992         scroll method.
2993
2994         Reviewed by Simon Fraser.
2995
2996         Test: fast/scrolling/scroll-select-list.html
2997
2998         * page/EventHandler.cpp:
2999         (WebCore::scrollNode):
3000         * rendering/RenderBox.cpp:
3001         (WebCore::RenderBox::scroll):
3002         * rendering/RenderBox.h:
3003         * rendering/RenderEmbeddedObject.cpp:
3004         (WebCore::RenderEmbeddedObject::scroll):
3005         * rendering/RenderEmbeddedObject.h:
3006         * rendering/RenderListBox.cpp:
3007         (WebCore::RenderListBox::scroll):
3008         * rendering/RenderListBox.h:
3009         * rendering/RenderTextControlSingleLine.cpp:
3010         (WebCore::RenderTextControlSingleLine::scroll):
3011         * rendering/RenderTextControlSingleLine.h:
3012
3013 2014-02-03  Chris Fleizach  <cfleizach@apple.com>
3014
3015         AX: WebKit should support @headers/@id for complex accessible web tables
3016         https://bugs.webkit.org/show_bug.cgi?id=128114
3017
3018         Reviewed by Darin Adler.
3019
3020         Expose the headers attribute for table cells to accessibility.
3021
3022         Test: platform/mac/accessibility/table-headers-attribute.html
3023
3024         * accessibility/AccessibilityTableCell.cpp:
3025         (WebCore::AccessibilityTableCell::columnHeaders):
3026
3027 2014-02-03  Andreas Kling  <akling@apple.com>
3028
3029         CTTE: RenderSVGGradientStop always has a SVGStopElement.
3030         <https://webkit.org/b/128107>
3031
3032         RenderSVGGradientStop is never anonymous and always has a
3033         corresponding SVGStopElement. Codify this by adding an element()
3034         overload that returns an SVGStopElement&.
3035
3036         Also added missing overrides and made most functions private.
3037
3038         Reviewed by Darin Adler.
3039
3040         * rendering/svg/RenderSVGGradientStop.cpp:
3041         (WebCore::RenderSVGGradientStop::styleDidChange):
3042         (WebCore::RenderSVGGradientStop::gradientElement):
3043         * rendering/svg/RenderSVGGradientStop.h:
3044         * rendering/svg/SVGRenderTreeAsText.cpp:
3045         (WebCore::writeSVGGradientStop):
3046
3047 2014-02-03  David Kilzer  <ddkilzer@apple.com>
3048
3049         Remove CachedImageManual class
3050         <http://webkit.org/b/128043>
3051
3052         Reviewed by Darin Adler.
3053
3054         Get rid of the CachedImageManual class by inlining its
3055         functionality into CachedImage.  This makes it possible to
3056         de-virtual-ize isManual() (renamed to isManuallyCached()) and to
3057         make CachedImage final.  The size of CachedImage does not
3058         increase because we turn an existing bool into a bitfield to add
3059         an m_isManuallyCached bit, and create a static CachedImageClient
3060         in MemoryCache.cpp as the "fake" client to keep the manually
3061         cached image alive in the cache.
3062
3063         * loader/cache/CachedImage.cpp:
3064         (WebCore::CachedImage::CachedImage): Set m_isManuallyCached
3065         bitfield.  For one overloaded constructor, move the
3066         CachedImageManual code into the CachedImage constructor.
3067         (WebCore::CachedImageManual::CachedImageManual): Remove.
3068         (WebCore::CachedImage::mustRevalidateDueToCacheHeaders): Move
3069         method from CachedImageManual to CachedImage, and put
3070         ManuallyCached behavior behind a check.
3071         * loader/cache/CachedImage.h: Update includes.  Make CachedImage
3072         final.  Add CachedImage::CacheBehaviorType enum when manually
3073         cached images are created.  Move CachedImageManual methods into
3074         CachedImage, remove addFakeClient() and removeFakeClient()
3075         methods (MemoryCache methods use addClient() and removeClient()
3076         with a static CachedImageClient), and remove the
3077         CachedImageManual class definition.  Change
3078         m_shouldPaintBrokenImage to a bitfield and add
3079         m_isManuallyCached bitfield.
3080
3081         * loader/cache/MemoryCache.cpp:
3082         (WebCore::MemoryCache::addImageToCache): Use std::unique_ptr and
3083         remove useless NULL check after calling CachedImage constructor.
3084         (WebCore::MemoryCache::removeImageFromCache):
3085         - Update to use CachedImage class instead of CachedImageManual.
3086
3087 2014-02-03  Zan Dobersek  <zdobersek@igalia.com>
3088
3089         Move the webdatabase module source code to std::unique_ptr
3090         https://bugs.webkit.org/show_bug.cgi?id=127278
3091
3092         Reviewed by Antti Koivisto.
3093
3094         Replace the majority of OwnPtr uses in the webdatabase module with std::unique_ptr.
3095         The only remaining uses are due to ScriptExecutionContext::Task subclasses.
3096
3097         * Modules/webdatabase/AbstractSQLTransactionBackend.h:
3098         * Modules/webdatabase/Database.cpp:
3099         * Modules/webdatabase/DatabaseTask.h:
3100         * Modules/webdatabase/DatabaseThread.cpp:
3101         (WebCore::DatabaseThread::DatabaseThread):
3102         * Modules/webdatabase/DatabaseThread.h:
3103         * Modules/webdatabase/DatabaseTracker.cpp:
3104         (WebCore::DatabaseTracker::addOpenDatabase):
3105         * Modules/webdatabase/DatabaseTracker.h:
3106         * Modules/webdatabase/OriginLock.cpp:
3107         * Modules/webdatabase/SQLStatement.cpp:
3108         * Modules/webdatabase/SQLStatement.h:
3109         * Modules/webdatabase/SQLStatementBackend.cpp:
3110         (WebCore::SQLStatementBackend::create):
3111         (WebCore::SQLStatementBackend::SQLStatementBackend):
3112         * Modules/webdatabase/SQLStatementBackend.h:
3113         * Modules/webdatabase/SQLTransaction.cpp:
3114         (WebCore::SQLTransaction::executeSQL):
3115         * Modules/webdatabase/SQLTransactionBackend.cpp:
3116         (WebCore::SQLTransactionBackend::doCleanup):
3117         (WebCore::SQLTransactionBackend::computeNextStateAndCleanupIfNeeded):
3118         (WebCore::SQLTransactionBackend::executeSQL):
3119         (WebCore::SQLTransactionBackend::openTransactionAndPreflight):
3120         (WebCore::SQLTransactionBackend::cleanupAfterTransactionErrorCallback):
3121         * Modules/webdatabase/SQLTransactionBackend.h:
3122         * Modules/webdatabase/SQLTransactionBackendSync.cpp:
3123         (WebCore::SQLTransactionBackendSync::SQLTransactionBackendSync):
3124         (WebCore::SQLTransactionBackendSync::begin):
3125         (WebCore::SQLTransactionBackendSync::commit):
3126         (WebCore::SQLTransactionBackendSync::rollback):
3127         * Modules/webdatabase/SQLTransactionBackendSync.h:
3128
3129 2014-02-03  Andreas Kling  <akling@apple.com>
3130
3131         CTTE: Grab bag of SVGRenderTreeAsText cleanups.
3132         <https://webkit.org/b/128099>
3133
3134         Made some of the DRT SVG functions take more specific types than
3135         RenderObject. Removed some redundant casts.
3136
3137         Reviewed by Anders Carlsson.
3138
3139         * rendering/RenderTreeAsText.cpp:
3140         (WebCore::write):
3141         * rendering/svg/SVGRenderTreeAsText.h:
3142         * rendering/svg/SVGRenderTreeAsText.cpp:
3143         (WebCore::writeSVGResourceContainer):
3144         (WebCore::writeSVGContainer):
3145
3146             Make writeSVGResourceContainer() and writeSVGContainer() take the
3147             final type instead of RenderObject.
3148
3149         (WebCore::writeStyle):
3150         (WebCore::writePositionAndStyle):
3151
3152             Make these take RenderElement instead of RenderObject.
3153
3154         (WebCore::writeChildren):
3155
3156             Use child renderer iterator.
3157
3158         (WebCore::writeResources):
3159
3160             Remove unnecessary cast.
3161
3162 2014-01-25  Darin Adler  <darin@apple.com>
3163
3164         Stop using Unicode.h
3165         https://bugs.webkit.org/show_bug.cgi?id=127633
3166
3167         Reviewed by Anders Carlsson.
3168
3169         * Modules/indexeddb/IDBKeyPath.cpp:
3170         * css/CSSFontFace.h:
3171         * css/CSSOMUtils.h:
3172         * css/CSSSegmentedFontFace.h:
3173         * css/CSSUnicodeRangeValue.h:
3174         * editing/Editor.cpp:
3175         * editing/SmartReplace.h:
3176         * html/parser/HTMLTokenizer.cpp:
3177         * loader/DocumentLoader.cpp:
3178         * page/ContextMenuController.cpp:
3179         * page/Settings.h:
3180         * platform/DateComponents.h:
3181         * platform/SharedBuffer.cpp:
3182         * platform/graphics/Color.h:
3183         * platform/graphics/FontCache.h:
3184         * platform/graphics/FontData.h:
3185         * platform/graphics/FontDescription.h:
3186         * platform/graphics/FontFastPath.cpp:
3187         * platform/graphics/FontGenericFamilies.h:
3188         * platform/graphics/FontGlyphs.cpp:
3189         * platform/graphics/GlyphMetricsMap.h:
3190         * platform/graphics/GlyphPage.h:
3191         * platform/graphics/GlyphPageTreeNode.cpp:
3192         * platform/graphics/GlyphPageTreeNode.h:
3193         * platform/graphics/SVGGlyph.cpp:
3194         * platform/graphics/WidthIterator.h:
3195         * platform/graphics/freetype/SimpleFontDataFreeType.cpp:
3196         * platform/graphics/harfbuzz/HarfBuzzShaper.cpp:
3197         * platform/graphics/mac/ComplexTextController.h:
3198         * platform/graphics/win/QTMovie.h:
3199         * platform/graphics/wince/FontWinCE.cpp:
3200         * platform/text/BidiContext.h:
3201         * platform/text/Hyphenation.h:
3202         * platform/text/LocaleToScriptMapping.h:
3203         * platform/text/TextBoundaries.cpp:
3204         * platform/text/TextBoundaries.h:
3205         * platform/text/TextBreakIterator.h:
3206         * platform/text/TextCodec.h:
3207         * platform/text/TextEncoding.h:
3208         * platform/text/TextEncodingRegistry.h:
3209         * platform/text/TextStream.h:
3210         * platform/text/icu/UTextProvider.h:
3211         * platform/text/icu/UTextProviderLatin1.h:
3212         * platform/text/icu/UTextProviderUTF16.h:
3213         * platform/text/wchar/TextBreakIteratorWchar.cpp:
3214         * platform/win/WebCoreTextRenderer.cpp:
3215         * rendering/RootInlineBox.cpp:
3216         * rendering/SimpleLineLayout.cpp:
3217         * rendering/SimpleLineLayoutFunctions.cpp:
3218         * rendering/break_lines.h:
3219         * svg/SVGFontData.cpp:
3220         Removed includes of <wtf/unicode/Unicode.h>, adding includes of
3221         ICU headers and <wtf/text/LChar.h> as needed to replace it.
3222
3223 2014-02-03  Jessie Berlin  <jberlin@apple.com>
3224
3225         Revert r163299 since it broke the ML 32-bit Release build
3226
3227         * html/HTMLAnchorElement.cpp:
3228         (WebCore::parsePortFromStringPosition):
3229         (WebCore::HTMLAnchorElement::hash):
3230         (WebCore::HTMLAnchorElement::setHash):
3231         (WebCore::HTMLAnchorElement::host):
3232         (WebCore::HTMLAnchorElement::setHost):
3233         (WebCore::HTMLAnchorElement::hostname):
3234         (WebCore::HTMLAnchorElement::setHostname):
3235         (WebCore::HTMLAnchorElement::pathname):
3236         (WebCore::HTMLAnchorElement::setPathname):
3237         (WebCore::HTMLAnchorElement::port):
3238         (WebCore::HTMLAnchorElement::setPort):
3239         (WebCore::HTMLAnchorElement::protocol):
3240         (WebCore::HTMLAnchorElement::setProtocol):
3241         (WebCore::HTMLAnchorElement::search):
3242         (WebCore::HTMLAnchorElement::origin):
3243         (WebCore::HTMLAnchorElement::setSearch):
3244         (WebCore::HTMLAnchorElement::toString):
3245         * html/HTMLAnchorElement.h:
3246         * html/HTMLAnchorElement.idl:
3247         * html/HTMLAreaElement.idl:
3248         * html/URLUtils.idl:
3249
3250 2014-02-03  Mihai Maerean  <mmaerean@adobe.com>
3251
3252         [CSS Regions] Fix selection and hover effect of content in region with overflow:hidden
3253         https://bugs.webkit.org/show_bug.cgi?id=127101
3254
3255         Reviewed by Mihnea Ovidenie.
3256
3257         RenderNamedFlowFragments are not hit candidates. The hit test algorithm will pick the
3258         parent layer, the one of the region.
3259
3260         Test: fast/regions/hover-overflow-hidden.html
3261
3262         * rendering/RenderLayer.cpp:
3263         (WebCore::isHitCandidate):
3264
3265 2014-02-02  Maciej Stachowiak  <mjs@apple.com>
3266
3267         Adopt URLUtils interface and template in HTMLAnchorElement and HTMLAreaElement
3268         https://bugs.webkit.org/show_bug.cgi?id=128067
3269
3270         Reviewed by Antti Koivisto.
3271
3272         Tests: fast/dom/HTMLAnchorElement/anchor-password.html
3273                fast/dom/HTMLAnchorElement/anchor-username.html
3274                fast/dom/HTMLAreaElement/area-password.html
3275                fast/dom/HTMLAreaElement/area-username.html
3276
3277         * html/HTMLAnchorElement.cpp:
3278         * html/HTMLAnchorElement.h:
3279         (WebCore::HTMLAnchorElement::setHref): Add version that takes
3280         (and ignores) ExceptionCode. This is needed because the URLUtil
3281         base interface is used for URL, which can throw an exception,
3282         and HTMLAnchorElement, which cannot.
3283         * html/HTMLAnchorElement.idl: implement URLUtils
3284         * html/HTMLAreaElement.idl: implement URLUtils
3285         * html/URLUtils.idl: Treat null as empty string for href
3286
3287 2014-02-03  Krzysztof Czech  <k.czech@samsung.com>
3288
3289         [ATK] Expose aria-controls through ATK_RELATION_CONTROLLER_FOR
3290         https://bugs.webkit.org/show_bug.cgi?id=127908
3291
3292         Reviewed by Chris Fleizach.
3293
3294         Based on w3c, aria-controls could be exposed through ATK_RELATION_CONTROLLER_FOR.
3295
3296         Test: accessibility/aria-controls.html
3297
3298         * accessibility/AccessibilityObject.h:
3299         (WebCore::AccessibilityObject::supportsARIAControls):
3300         (WebCore::AccessibilityObject::ariaControlsElements):
3301         * accessibility/AccessibilityRenderObject.cpp:
3302         (WebCore::AccessibilityRenderObject::supportsARIAFlowTo):
3303         (WebCore::AccessibilityRenderObject::supportsARIAControls):
3304         (WebCore::AccessibilityRenderObject::ariaControlsElements):
3305         * accessibility/AccessibilityRenderObject.h:
3306         * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
3307         (setAtkRelationSetFromCoreObject):
3308
3309 2014-02-03  Andreas Kling  <akling@apple.com>
3310
3311         RenderSVGResource::removeClientFromCache() should take RenderElement&.
3312         <https://webkit.org/b/128097>
3313
3314         Text renderers never have resources associated with them.
3315         This is yet another step towards enforcing that at compile-time
3316         by making all the resource cache interfaces deal in RenderElement.
3317
3318         Also marked the RenderSVGResourceSolidColor class final.
3319
3320         Reviewed by Darin Adler.
3321
3322         * rendering/svg/RenderSVGResource.cpp:
3323         (WebCore::removeFromCacheAndInvalidateDependencies):
3324         (WebCore::RenderSVGResource::markForLayoutAndParentResourceInvalidation):
3325         * rendering/svg/RenderSVGResource.h:
3326         * rendering/svg/RenderSVGResourceClipper.cpp:
3327         (WebCore::RenderSVGResourceClipper::removeClientFromCache):
3328         * rendering/svg/RenderSVGResourceClipper.h:
3329         * rendering/svg/RenderSVGResourceFilter.cpp:
3330         (WebCore::RenderSVGResourceFilter::removeClientFromCache):
3331         * rendering/svg/RenderSVGResourceFilter.h:
3332         * rendering/svg/RenderSVGResourceGradient.cpp:
3333         (WebCore::RenderSVGResourceGradient::removeClientFromCache):
3334         * rendering/svg/RenderSVGResourceGradient.h:
3335         * rendering/svg/RenderSVGResourceMarker.cpp:
3336         (WebCore::RenderSVGResourceMarker::removeClientFromCache):
3337         * rendering/svg/RenderSVGResourceMarker.h:
3338         * rendering/svg/RenderSVGResourceMasker.cpp:
3339         (WebCore::RenderSVGResourceMasker::removeClientFromCache):
3340         * rendering/svg/RenderSVGResourceMasker.h:
3341         * rendering/svg/RenderSVGResourcePattern.cpp:
3342         (WebCore::RenderSVGResourcePattern::removeClientFromCache):
3343         * rendering/svg/RenderSVGResourcePattern.h:
3344         * rendering/svg/RenderSVGResourceSolidColor.h:
3345         * rendering/svg/SVGRenderSupport.cpp:
3346         (WebCore::invalidateResourcesOfChildren):
3347         (WebCore::SVGRenderSupport::layoutChildren):
3348         * rendering/svg/SVGResources.cpp:
3349         (WebCore::SVGResources::removeClientFromCache):
3350         * rendering/svg/SVGResources.h:
3351
3352 2014-02-03  Dan Bernstein  <mitz@apple.com>
3353
3354         More iOS build fixing.
3355
3356         * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
3357         (-[WebAccessibilityObjectWrapper arrayOfTextForTextMarkers:attributed:]):
3358         * html/parser/HTMLTreeBuilder.cpp:
3359         (WebCore::HTMLTreeBuilder::linkifyPhoneNumbers):
3360         * page/ios/FrameIOS.mm:
3361         (WebCore::Frame::interpretationsForCurrentRoot):
3362
3363 2014-02-03  Darin Adler  <darin@apple.com>
3364
3365         Try to fix iOS build.
3366
3367         * html/BaseDateAndTimeInputType.cpp:
3368         (WebCore::BaseDateAndTimeInputType::parseToDateComponents):
3369         Use deprecatedCharacters.
3370
3371 2014-02-02  Darin Adler  <darin@apple.com>
3372
3373         Obey "delete this" comments, including deleting String::characters and friends
3374         https://bugs.webkit.org/show_bug.cgi?id=126865
3375
3376         Reviewed by Andreas Kling.
3377
3378         * CMakeLists.txt: Deleted HTMLParserErrorCodes.cpp.
3379         * GNUmakefile.list.am: Deleted HTMLParserErrorCodes.cpp/h, and HTMLParserQuirks.h.
3380         * WebCore.vcxproj/WebCore.vcxproj: Deleted HTMLParserErrorCodes.cpp/h.
3381         * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
3382         * WebCore.xcodeproj/project.pbxproj: Ditto.
3383
3384         * html/HTMLParserErrorCodes.cpp: Removed.
3385         * html/HTMLParserErrorCodes.h: Removed.
3386         * html/HTMLParserQuirks.h: Removed.
3387
3388         * rendering/RenderText.h: Deleted the characters function, leaving behind the
3389         deprecatedCharacters function.
3390
3391 2014-02-02  Brady Eidson  <beidson@apple.com>
3392
3393         IDB: Cannot open new databases with the default version
3394         https://bugs.webkit.org/show_bug.cgi?id=128096
3395
3396         Reviewed by Tim Horton.
3397
3398         * Modules/indexeddb/IDBDatabaseBackend.cpp:
3399         (WebCore::IDBDatabaseBackend::openConnectionInternal): Update logic to handle the
3400           current version being NoIntVersion.
3401
3402         * Modules/indexeddb/IDBTransactionBackendOperations.cpp:
3403         (WebCore::IDBDatabaseBackend::VersionChangeOperation::perform): Update ASSERT.
3404
3405 2014-02-02  Darin Adler  <darin@apple.com>
3406
3407         Fix context save/restore mistake spotted in SVGInlineTextBox::paintTextWithShadows
3408         https://bugs.webkit.org/show_bug.cgi?id=128095
3409
3410         Reviewed by Andreas Kling.
3411
3412         * rendering/svg/SVGInlineTextBox.cpp:
3413         (WebCore::SVGInlineTextBox::paintTextWithShadows): Move calls to GraphicsContext::restore
3414         and GraphicsContext::clearShadow before restoreGraphicsContextAfterTextPainting, since that
3415         function can swap contexts.
3416
3417 2014-02-02  Andreas Kling  <akling@apple.com>
3418
3419         Modernize RenderSVGText::locateRenderSVGTextAncestor().
3420         <https://webkit.org/b/128093>
3421
3422         Make locateRenderSVGTextAncestor() take a reference, and simplify it
3423         internally with lineageOfType.
3424
3425         Switched callers to use 'auto' for the return type so we get some
3426         devirtualization freebies.
3427
3428         Reviewed by Anders Carlsson.
3429
3430         * rendering/svg/RenderSVGInline.cpp:
3431         (WebCore::RenderSVGInline::objectBoundingBox):
3432         (WebCore::RenderSVGInline::strokeBoundingBox):
3433         (WebCore::RenderSVGInline::repaintRectInLocalCoordinates):
3434         (WebCore::RenderSVGInline::absoluteQuads):
3435         (WebCore::RenderSVGInline::addChild):
3436         (WebCore::RenderSVGInline::removeChild):
3437         * rendering/svg/RenderSVGInlineText.cpp:
3438         (WebCore::RenderSVGInlineText::setTextInternal):
3439         (WebCore::RenderSVGInlineText::styleDidChange):
3440         * rendering/svg/RenderSVGResourceGradient.cpp:
3441         (WebCore::createMaskAndSwapContextForTextGradient):
3442         (WebCore::clipToTextMask):
3443         * rendering/svg/RenderSVGText.cpp:
3444         (WebCore::RenderSVGText::locateRenderSVGTextAncestor):
3445         * rendering/svg/RenderSVGText.h:
3446         (WebCore::RenderSVGText>):
3447         * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
3448         (WebCore::SVGTextLayoutAttributesBuilder::buildLayoutAttributesForTextRenderer):
3449         * rendering/svg/SVGTextMetricsBuilder.cpp:
3450         (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
3451         * svg/SVGTextPositioningElement.cpp:
3452         (WebCore::SVGTextPositioningElement::svgAttributeChanged):
3453
3454 2014-02-02  Andreas Kling  <akling@apple.com>
3455
3456         Modernize the toRenderSVGResourceContainer() helper.
3457         <https://webkit.org/b/128091>
3458
3459         Make toRenderSVGResourceContainer() a free function like all the
3460         other casting helpers. Use references instead of pointers where
3461         applicable.
3462
3463         Reviewed by Anders Carlsson.
3464
3465         * rendering/RenderLayerFilterInfo.cpp:
3466         (WebCore::RenderLayer::FilterInfo::updateReferenceFilterClients):
3467         (WebCore::RenderLayer::FilterInfo::removeReferenceFilterClients):
3468         * rendering/RenderObject.cpp:
3469         * rendering/RenderObject.h:
3470         * rendering/svg/RenderSVGGradientStop.cpp:
3471         (WebCore::RenderSVGGradientStop::styleDidChange):
3472         * rendering/svg/RenderSVGResource.cpp:
3473         (WebCore::RenderSVGResource::markForLayoutAndParentResourceInvalidation):
3474         * rendering/svg/RenderSVGResourceContainer.cpp:
3475         (WebCore::RenderSVGResourceContainer::markAllClientsForInvalidation):
3476         * rendering/svg/RenderSVGResourceContainer.h:
3477         * rendering/svg/RenderSVGResourceFilter.cpp:
3478         (WebCore::RenderSVGResourceFilter::buildPrimitives):
3479         * rendering/svg/RenderSVGResourceFilter.h:
3480         * rendering/svg/SVGRenderTreeAsText.cpp:
3481         (WebCore::writeSVGResourceContainer):
3482         * rendering/svg/SVGResourcesCycleSolver.cpp:
3483         (WebCore::SVGResourcesCycleSolver::resolveCycles):