7591ee25d65da5ef63a15d434014c892620da0a5
[WebKit-https.git] / WebCore / ChangeLog
1 2010-12-07  Sergio Villar Senin  <svillar@igalia.com>
2
3         Reviewed by Xan Lopez.
4
5         [GTK] WebKitSoupCache fails to load resources when cache contents are externally removed
6         https://bugs.webkit.org/show_bug.cgi?id=50577
7
8         Try to download cached resources again if they are no longer
9         accesible by the cache.
10
11         * platform/network/soup/cache/soup-request-http.c:
12         (send_async_cb):
13         (webkit_soup_request_http_send_async):
14
15 2010-12-06  MORITA Hajime  <morrita@google.com>
16
17         Reviewed by Dimitri Glazkov.
18
19         RenderIndicator subclasses should not change the render tree during layout.
20         https://bugs.webkit.org/show_bug.cgi?id=50026
21
22         The old code created shadow elements during a layout computation,
23         that makes the layout state inconsisntent and cause an assertion failure. 
24         This change created shadow elements before the layout to avoid  
25         state inconsistencies.
26         
27         Instead of creating shadows on demand, RenderMeter and
28         RenderProgress now create all necessary shadows before layouts,
29         and change its visibilities during the layout: Changing
30         visibilities doesn't trigger relayout and keep the state
31         consistent.
32         
33         RenderMeter uses new HidablePartElement for shadow elements,
34         which can toggle visibiliby between hidden and original value.
35
36         Test: fast/dom/HTMLMeterElement/meter-element-crash.html
37
38         * html/HTMLMeterElement.cpp:
39         (WebCore::HTMLMeterElement::attach): Calling updateFromElement()
40         * html/HTMLMeterElement.h:
41         * html/HTMLProgressElement.cpp:
42         (WebCore::HTMLProgressElement::attach): Calling updateFromElement()
43         * html/HTMLProgressElement.h:
44         * rendering/RenderIndicator.cpp:
45         * rendering/RenderIndicator.h:
46         * rendering/RenderMeter.cpp:
47         (WebCore::MeterPartElement::MeterPartElement): Added to hold a restorable visibility.
48         (WebCore::MeterPartElement::createForPart):
49         (WebCore::MeterPartElement::hide):
50         (WebCore::MeterPartElement::restoreVisibility):
51         (WebCore::MeterPartElement::updateStyleForPart):
52         (WebCore::MeterPartElement::saveVisibility):
53         (WebCore::RenderMeter::~RenderMeter):
54         (WebCore::RenderMeter::createPart): Extracted
55         (WebCore::RenderMeter::updateFromElement): Had a shadow generation.
56         (WebCore::RenderMeter::layoutParts): Removed shadow generation code.
57         (WebCore::RenderMeter::shouldHaveParts):
58         (WebCore::RenderMeter::valuePartRect): Adopted orientation.
59         (WebCore::RenderMeter::orientation): Morphed from isHorizontal()
60         (WebCore::RenderMeter::valuePseudoId): Adoptedn orientation
61         (WebCore::RenderMeter::barPseudoId): Adopted orientation.
62         * rendering/RenderMeter.h:
63         (WebCore::RenderMeter::shadowAttached):
64         * rendering/RenderProgress.cpp:
65         (WebCore::RenderProgress::updateFromElement): Had a shadow generation.
66         (WebCore::RenderProgress::layoutParts):
67         * rendering/RenderProgress.h:
68         * rendering/ShadowElement.cpp:
69         (WebCore::ShadowBlockElement::createForPart): Extracted initAsPart().
70         (WebCore::ShadowBlockElement::initAsPart): Extracted from createForPart().
71         * rendering/ShadowElement.h:
72
73 2010-11-29  Mihai Parparita  <mihaip@chromium.org>
74
75         Reviewed by Adam Barth.
76
77         returning to a POST result within a frame does a GET instead of a POST
78         https://bugs.webkit.org/show_bug.cgi?id=10199
79         
80         FrameLoader::loadURLIntoChildFrame had a check for whether a frame
81         had a HistoryItem, and if so used that item's URL. However, that did
82         not handle the case where the HistoryItem had FormData and thus was the
83         result of a POST request. FrameLoader::navigateToDifferentDocument (now
84         renamed to loadDifferentDocumentItem) does all that, so just switch to
85         using it instead.
86         
87         Besides the bug fix, the only difference in behavior is that we use the
88         HistoryItem's URL instead of original URL when restoring it in a child
89         frame. This seems desirable too (for consistency with other browsers, and
90         so that we can avoid form double-submits for forms that that do
91         POST-then-redirect), and is tested by
92         fast/history/history-back-initial-vs-final-url.html.
93         
94         Tests: fast/history/history-back-initial-vs-final-url.html
95                http/tests/navigation/post-frames-goback1.html
96                http/tests/navigation/postredirect-frames-goback1.html
97
98         * loader/FrameLoader.cpp:
99         (WebCore::FrameLoader::loadURLIntoChildFrame): Switch to using
100             loadDifferentDocumentItem. Also cleaned up ordering slightly (if
101             on the archive path, there's no need to do any of the other checks).
102         (WebCore::FrameLoader::loadDifferentDocumentItem): Renamed from
103             navigateToDifferentDocument so that calling it from loadItem and
104             loadURLIntoChildFrame flows more easily.
105         (WebCore::FrameLoader::loadSameDocumentItem): Similarly, renamed from
106             navigateWithinDocument.
107         (WebCore::FrameLoader::loadItem): Update callsites to the above methods.
108         * loader/FrameLoader.h:
109
110 2010-12-07  Dan Bernstein  <mitz@apple.com>
111
112         Reviewed by Darin Adler.
113
114         Made tables repaint correctly in all writing modes
115         Part of: Make tables work with vertical text
116         https://bugs.webkit.org/show_bug.cgi?id=46417
117
118         Tests: fast/repaint/table-writing-modes-h.html
119                fast/repaint/table-writing-modes-v.html
120
121         * rendering/RenderTableSection.cpp:
122         (WebCore::RenderTableSection::paintObject): Compute the ranges of rows and
123         columns to repaint based on the logical extent of the repaint rect.
124
125 2010-12-07  Alexey Marinichev  <amarinichev@chromium.org>
126
127         Reviewed by James Robinson.
128
129         [chromium] compositor lost context recovery fix
130         https://bugs.webkit.org/show_bug.cgi?id=50614
131
132         To test, load a page that triggers the compositor, kill the GPU
133         process and hover over a link to redraw and thus restart the GPU
134         process.  Without this patch it will assert in
135         ContentLayerChromium::updateTextureRect; with this patch it will not.
136
137         * platform/graphics/chromium/LayerChromium.cpp:
138         (WebCore::LayerChromium::setNeedsDisplay):
139
140 2010-12-07  Anders Carlsson  <andersca@apple.com>
141
142         Fix the last clang++ build error.
143
144         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
145         (PlatformCALayer::animationForKey):
146         Cast the returned animation to the correct type.
147
148 2010-12-07  Anders Carlsson  <andersca@apple.com>
149
150         Fix some clang++ build errors.
151
152         * platform/graphics/ca/GraphicsLayerCA.cpp:
153         (WebCore::GraphicsLayerCA::swapFromOrToTiledLayer):
154         Remove unused variable.
155
156         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
157         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
158         Fix constness of pointers.
159
160 2010-12-07  Simon Fraser  <simon.fraser@apple.com>
161
162         Reviewed by Chris Marrin.
163
164         Fix the Color -> CGColorRef conversions for the debug colors
165         used for compositing layers.
166
167         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
168         (PlatformCALayer::setBackgroundColor):
169         (PlatformCALayer::setBorderColor):
170
171 2010-12-07  Brian Weinstein  <bweinstein@apple.com>
172
173         Reviewed by John Sullivan.
174
175         Part of Layering Violation in ContextMenu
176         https://bugs.webkit.org/show_bug.cgi?id=50586
177         
178         ContextMenuMac.mm had a WebCoreMenuTarget class, which was responsible for wrapping
179         a ContextMenuItem, and calling through to the ContextMenuController to validate it
180         and call a function when it was selected.
181         
182         It was a layering violation to have this class here, because ContextMenu can't know
183         about ContextMenuController.
184         
185         This patch moves the class that wraps the ContextMenuItems to WebKit/mac/WebHTMLView.mm,
186         and sets up the menu targets there.
187
188         No change in behavior, no new tests.
189
190         * WebCore.exp.in: Added function that needs to be exported.
191         * platform/mac/ContextMenuMac.mm:
192         (WebCore::ContextMenu::ContextMenu): Don't set the sharedMenuTarget anymore.
193         (WebCore::ContextMenu::appendItem): Don't call setMenuItemTarget (this is done in WebKit now).
194         (WebCore::ContextMenu::insertItem): Ditto.
195
196 2010-12-07  Simon Fraser  <simon.fraser@apple.com>
197
198         Reviewed by Dan Bernstein.
199
200         -webkit-transition Fails on Multiple text-shadow Shadows
201         https://bugs.webkit.org/show_bug.cgi?id=42281
202         
203         When transitioning multiple shadows, the blend function for
204         ShadowData dropped all but the first and last shadow because
205         of a failure to append to the end of the list. Fixed.
206
207         Test: transitions/multiple-text-shadow-transition.html
208
209         * page/animation/AnimationBase.cpp:
210         (WebCore::PropertyWrapperShadow::blend):
211
212 2010-12-07  Simon Fraser  <simon.fraser@apple.com>
213
214         Reviewed by Beth Dakin.
215
216         CSS animation doesn't work for border-radius
217         https://bugs.webkit.org/show_bug.cgi?id=48340
218         
219         Include CSSPropertyBorderRadius in the list of shorthand
220         properties, so that the individual border-radius properties
221         get animated.
222
223         Test: transitions/border-radius-transition.html
224
225         * page/animation/AnimationBase.cpp:
226         (WebCore::addShorthandProperties):
227
228 2010-12-07  Maciej Stachowiak  <mjs@apple.com>
229
230         Reviewed by Kent Tamura.
231
232         Implement HTML5 hidden attribute
233         https://bugs.webkit.org/show_bug.cgi?id=40511
234
235         Test: fast/html/hidden-attr.html
236
237         * html/HTMLElement.cpp:
238         (WebCore::HTMLElement::mapToEntry): Pick up hidden as a global mapped attribute.
239         (WebCore::HTMLElement::parseMappedAttribute): Map hidden attribute to display: none.
240
241 2010-12-07  Kenneth Russell  <kbr@google.com>
242
243         Reviewed by David Levin.
244
245         Fix compilation of core web audio files on Windows
246         https://bugs.webkit.org/show_bug.cgi?id=50603
247
248         Changed a few constructs using C99 features of math.h to use
249         wtf/MathExtras.h instead. Changed inline definitions of a couple of
250         const static doubles in classes to out-of-line. Built Chrome with
251         web audio enabled on Windows and Mac OS X to test these changes.
252
253         No new tests since audio API is not yet implemented.
254
255         * WebCore.gypi:
256         * platform/audio/AudioResampler.cpp:
257         * platform/audio/Biquad.cpp:
258         (WebCore::Biquad::setLowpassParams):
259         (WebCore::Biquad::setHighpassParams):
260         (WebCore::Biquad::setLowShelfParams):
261         * platform/audio/Cone.cpp:
262         (WebCore::ConeEffect::gain):
263         * platform/audio/EqualPowerPanner.cpp:
264         (WebCore::EqualPowerPanner::pan):
265         * platform/audio/FFTFrame.cpp:
266         (WebCore::FFTFrame::interpolateFrequencyComponents):
267         (WebCore::FFTFrame::extractAverageGroupDelay):
268         (WebCore::FFTFrame::addConstantGroupDelay):
269         * platform/audio/HRTFKernel.cpp:
270         * platform/audio/HRTFPanner.cpp:
271         * webaudio/AudioBufferSourceNode.cpp:
272         (WebCore::AudioBufferSourceNode::readFromBufferWithGrainEnvelope):
273         * webaudio/AudioPannerNode.cpp:
274         (WebCore::AudioPannerNode::getAzimuthElevation):
275         * webaudio/AudioParam.cpp: Added.
276         (AudioParam::setValue):
277         (AudioParam::smooth):
278         * webaudio/AudioParam.h:
279         * webaudio/RealtimeAnalyser.cpp:
280
281 2010-11-25  Philippe Normand  <pnormand@igalia.com>
282
283         Reviewed by Martin Robinson.
284
285         [GStreamer] faster elements linking
286         https://bugs.webkit.org/show_bug.cgi?id=50067
287
288         Perform less checks during GStreamer elements linking if building
289         against GStreamer >= 0.10.30.
290
291         * platform/graphics/gstreamer/GStreamerGWorld.cpp:
292         (WebCore::GStreamerGWorld::enterFullscreen):
293         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
294         (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
295
296 2010-12-07  Philippe Normand  <pnormand@igalia.com>
297
298         Reviewed by Gustavo Noronha Silva.
299
300         [GStreamer] ::buffered() should return multiple ranges in some cases
301         https://bugs.webkit.org/show_bug.cgi?id=45101
302
303         Improved the ::buffered() method thanks to the new buffering query
304         support that landed in GStreamer 0.10.31. The method now
305         queries the media buffered-ranges on the pipeline and queue2
306         handles it if it's buffering the media to disk.
307
308         The webkitwebsrc element also gained BYTES duration query
309         support. This is needed in the rare cases where uridecodebin
310         configures its queue before the HTTP server returns the media
311         Content-Length.
312
313         Test: http/tests/media/video-buffered.html
314
315         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
316         (WebCore::MediaPlayerPrivateGStreamer::buffered):
317         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
318         (webkit_web_src_init):
319         (webKitWebSrcQuery): Make webkitwebsrc handle the duration queries
320         if it's aware of the media content-length.
321         * platform/gtk/RenderThemeGtk.cpp:
322         (WebCore::RenderThemeGtk::paintMediaSliderTrack): Fix position of
323         the second and next buffered ranges.
324
325 2010-12-07  Yael Aharon  <yael.aharon@nokia.com>
326
327         Reviewed by Antonio Gomes.
328
329         Spatial navigation not Working for Map and Area Tags
330         https://bugs.webkit.org/show_bug.cgi?id=47142
331
332         Give area elements special treatment in spatial navigation algorithm by getting the
333         rect of the area from the associated image. Since area elements are likely to overlap
334         if they are not rects, or if authors are not careful, we flatten the rect of area elements.
335
336         Tests: fast/spatial-navigation/snav-imagemap-area-not-focusable.html
337                fast/spatial-navigation/snav-imagemap-area-without-image.html
338                fast/spatial-navigation/snav-imagemap-overlapped-areas.html
339                fast/spatial-navigation/snav-imagemap-simple.html
340
341         * page/FocusController.cpp:
342         (WebCore::FocusController::findFocusCandidateInContainer):
343         (WebCore::FocusController::advanceFocusDirectionallyInContainer):
344         (WebCore::FocusController::advanceFocusDirectionally):
345         * page/SpatialNavigation.cpp:
346         (WebCore::FocusCandidate::FocusCandidate):
347         (WebCore::virtualRectForDirection):
348         (WebCore::virtualRectForAreaElementAndDirection):
349         * page/SpatialNavigation.h:
350         (WebCore::FocusCandidate::FocusCandidate):
351
352 2010-12-07  Darin Adler  <darin@apple.com>
353
354         Try to fix V8 build.
355
356         * bindings/generic/BindingDOMWindow.h:
357         (WebCore::BindingDOMWindow::createWindow): Pass security origin.
358
359 2010-12-07  Darin Adler  <darin@apple.com>
360
361         Another build fix.
362
363         * loader/CrossOriginAccessControl.cpp: Added a missing include.
364
365 2010-12-07  Darin Adler  <darin@apple.com>
366
367         Try to fix build.
368
369         * plugins/PluginView.cpp:
370         (WebCore::PluginView::start): Pass security origin.
371         (WebCore::PluginView::getURLNotify): Ditto.
372         (WebCore::PluginView::getURL): Ditto.
373         (WebCore::PluginView::handlePost): Ditto.
374
375 2010-12-06  Darin Adler  <darin@apple.com>
376
377         Reviewed by Sam Weinig.
378
379         Pass security origin to make local file decision correctly
380         https://bugs.webkit.org/show_bug.cgi?id=48603
381
382         * bindings/generic/BindingDOMWindow.h:
383         (WebCore::BindingDOMWindow::createWindow): Pass security origin.
384         (WebCore::BindingDOMWindow::open): Ditto.
385         * bindings/generic/BindingFrame.h:
386         (WebCore::BindingFrame::navigateIfAllowed): Ditto.
387
388         * bindings/js/JSDOMWindowCustom.cpp:
389         (WebCore::JSDOMWindow::setLocation): Pass security origin.
390         (WebCore::createWindow): Ditto.
391         (WebCore::JSDOMWindow::open): Ditto.
392
393         * bindings/js/JSDocumentCustom.cpp:
394         (WebCore::JSDocument::setLocation): Pass security origin.
395
396         * dom/Document.cpp:
397         (WebCore::Document::processHttpEquiv): Pass security origin.
398
399         * inspector/InspectorController.cpp:
400         (WebCore::InspectorController::openInInspectedWindow):
401         Pass security origin.
402
403         * loader/FrameLoader.cpp:
404         (WebCore::FrameLoader::changeLocation): Added a security origin
405         argument, passed through to urlSelected.
406         (WebCore::FrameLoader::urlSelected): Replaced the resource request
407         and frame name arguments with a frame load request arguments in one
408         overload, and changed the other overload to pass in the current
409         frame's document for the security origin.
410         (WebCore::FrameLoader::loadFrameRequest): Moved the canDisplay
411         check before the referrer computation because it no longer needs
412         to look at the referrer. Replaced the call to canDisplay that
413         used the target frame's security origin and the call to
414         deprecatedCanDisplay with a single call to canDisplay that uses
415         the requester security origin.
416
417         * loader/FrameLoader.h: Updated for argument changes above.
418
419         * loader/NavigationScheduler.cpp:
420         (WebCore::ScheduledURLNavigation::ScheduledURLNavigation): Added
421         a security origin.
422         (WebCore::ScheduledURLNavigation::fire): Pass the security origin
423         in to FrameLoader::changeLocation.
424         (WebCore::ScheduledURLNavigation::securityOrigin): Added.
425         (WebCore::ScheduledRedirect::ScheduledRedirect): Added a security
426         origin argument.
427         (WebCore::ScheduledLocationChange::ScheduledLocationChange): Ditto.
428         (WebCore::ScheduledRefresh::ScheduledRefresh): Ditto.
429         (WebCore::ScheduledRefresh::fire): Pass the security origin in to
430         FrameLoader::changeLocation.
431         (WebCore::ScheduledFormSubmission::fire): Include the security
432         origin when constructing form submission.
433         (WebCore::NavigationScheduler::scheduleRedirect): Include the security
434         origin when creating the scheduled navigation object.
435         (WebCore::NavigationScheduler::scheduleLocationChange): Ditto.
436         (WebCore::NavigationScheduler::scheduleRefresh): Ditto.
437
438         * loader/NavigationScheduler.h: Added the security origin argument
439         to scheduleLocationChange.
440
441         * loader/SubframeLoader.cpp:
442         (WebCore::SubframeLoader::loadOrRedirectSubframe): Pass in the security
443         origin when calling scheduleLocationChange.
444         * loader/appcache/ApplicationCacheGroup.cpp:
445         (WebCore::ApplicationCacheGroup::selectCache): Ditto.
446
447         * page/ContextMenuController.cpp:
448         (WebCore::openNewWindow): Pass in the security origin.
449         (WebCore::ContextMenuController::contextMenuItemSelected): Ditto.
450
451         * page/FrameLoadRequest.h: Added a security origin called the requester
452         to all FrameLoadRequest objects.
453
454         * page/XSSAuditor.cpp:
455         (WebCore::XSSAuditor::findInRequest): Added the security origin.
456
457 2010-12-07  Yury Semikhatsky  <yurys@chromium.org>
458
459         Reviewed by Pavel Feldman.
460
461         Web Inspector: avoid initializing Context on when creating attaching listener to ScriptDebugServer
462         https://bugs.webkit.org/show_bug.cgi?id=50627
463
464         * bindings/v8/ScriptDebugServer.cpp:
465         (WebCore::ScriptDebugServer::addListener): don't try to collect already parsed scripts if context has
466         not been initialized yet.
467
468 2010-12-07  Csaba Osztrogon√°c  <ossy@webkit.org>
469
470         Unreviewed. Rolling out r73421, because it made transitions/color-transition-all.html flakey.
471
472         * page/animation/AnimationBase.cpp:
473         (WebCore::addShorthandProperties):
474
475 2010-12-07  Martin Robinson  <mrobinson@igalia.com>
476
477         Unreviewed, rolling out r73392.
478         http://trac.webkit.org/changeset/73392
479         https://bugs.webkit.org/show_bug.cgi?id=50489
480
481         This commit caused crashes on the GTK+ bots
482
483         * bindings/ScriptControllerBase.cpp:
484         (WebCore::ScriptController::executeIfJavaScriptURL):
485         * dom/Document.cpp:
486         (WebCore::Document::Document):
487         (WebCore::Document::close):
488         (WebCore::Document::lastModified):
489         (WebCore::Document::finishedParsing):
490         (WebCore::Document::initSecurityContext):
491         (WebCore::Document::updateURLForPushOrReplaceState):
492         * dom/Document.h:
493         * dom/ProcessingInstruction.cpp:
494         (WebCore::ProcessingInstruction::checkStyleSheet):
495         * dom/ScriptElement.cpp:
496         (WebCore::ScriptElement::scriptCharset):
497         * html/HTMLLinkElement.cpp:
498         (WebCore::HTMLLinkElement::process):
499         * html/MediaDocument.cpp:
500         (WebCore::MediaDocument::replaceMediaElementTimerFired):
501         * html/PluginDocument.cpp:
502         (WebCore::PluginDocumentParser::createDocumentStructure):
503         * loader/DocumentLoader.cpp:
504         (WebCore::DocumentLoader::DocumentLoader):
505         (WebCore::DocumentLoader::finishedLoading):
506         (WebCore::DocumentLoader::commitData):
507         (WebCore::DocumentLoader::setupForReplaceByMIMEType):
508         (WebCore::DocumentLoader::setFrame):
509         * loader/DocumentLoader.h:
510         * loader/DocumentWriter.cpp:
511         (WebCore::DocumentWriter::begin):
512         * loader/DocumentWriter.h:
513         * loader/FrameLoader.cpp:
514         (WebCore::FrameLoader::FrameLoader):
515         (WebCore::FrameLoader::init):
516         (WebCore::FrameLoader::clear):
517         (WebCore::FrameLoader::receivedFirstData):
518         (WebCore::FrameLoader::transitionToCommitted):
519         (WebCore::FrameLoader::open):
520         (WebCore::FrameLoader::finishedLoadingDocument):
521         (WebCore::FrameLoader::addExtraFieldsToRequest):
522         * loader/FrameLoader.h:
523         (WebCore::FrameLoader::writer):
524         * loader/cache/CachedResourceLoader.cpp:
525         (WebCore::CachedResourceLoader::requestPreload):
526         * platform/network/FormDataBuilder.cpp:
527         (WebCore::FormDataBuilder::encodingFromAcceptCharset):
528         * svg/graphics/SVGImage.cpp:
529         (WebCore::SVGImage::dataChanged):
530
531 2010-12-07  Patrick Gansterer  <paroga@webkit.org>
532
533         Reviewed by Andreas Kling.
534
535         [CMake] Remove WebKitGenerators
536         https://bugs.webkit.org/show_bug.cgi?id=50445
537
538         Move remaining logic into main CMakeLists.txt.
539
540         * CMakeLists.txt:
541
542 2010-12-07  Justin Schuh  <jschuh@chromium.org>
543
544         Reviewed by Nikolas Zimmermann.
545
546         Clear old SVG cursor entry before adding a new one
547         https://bugs.webkit.org/show_bug.cgi?id=50549
548
549         Test: svg/css/cursor-replace.svg
550
551         * css/CSSCursorImageValue.cpp:
552         (WebCore::CSSCursorImageValue::~CSSCursorImageValue):
553         * svg/SVGCursorElement.cpp:
554         (WebCore::SVGCursorElement::~SVGCursorElement):
555         (WebCore::SVGCursorElement::removeClient):
556         (WebCore::SVGCursorElement::removeReferencedElement):
557         * svg/SVGCursorElement.h:
558         * svg/SVGElement.cpp:
559         (WebCore::SVGElement::setCursorElement):
560         (WebCore::SVGElement::cursorElementRemoved):
561         (WebCore::SVGElement::setCursorImageValue):
562         (WebCore::SVGElement::cursorImageElementRemoved):
563         * svg/SVGElement.h:
564
565 2010-12-07  Kenichi Ishibashi  <bashi@google.com>
566
567         Reviewed by Kent Tamura.
568
569         Let HTMLObjectElement be a form associated element
570         https://bugs.webkit.org/show_bug.cgi?id=48821
571
572         Introduces FormAssociatedElement class which would be a super class
573         of form assocated elements. Some of member functions and variables of
574         HTMLFormControlElement are migrated into this class.
575         Following the HTML5 spec, HTMLFormControlElement class and
576         HTMLObjectElement class are subclasses of it for now.
577
578         Test: fast/forms/form-collection-elements-order.html
579
580         * Android.mk: Added FormAssociatedElement.cpp
581         * CMakeLists.txt: Ditto.
582         * GNUmakefile.am: Added FormAssociatedElement.{cpp,h}
583         * WebCore.exp.in: Added the symbol for toHTMLElement(FormAssociatedElement*)
584         * WebCore.gypi: Added FormAssociatedElement.{cpp,h}
585         * WebCore.pro: Ditto.
586         * WebCore.vcproj/WebCore.vcproj: Ditto.
587         * WebCore.xcodeproj/project.pbxproj: Ditto.
588         * dom/CheckedRadioButtons.h: Fixed class forward declaration order.
589         * dom/Document.cpp:
590         (WebCore::Document::registerFormElementWithFormAttribute): Modified to
591         use FormAssociatedElement instead of HTMLFormControlElement
592         (WebCore::Document::unregisterFormElementWithFormAttribute): Ditto.
593         (WebCore::Document::resetFormElementsOwner):
594         * dom/Document.h: Ditto.
595         * html/DOMFormData.cpp: Ditto.
596         (WebCore::DOMFormData::DOMFormData):
597         * html/FormAssociatedElement.cpp: Copied and renamed from WebCore/html/HTMLFormControlElement.cpp.
598         (WebCore::FormAssociatedElement::FormAssociatedElement):
599         (WebCore::FormAssociatedElement::~FormAssociatedElement):
600         (WebCore::FormAssociatedElement::validity):
601         (WebCore::FormAssociatedElement::insertedIntoTree):
602         (WebCore::FormAssociatedElement::removedFromTree):
603         (WebCore::FormAssociatedElement::removeFromForm):
604         (WebCore::FormAssociatedElement::resetFormOwner):
605         (WebCore::FormAssociatedElement::formAttributeChanged):
606         (WebCore::toHTMLElement):
607         * html/FormAssociatedElement.h: Ditto.
608         (WebCore::FormAssociatedElement::ref):
609         (WebCore::FormAssociatedElement::deref):
610         (WebCore::FormAssociatedElement::formDestroyed):
611         (WebCore::FormAssociatedElement::setForm):
612         * html/HTMLElement.h: Changed the access level of findFormAncestor().
613         * html/HTMLFormCollection.cpp:
614         (WebCore::HTMLFormCollection::item): Modified to use FormAssociatedElement
615         instead of HTMLFormControlElement.
616         (WebCore::HTMLFormCollection::getNamedFormItem): Ditto.
617         (WebCore::HTMLFormCollection::updateNameCache): Ditto.
618         * html/HTMLFormControlElement.cpp: Modified regarding with the change of class
619         hierarchy.
620         (WebCore::HTMLFormControlElement::HTMLFormControlElement):
621         (WebCore::HTMLFormControlElement::~HTMLFormControlElement):
622         (WebCore::HTMLFormControlElement::insertedIntoTree):
623         (WebCore::HTMLFormControlElement::removedFromTree):
624         (WebCore::HTMLFormControlElement::supportsFocus):
625         (WebCore::HTMLFormControlElement::checkValidity):
626         (WebCore::HTMLFormControlElement::virtualForm):
627         (WebCore::HTMLFormControlElement::isDefaultButtonForForm):
628         (WebCore::HTMLFormControlElement::attributeChanged):
629         * html/HTMLFormControlElement.h: Ditto.
630         (WebCore::HTMLFormControlElement::form):
631         (WebCore::HTMLFormControlElement::disabled):
632         (WebCore::HTMLFormControlElement::type):
633         (WebCore::HTMLFormControlElement::refFormAssociatedElement):
634         (WebCore::HTMLFormControlElement::derefFormAssociatedElement):
635         * html/HTMLFormElement.cpp: Modified to use FormAssociatedElement
636         instead of HTMLFormControlElement.
637         (WebCore::HTMLFormElement::submitImplicitly):
638         (WebCore::HTMLFormElement::validateInteractively):
639         (WebCore::HTMLFormElement::submit):
640         (WebCore::HTMLFormElement::reset):
641         (WebCore::HTMLFormElement::formElementIndexWithFormAttribute):
642         (WebCore::HTMLFormElement::formElementIndex):
643         (WebCore::HTMLFormElement::registerFormElement):
644         (WebCore::HTMLFormElement::removeFormElement):
645         (WebCore::HTMLFormElement::defaultButton):
646         (WebCore::HTMLFormElement::checkValidity):
647         (WebCore::HTMLFormElement::collectUnhandledInvalidControls):
648         (WebCore::HTMLFormElement::documentDidBecomeActive):
649         * html/HTMLFormElement.h: Ditto.
650         (WebCore::HTMLFormElement::associatedElements):
651         * html/HTMLInputElement.cpp: Ditto.
652         (WebCore::HTMLInputElement::updateCheckedRadioButtons):
653         * html/HTMLObjectElement.cpp: Modified regarding with the change of class
654         hierarchy.
655         (WebCore::HTMLObjectElement::HTMLObjectElement):
656         (WebCore::HTMLObjectElement::~HTMLObjectElement):
657         (WebCore::HTMLObjectElement::create):
658         (WebCore::HTMLObjectElement::attributeChanged):
659         (WebCore::HTMLObjectElement::insertedIntoTree):
660         (WebCore::HTMLObjectElement::removedFromTree):
661         (WebCore::HTMLObjectElement::appendFormData):
662         (WebCore::HTMLObjectElement::formControlName):
663         * html/HTMLObjectElement.h: Ditto.
664         (WebCore::HTMLObjectElement::form):
665         (WebCore::HTMLObjectElement::isFormControlElement):
666         (WebCore::HTMLObjectElement::isEnumeratable):
667         (WebCore::HTMLObjectElement::refFormAssociatedElement):
668         (WebCore::HTMLObjectElement::derefFormAssociatedElement):
669         * html/HTMLTagNames.in: Added constructorNeedsFormElement to object tag.
670         * html/ValidationMessage.cpp: Modified to use FormAssociatedElement
671         instead of HTMLFormControlElement.
672         (WebCore::ValidationMessage::ValidationMessage):
673         (WebCore::ValidationMessage::create):
674         * html/ValidationMessage.h: Ditto.
675         * html/ValidityState.cpp: Ditto.
676         (WebCore::ValidityState::validationMessage):
677         (WebCore::ValidityState::setCustomErrorMessage):
678         (WebCore::ValidityState::valueMissing):
679         (WebCore::ValidityState::typeMismatch):
680         (WebCore::ValidityState::patternMismatch):
681         (WebCore::ValidityState::tooLong):
682         (WebCore::ValidityState::rangeUnderflow):
683         (WebCore::ValidityState::rangeOverflow):
684         (WebCore::ValidityState::stepMismatch):
685         * html/ValidityState.h: Ditto.
686         (WebCore::ValidityState::create):
687         (WebCore::ValidityState::ValidityState):
688         * loader/FormSubmission.cpp: Ditto.
689         (WebCore::FormSubmission::create):
690
691 2010-12-06  Pavel Feldman  <pfeldman@chromium.org>
692
693         Not reviewed. Rolling out r72988 for breaking iframes.
694
695         * css/CSSImportRule.cpp:
696         (WebCore::CSSImportRule::insertedIntoParent):
697
698 2010-12-06  Hironori Bono  <hbono@chromium.org>
699
700         Reviewed by David Levin.
701
702         [Chromium] Refactor FontCacheChromiumWin.cpp
703         https://bugs.webkit.org/show_bug.cgi?id=50611
704         
705         This change just moved the helper functions for the WebCore::FontCache class to the beginning of ths file.
706
707         No new tests are added since this is a refactoring.
708
709         * platform/graphics/chromium/FontCacheChromiumWin.cpp:
710         (WebCore::fontDataFromDescriptionAndLogFont): Moved to the beginning of the file.
711         (WebCore::toGDIFontWeight): Moved to the beginning of the file.
712         (WebCore::FillLogFont): Moved to the beginning of the file.
713         (WebCore::TraitsInFamilyProcData::TraitsInFamilyProcData): Moved to the beginning of the file.
714         (WebCore::traitsInFamilyEnumProc): Moved to the beginning of the file.
715         (WebCore::FontCache::platformInit): Moved after the static functions.
716
717 2010-12-06  Alexey Marinichev  <amarinichev@chromium.org>
718
719         Reviewed by Kenneth Russell.
720
721         Throw webglcontextlost and webglcontextrestored events when a WebGL context is lost and restored.
722         https://bugs.webkit.org/show_bug.cgi?id=50364
723
724         No new tests since there is currently no way to force a context lost event.
725
726         * html/canvas/WebGLRenderingContext.cpp:
727         (WebCore::WebGLRenderingContext::WebGLRenderingContextRestoreTimer::fired):
728         (WebCore::WebGLRenderingContext::create):
729         (WebCore::WebGLRenderingContext::WebGLRenderingContext):
730         (WebCore::WebGLRenderingContext::isContextLost):
731         (WebCore::WebGLRenderingContext::loseContext):
732         (WebCore::WebGLRenderingContext::restoreContext):
733         * html/canvas/WebGLRenderingContext.h:
734         (WebCore::WebGLRenderingContext::WebGLRenderingContextRestoreTimer::WebGLRenderingContextRestoreTimer):
735
736 2010-12-06  David Hyatt  <hyatt@apple.com>
737
738         Reviewed by Simon Fraser.
739
740         https://bugs.webkit.org/show_bug.cgi?id=50593
741         
742         Fix background canvas painting for documents with left/top overflow.  The math from the original RTL patch was incorrect.
743         
744         Just use the RenderView's document dimensions always.
745
746         * rendering/RenderBox.cpp:
747         (WebCore::RenderBox::paintRootBoxDecorations):
748
749 2010-12-06  Simon Fraser  <simon.fraser@apple.com>
750
751         Reviewed by Beth Dakin.
752
753         CSS animation doesn't work for border-radius
754         https://bugs.webkit.org/show_bug.cgi?id=48340
755         
756         Include CSSPropertyBorderRadius in the list of shorthand
757         properties, so that the individual border-radius properties
758         get animated.
759
760         Test: transitions/border-radius-transition.html
761
762         * page/animation/AnimationBase.cpp:
763         (WebCore::addShorthandProperties):
764
765 2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>
766
767         Reviewed by Tony Chang.
768
769         ApplyStyleCommand should take EditingStyle instead of CSSStyleDeclaration
770         https://bugs.webkit.org/show_bug.cgi?id=49938
771
772         Modified ApplyStyleCommand::ApplyStyleCommand and ApplyStyleCommand::create to take EditingStyle*
773         instead of CSSStyleDeclaration*. Also replaced much of code in Editor::computeAndSetTypingStyle
774         by calls to EditingStyle's member functions and extracted EditingStyle::overrideWith and
775         EditingStyle::extractAndRemoveBlockProperties.
776
777         No new tests are added since this is a refactoring.
778
779         * WebCore.exp.in: Added SelectionController::copyTypingStyle and EditingStyle::~EditingStyle.
780         * css/CSSMutableStyleDeclaration.cpp: Made CSSMutableStyleDeclaration* in the argument list const.
781         (WebCore::CSSMutableStyleDeclaration::merge):
782         * css/CSSMutableStyleDeclaration.h:
783         * editing/ApplyStyleCommand.cpp:
784         (WebCore::ApplyStyleCommand::ApplyStyleCommand): Takes EditingStyle* instead of CSSStyleDeclaration*.
785         (WebCore::ApplyStyleCommand::doApply): Uses EditingStyle.
786         * editing/ApplyStyleCommand.h: m_style is now a ref-pointer to EditingStyle instead of CSSMutableStyleDeclaration.
787         (WebCore::ApplyStyleCommand::create): Takes EditingStyle* instead of CSSStyleDeclaration*.
788         * editing/CompositeEditCommand.cpp:
789         (WebCore::CompositeEditCommand::applyStyle): Ditto.
790         (WebCore::CompositeEditCommand::moveParagraphs): Calls applyStyle.
791         (WebCore::CompositeEditCommand::breakOutOfEmptyListItem): Ditto.
792         * editing/CompositeEditCommand.h:
793         * editing/DeleteSelectionCommand.cpp:
794         (WebCore::DeleteSelectionCommand::calculateTypingStyleAfterDelete): Ditto.
795         * editing/EditCommand.cpp:
796         * editing/EditCommand.h:
797         * editing/EditingStyle.cpp:
798         (WebCore::EditingStyle::~EditingStyle): Added.
799         (WebCore::EditingStyle::overrideWithStyle): Extracted from Editor::calculateTypingStyleAfterDelete.
800         (WebCore::EditingStyle::copy): Added.
801         (WebCore::EditingStyle::extractAndRemoveBlockProperties): Extracted from Editor::calculateTypingStyleAfterDelete.
802         * editing/EditingStyle.h:
803         * editing/Editor.cpp:
804         (WebCore::Editor::applyStyle): Calls ApplyStyleCommand::create.
805         (WebCore::Editor::applyParagraphStyle): Ditto.
806         (WebCore::Editor::computeAndSetTypingStyle): Ditto.
807         * editing/InsertLineBreakCommand.cpp:
808         (WebCore::InsertLineBreakCommand::doApply): Calls applyStyle.
809         * editing/InsertParagraphSeparatorCommand.cpp:
810         (WebCore::InsertParagraphSeparatorCommand::applyStyleAfterInsertion): Ditto.
811         * editing/InsertTextCommand.cpp:
812         (WebCore::InsertTextCommand::input): Ditto.
813         * editing/RemoveFormatCommand.cpp:
814         (WebCore::RemoveFormatCommand::doApply): Calls ApplyStyleCommand::create.
815         * editing/ReplaceSelectionCommand.cpp:
816         (WebCore::ReplaceSelectionCommand::completeHTMLReplacement): Calls applyStyle.
817         * editing/SelectionController.cpp:
818         (WebCore::SelectionController::copyTypingStyle): Moved from SelectionController.h
819         * editing/SelectionController.h:
820
821 2010-12-05  Ryosuke Niwa  <rniwa@webkit.org>
822
823         Reviewed by Tony Chang.
824
825         Executing FormatBlock on multiple paragraphs inside pre does not remove the outer pre
826         https://bugs.webkit.org/show_bug.cgi?id=47300
827
828         The bug was caused by FormatBlockCommand::formatRange's not removing refNode when the refNode
829         contains more than one paragraphs even when the refNode is fully selected.
830
831         Fixed the bug by modifying FormatBlockCommand::formatRange to correctly remove the node in
832         such a situation.
833
834         Also fixed a bug in ApplyBlockElementCommand::formatSelection that the end of selection
835         is not properly updated when the end of selection resides in the node split by
836         rangeForParagraphSplittingTextNodesIfNeeded or endOfNextParagrahSplittingTextNodesIfNeeded.
837
838         Test: editing/execCommand/format-block-multiple-paragraphs-in-pre.html
839
840         * editing/ApplyBlockElementCommand.cpp:
841         (WebCore::ApplyBlockElementCommand::formatSelection): Calls formatRange with m_endOfLastParagraph.
842         (WebCore::ApplyBlockElementCommand::rangeForParagraphSplittingTextNodesIfNeeded): Updates
843         m_endOfLastParagraph when the position points to the node split by this function.
844         (WebCore::ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfNeeded): Ditto.
845         * editing/ApplyBlockElementCommand.h: Added m_endOfLastParagraph as a member variable.
846         * editing/FormatBlockCommand.cpp:
847         (WebCore::FormatBlockCommand::formatRange): See above.
848         * editing/FormatBlockCommand.h:
849         * editing/IndentOutdentCommand.cpp:
850         (WebCore::IndentOutdentCommand::formatRange): Ignores the end of selection.
851         * editing/IndentOutdentCommand.h:
852
853 2010-12-03  Zhenyao Mo  <zmo@google.com>
854
855         Reviewed by Kenneth Russell.
856
857         Postpone gl delete* calls until shaders/programs are no longer attached
858         https://bugs.webkit.org/show_bug.cgi?id=50501
859
860         * html/canvas/WebGLBuffer.cpp:
861         (WebCore::WebGLBuffer::deleteObjectImpl): Simply delete GL resource.
862         * html/canvas/WebGLFramebuffer.cpp:
863         (WebCore::WebGLFramebuffer::deleteObjectImpl): Ditto.
864         * html/canvas/WebGLObject.cpp:
865         (WebCore::WebGLObject::deleteObject): Tracking whether deleteObjectImpl should be called or not.
866         * html/canvas/WebGLObject.h:
867         (WebCore::WebGLObject::detachContext): Set attachmentCount to 0 to ensure OpenGL resource deletion.
868         (WebCore::WebGLObject::onDetached): No need to track attachmentCount here as we track it in deleteObject.
869         (WebCore::WebGLObject::isDeleted): Make this public.
870         * html/canvas/WebGLProgram.cpp:
871         (WebCore::WebGLProgram::deleteObjectImpl): Simply delete GL resource.
872         * html/canvas/WebGLRenderbuffer.cpp:
873         (WebCore::WebGLRenderbuffer::deleteObjectImpl): Ditto.
874         * html/canvas/WebGLRenderingContext.cpp:
875         (WebCore::WebGLRenderingContext::getProgramParameter): intercept DELETE_STATUS.
876         (WebCore::WebGLRenderingContext::getShaderParameter): Ditto.
877         * html/canvas/WebGLShader.cpp:
878         (WebCore::WebGLShader::deleteObjectImpl): Simply delete GL resource.
879         * html/canvas/WebGLTexture.cpp:
880         (WebCore::WebGLTexture::deleteObjectImpl): Simply delete GL resource.
881
882 2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>
883
884         Yet unreviewed another Leopard build fix for r73380.
885
886         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
887         (PlatformCAAnimation::setKeyTimes):
888         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
889         (PlatformCALayer::platformCALayer):
890
891 2010-12-06  Andy Estes  <aestes@apple.com>
892
893         Reviewed by Darin Adler.
894
895         Marquee elements do not stop animating when scrollAmount is set to 0.
896         https://bugs.webkit.org/show_bug.cgi?id=50434
897
898         Test: fast/html/marquee-scrollamount.html
899
900         * rendering/RenderMarquee.cpp:
901         (WebCore::RenderMarquee::timerFired): Allow increment to be 0.
902
903 2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>
904
905         Unreviewed Leopard buildfix for r73380.
906
907         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
908         (PlatformCAAnimation::setTimingFunctions):
909         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
910         (PlatformCALayer::PlatformCALayer):
911
912 2010-12-06  Philippe Normand  <pnormand@igalia.com>
913
914         Reviewed by Martin Robinson.
915
916         [GStreamer] use ResourceHandle::setDefersLoading in WebKitWebSourceGStreamer
917         https://bugs.webkit.org/show_bug.cgi?id=44157
918
919         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
920         (webKitWebSrcNeedDataMainCb):
921         (webKitWebSrcEnoughDataMainCb): Replaced platform-specific code
922         with cross-platform ResourceHandle::setDefersLoading calls.
923
924 2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>
925
926         Unreviewed Leopard build fix for r73388.
927
928         * accessibility/AccessibilitySlider.cpp:
929         (WebCore::AccessibilitySlider::maxValueForRange):
930         (WebCore::AccessibilitySlider::minValueForRange):
931
932 2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>
933
934         Unreviewed build fix for Leopard after r73379.
935
936         * platform/graphics/cg/GraphicsContextCG.cpp:
937         (WebCore::GraphicsContext::setAllowsFontSmoothing):
938
939 2010-12-06  Nate Chapin  <japhet@chromium.org>
940
941         Reviewed by Adam Barth.
942
943         Make DocumentWriter a member of DocumentLoader
944         instead of FrameLoader.
945         https://bugs.webkit.org/show_bug.cgi?id=50489
946
947         Refactor, no new tests.
948
949         * bindings/ScriptControllerBase.cpp:
950         (WebCore::ScriptController::executeIfJavaScriptURL):
951         * dom/Document.cpp:
952         (WebCore::Document::Document):
953         (WebCore::Document::close):
954         (WebCore::Document::lastModified):
955         (WebCore::Document::finishedParsing):
956         (WebCore::Document::initSecurityContext):
957         (WebCore::Document::updateURLForPushOrReplaceState):
958         * dom/Document.h:
959         (WebCore::Document::setDocumentLoader):
960         (WebCore::Document::loader):
961         * dom/ProcessingInstruction.cpp:
962         (WebCore::ProcessingInstruction::checkStyleSheet):
963         * dom/ScriptElement.cpp:
964         (WebCore::ScriptElement::scriptCharset):
965         * html/HTMLLinkElement.cpp:
966         (WebCore::HTMLLinkElement::process):
967         * html/MediaDocument.cpp:
968         (WebCore::MediaDocument::replaceMediaElementTimerFired):
969         * html/PluginDocument.cpp:
970         (WebCore::PluginDocumentParser::createDocumentStructure):
971         * loader/DocumentLoader.cpp:
972         (WebCore::DocumentLoader::DocumentLoader):
973         (WebCore::DocumentLoader::finishedLoading):
974         (WebCore::DocumentLoader::commitData):
975         (WebCore::DocumentLoader::setupForReplaceByMIMEType):
976         (WebCore::DocumentLoader::setFrame):
977         * loader/DocumentLoader.h:
978         (WebCore::DocumentLoader::writer):
979         * loader/DocumentWriter.h:
980         (WebCore::DocumentWriter::setFrame):
981         * loader/FrameLoader.cpp:
982         (WebCore::FrameLoader::FrameLoader):
983         (WebCore::FrameLoader::init):
984         (WebCore::FrameLoader::clear):
985         (WebCore::FrameLoader::receivedFirstData):
986         (WebCore::FrameLoader::transitionToCommitted):
987         (WebCore::FrameLoader::open):
988         (WebCore::FrameLoader::finishedLoadingDocument):
989         (WebCore::FrameLoader::addExtraFieldsToRequest):
990         * loader/FrameLoader.h:
991         (WebCore::FrameLoader::notifier):
992         * loader/cache/CachedResourceLoader.cpp:
993         (WebCore::CachedResourceLoader::requestPreload):
994         * platform/network/FormDataBuilder.cpp:
995         (WebCore::FormDataBuilder::encodingFromAcceptCharset):
996         * svg/graphics/SVGImage.cpp:
997         (WebCore::SVGImage::dataChanged):
998
999 2010-12-06  Mark Rowe  <mrowe@apple.com>
1000
1001         Build fix.
1002
1003         * WebCore.xcodeproj/project.pbxproj: Don't force WebCore to build against the 10.5 SDK.
1004         That's just plain wrong.
1005
1006 2010-12-06  Chris Fleizach  <cfleizach@apple.com>
1007
1008         Reviewed by Darin Adler.
1009
1010         HTML5 Slider does not work correctly with VoiceOver
1011         https://bugs.webkit.org/show_bug.cgi?id=50505
1012
1013         Address a few problems with the Mac implementation for the accessibility slider.
1014             1) The value indicator is not hit testable.
1015             2) The value indicator does not return an AXValue.
1016             3) In the slider, the min/max values are not correct when min/max attributes are not present.
1017             4) When you change the value with the keyboard, it doesn't send out the right notification.
1018             5) Sliders were returning AXValue and AXTopLevelUIElement attributes twice in their list of attributes.
1019  
1020         Test: platform/mac/accessibility/html-slider-indicator.html
1021
1022         * accessibility/AccessibilityObject.cpp:
1023         (WebCore::AccessibilityObject::getAttribute):
1024             Use fastGetAttribute on Element, instead of getAttribute.
1025         * accessibility/AccessibilityObject.h:
1026         (WebCore::AccessibilityObject::isInputSlider):
1027         * accessibility/AccessibilityRenderObject.cpp:
1028         (WebCore::AccessibilityRenderObject::doAccessibilityHitTest):
1029         * accessibility/AccessibilitySlider.cpp:
1030         (WebCore::AccessibilitySlider::doAccessibilityHitTest):
1031         (WebCore::AccessibilitySlider::maxValueForRange):
1032         (WebCore::AccessibilitySlider::minValueForRange):
1033         * accessibility/AccessibilitySlider.h:
1034         (WebCore::AccessibilitySlider::isInputSlider):
1035         * accessibility/mac/AccessibilityObjectWrapper.mm:
1036         (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
1037         (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
1038         * html/HTMLInputElement.cpp:
1039         (WebCore::HTMLInputElement::applyStep):
1040
1041 2010-12-06  David Hyatt  <hyatt@apple.com>
1042
1043         Reviewed by Simon Fraser.
1044
1045         Fix for https://bugs.webkit.org/show_bug.cgi?id=49220 <<rdar://problem/8644849>, REGRESSION: transforms now
1046         O(n^3) from pathological behavior in lowestPosition, rightmostPosition, leftmostPosition and topmostPosition.
1047
1048         This patch throws out the lowest/rightmost/leftmost/topmostPosition functions and re-architects layout overflow
1049         in the engine to cache all the information required to properly handle scrolling.
1050
1051         In the old code, there were two types of overflow: layout overflow and visual overflow.  The former could
1052         affect scrolling and the latter could not.  The distinction was largely meaningless, since layout overflow
1053         wasn't actually used to determine scroll width or scroll height.  It didn't propagate across self-painting layer
1054         boundaries either.  In the old code, the term visible overflow meant the union of the layout overflow and
1055         visual overflow rects.
1056
1057         In the new code, the two types of overflow remain, but the distinction between the two is now clear.  Visual overflow
1058         is used purely for painting and hit testing checks and layout overflow is used specifically for scrolling.  It has
1059         been expanded to propagate across self-painting layers, to factor in relative positioning and transforms, and to
1060         work with writing modes.
1061
1062         In order to minimize layout test changes, layers no longer incorporate right/bottom overflow into their width/height members.
1063         Doing so uncovered two bugs where left/top overflow was ignored (proof that even having layer dimensions is harmful).
1064         A render tree dump hack has been put into the code to keep this overflow dumping for the RenderView's layer, since otherwise
1065         a huge number of tests would change.
1066
1067         Added fast/overflow/overflow-rtl-vertical.html to test vertical writing-mode overflow.  Existing tests cover the rest.
1068
1069         * page/FrameView.cpp:
1070         (WebCore::FrameView::adjustViewSize):
1071         (WebCore::FrameView::forceLayoutForPagination):
1072         Changed to use RenderView's docTop/Left/Width/Height accessors, which simply grab the overflow and properly flip it
1073         to account for writing modes.
1074
1075         * platform/graphics/IntRect.h:
1076         (WebCore::IntRect::shiftLeftEdgeTo):
1077         (WebCore::IntRect::shiftRightEdgeTo):
1078         (WebCore::IntRect::shiftTopEdgeTo):
1079         (WebCore::IntRect::shiftBottomEdgeTo):
1080         New helper functions for sliding the edge of a rectangle without moving any of the other three edges.
1081
1082         * rendering/InlineBox.h:
1083         (WebCore::InlineBox::frameRect):
1084         frameRect is a helper for obtaining the x, y, width, height of an InlineBox as an IntRect.
1085
1086         * rendering/InlineFlowBox.cpp:
1087         (WebCore::InlineFlowBox::placeBoxesInInlineDirection):
1088         All of the overflow setting in the inline direction has been removed from this function.  All line overflow is computed
1089         at once now in a single function: computeOverflow.
1090
1091         (WebCore::InlineFlowBox::addBoxShadowVisualOverflow):
1092         (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
1093         (WebCore::InlineFlowBox::addReplacedChildOverflow):
1094         Helper for propagating overflow from specific types of children that occur on a line into the InlineFlowBox's overflow.
1095
1096         (WebCore::InlineFlowBox::computeOverflow):
1097         The new function that computes both horizontal and vertical overflow for a line box.
1098
1099         (WebCore::InlineFlowBox::setLayoutOverflow):
1100         (WebCore::InlineFlowBox::setVisualOverflow):
1101         (WebCore::InlineFlowBox::setOverflowFromLogicalRects):
1102         New functions that set the overflow computed by computeOverflow.  These replace setBlockDirectionOverflowPositions
1103         and setInlineDirectionOverflowPositions.  They essentially do the same thing, but they operate on rectangles.
1104
1105         (WebCore::InlineFlowBox::nodeAtPoint):
1106         (WebCore::InlineFlowBox::paint):
1107         Changed to use visual overflow instead of visible overflow.  (Visible overflow as a union of layout and visual
1108         overflow is no longer necessary, since visual overflow is now equivalent to the old visible overflow concept.)
1109
1110         * rendering/InlineFlowBox.h:
1111         (WebCore::InlineFlowBox::logicalLayoutOverflowRect):
1112         (WebCore::InlineFlowBox::logicalVisualOverflowRect):
1113         Helpers for obtaining logical overflow rectangles, since lines compute their overflow in logical terms before
1114         converting to block coordinates at the end.
1115
1116         * rendering/RenderBlock.cpp:
1117         (WebCore::RenderBlock::layoutBlock):
1118         (WebCore::RenderBlock::addOverflowFromChildren):
1119         (WebCore::RenderBlock::computeOverflow):
1120         (WebCore::RenderBlock::addOverflowFromFloats):
1121         (WebCore::RenderBlock::addOverflowFromPositionedObjects):
1122         Blocks now have a computeOverflow function called at the end of layout that adds in all the types of overflow.  The addOverflowFromChildren
1123         method is virtual so that RenderListItem and RenderTable can subclass it.  RenderListItem has to position its list marker and
1124         propagate marker overflow up, and RenderTable adds in overflow from its sections.
1125
1126         (WebCore::RenderBlock::layoutOnlyPositionedObjects):
1127         (WebCore::RenderBlock::layoutPositionedObjects):
1128         When only positioned objects lay out, overflow must still be recomputed.  The refactoring of overflow computation into a single
1129         callable method: computeOverflow, makes it possible for this to be done easily.
1130
1131         (WebCore::RenderBlock::paint):
1132         visible -> visual.
1133
1134         (WebCore::RenderBlock::addOverhangingFloats):
1135         The propagation of float overflow has changed substantially.  The basic rules are:
1136             (1) The float must be in our floating objects list to contribute to overflow.
1137             (2) The float must be a descendant to contribute to overflow.
1138             (3) The block must have the outermost list that contains the float, or it has a self-painting layer and
1139                 so the float needs to be included in its overflow.
1140
1141         (WebCore::RenderBlock::nodeAtPoint):
1142         visible -> visual.
1143
1144         (WebCore::RenderBlock::layoutColumns):
1145         Remove column overflow computation from layoutColumns and move it to computeOverflow.
1146
1147         (WebCore::RenderBlock::adjustLinePositionForPagination):
1148         visible -> visual.
1149
1150         * rendering/RenderBlock.h:
1151         (WebCore::RenderBlock::scrollbarsChanged):
1152         Added a new virtual method used by table cells when scrollbars in an overflow:auto/scroll table cell come and go.
1153
1154         * rendering/RenderBlockLineLayout.cpp:
1155         (WebCore::RenderBlock::layoutInlineChildren):
1156         (WebCore::RenderBlock::determineStartPosition):
1157         (WebCore::RenderBlock::matchedEndLine):
1158         (WebCore::RenderBlock::addOverflowFromInlineChildren):
1159         (WebCore::RenderBlock::beforeSideVisualOverflowForLine):
1160         (WebCore::RenderBlock::afterSideVisualOverflowForLine):
1161         visible -> visual.
1162
1163         * rendering/RenderBox.cpp:
1164         (WebCore::RenderBox::scrollWidth):
1165         (WebCore::RenderBox::scrollHeight):
1166         Patched to use layoutOverflow functions instead of the old rightmost/leftmostPosition functions.
1167
1168         (WebCore::RenderBox::paintRootBoxDecorations):
1169         Use docLeft and docTop here, so that writing modes are handled.
1170
1171         (WebCore::RenderBox::clippedOverflowRectForRepaint):
1172         visible -> visual.
1173
1174         (WebCore::RenderBox::addOverflowFromChild):
1175         (WebCore::RenderBox::addLayoutOverflow):
1176         (WebCore::RenderBox::addVisualOverflow):
1177         (WebCore::RenderBox::logicalVisualOverflowRectForPropagation):
1178         (WebCore::RenderBox::visualOverflowRectForPropagation):
1179         (WebCore::RenderBox::logicalLayoutOverflowRectForPropagation):
1180         (WebCore::RenderBox::layoutOverflowRectForPropagation):
1181         * rendering/RenderBox.h:
1182         The new overflow system for boxes.  Layout overflow now crosses self-painting layer boundaries and adjusts child boxes
1183         for transforms, relative positioning and writing mode differences.
1184
1185         (WebCore::RenderBox::layoutOverflowRect):
1186         (WebCore::RenderBox::topLayoutOverflow):
1187         (WebCore::RenderBox::bottomLayoutOverflow):
1188         (WebCore::RenderBox::leftLayoutOverflow):
1189         (WebCore::RenderBox::rightLayoutOverflow):
1190         Changed the default rectangle for layout overflow to be the client box to match the scrollable areas of overflow regions.
1191
1192         (WebCore::RenderBox::clientLogicalBottom):
1193         New helper for obtaining the logical bottom of the client box.
1194
1195         (WebCore::RenderBox::clientBoxRect):
1196         New helper for obtaining the clientLeft/Top/Width/Height box.
1197
1198         * rendering/RenderBoxModelObject.h:
1199         (WebCore::RenderBoxModelObject::relativePositionLogicalOffset):
1200         Helper for obtaining the relative position offset transposed for vertical writing modes.  Used by line overflow.
1201
1202         * rendering/RenderFlexibleBox.cpp:
1203         (WebCore::RenderFlexibleBox::layoutBlock):
1204         Changed flexible boxes to just call the base class computeOverflow method.
1205
1206         * rendering/RenderInline.cpp:
1207         (WebCore::RenderInline::linesVisualOverflowBoundingBox):
1208         (WebCore::RenderInline::clippedOverflowRectForRepaint):
1209         visible -> visual.
1210
1211         * rendering/RenderInline.h:
1212         * rendering/RenderLayer.cpp:
1213         (WebCore::RenderLayer::updateLayerPosition):
1214         Changed layers to no longer incorporate right/bottom overflow into width/height.  This is the reason many layout
1215         tests change.  (Not doing this makes the layout test changes far worse, since overflow propagates across self-painting
1216         layers now.)
1217
1218         (WebCore::RenderLayer::overflowTop):
1219         (WebCore::RenderLayer::overflowBottom):
1220         (WebCore::RenderLayer::overflowLeft):
1221         (WebCore::RenderLayer::overflowRight):
1222         overflowTop/Bottom/Left/Right return overflow that accounts for writing modes, i.e., purely physical overflow that can be used
1223         to set up the scroll area.
1224
1225         (WebCore::RenderLayer::computeScrollDimensions):
1226         Drastically simplified this method now that overflowTop/Bottom/Left/Right just do the right thing regarding unreachable overflow.
1227
1228         (WebCore::RenderLayer::updateScrollInfoAfterLayout):
1229         Make sure to explicitly set the vertical scrollbar's position just as we did with horizontal scrollbars, so that clamping to the
1230         bottom works.
1231
1232         (WebCore::performOverlapTests):
1233         (WebCore::RenderLayer::paintLayer):
1234         Fix a bug in performOverlapTests.  It incorrectly used the layer's bounds, and so it didn't account for left/top overflow out
1235         of the layer (see why I hate layers even having dimensions?).  Changed it to use the bounding box of the layer instead.
1236
1237         (WebCore::RenderLayer::hitTest):
1238         Fix a bug in hit testing.  It incorrectly used the root layer's bounds as the limit of the hit test, and so it didn't account
1239         for left/top overflow in a ScrollView (hate hate hate layers having dimensions).  I changed it to use the hit test rect instead,
1240         so that the damage rect never stops the point from being tested (unless the hit test request says not to ignore clipping).
1241
1242         (WebCore::RenderLayer::localBoundingBox):
1243         visible -> visual.
1244
1245         * rendering/RenderLayer.h:
1246         Added the new overflowTop/Left/Right/Bottom accessors.
1247
1248         * rendering/RenderLineBoxList.cpp:
1249         (WebCore::RenderLineBoxList::anyLineIntersectsRect):
1250         (WebCore::RenderLineBoxList::lineIntersectsDirtyRect):
1251         (WebCore::RenderLineBoxList::paint):
1252         (WebCore::RenderLineBoxList::hitTest):
1253         visible -> visual.
1254
1255         * rendering/RenderListItem.cpp:
1256         (WebCore::RenderListItem::addOverflowFromChildren):
1257         (WebCore::RenderListItem::positionListMarker):
1258         * rendering/RenderListItem.h:
1259         RenderListItem now positions the list marker when computing its overflow, since the marker propagates overflow back up to the list item.
1260
1261         * rendering/RenderListMarker.cpp:
1262         (WebCore::RenderListMarker::paint):
1263         visible -> visual.
1264
1265         * rendering/RenderMarquee.cpp:
1266         (WebCore::RenderMarquee::computePosition):
1267         Changed to use overflow functions instead of rightmost/lowestPosition.
1268
1269         * rendering/RenderMedia.cpp:
1270         * rendering/RenderMedia.h:
1271         Removed the lowest/topmost/rightmost/leftmostPosition functions, since control overflow is handled properly already.
1272
1273         * rendering/RenderOverflow.h:
1274         (WebCore::RenderOverflow::RenderOverflow):
1275         (WebCore::RenderOverflow::setLayoutOverflow):
1276         (WebCore::RenderOverflow::setVisualOverflow):
1277         Add new setters for layout and visual overflow as rects.
1278
1279         * rendering/RenderReplaced.cpp:
1280         (WebCore::RenderReplaced::shouldPaint):
1281         (WebCore::RenderReplaced::clippedOverflowRectForRepaint):
1282         visible -> visual.
1283
1284         * rendering/RenderRubyRun.cpp:
1285         (WebCore::RenderRubyRun::layout):
1286         Call computeOverflow to recompute our overflow information after we adjust the ruby.
1287
1288         * rendering/RenderTable.cpp:
1289         (WebCore::RenderTable::layout):
1290         (WebCore::RenderTable::addOverflowFromChildren):
1291         (WebCore::RenderTable::paint):
1292         * rendering/RenderTable.h:
1293         Move section overflow propagation into addOverflowFromChildren, and change RenderTable to just call computeOverflow.
1294
1295         * rendering/RenderTableCell.cpp:
1296         (WebCore::RenderTableCell::clippedOverflowRectForRepaint):
1297         visible -> visual.
1298
1299         (WebCore::RenderTableCell::scrollbarsChanged):
1300         Adding unreachable overflow support (something that in the old code only existed for positioned objects in the root view) exposed
1301         a bug in table layout.  If scrollbars are added during the layout that occurs after intrinsic padding was incorporated into the
1302         cell, then the cell won't lay out properly the second time (after the scrollbars have been added).  We have to adjust the intrinsic
1303         padding accounting for the presence of the new scrollbar so the second layout will get the right dimensions.
1304
1305         * rendering/RenderTableCell.h:
1306         (WebCore::RenderTableCell::hasVisualOverflow):
1307         visible -> visual.
1308
1309         * rendering/RenderTableSection.cpp:
1310         (WebCore::RenderTableSection::layoutRows):
1311         * rendering/RenderTableSection.h:
1312         visible -> visual.  Removed the leftmost/rightmost/topmost/bottommostPosition functions.
1313
1314         * rendering/RenderTreeAsText.cpp:
1315         (WebCore::writeLayers):
1316         Added a hack to render tree dumping to include right/bottom overflow for the root layer only.  This keeps a zillion layout tests
1317         from failing.
1318
1319         * rendering/RenderView.cpp:
1320         (WebCore::RenderView::layout):
1321         (WebCore::RenderView::docTop):
1322         (WebCore::RenderView::docBottom):
1323         (WebCore::RenderView::docLeft):
1324         (WebCore::RenderView::docRight):
1325         * rendering/RenderView.h:
1326         (WebCore::RenderView::docHeight):
1327         (WebCore::RenderView::docWidth):
1328         RenderView now uses docLeft/Top/Height/Width functions, which are just overflow queries that account for writing modes.  These methods
1329         are now the preferred way to query for the physical dimensions of a document.
1330
1331         * rendering/RootInlineBox.cpp:
1332         (WebCore::RootInlineBox::addHighlightOverflow):
1333         Changed to call setOverflowFromLogicalRects instead of the block/inline position functions.
1334
1335         (WebCore::RootInlineBox::alignBoxesInBlockDirection):
1336         Remove the computation of block direction overflow, since it now all happens at once after the line is built.
1337
1338         (WebCore::RootInlineBox::paddedLayoutOverflowRect):
1339         * rendering/RootInlineBox.h:
1340         Added a new helper function for incorporating the end padding into a line.  This end padding also includes the single pixel for a caret
1341         in LTR if needed.
1342
1343 2010-12-06  Chris Marrin  <cmarrin@apple.com>
1344
1345         Reviewed by Simon Fraser.
1346
1347         Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
1348         https://bugs.webkit.org/show_bug.cgi?id=49388
1349
1350         Replaced GraphicsLayerMac with GraphicsLayerCA. GraphicsLayerCA is essentially 
1351         identical to GraphicsLayerMac, but replaces all the CoreAnimation specific calls 
1352         with calls to PlatformCALayer and PlatformCAAnimation. This makes GraphicsLayerCA 
1353         platform neutral as long as implementations of those two classes are available. 
1354         Added implementations in PlatformCALayerMac and PlatformCAAnimationMac. Also got 
1355         rid of GraphicsLayer::nativeLayer() and replaced it with GraphicsLayer::platformLayer() 
1356         to avoid confusion since both names were used to refer to the same thing. 
1357
1358         This patch is only for Mac. Windows implementation has not changed.
1359
1360         * WebCore.xcodeproj/project.pbxproj:
1361         * platform/graphics/GraphicsLayer.h:
1362         * platform/graphics/ca/GraphicsLayerCA.cpp: Copied from WebCore/platform/graphics/ca/GraphicsLayerCA.cpp.
1363         * platform/graphics/ca/GraphicsLayerCA.h: Copied from WebCore/platform/graphics/ca/GraphicsLayerCA.h.
1364         * platform/graphics/ca/PlatformCAAnimation.h: Copied from WebCore/platform/graphics/ca/PlatformCAAnimation.h.
1365         * platform/graphics/ca/PlatformCALayer.h: Copied from WebCore/platform/graphics/ca/PlatformCALayer.h.
1366         * platform/graphics/ca/mac/PlatformCAAnimationMac.mm: Copied from WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm.
1367         (toCAMediaTimingFunction):
1368         * platform/graphics/ca/mac/PlatformCALayerMac.mm: Copied from WebCore/platform/graphics/ca/mac/PlatformCALayerMac.mm.
1369         (PlatformCALayer::PlatformCALayer):
1370         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
1371         * platform/graphics/chromium/GraphicsLayerChromium.h:
1372         * platform/graphics/mac/GraphicsLayerMac.h: Removed.
1373         * platform/graphics/mac/GraphicsLayerMac.mm: Removed.
1374         * platform/graphics/mac/WebLayer.h:
1375         * platform/graphics/mac/WebLayer.mm:
1376         (-[WebLayer setNeedsDisplay]):
1377         (-[WebLayer setNeedsDisplayInRect:]):
1378         (-[WebLayer display]):
1379         (-[WebLayer drawInContext:]):
1380         * platform/graphics/mac/WebTiledLayer.h:
1381         * platform/graphics/mac/WebTiledLayer.mm:
1382         (-[WebTiledLayer setNeedsDisplay]):
1383         (-[WebTiledLayer setNeedsDisplayInRect:]):
1384         (-[WebTiledLayer display]):
1385         (-[WebTiledLayer drawInContext:]):
1386         * platform/graphics/qt/GraphicsLayerQt.cpp:
1387         (WebCore::GraphicsLayerQtImpl::flushChanges):
1388         * platform/graphics/qt/GraphicsLayerQt.h:
1389         * platform/graphics/win/GraphicsLayerCACF.cpp:
1390         * platform/graphics/win/GraphicsLayerCACF.h:
1391
1392 2010-12-06  Simon Fraser  <simon.fraser@apple.com>
1393
1394         Reviewed by Dan Bernstein.
1395
1396         Font antialiasing (smoothing) changes when elements are rendered into compositing layers
1397         https://bugs.webkit.org/show_bug.cgi?id=23364
1398
1399         Text rendered by Core Graphics over a transparent background looks bad because of 
1400         font smoothing, so turn off smoothing when rendering text into compositing layers.
1401
1402         * platform/graphics/GraphicsContext.h:
1403         * platform/graphics/cg/GraphicsContextCG.cpp:
1404         (WebCore::GraphicsContext::setAllowsFontSmoothing):
1405         * platform/graphics/mac/WebLayer.mm:
1406         (drawLayerContents):
1407
1408 2010-12-06  Patrick Gansterer  <paroga@webkit.org>
1409
1410         Reviewed by Andreas Kling.
1411
1412         [WINCE] Add build system
1413         https://bugs.webkit.org/show_bug.cgi?id=50522
1414
1415         * CMakeListsWinCE.txt: Added.
1416
1417 2010-12-06  Chris Fleizach  <cfleizach@apple.com>
1418
1419         Reviewed by Oliver Hunt.
1420
1421         AX does not support HTML5 "required"
1422         https://bugs.webkit.org/show_bug.cgi?id=50507
1423
1424         Test: platform/mac/accessibility/html5-required-attribute.html
1425
1426         * accessibility/AccessibilityRenderObject.cpp:
1427         (WebCore::AccessibilityRenderObject::isRequired):
1428
1429 2010-12-06  Alejandro G. Castro  <alex@igalia.com>
1430
1431         Reviewed by Martin Robinson.
1432
1433         [GTK] using shadows leaks memory
1434         https://bugs.webkit.org/show_bug.cgi?id=50541
1435
1436         Fixed leaks in the shadow code.
1437         * platform/graphics/cairo/CairoUtilities.cpp:
1438         (WebCore::drawPatternToCairoContext): adoptRef instead of just
1439         getting a new reference.
1440         * platform/graphics/cairo/GraphicsContextCairo.cpp:
1441         (WebCore::drawPathShadow): handle cairo_path_t with smart
1442         pointers.
1443
1444 2010-12-06  Yury Semikhatsky  <yurys@chromium.org>
1445
1446         Reviewed by Pavel Feldman.
1447
1448         [v8] Web Inspector: remove duplicate code for capturing stack trace
1449         https://bugs.webkit.org/show_bug.cgi?id=50461
1450
1451         No new tests. Covered with existing inspector tests.
1452
1453         * bindings/js/ScriptCallStackFactory.cpp:
1454         (WebCore::createScriptCallStack):
1455         * bindings/js/ScriptCallStackFactory.h:
1456         * bindings/v8/ScriptCallStackFactory.cpp:
1457         (WebCore::toScriptCallFrame):
1458         (WebCore::toScriptCallFramesVector):
1459         (WebCore::createScriptCallStack):
1460         * bindings/v8/ScriptCallStackFactory.h:
1461         * bindings/v8/V8ConsoleMessage.cpp:
1462         (WebCore::V8ConsoleMessage::handler):
1463         * inspector/ScriptCallFrame.cpp:
1464         (WebCore::ScriptCallFrame::ScriptCallFrame):
1465         (WebCore::ScriptCallFrame::isEqual):
1466         (WebCore::ScriptCallFrame::buildInspectorObject):
1467         * inspector/ScriptCallFrame.h:
1468         (WebCore::ScriptCallFrame::sourceURL):
1469         * inspector/ScriptCallStack.h:
1470         * inspector/TimelineRecordFactory.cpp:
1471         (WebCore::TimelineRecordFactory::createGenericRecord):
1472         * inspector/front-end/ConsoleView.js:
1473         (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
1474
1475 == Rolled over to ChangeLog-2010-12-06 ==