Remove WebCore/ForwardingHeaders/runtime/JSObjectWithGlobalObject.h because
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2011-11-19  Huang Dongsung  <luxtella@company100.net>
2
3         Remove WebCore/ForwardingHeaders/runtime/JSObjectWithGlobalObject.h because
4         JSObjectWithGlobalObject.h has been removed.
5         https://bugs.webkit.org/show_bug.cgi?id=72794
6
7         r94701 removed JSObjectWithGlobalObject.h.
8
9         Reviewed by Oliver Hunt.
10
11         * ForwardingHeaders/runtime/JSObjectWithGlobalObject.h: Removed.
12
13 2011-11-19  Vsevolod Vlasov  <vsevik@chromium.org>
14
15         Web Inspector:[protocol] actual JSON messages do not conform to Inspector.json in InspectorApplicationCacheAgent.cpp
16         https://bugs.webkit.org/show_bug.cgi?id=72734
17
18         Reviewed by Timothy Hatcher.
19
20         * inspector/Inspector.json:
21
22 2011-11-19  David Barr  <davidbarr@chromium.org>
23
24         REGRESSION(r98542): Chromium: CSS text is rendered on page
25         https://bugs.webkit.org/show_bug.cgi?id=71703
26
27         Reviewed by Antti Koivisto.
28
29         Matched UA declarations uncacheable when using simpleDefaultStyleSheet.
30
31         Test: fast/css/style-tag-display-none.html
32
33         * css/CSSStyleSelector.cpp:
34         (WebCore::CSSStyleSelector::matchUARules):
35
36 2011-11-19  Jay Civelli  <jcivelli@chromium.org>
37
38         When loading a MHTML document, make sure we set the base URL before
39         we notify the frame was committed (so the document has the right base
40         URL when the notification happens). 
41         https://bugs.webkit.org/show_bug.cgi?id=72788
42
43         Reviewed by Adam Barth.
44
45         * loader/FrameLoader.cpp:
46         (WebCore::FrameLoader::receivedFirstData):
47
48 2011-11-19  Adam Barth  <abarth@webkit.org>
49
50         Integrate Source/WTF with the Chromium build system
51         https://bugs.webkit.org/show_bug.cgi?id=72790
52
53         Reviewed by Eric Seidel.
54
55         Add a dependency on the new WTF.
56
57         * WebCore.gyp/WebCore.gyp:
58
59 2011-11-18  Takashi Toyoshima  <toyoshim@chromium.org>
60
61         [Chromium] [WebSocket] export WebSocketChannel interface for plugins
62         https://bugs.webkit.org/show_bug.cgi?id=72016
63
64         Reviewed by Darin Fisher.
65
66         Add a interface to send raw binary data.
67         This interface is used by WebWebSocketChannel implementation
68         in WebKit API.
69
70         No new tests because just export a interface.
71
72         * websockets/WebSocketChannel.cpp:
73         (WebCore::WebSocketChannel::send):
74         * websockets/WebSocketChannel.h:
75
76 2011-11-18  Vineet Chaudhary  <vineet.chaudhary@motorola.com>
77
78         https://bugs.webkit.org/show_bug.cgi?id=72591
79         Remove document.width / document.height
80
81         Reviewed by Darin Adler.
82
83         Removed document.width/document.height from JS bindings,
84         but keeping the same for ObjC bindings. Also it should use
85         document.body.clientWidth and document.body.clientHeight instead.
86
87         * html/HTMLDocument.idl:
88
89 2011-11-18  Martin Robinson  <mrobinson@igalia.com>
90
91         Fix the GTK+ build.
92
93         * page/Navigator.idl: Properly disable the webkitGamepads API if gamepad
94         isn't enabled at compile time.
95
96 2011-11-18  Daniel Bates  <dbates@rim.com>
97
98         Add CMake build infrastructure for the BlackBerry port
99         https://bugs.webkit.org/show_bug.cgi?id=72768
100
101         Reviewed by Antonio Gomes.
102
103         * CMakeLists.txt: At this time the BlackBerry port doesn't support generating
104           DOM bindings from the SVG IDLs. See WebKit bug #72773.
105         * PlatformBlackBerry.cmake: Added.
106
107 2011-11-18  Sheriff Bot  <webkit.review.bot@gmail.com>
108
109         Unreviewed, rolling out r100826.
110         http://trac.webkit.org/changeset/100826
111         https://bugs.webkit.org/show_bug.cgi?id=72786
112
113         Broke Chromium Mac build (Requested by aklein on #webkit).
114
115         * page/ChromeClient.h:
116         * page/FrameView.cpp:
117         * page/FrameView.h:
118         * platform/ScrollView.cpp:
119         (WebCore::ScrollView::wheelEvent):
120         * platform/ScrollView.h:
121         * platform/ScrollableArea.h:
122         (WebCore::ScrollableArea::scrollbarStyleChanged):
123         * platform/mac/ScrollAnimatorMac.mm:
124         (WebCore::ScrollAnimatorMac::updateScrollerStyle):
125
126 2011-11-18  Alpha Lam  <hclam@chromium.org>
127
128         [chromium] composited layers are blurry with a zoom-in page scale factor
129         https://bugs.webkit.org/show_bug.cgi?id=71225
130
131         Reviewed by James Robinson.
132
133         Pass contents scale factor to the compositor such that it can:
134         1. Adjust contentBounds() of the compositoer layers with content scale.
135         2. Apply the content scale in the painter for texture update in better resolution.
136         3. Apply the content scale to the dirty rect in CanvasLayerTextureUpdater.
137
138         This change fixed blurry problem for all tiled layer types and is not limited to
139         position:fixed layers.
140
141         Tests: compositing/geometry/fixed-position-composited-page-scale-down.html
142                compositing/geometry/fixed-position-composited-page-scale.html
143                compositing/geometry/fixed-position-iframe-composited-page-scale-down.html
144                compositing/geometry/fixed-position-iframe-composited-page-scale.html
145                compositing/geometry/fixed-position-transform-composited-page-scale-down.html
146                compositing/geometry/fixed-position-transform-composited-page-scale.html
147
148         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
149         (WebCore::GraphicsLayerChromium::setTransform):
150         (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
151         (WebCore::GraphicsLayerChromium::updateContentsScale):
152         (WebCore::GraphicsLayerChromium::contentsScale):
153         (WebCore::GraphicsLayerChromium::deviceOrPageScaleFactorChanged):
154         * platform/graphics/chromium/GraphicsLayerChromium.h:
155         * platform/graphics/chromium/ImageLayerChromium.cpp:
156         (WebCore::ImageLayerTextureUpdater::prepareToUpdate):
157         (WebCore::ImageLayerChromium::needsContentsScale):
158         * platform/graphics/chromium/ImageLayerChromium.h:
159         * platform/graphics/chromium/LayerChromium.cpp:
160         (WebCore::LayerChromium::LayerChromium):
161         (WebCore::LayerChromium::setContentsScale):
162         * platform/graphics/chromium/LayerChromium.h:
163         (WebCore::LayerChromium::needsContentsScale):
164         (WebCore::LayerChromium::contentsScale):
165         * platform/graphics/chromium/LayerTextureUpdater.h:
166         * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
167         (WebCore::LayerTextureUpdaterCanvas::paintContents):
168         (WebCore::LayerTextureUpdaterBitmap::prepareToUpdate):
169         (WebCore::LayerTextureUpdaterSkPicture::prepareToUpdate):
170         * platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
171         * platform/graphics/chromium/TiledLayerChromium.cpp:
172         (WebCore::TiledLayerChromium::needsContentsScale):
173         (WebCore::TiledLayerChromium::contentBounds):
174         (WebCore::TiledLayerChromium::prepareToUpdate):
175         * platform/graphics/chromium/TiledLayerChromium.h:
176
177 2011-11-18  Igor Oliveira  <igor.oliveira@openbossa.org>
178
179         [WK2][Qt] Move Accelerated Composite animations to UIProcess
180         https://bugs.webkit.org/show_bug.cgi?id=72753
181
182         Add helper method to synchronize animations in TextureMapper.
183
184         Reviewed by Noam Rosenthal.
185
186         * platform/graphics/texmap/TextureMapperNode.cpp:
187         (WebCore::TextureMapperNode::syncAnimationsRecursively):
188         * platform/graphics/texmap/TextureMapperNode.h:
189
190 2011-11-18  Scott Graham  <scottmg@chromium.org>
191
192         IDL changes for gamepad support
193         https://bugs.webkit.org/show_bug.cgi?id=71753
194
195         Reviewed by Adam Barth.
196
197         IDL changes and associated plumbing to expose list of gamepad objects
198         on navigator object (per current spec). Full patch is
199         https://bugs.webkit.org/show_bug.cgi?id=69451. Only basic existence
200         test until more plumbing in future patches.
201
202         Test: gamepad/gamepad-api.html
203
204         * WebCore.gypi:
205         * bindings/generic/RuntimeEnabledFeatures.h:
206         (WebCore::RuntimeEnabledFeatures::setWebkitGamepadsEnabled):
207         (WebCore::RuntimeEnabledFeatures::webkitGamepadsEnabled):
208         * page/Gamepad.cpp: Added.
209         (WebCore::Gamepad::Gamepad):
210         (WebCore::Gamepad::axes):
211         (WebCore::Gamepad::buttons):
212         (WebCore::Gamepad::~Gamepad):
213         * page/Gamepad.h: Added.
214         * page/Gamepad.idl: Added.
215         * page/GamepadList.cpp: Added.
216         (WebCore::GamepadList::~GamepadList):
217         (WebCore::GamepadList::set):
218         (WebCore::GamepadList::length):
219         (WebCore::GamepadList::item):
220         * page/GamepadList.h: Added.
221         (WebCore::GamepadList::create):
222         (WebCore::GamepadList::GamepadList):
223         * page/GamepadList.idl: Added.
224         * page/Navigator.cpp:
225         (WebCore::Navigator::webkitGamepads):
226         * page/Navigator.h:
227         * page/Navigator.idl:
228
229 2011-11-18  Sheriff Bot  <webkit.review.bot@gmail.com>
230
231         Unreviewed, rolling out r100693.
232         http://trac.webkit.org/changeset/100693
233         https://bugs.webkit.org/show_bug.cgi?id=72779
234
235         This patch caused a rendering regression (see bug 72770)
236         (Requested by philip__ on #webkit).
237
238         * rendering/RenderObject.cpp:
239         (WebCore::RenderObject::setStyle):
240         * rendering/style/RenderStyle.cpp:
241         (WebCore::RenderStyle::diff):
242
243 2011-11-18  Simon Fraser  <simon.fraser@apple.com>
244
245         Reflection on composited element doesn't update if the element changes to show no content
246         https://bugs.webkit.org/show_bug.cgi?id=72774
247
248         Reviewed by Chris Marrin.
249         
250         When a style change results in a reflected element losing its backing store,
251         we need to clear the backing stores on the layer clones as well.
252
253         Test: compositing/reflections/become-simple-composited-reflection.html
254
255         * platform/graphics/ca/GraphicsLayerCA.cpp:
256         (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
257
258 2011-11-18  Daniel Cheng  <dcheng@chromium.org>
259
260         [chromium] Use correct backing store for ChromiumDataObject in pasteboard writes.
261         https://bugs.webkit.org/show_bug.cgi?id=72767
262
263         Reviewed by Tony Chang.
264
265         Covered by existing tests.
266
267         * editing/chromium/EditorChromium.cpp:
268         (WebCore::Editor::newGeneralClipboard):
269         * page/chromium/EventHandlerChromium.cpp:
270         (WebCore::EventHandler::createDraggingClipboard):
271         * platform/chromium/ChromiumDataObject.cpp:
272         (WebCore::ChromiumDataObject::types):
273         (WebCore::ChromiumDataObject::getData):
274         (WebCore::ChromiumDataObject::containsFilenames):
275         (WebCore::ChromiumDataObject::ChromiumDataObject):
276         * platform/chromium/ChromiumDataObject.h:
277         (WebCore::ChromiumDataObject::createFromPasteboard):
278         (WebCore::ChromiumDataObject::create):
279         (WebCore::ChromiumDataObject::storageMode):
280         * platform/chromium/ClipboardChromium.cpp:
281         (WebCore::ClipboardChromium::hasData):
282
283 2011-11-18  Chris Evans  <cevans@google.com>
284
285         Crash with ranges across a detached, reparented node tree
286         https://bugs.webkit.org/show_bug.cgi?id=72757
287
288         Reviewed by Adam Barth.
289
290         Test: fast/dom/move-detached-child-in-range.html
291
292         * dom/RangeBoundaryPoint.h:
293         (WebCore::RangeBoundaryPoint::childBefore): protect the raw child node from getting pulled from under us.
294
295 2011-11-18  Beth Dakin  <bdakin@apple.com>
296
297         https://bugs.webkit.org/show_bug.cgi?id=72551
298         When the recommended scrollbar style changes, WKView's tracking options should 
299         adjust accordingly
300         -and corresponding-
301         <rdar://problem/10409328>
302
303         Reviewed by Darin Adler.
304
305         This new ChromeClient function is called when the recommended scrollbar style 
306         changes. This way, WebKit can respond to the change by adjusting its mouse 
307         tracking.
308         * page/ChromeClient.h:
309         (WebCore::ChromeClient::recommendedScrollbarStyleDidChange):
310
311         Existing ScrollableArea function scrollbarStyleChanged() now takes an int 
312         indicating the new scrollbar style and a bool indicating whether it is necessary 
313         to force an update. It used to be the case that this function was ONLY used to 
314         force an update (and only called when an updated was needed), but now that it must 
315         also call into the ChromeClient, it is necessary to include a bool tracking 
316         whether we need to force an update. New implementation on FrameView is responsible 
317         for calling ChromeClient, and then that calls into the pre-existing ScrollView 
318         function for the forceUpdate part.
319         * page/FrameView.cpp:
320         (WebCore::FrameView::scrollbarStyleChanged):
321         * page/FrameView.h:
322         * platform/ScrollView.cpp:
323         (WebCore::ScrollView:: scrollbarStyleChanged):
324         * platform/ScrollView.h:
325         * platform/ScrollableArea.h:
326         (WebCore::ScrollableArea::scrollbarStyleChanged):
327         * platform/mac/ScrollAnimatorMac.mm:
328         (WebCore::ScrollAnimatorMac::updateScrollerStyle):
329
330 2011-11-18  Kelly Norton  <knorton@google.com>
331
332         Fixes several more void functions in RenderObject that return values.
333         https://bugs.webkit.org/show_bug.cgi?id=72750
334
335         Reviewed by Adam Barth.
336
337         * rendering/RenderBlock.cpp:
338         (WebCore::RenderBlock::updateBeforeAfterContent):
339         (WebCore::RenderBlock::addChildToContinuation):
340         (WebCore::RenderBlock::addChildToAnonymousColumnBlocks):
341         (WebCore::RenderBlock::addChild):
342         (WebCore::RenderBlock::addChildIgnoringContinuation):
343
344 2011-11-18  Shawn Singh  <shawnsingh@chromium.org>
345
346         [chromium] Add some useful text to existing debug dump
347         https://bugs.webkit.org/show_bug.cgi?id=72576
348
349         Reviewed by James Robinson.
350
351         No new tests needed.
352
353         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
354         (WebCore::CCLayerImpl::dumpLayerProperties):
355         * platform/graphics/chromium/cc/CCRenderSurface.cpp:
356         (WebCore::CCRenderSurface::dumpSurface):
357
358 2011-11-18  Xiaomei Ji  <xji@chromium.org>
359
360         REGRESSION: rtl horizontal scrollbar / resize bug - Body shifts on resize when scrolled all the way to the left
361         https://bugs.webkit.org/show_bug.cgi?id=70395
362
363         Reviewed by Tony Chang.
364
365         This patch fixes the problem in Mac and Chromium Mac.
366    
367         The existing test fast/dom/rtl-scroll-to-leftmost-and-resize.html seems does not really work in Mac DRT
368         (the browswer window is not resized). It works in Chromium-Mac. And Chromium-Mac's code
369         is forked from Mac.
370
371         * platform/chromium/ScrollAnimatorChromiumMac.mm:
372         (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPoint):
373         * platform/mac/ScrollAnimatorMac.mm:
374         (WebCore::ScrollAnimatorMac::immediateScrollToPoint):
375
376 2011-11-18  Martin Robinson  <mrobinson@igalia.com>
377
378         REGRESSION (r99924): broke 2 pasteboard tests on GTK
379         https://bugs.webkit.org/show_bug.cgi?id=72131
380
381         Reviewed by Tony Chang.
382
383         * platform/gtk/ClipboardGtk.cpp:
384         (WebCore::ClipboardGtk::clearData): Call clearAll now.
385         (WebCore::ClipboardGtk::clearAllData): Call clearAllExceptFilenames now.
386         * platform/gtk/DataObjectGtk.cpp:
387         (WebCore::DataObjectGtk::clearAllExceptFilenames): Renamed from clear.
388         (WebCore::DataObjectGtk::clearAll): Added this method which also clear filenames.
389         * platform/gtk/DataObjectGtk.h:
390         * platform/gtk/PasteboardGtk.cpp: Call clear before setting new clipboard data.
391         (WebCore::Pasteboard::writeSelection): Ditto.
392         (WebCore::Pasteboard::writePlainText): Ditto.
393         (WebCore::Pasteboard::writeURL): Ditto.
394         (WebCore::Pasteboard::writeImage): Ditto.
395         * platform/gtk/PasteboardHelper.cpp:
396         (WebCore::clearClipboardContentsCallback): Use the clearAll method now.
397
398 2011-11-18  Vineet Chaudhary  <vineet.chaudhary@motorola.com>
399
400         Access key should work on all elements.
401         https://bugs.webkit.org/show_bug.cgi?id=71854
402
403         Reviewed by Ryosuke Niwa.
404
405         All HTML elements can have the accesskey content attribute set.
406         Specification http://dev.w3.org/html5/spec/Overview.html#the-accesskey-attribute
407         Adding "accessKey" attribute to HTMLElement.idl file as [Reflect].
408
409         Test: fast/forms/access-key-for-all-elements.html
410
411         * bindings/objc/PublicDOMInterfaces.h: Moved properties form subclass to base class.
412         * html/BaseButtonInputType.cpp: 
413         (WebCore::BaseButtonInputType::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
414         * html/BaseButtonInputType.h: Ditto
415         * html/BaseCheckableInputType.cpp:
416         (WebCore::BaseCheckableInputType::accessKeyAction): Ditto
417         * html/BaseCheckableInputType.h: Ditto
418         * html/HTMLAnchorElement.cpp:
419         (WebCore::HTMLAnchorElement::accessKeyAction): Ditto
420         * html/HTMLAnchorElement.h: Ditto
421         * html/HTMLAnchorElement.idl: Removed redundant IDL attribute entries.
422         * html/HTMLAreaElement.idl: Removed redundant IDL attribute entries.
423         * html/HTMLButtonElement.cpp:
424         (WebCore::HTMLButtonElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
425         * html/HTMLButtonElement.h: Ditto
426         * html/HTMLButtonElement.idl: Removed redundant IDL attribute entries.
427         * html/HTMLElement.cpp:
428         (WebCore::HTMLElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
429         If the element does not have a defined activation behavior, fire a click event at the element.
430         * html/HTMLElement.h: Ditto
431         * html/HTMLElement.idl: Added accessKey IDL attribute.
432         * html/HTMLInputElement.cpp:
433         (WebCore::HTMLInputElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
434         * html/HTMLInputElement.h: Ditto
435         * html/HTMLInputElement.idl: Removed redundant IDL attribute entries.
436         * html/HTMLLabelElement.cpp:
437         (WebCore::HTMLLabelElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
438         * html/HTMLLabelElement.h: Ditto
439         * html/HTMLLabelElement.idl: Removed redundant IDL attribute entries.
440         * html/HTMLLegendElement.cpp:
441         (WebCore::HTMLLegendElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
442         * html/HTMLLegendElement.h: Ditto
443         * html/HTMLLegendElement.idl: Removed redundant IDL attribute entries.
444         * html/HTMLOptGroupElement.h: Renamed variable sendToAnyElement to sendMouseEvents.
445         * html/HTMLSelectElement.cpp:
446         (WebCore::HTMLSelectElement::accessKeyAction): Ditto
447         * html/HTMLSelectElement.h: Ditto
448         * html/HTMLTextAreaElement.h: Ditto
449         * html/HTMLTextAreaElement.idl: Removed redundant IDL attribute entries.
450         * html/HiddenInputType.h: Renamed variable sendToAnyElement to sendMouseEvents.
451         * html/InputType.h: Ditto
452         * html/RangeInputType.cpp:
453         (WebCore::RangeInputType::accessKeyAction): Ditto
454         * html/RangeInputType.h: Ditto
455
456 2011-11-18  Simon Fraser  <simon.fraser@apple.com>
457
458         Appearance of compound transform animations under apps linked on SnowLeopard is incorrect
459         https://bugs.webkit.org/show_bug.cgi?id=72641
460         and
461         <rdar://problem/10314267>
462
463         Reviewed by Dean Jackson.
464
465         GraphicsLayerCA contains a "linked on or after" check to account for a bug in
466         Core Animation on SnowLeopard and earlier, which is that CA would apply the list
467         of animations in reverse order.
468         
469         Our previous fix was incorrect, because it only adjusted the 'additive' property
470         of the animation list based on ordering, rather than flipping the entire list.
471         This change reverses the list of animations before giving them to CA, which fixes
472         the bug.
473                 
474         Test: animations/additive-transform-animations.html
475
476         * platform/graphics/ca/GraphicsLayerCA.cpp:
477         (WebCore::GraphicsLayerCA::appendToUncommittedAnimations):
478         (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
479         * platform/graphics/ca/GraphicsLayerCA.h:
480
481 2011-11-18  Tim Horton  <timothy_horton@apple.com>
482
483         -webkit-cross-fade rendered incorrectly in overflow divs
484         https://bugs.webkit.org/show_bug.cgi?id=72693
485         <rdar://problem/10468564>
486
487         Reviewed by Simon Fraser.
488
489         Respect the desired source rectangle when rendering the cross-fade.
490
491         Test: css3/images/cross-fade-overflow-position.html
492
493         * platform/graphics/CrossfadeGeneratedImage.cpp:
494         (WebCore::CrossfadeGeneratedImage::drawCrossfade):
495         (WebCore::CrossfadeGeneratedImage::draw):
496         (WebCore::CrossfadeGeneratedImage::drawPattern):
497         * platform/graphics/CrossfadeGeneratedImage.h:
498
499 2011-11-18  Raphael Kubo da Costa  <kubo@profusion.mobi>
500
501         Unreviewed build fix; r100686 broke the EFL build when Geolocation
502         support is enabled.
503
504         * platform/efl/GeolocationServiceEfl.cpp: Only declare
505         s_factoryFunction if CLIENT_BASED_GEOLOCATION is off, otherwise it is
506         also declared in GeolocationService.cpp.
507
508 2011-11-18  Igor Oliveira  <igor.oliveira@openbossa.org>
509
510         [TextureMapper] computePerspectiveTransformIfNeeded is called twice in TextureMapperNode::syncCompositingState
511         https://bugs.webkit.org/show_bug.cgi?id=72727
512
513         TextureMapperNode::computeAllTransforms already has a call to TextureMapperNode::computePerspectiveTransformIfNeeded,
514         so it does not need to be called again after TextureMapperNode::computeAllTransforms.
515
516         Reviewed by Noam Rosenthal.
517
518         * platform/graphics/texmap/TextureMapperNode.cpp:
519         (WebCore::TextureMapperNode::syncCompositingState):
520
521 2011-11-18  Mihnea Ovidenie  <mihnea@adobe.com>
522
523         Fix compilation warning in ComplexTextControllerCoreText.mm
524         https://bugs.webkit.org/show_bug.cgi?id=72702
525
526         Reviewed by Andreas Kling.
527
528         No functionality changed, so no new tests.
529
530         * platform/graphics/mac/ComplexTextControllerCoreText.mm:
531         (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
532
533 2011-11-18  Pavel Feldman  <pfeldman@google.com>
534
535         Not reviewed: restore front-end compilability via updating externs and JS generator.
536
537         * inspector/front-end/ElementsPanel.js:
538         (WebInspector.ElementsPanel.prototype.jumpToNextSearchResult):
539         (WebInspector.ElementsPanel.prototype.jumpToPreviousSearchResult):
540         * inspector/front-end/externs.js:
541         (WebInspector.showPanelForAnchorNavigation):
542         * inspector/generate-protocol-externs:
543
544 2011-11-17  Pavel Feldman  <pfeldman@google.com>
545
546         Web Inspector: dispatch messages from the front-end to the backend asynchronously.
547         https://bugs.webkit.org/show_bug.cgi?id=72621
548
549         We should align the way we dispatch messages from the front-end to backend across the environments:
550           - WebKit has it synchronoulsly
551           - Chromium has it asynchronously
552           - Remote debugging has it asynchronously
553         Making it asynchronous made a number of flaky Qt tests pass.
554
555         Tests uncovered console agent problem that was also fixed.
556
557         Reviewed by Yury Semikhatsky.
558
559         * inspector/InspectorConsoleAgent.cpp:
560         (WebCore::InspectorConsoleAgent::clearFrontend):
561         * inspector/InspectorFrontendClient.h:
562         * inspector/InspectorFrontendClientLocal.cpp:
563         (WebCore::InspectorBackendDispatchTask::InspectorBackendDispatchTask):
564         (WebCore::InspectorBackendDispatchTask::dispatch):
565         (WebCore::InspectorBackendDispatchTask::reset):
566         (WebCore::InspectorBackendDispatchTask::onTimer):
567         (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal):
568         (WebCore::InspectorFrontendClientLocal::windowObjectCleared):
569         (WebCore::InspectorFrontendClientLocal::sendMessageToBackend):
570         * inspector/InspectorFrontendClientLocal.h:
571
572 2011-11-18  Iain Merrick  <husky@google.com>
573
574         [chromium] Pass screen refresh rate into compositor.
575         https://bugs.webkit.org/show_bug.cgi?id=71040
576
577         Reviewed by Tony Gentilcore.
578
579         Covered by CCLayerTreeHostTest.
580
581         * platform/PlatformScreen.h:
582         * platform/chromium/PlatformScreenChromium.cpp:
583         (WebCore::screenRefreshRate):
584         * platform/chromium/PlatformSupport.h:
585         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
586         (WebCore::CCSettings::CCSettings):
587         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
588         (WebCore::CCThreadProxy::initializeImplOnImplThread):
589
590 2011-11-18  Alexandru Chiculita  <achicu@adobe.com>
591
592         [CSSShaders] Implement the computed style for mesh parameters of the custom() filter
593         https://bugs.webkit.org/show_bug.cgi?id=72478
594
595         Reviewed by Dean Jackson.
596
597         Added parsing and computed style for the mesh rows, columns, mesh box type 
598         (filter-box, border-box, content-box and padding-box) and the detached mode.
599         
600         Also fixed a case where "custom(none, 10, 10 filter-box)" was incorrectly
601         treated as "custom(none, 10)".
602
603         * css/CSSComputedStyleDeclaration.cpp:
604         (WebCore::CSSComputedStyleDeclaration::valueForFilter):
605         * css/CSSParser.cpp:
606         (WebCore::CSSParser::parseCustomFilter): Fixed a case where invalid syntax was parsed as correct syntax.
607         * css/CSSPrimitiveValueMappings.h:
608         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
609         (WebCore::CSSPrimitiveValue::operator CustomFilterOperation::MeshBoxType):
610         * css/CSSStyleSelector.cpp:
611         (WebCore::CSSStyleSelector::createCustomFilterOperation):
612         * css/CSSValueList.h:
613         (WebCore::CSSValueListIterator::isPrimitiveValue):
614         * platform/graphics/filters/CustomFilterOperation.h:
615
616 2011-11-18  Adam Barth  <abarth@webkit.org>
617
618         Remove unneeded include (and ifdef) from V8DOMWindowCustom.cpp
619         https://bugs.webkit.org/show_bug.cgi?id=72705
620
621         Reviewed by Eric Seidel.
622
623         Death to ifdefs!
624
625         * bindings/v8/custom/V8DOMWindowCustom.cpp:
626
627 2011-11-18  Adam Barth  <abarth@webkit.org>
628
629         Move some mediastream related files into the mediastream directory
630         https://bugs.webkit.org/show_bug.cgi?id=72695
631
632         Reviewed by Eric Seidel.
633
634         Just moving the files to the proper directory.
635
636         * GNUmakefile.list.am:
637         * WebCore.gypi:
638         * mediastream/NavigatorUserMediaError.h: Renamed from Source/WebCore/page/NavigatorUserMediaError.h.
639         (WebCore::NavigatorUserMediaError::create):
640         (WebCore::NavigatorUserMediaError::~NavigatorUserMediaError):
641         (WebCore::NavigatorUserMediaError::code):
642         (WebCore::NavigatorUserMediaError::NavigatorUserMediaError):
643         * mediastream/NavigatorUserMediaError.idl: Renamed from Source/WebCore/page/NavigatorUserMediaError.idl.
644         * mediastream/NavigatorUserMediaErrorCallback.h: Renamed from Source/WebCore/page/NavigatorUserMediaErrorCallback.h.
645         (WebCore::NavigatorUserMediaErrorCallback::~NavigatorUserMediaErrorCallback):
646         * mediastream/NavigatorUserMediaErrorCallback.idl: Renamed from Source/WebCore/page/NavigatorUserMediaErrorCallback.idl.
647         * mediastream/NavigatorUserMediaSuccessCallback.h: Renamed from Source/WebCore/page/NavigatorUserMediaSuccessCallback.h.
648         (WebCore::NavigatorUserMediaSuccessCallback::~NavigatorUserMediaSuccessCallback):
649         * mediastream/NavigatorUserMediaSuccessCallback.idl: Renamed from Source/WebCore/page/NavigatorUserMediaSuccessCallback.idl.
650
651 2011-11-18  Andrey Kosyakov  <caseq@chromium.org>
652
653         Web Inspector: [Extensions API] Provide a way for extension to create a status bar icon
654         https://bugs.webkit.org/show_bug.cgi?id=45955
655
656         Reviewed by Pavel Feldman.
657
658         * inspector/front-end/ExtensionAPI.js:
659         (injectedExtensionAPI.ExtensionPanelImpl.prototype.createStatusBarButton):
660         (injectedExtensionAPI):
661         (injectedExtensionAPI.ButtonImpl.prototype.update):
662         * inspector/front-end/ExtensionPanel.js:
663         (WebInspector.ExtensionPanel):
664         (WebInspector.ExtensionPanel.prototype.get statusBarItems):
665         (WebInspector.ExtensionPanel.prototype.addStatusBarItem):
666         (WebInspector.ExtensionButton):
667         (WebInspector.ExtensionButton.prototype.update):
668         (WebInspector.ExtensionButton.prototype._onClicked):
669         * inspector/front-end/ExtensionServer.js:
670         (WebInspector.ExtensionServer):
671         (WebInspector.ExtensionServer.prototype.notifyButtonClicked):
672         (WebInspector.ExtensionServer.prototype._onCreateStatusBarButton):
673         (WebInspector.ExtensionServer.prototype._onUpdateButton):
674         (WebInspector.ExtensionServer.prototype._onCreateSidebarPane):
675         * inspector/front-end/inspector.css:
676         (button.status-bar-item.extension):
677
678 2011-11-18  Tommy Widenflycht  <tommyw@google.com>
679
680         MediaStream API: Merging the PeerConnectionHandler.h files
681         https://bugs.webkit.org/show_bug.cgi?id=72611
682
683         Reviewed by Adam Barth.
684
685         No actual code changes.
686
687         * GNUmakefile.am:
688         * GNUmakefile.list.am:
689         * WebCore.gyp/WebCore.gyp:
690         * WebCore.gypi:
691         * platform/mediastream/PeerConnectionHandler.h: Renamed from Source/WebCore/platform/mediastream/chromium/PeerConnectionHandler.h.
692         * platform/mediastream/gstreamer/PeerConnectionHandler.h: Removed.
693
694 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
695
696         [Qt] Layer violation: ThirdPartyCookiesQt.cpp uses QWebSettings in two places
697         https://bugs.webkit.org/show_bug.cgi?id=72597
698
699         Reviewed by Kenneth Rohde Christiansen.
700
701         Moved code that queries the third party cookie policy from QWebSettings
702         out of WebCore. Instead NetworkingContext has now the interface that allows
703         delegating the functionality into WebKit/qt.
704
705         In order to do that we need to pass the NetworkingContext around, which is used to
706         retrieve the cookie jar and the originating frame object pointer.
707
708         * platform/network/NetworkingContext.h: Add interface.
709         * platform/network/qt/QNetworkReplyHandler.cpp:
710         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler): Pass NetworkingContext to ResourceRequest::toNetworkRequest.
711         (WebCore::QNetworkReplyHandler::redirect): Ditto.
712         * platform/network/qt/ResourceRequest.h: Replaced originatingObject parameter with NetworkingContext, which can
713         also provide the same plus more (cookie jar, policy callback).
714         * platform/network/qt/ResourceRequestQt.cpp:
715         (WebCore::ResourceRequest::toNetworkRequest): Ditto.
716         * platform/qt/CookieJarQt.cpp: Simplify to use NetworkingContext to get cookie jar and
717         call new thirdPartyCookiePolicyPermits API that takes the context as parameter.
718         (WebCore::networkingContext):
719         (WebCore::setCookies):
720         (WebCore::cookies):
721         (WebCore::cookieRequestHeaderFieldValue):
722         (WebCore::cookiesEnabled):
723         * platform/qt/ThirdPartyCookiesQt.cpp: Replace up-casting to QWebFrame and use of QWebSettings
724         with useage of NetworkingContext.
725         (WebCore::thirdPartyCookiePolicyPermits):
726         * platform/qt/ThirdPartyCookiesQt.h:
727
728 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
729
730         crash: WebCore::FontPlatformData::roundsGlyphAdvances on Lion
731         https://bugs.webkit.org/show_bug.cgi?id=71997
732
733         Reviewed by Dan Bernstein.
734
735         The cause is a null dereference of a fontData that is stored in
736         ComplexTextRun. The fontData is initialized by using the
737         fontCache, but it could be null when the font is in fallback
738         list. The reason a font from the fallback list might not be in the
739         font Cache is that it may be a web font. Before looking up the
740         fontCache, try to see whether the font is in the fallback list.
741
742         No new tests. We don't have webfonts that can produce the problem.
743
744         * platform/graphics/mac/ComplexTextControllerCoreText.mm:
745         (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText): See fallback list first, then lookup cache.
746
747 2011-11-17  Kaustubh Atrawalkar  <kaustubh@motorola.com>
748
749         Remove initProgressEvent method
750         https://bugs.webkit.org/show_bug.cgi?id=71340
751
752         Reviewed by Adam Barth.
753
754         This method has been removed from the spec draft.
755         http://www.w3.org/TR/progress-events/#interface-progressevent
756
757         No new tests. Removed method.
758
759         * dom/ProgressEvent.cpp:
760         * dom/ProgressEvent.h:
761         * dom/ProgressEvent.idl:
762
763 2011-11-17  Eunmi Lee  <eunmi15.lee@samsung.com>
764
765         [EFL] Move keyIdentifierForEvasKeyName() and windowsKeyCodeForEvasKeyName() to the
766         EflKeyboardUtilities.cpp to use in the WebKit2
767         https://bugs.webkit.org/show_bug.cgi?id=62451
768
769         Reviewed by Martin Robinson.
770
771         The keyIdentifierForEvasKeyName() and windowsKeyCodeForEvasKeyName() were static functions
772         in the PlatformKeyboardEventEfl.cpp. But they are also needed in the WebKit2 EFL port, so I
773         moved them to the separated file - EflKeyboardUtilities.cpp.
774
775         * PlatformEfl.cmake:
776         * platform/efl/EflKeyboardUtilities.cpp: Copied from Source/WebCore/platform/efl/PlatformKeyboardEventEfl.cpp.
777         (WebCore::createKeyMap):
778         (WebCore::createWindowsKeyMap):
779         (WebCore::keyIdentifierForEvasKeyName):
780         (WebCore::windowsKeyCodeForEvasKeyName):
781         * platform/efl/EflKeyboardUtilities.h: Added.
782         * platform/efl/PlatformKeyboardEventEfl.cpp:
783
784 2011-11-17  Martin Robinson  <mrobinson@igalia.com>
785
786         [GTK] The process freezes when you right click on windowless Flash
787         https://bugs.webkit.org/show_bug.cgi?id=69123
788
789         Reviewed by Xan Lopez.
790
791         No new tests. I tried to create a layout test that exercised this
792         issue, but it appears that EventSender clicks do not trigger
793         it. This is covered by the manual tests containing Flash.
794
795         * plugins/PluginPackage.cpp:
796         (WebCore::PluginPackage::determineQuirks): Always activate the
797         windowless Flash quirk if on x86_64 and X11.
798         * plugins/gtk/PluginViewGtk.cpp:
799         (WebCore::PluginView::handleMouseEvent): Avoid sending right-click
800         events if we have the quirk.
801
802 2011-11-17  Peter Rybin  <peter.rybin@gmail.com>
803
804         Web Inspector: clear fixme in generator script
805         https://bugs.webkit.org/show_bug.cgi?id=71372
806
807         Remove unnecessary field name map and update license year number.
808
809         Reviewed by Pavel Feldman.
810
811         * inspector/CodeGeneratorInspector.py:
812
813 2011-11-17  Raphael Kubo da Costa  <kubo@profusion.mobi>
814
815         [EFL] Clean up the use of DATA_DIR in the buildsystem
816         https://bugs.webkit.org/show_bug.cgi?id=72681
817
818         Reviewed by Daniel Bates.
819
820         Add the -DDATA_DIR definition here instead of defining it globally in
821         OptionsEfl.cmake, as WebCore is the only place which needs it.
822
823         No new tests, this is a buildsystem change.
824
825         * PlatformEfl.cmake:
826
827 2011-11-17  Adam Klein  <adamk@chromium.org>
828
829         Move JS recursion counter from V8Proxy to V8BindingPerIsolateData
830         https://bugs.webkit.org/show_bug.cgi?id=72645
831
832         Reviewed by Adam Barth.
833
834         With the JS recursion level stored as a member of V8Proxy, it's tied
835         to a frame. But this is incorrect, as there's no reason that a JS call
836         stack need be restricted to a single frame (see my new test case for
837         an example of code going across frames).
838
839         In order to get the correct accounting of JS recursion level, per-Isolate
840         is the right granularity (per dslomov), which is what this patch accomplishes.
841
842         Test: storage/indexeddb/transaction-abort-with-js-recursion-cross-frame.html
843
844         * bindings/v8/V8Binding.cpp:
845         (WebCore::V8BindingPerIsolateData::V8BindingPerIsolateData):
846         * bindings/v8/V8Binding.h:
847         (WebCore::V8BindingPerIsolateData::recursionLevel):
848         (WebCore::V8BindingPerIsolateData::incrementRecursionLevel):
849         (WebCore::V8BindingPerIsolateData::decrementRecursionLevel):
850         (WebCore::V8RecursionScope::V8RecursionScope):
851         (WebCore::V8RecursionScope::~V8RecursionScope):
852         * bindings/v8/V8Proxy.cpp:
853         (WebCore::incrementRecursionLevel):
854         (WebCore::decrementRecursionLevel):
855         (WebCore::recursionLevel):
856         (WebCore::V8Proxy::V8Proxy):
857         (WebCore::V8Proxy::runScript):
858         (WebCore::V8Proxy::callFunction):
859         (WebCore::V8Proxy::didLeaveScriptContext):
860         * bindings/v8/V8Proxy.h:
861
862 2011-11-17  Robin Cao  <robin.cao@torchmobile.com.cn>
863
864         [chromium] Font::drawComplexText can not draw a segment of text run
865         https://bugs.webkit.org/show_bug.cgi?id=72095
866
867         Reviewed by Adam Barth.
868
869         drawComplexText() should respect the 'from' and 'to' arguments.
870         Drawing the whole text run may result in text overlapping.
871
872         Test: platform/chromium-linux/fast/text/international/draw-complex-text-from-to.html
873
874         * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
875         (WebCore::ComplexTextController::glyphsForRange):
876         * platform/graphics/chromium/ComplexTextControllerLinux.h:
877         * platform/graphics/chromium/FontLinux.cpp:
878         (WebCore::Font::drawComplexText):
879
880 2011-11-17  Adam Barth  <abarth@webkit.org>
881
882         Unique SecurityOrigins shouldn't remember their old schemes and hosts
883         https://bugs.webkit.org/show_bug.cgi?id=71745
884
885         Reviewed by Darin Adler.
886
887         This is the final step in this series of patches.
888
889         This patch removes the forceUnique flag from SecurityOrigin::create.
890         Now, we create unique origins without passing in the document's URL,
891         preventing information from the document's URL from leaking into the
892         unique origin.
893
894         * WebCore.exp.in:
895         * dom/Document.cpp:
896         (WebCore::Document::setIsViewSource):
897         (WebCore::Document::initSecurityContext):
898         * loader/cache/MemoryCache.cpp:
899         (WebCore::MemoryCache::getOriginsWithCache):
900             - Update this callsite to use createFromString, which does exactly
901               what this code is doing manually.
902         * page/SecurityOrigin.cpp:
903         (WebCore::SecurityOrigin::create):
904         * page/SecurityOrigin.h:
905
906 2011-11-17  Vincent Scheib  <scheib@chromium.org>
907
908         Pointer Lock: Page Settings unecessary
909         https://bugs.webkit.org/show_bug.cgi?id=72662
910
911         Reviewed by Darin Fisher.
912
913         No new tests.
914
915         * page/Settings.cpp:
916         (WebCore::Settings::Settings):
917         * page/Settings.h:
918
919 2011-11-17  James Robinson  <jamesr@chromium.org>
920
921         [chromium] Disable incremental uploading in threaded compositing path
922         https://bugs.webkit.org/show_bug.cgi?id=72669
923
924         Reviewed by Kenneth Russell.
925
926         Since we don't currently support atomic incremental uploads, incremental uploads in the threaded path result in
927         very strange-looking texture popping as tiles come in on pages that require more than 16 tile uploads per frame.
928         This disables that logic (by setting the upload limit per frame to 99999) until we handle the incremental
929         updates in an atomic fashion.
930
931         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
932         (WebCore::CCThreadProxy::scheduledActionUpdateMoreResources):
933
934 2011-11-06  Nat Duca  <nduca@chromium.org>
935
936         [chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
937         https://bugs.webkit.org/show_bug.cgi?id=71638
938
939         Reviewed by James Robinson.
940
941         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
942         (WebCore::CCThreadProxy::CCThreadProxy):
943         (WebCore::CCThreadProxy::setNeedsAnimate):
944         (WebCore::CCThreadProxy::beginFrameAndCommit):
945
946 2011-11-17  Adam Barth  <abarth@webkit.org>
947
948         Remove bogus ASSERT.
949
950         * page/SecurityOrigin.cpp:
951         (WebCore::SecurityOrigin::SecurityOrigin):
952
953 2011-11-17  Peter Kasting  <pkasting@google.com>
954
955         Unreviewed, rolling out r100698.
956         http://trac.webkit.org/changeset/100698
957         https://bugs.webkit.org/show_bug.cgi?id=72239
958
959         This change wasn't the problem either.
960
961         * dom/Document.cpp:
962         (WebCore::Document::implicitClose):
963
964 2011-11-17  David Reveman  <reveman@chromium.org>
965
966         [Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
967         https://bugs.webkit.org/show_bug.cgi?id=72630
968
969         Reviewed by James Robinson.
970
971         Layer property changes during paintContent() can leave the layer
972         in an invalid state as paintContentsIfDirty() has been called
973         without a matching updateCompositorResources() call. Removing
974         conditionals around these calls ensure they are balanced.
975
976         This patch is tested by the following unit test:
977         - CCLayerTreeHostTestOpacityChange.runMultiThread
978
979         * platform/graphics/chromium/ContentLayerChromium.cpp:
980         (WebCore::ContentLayerChromium::paintContentsIfDirty):
981         * platform/graphics/chromium/VideoLayerChromium.cpp:
982         (WebCore::VideoLayerChromium::updateCompositorResources):
983         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
984         (WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
985         (WebCore::CCLayerTreeHost::paintLayerContents):
986         (WebCore::CCLayerTreeHost::updateCompositorResources):
987         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
988
989 2011-11-17  Peter Kasting  <pkasting@google.com>
990
991         Unreviewed, rolling out r100584.
992         http://trac.webkit.org/changeset/100584
993         https://bugs.webkit.org/show_bug.cgi?id=72239
994
995         See if this change caused Linux dbg crashes.
996
997         * dom/Document.cpp:
998         (WebCore::Document::implicitClose):
999
1000 2011-11-17  Adam Barth  <abarth@webkit.org>
1001
1002         Remove cargo-cult copy/pasting of ScriptExecutionContext namespace
1003         https://bugs.webkit.org/show_bug.cgi?id=72676
1004
1005         Reviewed by Eric Seidel.
1006
1007         It looks like this cargo-cult started with initDNSPrefetch being hacked
1008         into setSecurityOrigin.  I've removed this hack along with the
1009         copy/paste code.
1010
1011         * dom/DOMImplementation.cpp:
1012         * dom/Document.cpp:
1013         (WebCore::Document::setIsViewSource):
1014         (WebCore::Document::open):
1015         (WebCore::Document::initSecurityContext):
1016         (WebCore::Document::setSecurityOrigin):
1017         * dom/Document.h:
1018         * xml/XSLTProcessor.cpp:
1019
1020 2011-11-17  Peter Kasting  <pkasting@google.com>
1021
1022         Unreviewed, rolling out r100676.
1023         http://trac.webkit.org/changeset/100676
1024         https://bugs.webkit.org/show_bug.cgi?id=72393
1025
1026         Looks like r100572 was not the source of the crashes.
1027
1028         * bindings/js/ScriptDebugServer.cpp:
1029         (WebCore::ScriptDebugServer::canSetScriptSource):
1030         * bindings/js/ScriptDebugServer.h:
1031         * bindings/v8/ScriptDebugServer.cpp:
1032         (WebCore::ScriptDebugServer::stepOutOfFunction):
1033         (WebCore::ScriptDebugServer::canSetScriptSource):
1034         * bindings/v8/ScriptDebugServer.h:
1035         * inspector/CodeGeneratorInspector.py:
1036         * inspector/Inspector.json:
1037         * inspector/InspectorDebuggerAgent.cpp:
1038         (WebCore::InspectorDebuggerAgent::getCapabilities):
1039         * inspector/InspectorDebuggerAgent.h:
1040         * inspector/front-end/DebuggerModel.js:
1041         (WebInspector.DebuggerModel):
1042         (WebInspector.DebuggerModel.prototype.enableDebugger):
1043         (WebInspector.DebuggerModel.prototype.disableDebugger):
1044         (WebInspector.DebuggerModel.prototype.canSetScriptSource):
1045         * inspector/front-end/DebuggerPresentationModel.js:
1046         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
1047         * inspector/front-end/Settings.js:
1048
1049 2011-11-17  Konstantin Scheglov  <scheglov@google.com>
1050
1051         Absolute child is not repainted when parent opacity changes
1052         https://bugs.webkit.org/show_bug.cgi?id=68777
1053
1054         Reviewed by Simon Fraser.
1055
1056         First time when we change opacity for parent we don't have layer, so
1057         diff=StyleDifferenceRepaint is used instead of diff=StyleDifferenceRepaintLayer.
1058         Layer is created later, in styleDidChange().
1059         So, when we recalculate later diff, we now check for diff=StyleDifferenceRepaintLayer and
1060         performs repaintIncludingDescendants().
1061
1062         Test: fast/layers/layer-absolute-parent-opacity.html
1063
1064         * rendering/RenderObject.cpp:
1065         (WebCore::RenderObject::setStyle): Call repaintIncludingDescendants() instead of repaint().
1066         * rendering/style/RenderStyle.cpp:
1067         (WebCore::RenderStyle::diff): Add ContextSensitivePropertyOpacity when change opacity.
1068
1069 2011-11-17  Nate Chapin  <japhet@chromium.org>
1070
1071         r100311 dropped a RefPtr that is very
1072         helpful. Add it back.
1073         https://bugs.webkit.org/show_bug.cgi?id=72647
1074
1075         Reviewed by Adam Barth.
1076
1077         http/tests/misc/xslt-bad-import.html should
1078         stop crashing in full chromium builds.
1079
1080         * loader/cache/CachedResourceLoader.cpp:
1081         (WebCore::CachedResourceLoader::loadDone):
1082
1083 2011-11-17  Adam Barth  <abarth@webkit.org>
1084
1085         Refactor SecurityOrigin::create to be easier to understand
1086         https://bugs.webkit.org/show_bug.cgi?id=72342
1087
1088         Reviewed by Eric Seidel.
1089
1090         Over time, the SecurityOrigin constructor has grown a bit out of
1091         control.  This patch attempts to separate the different concerns into
1092         free functions.  The general approach is to put more logic in the
1093         "create" function and introduce a simple constructor for unique
1094         origins.
1095
1096         This patch shouldn't change any behavior.
1097
1098         * page/SecurityOrigin.cpp:
1099         (WebCore::schemeRequiresAuthority):
1100         (WebCore::shouldUseInnerURL):
1101         (WebCore::extractInnerURL):
1102         (WebCore::isDirectory):
1103         (WebCore::shouldTreatAsUniqueOrigin):
1104         (WebCore::SecurityOrigin::SecurityOrigin):
1105         (WebCore::SecurityOrigin::create):
1106         (WebCore::SecurityOrigin::createUnique):
1107         (WebCore::SecurityOrigin::databaseIdentifier):
1108         * page/SecurityOrigin.h:
1109
1110 2011-11-17  Shawn Singh  <shawnsingh@chromium.org>
1111
1112         [chromium] Fix minor style nit in CCLayerImpl
1113         https://bugs.webkit.org/show_bug.cgi?id=71070
1114
1115         Reviewed by James Robinson.
1116
1117         Fixes if-statements on several settors to follow WebKit
1118         conventions. Existing CCLayerImplTest unit tests already cover
1119         this change.
1120
1121         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
1122         (WebCore::CCLayerImpl::setBounds):
1123         (WebCore::CCLayerImpl::setMaskLayer):
1124         (WebCore::CCLayerImpl::setReplicaLayer):
1125         (WebCore::CCLayerImpl::setDrawsContent):
1126         (WebCore::CCLayerImpl::setAnchorPoint):
1127         (WebCore::CCLayerImpl::setAnchorPointZ):
1128         (WebCore::CCLayerImpl::setBackgroundColor):
1129         (WebCore::CCLayerImpl::setMasksToBounds):
1130         (WebCore::CCLayerImpl::setOpaque):
1131         (WebCore::CCLayerImpl::setOpacity):
1132         (WebCore::CCLayerImpl::setPosition):
1133         (WebCore::CCLayerImpl::setPreserves3D):
1134         (WebCore::CCLayerImpl::setZoomAnimatorTransform):
1135         (WebCore::CCLayerImpl::setSublayerTransform):
1136         (WebCore::CCLayerImpl::setTransform):
1137         (WebCore::CCLayerImpl::setDebugBorderColor):
1138         (WebCore::CCLayerImpl::setDebugBorderWidth):
1139         (WebCore::CCLayerImpl::setContentBounds):
1140         (WebCore::CCLayerImpl::setScrollPosition):
1141         (WebCore::CCLayerImpl::setScrollDelta):
1142         (WebCore::CCLayerImpl::setScaleDelta):
1143         (WebCore::CCLayerImpl::setDoubleSided):
1144
1145 2011-11-17  Michael Saboff  <msaboff@apple.com>
1146
1147         Leaks seen in MemoryPressureHandlerMac.mm on Leaks bot
1148         https://bugs.webkit.org/show_bug.cgi?id=72416
1149
1150         Added code to release _cache_event_source and _timer_event_source
1151         after they are canceled.  Also added defensive code to
1152         clean up the _timer_event_source in uninstall().
1153
1154         Reviewed by Geoffrey Garen.
1155
1156         No new tests, fixing leaks caught by leaks bot.
1157
1158         * platform/mac/MemoryPressureHandlerMac.mm:
1159         (WebCore::MemoryPressureHandler::uninstall):
1160         (WebCore::MemoryPressureHandler::holdOff):
1161
1162 2011-11-17  Ken Buchanan <kenrb@chromium.org>
1163
1164         Crash from positioned generated content under run-in
1165         https://bugs.webkit.org/show_bug.cgi?id=70456
1166
1167         Reviewed by David Hyatt.
1168
1169         Modified handling of run-in children to clear generated children
1170         before removing the parent from the render tree. This caused problems
1171         with absolute positioned children being not properly removed from the
1172         positioned object list of the RenderView.
1173
1174         * rendering/RenderBlock.cpp:
1175         (WebCore::RenderBlock::handleRunInChild):
1176
1177 2011-11-17  Peter Kasting  <pkasting@google.com>
1178
1179         Unreviewed, rolling out r100572.
1180         https://bugs.webkit.org/show_bug.cgi?id=72393
1181         https://bugs.webkit.org/show_bug.cgi?id=72651
1182
1183         May have caused seg faults on Chromium Linux dbg bot.
1184
1185         * bindings/js/ScriptDebugServer.cpp:
1186         * bindings/js/ScriptDebugServer.h:
1187         * bindings/v8/ScriptDebugServer.cpp:
1188         (WebCore::ScriptDebugServer::stepOutOfFunction):
1189         * bindings/v8/ScriptDebugServer.h:
1190         * inspector/CodeGeneratorInspector.py:
1191         * inspector/Inspector.json:
1192         * inspector/InspectorDebuggerAgent.cpp:
1193         * inspector/InspectorDebuggerAgent.h:
1194         * inspector/front-end/DebuggerModel.js:
1195         (WebInspector.DebuggerModel):
1196         (WebInspector.DebuggerModel.prototype.enableDebugger):
1197         (WebInspector.DebuggerModel.prototype.disableDebugger):
1198         * inspector/front-end/DebuggerPresentationModel.js:
1199         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
1200         * inspector/front-end/Settings.js:
1201
1202 2011-11-17  Sheriff Bot  <webkit.review.bot@gmail.com>
1203
1204         Unreviewed, rolling out r100652.
1205         http://trac.webkit.org/changeset/100652
1206         https://bugs.webkit.org/show_bug.cgi?id=72648
1207
1208         "Caused outline-offset-min-assert.html to assert on debug
1209         builds" (Requested by mwenge2 on #webkit).
1210
1211         * rendering/RenderObject.cpp:
1212         (WebCore::RenderObject::paintOutline):
1213
1214 2011-11-17  Mark Rowe  <mrowe@apple.com>
1215
1216         <http://webkit.org/b/72637> Stop performing runtime version checks on OS versions where the check can never possibly fail.
1217
1218         Reviewed by Simon Fraser.
1219
1220         * platform/graphics/cg/ImageBufferDataCG.cpp:
1221         (WebCore::haveVImageRoundingErrorFix): When not targeting Snow Leopard we always have the fix.
1222
1223 2011-11-17  Chris Fleizach  <cfleizach@apple.com>
1224
1225         AX: The scrollArea is not correctly returning the scrollbars
1226         https://bugs.webkit.org/show_bug.cgi?id=70247
1227
1228         Reviewed by Beth Dakin.
1229
1230         A few bugs that were preventing this from working.
1231            1) In accessibilityAttributeValue: when an element did not have a renderer() we were returning earlier than we should have
1232            2) We were not updating and clearing the scrollbars correctly when children were cleared or when asked for.
1233
1234         Test: platform/mac/accessibility/scrollbars.html
1235
1236         * accessibility/AccessibilityScrollView.cpp:
1237         (WebCore::AccessibilityScrollView::scrollBar):
1238         (WebCore::AccessibilityScrollView::clearChildren):
1239         * accessibility/AccessibilityScrollView.h:
1240         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
1241         (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
1242
1243 2011-11-14  Adam Barth  <abarth@webkit.org>
1244
1245         Unique origins shouldn't remember their scheme, host, or port
1246         https://bugs.webkit.org/show_bug.cgi?id=72308
1247
1248         Reviewed by Eric Seidel.
1249
1250         This patch contains the bulk (all?) of the behavior differences in this
1251         patch series.  Unique origins shouldn't remember their schemes.  Doing
1252         so causes some privileges (e.g., local access) to leak into unique
1253         origins.
1254
1255         * page/SecurityOrigin.cpp:
1256         (WebCore::SecurityOrigin::SecurityOrigin):
1257             - Explicitly clear out the protocol, host, and port for unique
1258               origins.  A future patch will refactor all this code to be more
1259               elegant.
1260         * platform/SchemeRegistry.cpp:
1261         (WebCore::schemesWithUniqueOrigins):
1262             - Merge "about" and "javascript" in with the general case now that
1263               we don't have a separate notion of an empty origin.
1264
1265 2011-11-17  Chris Fleizach  <cfleizach@apple.com>
1266
1267         AX: cleanup style and naming and code in accessibility search mechanism
1268         https://bugs.webkit.org/show_bug.cgi?id=72570
1269
1270         Reviewed by Beth Dakin.
1271
1272         Cleanup the naming and code style within the element searching mechanism.
1273
1274         * accessibility/AccessibilityObject.cpp:
1275         (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatch):
1276         (WebCore::AccessibilityObject::isAccessibilityTextSearchMatch):
1277         (WebCore::AccessibilityObject::firstAccessibleObjectFromNode):
1278         (WebCore::AccessibilityObject::findMatchingObjects):
1279         * accessibility/AccessibilityObject.h:
1280         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
1281         (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
1282
1283 2011-11-17  Julien Chaffraix  <jchaffraix@webkit.org>
1284
1285         CSS table with 100% width can overflow their containing block
1286         https://bugs.webkit.org/show_bug.cgi?id=72180
1287
1288         Reviewed by David Hyatt.
1289
1290         Tests: fast/table/table-in-table-percent-width-collapsing-border-quirks-mode.html
1291                fast/table/table-in-table-percent-width-collapsing-border.html
1292                fast/table/table-in-table-percent-width-quirks-mode.html
1293                fast/table/table-in-table-percent-width.html
1294
1295         After r97555, we would include the borders in a CSS table's logical width even if the 'width'
1296         property was a percent. This does not match what Firefox and IE are doing. Thus don't apply
1297         this behavior to percent 'width'.
1298
1299         * rendering/RenderTable.cpp:
1300         (WebCore::RenderTable::computeLogicalWidth):
1301
1302 2011-11-17  Adrienne Walker  <enne@google.com>
1303
1304         [chromium] Implicitly skip render surfaces that won't be drawn
1305         https://bugs.webkit.org/show_bug.cgi?id=71038
1306
1307         Rather than having redundant checks in three places for how to walk
1308         through a render surface list, instead don't add render surfaces that
1309         don't need to get rendered to the render surface list.
1310
1311         Reviewed by James Robinson.
1312
1313         Covered by existing layout tests and unit tests.
1314
1315         * platform/graphics/chromium/LayerRendererChromium.cpp:
1316         (WebCore::LayerRendererChromium::drawLayersOntoRenderSurfaces):
1317         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
1318         (WebCore::CCLayerTreeHost::paintLayerContents):
1319         (WebCore::CCLayerTreeHost::updateCompositorResources):
1320         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
1321         (WebCore::calculateDrawTransformsAndVisibilityInternal):
1322
1323 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
1324
1325         [Qt] Layer violation: qt_runtime.cpp accesses QWebElement and QTDRTNode
1326         https://bugs.webkit.org/show_bug.cgi?id=72595
1327
1328         Reviewed by Noam Rosenthal.
1329
1330         Removed QWebElement and QtDRTNode usage that reached from WebCore into
1331         WebKit/qt and replaced it with the ability to register custom JSValue
1332         conversion functions. The old code has been moved to WebKit/qt.
1333
1334         * bridge/qt/qt_instance.cpp:
1335         (JSC::Bindings::QtInstance::QtInstance): Remove unnecessary meta type registration
1336         (now done in QtWebElementRuntime::initialize in WebKit/qt).
1337         * bridge/qt/qt_runtime.cpp:
1338         (JSC::Bindings::registerCustomType):
1339         (JSC::Bindings::convertValueToQVariant):
1340         (JSC::Bindings::convertQVariantToValue):
1341         * bridge/qt/qt_runtime.h:
1342
1343 2011-11-17  Fady Samuel  <fsamuel@chromium.org>
1344
1345         Pass Aspect Ratio to RenderStyle
1346         https://bugs.webkit.org/show_bug.cgi?id=72350
1347
1348         Reviewed by Ojan Vafai.
1349
1350         * css/CSSComputedStyleDeclaration.cpp:
1351         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
1352         * css/CSSStyleApplyProperty.cpp:
1353         (WebCore::ApplyPropertyAspectRatio::applyInheritValue):
1354         (WebCore::ApplyPropertyAspectRatio::applyInitialValue):
1355         (WebCore::ApplyPropertyAspectRatio::applyValue):
1356         (WebCore::ApplyPropertyAspectRatio::createHandler):
1357         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
1358         * css/CSSStyleSelector.cpp:
1359         (WebCore::CSSStyleSelector::applyProperty):
1360         * css/CSSValue.h:
1361         (WebCore::CSSValue::isAspectRatioValue):
1362         * rendering/style/RenderStyle.h:
1363         (WebCore::InheritedFlags::hasAspectRatio):
1364         (WebCore::InheritedFlags::aspectRatio):
1365         (WebCore::InheritedFlags::aspectRatioDenominator):
1366         (WebCore::InheritedFlags::aspectRatioNumerator):
1367         (WebCore::InheritedFlags::setHasAspectRatio):
1368         (WebCore::InheritedFlags::setAspectRatioDenominator):
1369         (WebCore::InheritedFlags::setAspectRatioNumerator):
1370         (WebCore::InheritedFlags::initialHasAspectRatio):
1371         (WebCore::InheritedFlags::initialAspectRatioDenominator):
1372         (WebCore::InheritedFlags::initialAspectRatioNumerator):
1373         * rendering/style/StyleRareNonInheritedData.cpp:
1374         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
1375         (WebCore::StyleRareNonInheritedData::operator==):
1376         * rendering/style/StyleRareNonInheritedData.h:
1377
1378 2011-11-09  Robert Hogan  <robert@webkit.org>
1379
1380         CSS 2.1 failure: outline-color-* tests fail
1381         https://bugs.webkit.org/show_bug.cgi?id=71931
1382
1383         Reviewed by Julien Chaffraix.
1384
1385         WebKit wasn't displaying the top block in these tests because it did not paint the outline
1386         of divs with zero size.
1387
1388         * rendering/RenderObject.cpp:
1389         (WebCore::RenderObject::paintOutline): paint the outline even when the block has zero size
1390
1391 2011-11-17  Sergio Villar Senin  <svillar@igalia.com>
1392
1393         [GTK] plugins/get-url-notify-with-url-that-fails-to-load.html on bots after r100466
1394         https://bugs.webkit.org/show_bug.cgi?id=72613
1395
1396         Reviewed by Martin Robinson.
1397
1398         Do not assume that a SoupRequest always exists, it is not
1399         generated for example when the provided URL is
1400         invalid. ResourceHandle::platformSetDefersLoading was crashing
1401         because of that.
1402
1403         * platform/network/soup/ResourceHandleSoup.cpp:
1404         (WebCore::ResourceHandle::platformSetDefersLoading):
1405
1406 2011-11-17  Vsevolod Vlasov  <vsevik@chromium.org>
1407
1408         Web Inspector: Remove onlineDetectionEnabled from Preferences
1409         https://bugs.webkit.org/show_bug.cgi?id=72617
1410
1411         Reviewed by Pavel Feldman.
1412
1413         * inspector/front-end/ApplicationCacheItemsView.js:
1414         (WebInspector.ApplicationCacheItemsView):
1415         (WebInspector.ApplicationCacheItemsView.prototype.get statusBarItems):
1416         * inspector/front-end/Settings.js:
1417
1418 2011-11-17  Ken Buchanan  <kenrb@chromium.org>
1419
1420         Crash from nested tables with generated content
1421         https://bugs.webkit.org/show_bug.cgi?id=68811
1422
1423         Reviewed by David Hyatt.
1424
1425         When adding a child to a table that has generated content, this change
1426         ensures that we leave alone any generated content renderers that belong
1427         to descendants in the tree. They don't need to be touched, and doing so
1428         can create confusion about who the content belongs to.
1429
1430         This patch also simplifies some existing code for finding pseudoelement
1431         renderers. 
1432
1433         * rendering/RenderBlock.cpp:
1434         (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
1435         * rendering/RenderObject.cpp:
1436         (WebCore::RenderObject::addChild):
1437         (WebCore::RenderObject::isBeforeAfterContentGeneratedByAncestor): Added
1438         * rendering/RenderObject.h:
1439         (WebCore::RenderObject::findAfterContentRenderer): Deleted
1440         (WebCore::RenderObject::findBeforeContentRenderer): Deleted
1441         * rendering/RenderObjectChildList.cpp:
1442         (WebCore::RenderObjectChildList::beforePseudoElementRenderer):
1443         (WebCore::RenderObjectChildList::afterPseudoElementRenderer):
1444         * rendering/RenderTable.cpp:
1445         (WebCore::RenderTable::addChild):
1446         * rendering/RenderTableRow.cpp:
1447         (WebCore::RenderTableRow::addChild):
1448         * rendering/RenderTableSection.cpp:
1449         (WebCore::RenderTableSection::addChild):
1450
1451 2011-11-17  Patrick Gansterer  <paroga@webkit.org>
1452
1453         Unreviewed WinCE build fix for r94119.
1454
1455         MSVC throws multiply defined symbols linker error when using local class in inline function.
1456
1457         * bindings/js/JSDictionary.h:
1458         (WebCore::JSDictionary::IdentitySetter::identitySetter):
1459         (WebCore::JSDictionary::tryGetProperty):
1460
1461 2011-11-17  Eric Carlson  <eric.carlson@apple.com>
1462
1463         TextTrackList not sorted correctly
1464         https://bugs.webkit.org/show_bug.cgi?id=72545
1465
1466         Reviewed by Darin Adler.
1467
1468         Test: media/track/track-texttracks.html
1469
1470         * WebCore.xcodeproj/project.pbxproj: Add TextTrack.h to WebCore private headers because 
1471             it is included by HTMLMediaElement.h.
1472         * html/LoadableTextTrack.cpp:
1473         (WebCore::LoadableTextTrack::LoadableTextTrack): Pass track type to base class constructor.
1474         (WebCore::LoadableTextTrack::trackElementIndex): New, return the <track> element's tree order
1475             for sorting.
1476         * html/LoadableTextTrack.h:
1477
1478         * html/TextTrack.cpp:
1479         (WebCore::TextTrack::TextTrack): Set track type.
1480         * html/TextTrack.h:
1481         (WebCore::TextTrack::create): Ditto.
1482         (WebCore::TextTrack::trackType): Ditto.
1483
1484         * html/track/TextTrackList.cpp:
1485         (TextTrackList::length): Update to deal with two TextTrack vectors.
1486         (TextTrackList::item): Ditto.
1487         (TextTrackList::append): Ditto.
1488         (TextTrackList::remove): Ditto
1489         * html/track/TextTrackList.h: Store the two types of TextTracks in separate Vectors to make
1490             it simpler to keep them in the correct order.
1491
1492 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
1493
1494         [Qt] Layer violation: WebCore::dnsPrefetch uses QWebSettings::globalSettings()
1495         https://bugs.webkit.org/show_bug.cgi?id=72596
1496
1497         Reviewed by Kenneth Rohde Christiansen.
1498
1499         We don't need to use QWebSettings here, because we now propagate the DNS prefetch
1500         setting to WebCore::Settings and the rest of WebCore checks the setting before calling
1501         WebCore::prefetchDNS.
1502
1503         * platform/network/qt/DnsPrefetchHelper.cpp:
1504         (WebCore::prefetchDNS): Removed the use of QWebSettings.
1505         * platform/network/qt/DnsPrefetchHelper.h: Remove offending qwebsettings.h inclusion.
1506
1507 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
1508
1509         [Qt] Layer violation: Image::loadPlatformResource uses QWebSettings::webGraphic
1510         https://bugs.webkit.org/show_bug.cgi?id=72594
1511
1512         Reviewed by Kenneth Rohde Christiansen.
1513
1514         Move the cache for the resource pixmaps into ImageQt.cpp.
1515
1516         * platform/graphics/Image.h: Add Qt specific setter for resource pixmaps.
1517         * platform/graphics/qt/ImageQt.cpp: Moved resource pixmap hash from qwebsettings.
1518         (earlyClearGraphics):
1519         (graphics):
1520         (loadResourcePixmap):
1521         (WebCore::Image::setPlatformResource):
1522
1523 2011-11-17  Zeno Albisser  <zeno@webkit.org>
1524
1525         [Qt][WK2] Touch/Mouse events are delivered with wrong coordinates.
1526         https://bugs.webkit.org/show_bug.cgi?id=72604
1527
1528         When using the QtViewportInterationEngine for zooming/panning,
1529         no additional scroll offset should be applied to input events
1530         by the ScrollView.
1531
1532         This patch is based on work by Andreas Kling.
1533
1534         Reviewed by Kenneth Rohde Christiansen.
1535
1536         * platform/ScrollView.cpp:
1537         (WebCore::ScrollView::windowToContents):
1538         (WebCore::ScrollView::contentsToWindow):
1539
1540 2011-11-17  Ben Murdoch  <benm@google.com>
1541
1542         Unreviewed build fix.
1543
1544         Fix the Windows builds by adding WorkerEventQueue.cpp|h to the
1545         vcproj. Build break was introduced in
1546         https://bugs.webkit.org/show_bug.cgi?id=72528
1547
1548         * WebCore.vcproj/WebCore.vcproj: Add missing files.
1549
1550 2011-11-17  Mihnea Ovidenie  <mihnea@adobe.com>
1551
1552         CSS Exclusions: parse the wrap-margin and wrap-padding properties
1553         https://bugs.webkit.org/show_bug.cgi?id=71900
1554
1555         Reviewed by Dean Jackson.
1556
1557         Tests: fast/exclusions/wrap-margin-parsing.html
1558                fast/exclusions/wrap-padding-parsing.html
1559
1560         * css/CSSComputedStyleDeclaration.cpp:
1561         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
1562         * css/CSSParser.cpp:
1563         (WebCore::isSimpleLengthPropertyID):
1564         (WebCore::CSSParser::parseValue):
1565         * css/CSSProperty.cpp:
1566         (WebCore::CSSProperty::isInheritedProperty):
1567         * css/CSSPropertyNames.in:
1568         * css/CSSStyleApplyProperty.cpp:
1569         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
1570         * css/CSSStyleSelector.cpp:
1571         (WebCore::CSSStyleSelector::applyProperty):
1572         * rendering/style/RenderStyle.cpp:
1573         (WebCore::RenderStyle::diff):
1574         * rendering/style/RenderStyle.h:
1575         (WebCore::InheritedFlags::wrapPadding):
1576         (WebCore::InheritedFlags::setWrapPadding):
1577         (WebCore::InheritedFlags::initialWrapPadding):
1578         (WebCore::InheritedFlags::wrapMargin):
1579         (WebCore::InheritedFlags::setWrapMargin):
1580         (WebCore::InheritedFlags::initialWrapMargin):
1581         * rendering/style/StyleRareNonInheritedData.cpp:
1582         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
1583         (WebCore::StyleRareNonInheritedData::operator==):
1584         * rendering/style/StyleRareNonInheritedData.h:
1585
1586 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
1587
1588         [chromium] don't call fontconfig twice in complex text path
1589         https://bugs.webkit.org/show_bug.cgi?id=38701
1590
1591         Adds a new API for getting font family. For now, FontCacheLinux calls the new API, but don't use additional properties for compatibility. The old API will be removed when Chromium is ready to use new API.
1592
1593         Reviewed by Tony Chang.
1594
1595         No new tests. No behavior changes for now.
1596
1597         * platform/chromium/PlatformSupport.h: Added FontFamily struct and changed the declaration of getFontFamilyForCharacters().
1598         * platform/graphics/chromium/FontCacheLinux.cpp:
1599         (WebCore::FontCache::getFontDataForCharacters): Uses new PlatformSupport::getFontFamilyForCharacters().
1600         * platform/graphics/chromium/FontPlatformDataLinux.h:
1601         (WebCore::FontPlatformData::setFakeBold): Added.
1602         (WebCore::FontPlatformData::setFakeItalic): Added.
1603
1604 2011-11-17  Mario Sanchez Prada  <msanchez@igalia.com>
1605
1606         [GTK] Consider parent AtkObject in webkit_accessible_get_parent(), if already set
1607         https://bugs.webkit.org/show_bug.cgi?id=72525
1608
1609         Reviewed by Xan Lopez.
1610
1611         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
1612         (webkit_accessible_get_parent): Call to the implementation of
1613         atk_object_get_parent in AtkObject class to check whether a parent
1614         AtkObject has been previously set, before trying to find one.
1615
1616 2011-11-17  Pavel Feldman  <pfeldman@google.com>
1617
1618         Not reviewed: fix IE user agents strings in the inspector.
1619
1620         * inspector/front-end/SettingsScreen.js:
1621         (WebInspector.SettingsScreen.prototype._createUserAgentSelectRowElement.get const):
1622
1623 2011-11-16  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1624
1625         Make use-fixed-layout work reliable
1626         https://bugs.webkit.org/show_bug.cgi?id=72511
1627
1628         Reviewed by Simon Hausmann.
1629
1630         Always send a viewport update per page load as we depend on that,
1631         to reset all viewport handling before doing layout.
1632
1633         * page/Page.cpp:
1634         (WebCore::Page::updateViewportArguments):
1635
1636 2011-11-16  Alexander Pavlov  <apavlov@chromium.org>
1637
1638         Web Inspector: inspector follows javascript: hrefs as relative
1639         https://bugs.webkit.org/show_bug.cgi?id=72373
1640
1641         javascript: hrefs should never be linkified for security.
1642
1643         Reviewed by Yury Semikhatsky.
1644
1645         * inspector/front-end/ElementsTreeOutline.js:
1646         (WebInspector.ElementsTreeElement.prototype._buildAttributeDOM):
1647         * inspector/front-end/ResourceUtils.js:
1648         (WebInspector.completeURL):
1649
1650 2011-11-17  Nikolas Zimmermann  <nzimmermann@rim.com>
1651
1652         Not reviewed. Fix 32bit builds.
1653
1654         * platform/ClockGeneric.cpp:
1655         (ClockGeneric::now): Use narrowPrecisionToFloat.
1656         * rendering/FilterEffectRenderer.cpp:
1657         (WebCore::FilterEffectRenderer::build): Use it correctly.
1658
1659 2011-11-17  Dominic Mazzoni  <dmazzoni@google.com>
1660
1661         Accessibility: Chromium requires an AX notification when an iframe loads.
1662         https://bugs.webkit.org/show_bug.cgi?id=72239
1663
1664         When a document finishes loading, we were sending an AXLoadComplete if it
1665         was the top document. Now, if it's a document in an iframe, send an
1666         AXLayoutComplete on the iframe.
1667
1668         Reviewed by Chris Fleizach.
1669
1670         Test: accessibility/loading-iframe-sends-notification.html
1671
1672         * dom/Document.cpp:
1673         (WebCore::Document::implicitClose):
1674
1675 2011-11-16  Mark Rowe  <mrowe@apple.com>
1676
1677         <http://webkit.org/b/72574> Remove unnecessary use of CarbonCore APIs from Audio code
1678
1679         Reviewed by Andy Estes.
1680
1681         * platform/audio/mac/AudioDestinationMac.cpp:
1682         (WebCore::AudioDestinationMac::AudioDestinationMac): Switch from using the Carbon Component Manager
1683         to using AudioUnit's own component interface.
1684         (WebCore::AudioDestinationMac::~AudioDestinationMac): Ditto.
1685         * platform/audio/mac/AudioFileReaderMac.cpp:
1686         (WebCore::AudioFileReader::AudioFileReader): Remove an unncessary trip through the Carbon File Manager
1687         when converting a char* path to a CFURLRef representing the same.
1688
1689 2011-11-17  Adam Barth  <abarth@webkit.org>
1690
1691         CSP report-only mode doesn't work from an HTTP header
1692         https://bugs.webkit.org/show_bug.cgi?id=71958
1693
1694         Reviewed by Eric Seidel.
1695
1696         "It's tested or it's broken." -- Adam Leventhal
1697
1698         Test: http/tests/security/contentSecurityPolicy/report-only-from-header.php
1699
1700         * loader/FrameLoader.cpp:
1701         (WebCore::FrameLoader::didBeginDocument):
1702
1703 2011-11-15  Pavel Feldman  <pfeldman@google.com>
1704
1705         Web Inspector: introduce Debugger domain capabilities concept.
1706         https://bugs.webkit.org/show_bug.cgi?id=72393
1707
1708         Many of the Preferences that we have in Settings.js and override in DevTools.js
1709         are really not preferences, but capabilities. Protocol clients should have a way
1710         of figuring out whether some capability is present before using it.
1711
1712         Reviewed by Yury Semikhatsky.
1713
1714         * bindings/js/ScriptDebugServer.cpp:
1715         (WebCore::ScriptDebugServer::canSetScriptSource):
1716         * bindings/js/ScriptDebugServer.h:
1717         * bindings/v8/ScriptDebugServer.cpp:
1718         (WebCore::ScriptDebugServer::canSetScriptSource):
1719         * bindings/v8/ScriptDebugServer.h:
1720         * inspector/CodeGeneratorInspector.py:
1721         * inspector/Inspector.json:
1722         * inspector/InspectorDebuggerAgent.cpp:
1723         (WebCore::InspectorDebuggerAgent::getCapabilities):
1724         * inspector/InspectorDebuggerAgent.h:
1725         * inspector/front-end/DebuggerModel.js:
1726         (WebInspector.DebuggerModel):
1727         (WebInspector.DebuggerModel.prototype.enableDebugger):
1728         (WebInspector.DebuggerModel.prototype.canSetScriptSource):
1729         * inspector/front-end/DebuggerPresentationModel.js:
1730         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
1731         * inspector/front-end/Settings.js:
1732
1733 2011-11-17  Mihnea Ovidenie  <mihnea@adobe.com>
1734
1735         CSS exclusions: parse the wrap-flow and wrap-through properties
1736         https://bugs.webkit.org/show_bug.cgi?id=71904
1737
1738         Reviewed by Dean Jackson.
1739
1740         Tests: fast/exclusions/wrap-flow-parsing.html
1741                fast/exclusions/wrap-through-parsing.html
1742
1743         * css/CSSComputedStyleDeclaration.cpp:
1744         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
1745         * css/CSSParser.cpp:
1746         (WebCore::CSSParser::parseValue):
1747         * css/CSSPrimitiveValueMappings.h:
1748         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
1749         (WebCore::CSSPrimitiveValue::operator WrapFlow):
1750         (WebCore::CSSPrimitiveValue::operator WrapThrough):
1751         * css/CSSProperty.cpp:
1752         (WebCore::CSSProperty::isInheritedProperty):
1753         * css/CSSPropertyNames.in:
1754         * css/CSSStyleSelector.cpp:
1755         (WebCore::CSSStyleSelector::applyProperty):
1756         * css/CSSValueKeywords.in:
1757         * rendering/style/RenderStyle.cpp:
1758         (WebCore::RenderStyle::diff):
1759         * rendering/style/RenderStyle.h:
1760         (WebCore::InheritedFlags::wrapFlow):
1761         (WebCore::InheritedFlags::wrapThrough):
1762         (WebCore::InheritedFlags::setWrapFlow):
1763         (WebCore::InheritedFlags::setWrapThrough):
1764         (WebCore::InheritedFlags::initialWrapFlow):
1765         (WebCore::InheritedFlags::initialWrapThrough):
1766         * rendering/style/RenderStyleConstants.h:
1767         * rendering/style/StyleRareNonInheritedData.cpp:
1768         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
1769         (WebCore::StyleRareNonInheritedData::operator==):
1770         * rendering/style/StyleRareNonInheritedData.h:
1771
1772 2011-11-16  Dean Jackson  <dino@apple.com>
1773
1774         Implement filter function shorthands
1775         https://bugs.webkit.org/show_bug.cgi?id=68475
1776
1777         Reviewed by Simon Fraser.
1778
1779         Implement the shorthand functions for filter effects.
1780         This includes grayscale, sepia, invert, hue-rotate, saturate,
1781         opacity, gamma, drop-shadow and blur. At the moment sharpen
1782         and url are not supported.
1783
1784         CSSParser needed to be updated because it was mistakenly
1785         clamping saturation values to [0,1]. Any positive number
1786         is allowed so you can produce super-saturated images.
1787
1788         The biggest change was the API to FilterEffectRenderer. It now
1789         builds a list of effects and applies the filter itself.
1790
1791         Note that the drop-shadow and blur operations don't yet
1792         provide accurate results because they produce an output image
1793         that is larger than the input. See
1794         https://bugs.webkit.org/show_bug.cgi?id=71929
1795         https://bugs.webkit.org/show_bug.cgi?id=71930
1796
1797         While I was there, I fixed a small style issue in
1798         CustomFilterOperation.
1799
1800         Tests: css3/filters/effect-blur.html
1801                css3/filters/effect-combined.html
1802                css3/filters/effect-drop-shadow.html
1803                css3/filters/effect-gamma.html
1804                css3/filters/effect-grayscale.html
1805                css3/filters/effect-hue-rotate.html
1806                css3/filters/effect-invert.html
1807                css3/filters/effect-opacity.html
1808                css3/filters/effect-saturate.html
1809                css3/filters/effect-sepia.html
1810
1811         * WebCore.xcodeproj/project.pbxproj: Add StyleShader.h to
1812         the project (missing from earlier commit).
1813         * css/CSSParser.cpp:
1814         (WebCore::CSSParser::isValidFilterArgument): Don't clamp
1815         saturate to [0,1]
1816         * platform/graphics/filters/CustomFilterOperation.h:
1817         * rendering/FilterEffectRenderer.cpp:
1818         (WebCore::endMatrixRow):
1819         (WebCore::lastMatrixRow):
1820         (WebCore::FilterEffectRenderer::FilterEffectRenderer):
1821         (WebCore::FilterEffectRenderer::inputContext):
1822         (WebCore::FilterEffectRenderer::build):
1823         (WebCore::FilterEffectRenderer::prepare):
1824         (WebCore::FilterEffectRenderer::apply):
1825         * rendering/FilterEffectRenderer.h:
1826         (WebCore::FilterEffectRenderer::setSourceImageRect):
1827         (WebCore::FilterEffectRenderer::output):
1828         (WebCore::FilterEffectRenderer::setMaxEffectRects):
1829         (WebCore::FilterEffectRenderer::lastEffect):
1830         * rendering/RenderLayer.cpp:
1831         (WebCore::RenderLayer::paintLayer):
1832         (WebCore::RenderLayer::updateOrRemoveFilterEffect):
1833         (WebCore::RenderLayer::updateFilterBackingStore):
1834
1835 2011-11-16  Kentaro Hara  <haraken@chromium.org>
1836
1837         Remove all custom constructors of Events from JSC
1838         https://bugs.webkit.org/show_bug.cgi?id=72577
1839
1840         Reviewed by Adam Barth.
1841
1842         - Makes CodeGeneratorJS.pm generate Event constructors
1843         if [ConstructorTemplate=Event] IDL is specified.
1844         - Removes EventConstructors.h and JSEventConstructors.cpp.
1845         - Replaces all JSC custom constructors of Events
1846         with the generated code by [ConstructorTemplate=Event] IDL.
1847
1848         Tests: fast/events/constructors/before-load-event-constructor.html
1849                fast/events/constructors/close-event-constructor.html
1850                fast/events/constructors/custom-event-constructor.html
1851                fast/events/constructors/error-event-constructor.html
1852                fast/events/constructors/event-constructors.html
1853                fast/events/constructors/hash-change-event-constructor.html
1854                fast/events/constructors/message-event-constructor.html
1855                fast/events/constructors/overflow-event-constructor.html
1856                fast/events/constructors/page-transition-event-constructor.html
1857                fast/events/constructors/pop-state-event-constructor.html
1858                fast/events/constructors/progress-event-constructor.html
1859                fast/events/constructors/track-event-constructor.html
1860                fast/events/constructors/webkit-animation-event-constructor.html
1861                fast/events/constructors/webkit-transition-event-constructor.html
1862
1863         * bindings/generic/EventConstructors.h: Removed. This is what we wanted to do in this patch.
1864         * bindings/js/JSEventConstructors.cpp: Ditto.
1865         * GNUmakefile.list.am: Removed EventConstructors.h and JSEventConstructors.cpp.
1866         * Target.pri: Ditto.
1867         * UseJSC.cmake: Ditto.
1868         * WebCore.gypi: Ditto.
1869         * WebCore.vcproj/WebCore.vcproj: Ditto.
1870         * WebCore.xcodeproj/project.pbxproj: Ditto.
1871         * bindings/js/JSBindingsAllInOne.cpp: Ditto.
1872
1873         * bindings/scripts/CodeGeneratorJS.pm:
1874         (GenerateHeader): Added JSDictionary.h.
1875         (GenerateConstructorDeclaration): Added a header for fillXXXXEventInit(...).
1876         (GenerateConstructorDefinition): Generates an Event constructor. The generated code is the same as the code that had been written in JSEventConstructors.cpp.
1877         (IsConstructable): Judges if a given interface is constructable.
1878         (IsConstructorTemplate): Judges if a given interface has a given template, e.g. judges if an interface has [ConstructorTemplate=Event].
1879
1880         * bindings/scripts/test/TestEventConstructor.idl: Changed 'CustomConstructor=Event' to 'ConstructorTemplate=Event'. We should have changed this in r100108.
1881         * bindings/scripts/test/JS/JSTestEventConstructor.cpp: Updated a run-bindings-tests result.
1882         (WebCore::JSTestEventConstructorConstructor::constructJSTestEventConstructor):
1883         (WebCore::fillTestEventConstructorInit):
1884         * bindings/scripts/test/JS/JSTestEventConstructor.h: Ditto.
1885         * bindings/scripts/test/V8/V8TestEventConstructor.cpp: Ditto.
1886         (WebCore::V8TestEventConstructor::constructorCallback):
1887         (WebCore::fillTestEventConstructorInit):
1888         * bindings/scripts/test/V8/V8TestEventConstructor.h: Ditto.
1889
1890         * dom/BeforeLoadEvent.idl: In essence, replaced [JSCustomConstructor] IDL with [JSConstructorTemplate=Event] IDL.
1891         * dom/CustomEvent.idl: Ditto.
1892         * dom/ErrorEvent.idl: Ditto.
1893         * dom/Event.idl: Ditto.
1894         * dom/HashChangeEvent.idl: Ditto.
1895         * dom/MessageEvent.idl: Ditto.
1896         * dom/OverflowEvent.idl: Ditto.
1897         * dom/PageTransitionEvent.idl: Ditto.
1898         * dom/PopStateEvent.idl: Ditto.
1899         * dom/ProgressEvent.idl: Ditto.
1900         * dom/WebKitAnimationEvent.idl: Ditto.
1901         * dom/WebKitTransitionEvent.idl: Ditto.
1902         * html/track/TrackEvent.idl: Ditto.
1903         * websockets/CloseEvent.idl: Ditto.
1904
1905 2011-11-16  Dean Jackson  <dino@apple.com>
1906
1907         Build fix for Apple WebKit due to r100560.
1908         When I removed the violating header file it lost the
1909         reference to Color.
1910
1911         No review.
1912
1913         * platform/graphics/filters/FilterOperation.h:
1914
1915 2011-11-16  Dean Jackson  <dino@apple.com>
1916
1917         DropShadowFilterOperation violates platform isolation
1918         https://bugs.webkit.org/show_bug.cgi?id=72544
1919
1920         Reviewed by Simon Fraser.
1921
1922         Move ShadowData properties into the DropShadowFilterOperation
1923         to avoid depending on something outside platform.
1924
1925         * css/CSSComputedStyleDeclaration.cpp:
1926         (WebCore::CSSComputedStyleDeclaration::valueForFilter):
1927         * css/CSSStyleSelector.cpp:
1928         (WebCore::CSSStyleSelector::createFilterOperations):
1929         * platform/graphics/filters/FilterOperation.h:
1930         (WebCore::DropShadowFilterOperation::create):
1931         (WebCore::DropShadowFilterOperation::x):
1932         (WebCore::DropShadowFilterOperation::y):
1933         (WebCore::DropShadowFilterOperation::stdDeviation):
1934         (WebCore::DropShadowFilterOperation::color):
1935         (WebCore::DropShadowFilterOperation::operator==):
1936         (WebCore::DropShadowFilterOperation::DropShadowFilterOperation):
1937
1938 2011-11-16  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1939
1940         Use a simple page client for user consent in getUserMedia()
1941         https://bugs.webkit.org/show_bug.cgi?id=70897
1942
1943         Reviewed by Adam Barth.
1944
1945         This is one in a series of patches that update the MediaStream feature
1946         to use WebCore platform interfaces.
1947
1948         Covered by existing tests.
1949
1950         * GNUmakefile.list.am:
1951         * WebCore.gypi:
1952         * mediastream/MediaStreamClient.h: Removed.
1953         * mediastream/MediaStreamController.cpp: Removed.
1954         * mediastream/MediaStreamController.h: Removed.
1955         * mediastream/MediaStreamFrameController.cpp: Removed.
1956         * mediastream/MediaStreamFrameController.h: Removed.
1957         * mediastream/UserMediaClient.h: Added.
1958         (WebCore::UserMediaClient::~UserMediaClient):
1959         * mediastream/UserMediaRequest.cpp: Added.
1960         (WebCore::UserMediaRequest::create):
1961         (WebCore::UserMediaRequest::UserMediaRequest):
1962         (WebCore::UserMediaRequest::~UserMediaRequest):
1963         (WebCore::UserMediaRequest::start):
1964         (WebCore::UserMediaRequest::mediaStreamSourcesQueryCompleted):
1965         (WebCore::UserMediaRequest::succeed):
1966         (WebCore::UserMediaRequest::fail):
1967         (WebCore::UserMediaRequest::contextDestroyed):
1968         (WebCore::UserMediaRequest::parseOptions):
1969         * mediastream/UserMediaRequest.h: Added.
1970         (WebCore::UserMediaRequest::audio):
1971         (WebCore::UserMediaRequest::video):
1972         (WebCore::UserMediaRequest::cameraPreferenceUser):
1973         (WebCore::UserMediaRequest::cameraPreferenceEnvironment):
1974         (WebCore::UserMediaRequest::successCallback):
1975         (WebCore::UserMediaRequest::errorCallback):
1976         * page/CallbackTask.h: Removed.
1977         * page/Frame.cpp:
1978         (WebCore::Frame::Frame):
1979         (WebCore::Frame::~Frame):
1980         (WebCore::Frame::pageDestroyed):
1981         (WebCore::Frame::transferChildFrameToNewDocument):
1982         * page/Frame.h:
1983         * page/Navigator.cpp:
1984         (WebCore::Navigator::webkitGetUserMedia):
1985         * page/NavigatorUserMediaErrorCallback.h:
1986         * page/Page.cpp:
1987         (WebCore::Page::Page):
1988         (WebCore::Page::~Page):
1989         (WebCore::Page::PageClients::PageClients):
1990         * page/Page.h:
1991         (WebCore::Page::userMediaClient):
1992
1993 2011-11-16  David Grogan  <dgrogan@chromium.org>
1994
1995         instantiate WorkerEventQueue in WorkerContext
1996         https://bugs.webkit.org/show_bug.cgi?id=72528
1997
1998         Reviewed by David Levin.
1999
2000         No new tests - nothing uses it yet.
2001
2002         * workers/WorkerContext.cpp:
2003         (WebCore::WorkerContext::WorkerContext):
2004         Instantiate WorkerEventQueue in InitializerList
2005
2006         * workers/WorkerEventQueue.h:
2007         Don't inherit from RefCounted, WorkerContext has an OwnPtr to it
2008
2009 2011-11-16  Kentaro Hara  <haraken@chromium.org>
2010
2011         Unreviewed. Rebaselined run-bindings-tests results.
2012
2013         * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
2014         (WebCore::JSTestEventConstructor::JSTestEventConstructor):
2015         (WebCore::JSTestEventConstructorOwner::finalize):
2016         * bindings/scripts/test/JS/JSTestEventConstructor.h:
2017         (WebCore::JSTestEventConstructor::impl):
2018         (WebCore::JSTestEventConstructor::releaseImpl):
2019         * bindings/scripts/test/JS/JSTestInterface.cpp:
2020         (WebCore::JSTestInterface::JSTestInterface):
2021         (WebCore::JSTestInterfaceOwner::finalize):
2022         * bindings/scripts/test/JS/JSTestInterface.h:
2023         (WebCore::JSTestInterface::impl):
2024         (WebCore::JSTestInterface::releaseImpl):
2025         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
2026         (WebCore::JSTestMediaQueryListListener::JSTestMediaQueryListListener):
2027         (WebCore::JSTestMediaQueryListListenerOwner::finalize):
2028         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
2029         (WebCore::JSTestMediaQueryListListener::impl):
2030         (WebCore::JSTestMediaQueryListListener::releaseImpl):
2031         * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
2032         (WebCore::JSTestNamedConstructor::JSTestNamedConstructor):
2033         (WebCore::JSTestNamedConstructorOwner::finalize):
2034         * bindings/scripts/test/JS/JSTestNamedConstructor.h:
2035         (WebCore::JSTestNamedConstructor::impl):
2036         (WebCore::JSTestNamedConstructor::releaseImpl):
2037         * bindings/scripts/test/JS/JSTestObj.cpp:
2038         (WebCore::JSTestObj::JSTestObj):
2039         (WebCore::JSTestObjOwner::finalize):
2040         * bindings/scripts/test/JS/JSTestObj.h:
2041         (WebCore::JSTestObj::impl):
2042         (WebCore::JSTestObj::releaseImpl):
2043         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
2044         (WebCore::JSTestSerializedScriptValueInterface::JSTestSerializedScriptValueInterface):
2045         (WebCore::JSTestSerializedScriptValueInterfaceOwner::finalize):
2046         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
2047         (WebCore::JSTestSerializedScriptValueInterface::impl):
2048         (WebCore::JSTestSerializedScriptValueInterface::releaseImpl):
2049
2050 2011-11-16  Jay Civelli  <jcivelli@chromium.org>
2051
2052         Make sure MHTML documents use the domain of the MHTML file.
2053         https://bugs.webkit.org/show_bug.cgi?id=72445
2054
2055         Reviewed by Adam Barth.
2056
2057         * dom/Document.h:
2058         (WebCore::Document::setBaseURL):
2059         * loader/FrameLoader.cpp:
2060         (WebCore::FrameLoader::receivedFirstData):
2061
2062 2011-11-16  Julien Chaffraix  <jchaffraix@webkit.org>
2063
2064         Update supported display list after -webkit-grid and -webkit-inline-grid addition
2065         https://bugs.webkit.org/show_bug.cgi?id=72559
2066
2067         Reviewed by Tony Chang.
2068
2069         * css/CSSParser.cpp:
2070         (WebCore::CSSParser::parseValue): Added the 2 new supported
2071         values (forgotten in the previous change).
2072
2073 2011-11-11  Adrienne Walker  <enne@google.com>
2074
2075         [chromium] Expose mock scrollbars to window.internals
2076         https://bugs.webkit.org/show_bug.cgi?id=72195
2077
2078         Reviewed by James Robinson.
2079
2080         * testing/Internals.cpp:
2081         (WebCore::Internals::setMockScrollbarsEnabled):
2082         * testing/Internals.h:
2083         * testing/Internals.idl:
2084
2085 2011-11-16  Michael Nordman  <michaeln@google.com>
2086
2087         ApplicationCache manifest should work with any MIME type.
2088         https://bugs.webkit.org/show_bug.cgi?id=72082
2089
2090         Reviewed by Alexey Proskuryakov.
2091
2092         * loader/appcache/ApplicationCacheGroup.cpp:
2093         (WebCore::ApplicationCacheGroup::didReceiveManifestResponse): Remove the test for a particular type.
2094
2095 2011-11-16  Daniel Sievers  <sievers@chromium.org>
2096
2097         [Chromium] Avoid color mask operations for root layers
2098         https://bugs.webkit.org/show_bug.cgi?id=72452
2099
2100         Instead of relying on the combination of clearing the surface and initializing
2101         the alpha channel to 1.0 followed by disabling alpha in the color mask when
2102         rendering the root layer tiles, add shaders to support writing out opaque layers
2103         (alpha channel values written as 1.0).
2104
2105         Reviewed by James Robinson.
2106
2107         No functional change made that requires new tests.
2108
2109         * platform/graphics/chromium/LayerRendererChromium.cpp:
2110         (WebCore::LayerRendererChromium::drawLayersInternal):
2111         (WebCore::LayerRendererChromium::initializeSharedObjects):
2112         (WebCore::LayerRendererChromium::tilerProgramOpaque):
2113         (WebCore::LayerRendererChromium::tilerProgramOpaqueAA):
2114         (WebCore::LayerRendererChromium::tilerProgramSwizzleOpaque):
2115         (WebCore::LayerRendererChromium::tilerProgramSwizzleOpaqueAA):
2116         (WebCore::LayerRendererChromium::cleanupSharedObjects):
2117         * platform/graphics/chromium/LayerRendererChromium.h:
2118         * platform/graphics/chromium/ShaderChromium.cpp:
2119         (WebCore::FragmentTexOpaqueBinding::FragmentTexOpaqueBinding):
2120         (WebCore::FragmentTexOpaqueBinding::init):
2121         (WebCore::FragmentShaderRGBATexOpaque::getShaderString):
2122         (WebCore::FragmentShaderRGBATexSwizzleOpaque::getShaderString):
2123         (WebCore::FragmentTexClampOpaqueAABinding::FragmentTexClampOpaqueAABinding):
2124         (WebCore::FragmentTexClampOpaqueAABinding::init):
2125         (WebCore::FragmentShaderRGBATexClampOpaqueAA::getShaderString):
2126         (WebCore::FragmentShaderRGBATexClampSwizzleOpaqueAA::getShaderString):
2127         * platform/graphics/chromium/ShaderChromium.h:
2128         (WebCore::FragmentTexOpaqueBinding::alphaLocation):
2129         (WebCore::FragmentTexOpaqueBinding::samplerLocation):
2130         (WebCore::FragmentTexClampOpaqueAABinding::alphaLocation):
2131         (WebCore::FragmentTexClampOpaqueAABinding::samplerLocation):
2132         (WebCore::FragmentTexClampOpaqueAABinding::fragmentTexTransformLocation):
2133         (WebCore::FragmentTexClampOpaqueAABinding::edgeLocation):
2134         * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
2135         (WebCore::CCTiledLayerImpl::draw):
2136         * platform/graphics/chromium/cc/CCTiledLayerImpl.h:
2137
2138 2011-11-16  Tim Horton  <timothy_horton@apple.com>
2139
2140         Implement CSS3 Images cross-fade() image function
2141         https://bugs.webkit.org/show_bug.cgi?id=52162
2142         <rdar://problem/10209254>
2143
2144         Reviewed by Simon Fraser.
2145
2146         Render -webkit-cross-fade. Only cross-fades entirely composed of images will render for now,
2147         cross-fades involving generated images are not yet implemented.
2148
2149         Reorganize GeneratedImage to be the base class for GeneratorGeneratedImage and CrossfadeGeneratedImage.
2150
2151         Add a pending state to CSSImageGeneratorValue, which is used to enable the pending-images loading
2152         mechanism for -webkit-cross-fade's sub-images. Rework the logic in CSSStyleSelector to support pending
2153         generated images.
2154         
2155         Support parsing fractional values for the cross-fade amount (for example, 0.5 = 50%). Clamp cross-fade
2156         amount to 0-1 range.
2157
2158         Tests: css3/images/cross-fade-invalidation.html
2159                css3/images/cross-fade-simple.html
2160                css3/images/cross-fade-sizing.html
2161                css3/images/cross-fade-tiled.html
2162
2163         * CMakeLists.txt:
2164         * GNUmakefile.list.am:
2165         * Target.pri:
2166         * WebCore.gypi:
2167         * WebCore.xcodeproj/project.pbxproj:
2168         * css/CSSCanvasValue.h:
2169         (WebCore::CSSCanvasValue::isPending):
2170         (WebCore::CSSCanvasValue::loadSubimages):
2171         * css/CSSCrossfadeValue.cpp:
2172         (WebCore::CSSCrossfadeValue::isPending):
2173         (WebCore::CSSCrossfadeValue::loadSubimages):
2174         (WebCore::subimageIsPending):
2175         (WebCore::loadSubimage):
2176         (WebCore::cachedImageForCSSValue):
2177         (WebCore::CSSCrossfadeValue::image):
2178         (WebCore::CSSCrossfadeValue::crossfadeChanged):
2179         * css/CSSCrossfadeValue.h:
2180         (WebCore::CSSCrossfadeValue::create):
2181         (WebCore::CSSCrossfadeValue::~CSSCrossfadeValue):
2182         (WebCore::CSSCrossfadeValue::fixedSize):
2183         (WebCore::CSSCrossfadeValue::CSSCrossfadeValue):
2184         (WebCore::CSSCrossfadeValue::CrossfadeObserverProxy::CrossfadeObserverProxy):
2185         * css/CSSGradientValue.cpp:
2186         (WebCore::CSSGradientValue::image):
2187         * css/CSSGradientValue.h:
2188         (WebCore::CSSGradientValue::isPending):
2189         (WebCore::CSSGradientValue::loadSubimages):
2190         * css/CSSImageGeneratorValue.cpp:
2191         (WebCore::CSSImageGeneratorValue::generatedOrPendingImage):
2192         (WebCore::CSSImageGeneratorValue::generatedImage):
2193         (WebCore::CSSImageGeneratorValue::isPending):
2194         (WebCore::CSSImageGeneratorValue::loadSubimages):
2195         * css/CSSImageGeneratorValue.h:
2196         * css/CSSParser.cpp:
2197         (WebCore::CSSParser::parseCrossfade):
2198         * css/CSSStyleSelector.cpp:
2199         (WebCore::CSSStyleSelector::styleImage):
2200         (WebCore::CSSStyleSelector::generatedOrPendingFromValue):
2201         (WebCore::CSSStyleSelector::loadPendingImage):
2202         (WebCore::CSSStyleSelector::loadPendingImages):
2203         * css/CSSStyleSelector.h:
2204         * platform/graphics/BitmapImage.h:
2205         * platform/graphics/CrossfadeGeneratedImage.cpp: Added.
2206         (WebCore::CrossfadeGeneratedImage::CrossfadeGeneratedImage):
2207         (WebCore::CrossfadeGeneratedImage::~CrossfadeGeneratedImage):
2208         (WebCore::CrossfadeGeneratedImage::drawCrossfade):
2209         (WebCore::CrossfadeGeneratedImage::draw):
2210         (WebCore::CrossfadeGeneratedImage::drawPattern):
2211         (WebCore::CrossfadeGeneratedImage::imageChanged):
2212         * platform/graphics/CrossfadeGeneratedImage.h: Added.
2213         (WebCore::CrossfadeGeneratedImage::create):
2214         (WebCore::CrossfadeSubimageObserverProxy::CrossfadeSubimageObserverProxy):
2215         (WebCore::CrossfadeSubimageObserverProxy::setReady):
2216         * platform/graphics/GeneratedImage.h:
2217         (WebCore::GeneratedImage::GeneratedImage):
2218         * platform/graphics/GeneratorGeneratedImage.cpp: Renamed from Source/WebCore/platform/graphics/GeneratedImage.cpp.
2219         (WebCore::GeneratorGeneratedImage::draw):
2220         (WebCore::GeneratorGeneratedImage::drawPattern):
2221         (WebCore::GeneratedImage::computeIntrinsicDimensions):
2222         * platform/graphics/GeneratorGeneratedImage.h: Copied from Source/WebCore/platform/graphics/GeneratedImage.h.
2223         (WebCore::GeneratorGeneratedImage::create):
2224         (WebCore::GeneratorGeneratedImage::~GeneratorGeneratedImage):
2225         (WebCore::GeneratorGeneratedImage::GeneratorGeneratedImage):
2226         * platform/graphics/Image.h:
2227         * platform/graphics/ImageBuffer.h:
2228         * rendering/style/StylePendingImage.h:
2229         (WebCore::StylePendingImage::create):
2230         (WebCore::StylePendingImage::data):
2231         (WebCore::StylePendingImage::cssImageValue):
2232         (WebCore::StylePendingImage::cssImageGeneratorValue):
2233         (WebCore::StylePendingImage::StylePendingImage):
2234
2235
2236 2011-11-16  Dan Bernstein  <mitz@apple.com>
2237
2238         WebCore part of <rdar://problem/10262242> Add API for paginated display
2239         https://bugs.webkit.org/show_bug.cgi?id=72537
2240
2241         Reviewed by Anders Carlsson.
2242
2243         * WebCore.exp.in: Exported Page::pageCount().
2244         * page/Page.cpp:
2245         (WebCore::Page::pageCount): Added this getter.
2246         * page/Page.h:
2247
2248 2011-11-16  Shawn Singh  <shawnsingh@chromium.org>
2249
2250         [chromium] Track property changes for render surfaces.
2251         https://bugs.webkit.org/show_bug.cgi?id=72521
2252
2253         Reviewed by James Robinson.
2254
2255         Created CCRenderSurfaceTest for testing.
2256
2257         * platform/graphics/chromium/LayerRendererChromium.cpp:
2258         (WebCore::LayerRendererChromium::drawLayersOntoRenderSurfaces):
2259         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
2260         (WebCore::CCLayerImpl::resetPropertyChangedFlagForSubtree):
2261         * platform/graphics/chromium/cc/CCLayerImpl.h:
2262         * platform/graphics/chromium/cc/CCRenderSurface.cpp:
2263         (WebCore::CCRenderSurface::CCRenderSurface):
2264         (WebCore::CCRenderSurface::setClipRect):
2265         (WebCore::CCRenderSurface::setContentRect):
2266         (WebCore::CCRenderSurface::surfacePropertyChanged):
2267         * platform/graphics/chromium/cc/CCRenderSurface.h:
2268         (WebCore::CCRenderSurface::resetPropertyChangedFlag):
2269
2270 2011-11-16  Ben Wells  <benwells@chromium.org>
2271
2272         Seaming on border corners with mixed colour alpha borders
2273         https://bugs.webkit.org/show_bug.cgi?id=70471
2274
2275         Reviewed by Simon Fraser.
2276
2277         Seaming is fixed by antialiasing mitred corners for edges that have alpha and are joining
2278         a side that is of a different color.
2279
2280         Test: fast/borders/border-mixed-alpha.html
2281
2282         * rendering/RenderBoxModelObject.cpp:
2283         (WebCore::colorNeedsAntiAliasAtCorner):
2284         (WebCore::RenderBoxModelObject::paintOneBorderSide):
2285
2286 2011-11-16  Sam Weinig  <sam@webkit.org>
2287
2288         JS wrappers of DOM objects should have no-op constructors
2289         https://bugs.webkit.org/show_bug.cgi?id=72556
2290
2291         Reviewed by Geoffrey Garen.
2292
2293         Stop using a RefPtr to hold DOM objects contained by JavaScript
2294         wrappers and instead use a raw pointer. We were already releasing
2295         the underlying object before the destructor ran (via the finalizer)
2296         so the default behavior of destroying the RefPtr is always unnecessary
2297         busy work. 
2298
2299         * bindings/js/JSCSSValueCustom.cpp:
2300         (WebCore::JSCSSValueOwner::finalize):
2301         * bindings/js/JSNodeCustom.cpp:
2302         (WebCore::JSNodeOwner::finalize):
2303         (WebCore::JSNode::visitChildren):
2304         Call releaseImpl() instead of clearImpl().
2305
2306         * bindings/scripts/CodeGeneratorJS.pm:
2307         (GenerateHeader):
2308         Stop storing m_impl in a RefPtr and instead use a raw pointer. Switch
2309         clearImpl() to releaseImpl(), which explicitly derefs the pointer and
2310         clear it.
2311
2312         (GenerateImplementation):
2313         Use leakPtr() to explicitly adopt the PassRefPtr into the raw pointer.
2314         Change default finalize to call releaseImpl() instead of clearImpl().
2315
2316 2011-11-16  Michael Saboff  <msaboff@apple.com>
2317
2318         Enable 8 Bit Strings in JavaScriptCore
2319         https://bugs.webkit.org/show_bug.cgi?id=71337
2320
2321         This patch turns on 8 bit strings in StringImpl and enables
2322         their use in JavaScriptCore. Some of the changes are to
2323         turn on code that had been staged (Lexer.cpp, Identifier.cpp,
2324         SmallStrings.cpp and some of StringImpl.{h,cpp}).
2325         Other changes are minor fixes to make 8 bit strings work
2326         (UString.h, StringImpl::getData16SlowCase()).
2327         Changed StringBuffer to be a templated class based on character
2328         type.  This change riplled into WebCore code as well.
2329
2330         Reviewed by Geoffrey Garen.
2331
2332         No new tests - Changes in response to refactoring StringBuffer to
2333         be a template on character type.
2334
2335         * css/CSSParser.cpp:
2336         (WebCore::quoteCSSString):
2337         * css/CSSPrimitiveValue.cpp:
2338         (WebCore::formatNumber):
2339         * dom/Document.cpp:
2340         (WebCore::canonicalizedTitle):
2341         * platform/Length.cpp:
2342         (WebCore::newCoordsArray):
2343         * platform/sql/SQLiteStatement.cpp:
2344         (WebCore::SQLiteStatement::prepare):
2345         * platform/text/TextCodecUTF16.cpp:
2346         (WebCore::TextCodecUTF16::decode):
2347         * platform/text/TextCodecUTF8.cpp:
2348         (WebCore::TextCodecUTF8::decode):
2349         * rendering/RenderText.cpp:
2350         (WebCore::makeCapitalized):
2351         * xml/XSLTProcessorLibxslt.cpp:
2352         (WebCore::writeToStringBuilder):
2353
2354 2011-11-16  Alexandre Elias  <aelias@google.com>
2355
2356         [chromium] Improvements for page scale delta during commit
2357         https://bugs.webkit.org/show_bug.cgi?id=72471
2358
2359         Reviewed by James Robinson.
2360
2361         Page scale now follows the same commit flow as scroll position:
2362         the delta is folded into m_pageScale at BFAC time, and a "sent" value
2363         is preserved for temporary use until the commit finishes.
2364
2365         I also merged setPageScaleFactor and setPageScaleFactorLimits into one
2366         function on the impl side.  The reason is that setPageFactor must
2367         be applied after the limits are updated, but on the other hand setting
2368         the limits first may cause an unnecessary clamp of the scale delta.
2369         Merging the methods avoids this bind.
2370
2371         No new tests. (planning to add later: https://bugs.webkit.org/show_bug.cgi?id=71529)
2372
2373         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
2374         (WebCore::CCLayerTreeHost::finishCommitOnImplThread):
2375         (WebCore::CCLayerTreeHost::applyScrollAndScale):
2376         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.h:
2377         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
2378         (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
2379         (WebCore::CCLayerTreeHostImpl::setPageScaleFactorAndLimits):
2380         (WebCore::CCLayerTreeHostImpl::adjustScrollsForPageScaleChange):
2381         (WebCore::CCLayerTreeHostImpl::setScaleDelta):
2382         (WebCore::CCLayerTreeHostImpl::applyScaleDeltaToScrollLayer):
2383         (WebCore::CCLayerTreeHostImpl::scrollRootLayer):
2384         (WebCore::CCLayerTreeHostImpl::processScrollDeltas):
2385         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
2386
2387 2011-11-16  Joshua Bell  <jsbell@chromium.org>
2388
2389         IndexedDB: Reduce nested key depth threshold, re-enable flaky test
2390         https://bugs.webkit.org/show_bug.cgi?id=72529
2391
2392         Reviewed by Adam Barth.
2393
2394         Drop maximum array key depth from 20k to 2k.
2395
2396         * bindings/v8/IDBBindingUtilities.cpp:
2397
2398 2011-11-16  Nate Chapin  <japhet@chromium.org>
2399
2400         Fix incorrect multipart handling in r100311.
2401         SubresourceLoader::didReceiveData() is getting called
2402         twice, which has unintended side effects.
2403         https://bugs.webkit.org/show_bug.cgi?id=72436
2404
2405         Reviewed by Adam Barth.
2406
2407         http/tests/multipart/invalid-image-data.html should stop
2408         asserting after this.
2409
2410         * loader/SubresourceLoader.cpp:
2411         (WebCore::SubresourceLoader::didReceiveResponse):
2412         (WebCore::SubresourceLoader::didReceiveData):
2413         (WebCore::SubresourceLoader::sendDataToResource):
2414         * loader/SubresourceLoader.h:
2415
2416 2011-11-16  Justin Schuh  <jschuh@chromium.org>
2417
2418         Clear SVG filter client when its node is detached
2419         https://bugs.webkit.org/show_bug.cgi?id=71741
2420
2421         Reviewed by Eric Seidel.
2422
2423         Test: svg/filters/reparent-animated-filter-target.html
2424
2425         * rendering/svg/SVGResourcesCache.cpp:
2426         (WebCore::SVGResourcesCache::clientDestroyed):
2427
2428 2011-11-16  John Bates  <jbates@google.com>
2429
2430         Page/layer flashes after GPU-accelerated CSS transition
2431         https://bugs.webkit.org/show_bug.cgi?id=72343
2432
2433         LayerRendererChromium was resizing the window to 1x1 at initialization.
2434         In some cases, there is no drawLayers before switching back to
2435         software rendering. This left the window resized to 1x1 and the
2436         following software paints would therefore not be visible. This change
2437         moves the reshape call into drawLayers so that it will only be called
2438         if rendering will occur.
2439
2440         Reviewed by James Robinson.
2441
2442         New test: CCLayerTreeHostImplTest.reshapeNotCalledUntilDraw.
2443
2444         * platform/graphics/chromium/LayerRendererChromium.cpp:
2445         (WebCore::LayerRendererChromium::viewportChanged):
2446         (WebCore::LayerRendererChromium::doViewportChanged):
2447         (WebCore::LayerRendererChromium::drawLayersInternal):
2448         * platform/graphics/chromium/LayerRendererChromium.h:
2449
2450 2011-11-16  Alexandre Elias  <aelias@google.com>
2451
2452         [chromium] Add null pointer check in setDeviceScaleFactor
2453         https://bugs.webkit.org/show_bug.cgi?id=72464
2454
2455         Reviewed by James Robinson.
2456
2457         No new tests. (Tiny fix.)
2458
2459         * page/Page.cpp:
2460         (WebCore::Page::setDeviceScaleFactor):
2461
2462 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
2463
2464         Unreviewed, rolling out r100438.
2465         http://trac.webkit.org/changeset/100438
2466         https://bugs.webkit.org/show_bug.cgi?id=72536
2467
2468         Broke unit tests (Requested by jamesr_ on #webkit).
2469
2470         * platform/PlatformScreen.h:
2471         * platform/chromium/PlatformScreenChromium.cpp:
2472         * platform/chromium/PlatformSupport.h:
2473         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
2474         (WebCore::CCSettings::CCSettings):
2475         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
2476         (WebCore::CCThreadProxy::initializeImplOnImplThread):
2477
2478 2011-11-16  Andy Estes  <aestes@apple.com>
2479
2480         Assertion failure in LayerFlushScheduler::resume() when running some layout tests in WebKitTestRunner
2481         https://bugs.webkit.org/show_bug.cgi?id=72535
2482
2483         Reviewed by Anders Carlsson.
2484
2485         LayerFlushScheduler attempted to use a counter strategy for calls to
2486         suspend() and resume(), which allowed us to assert that these calls
2487         were balanced. Unfortunately it is hard to guarantee this in WebKit2,
2488         where we sometimes try to call suspend() before we've entered
2489         compositing mode (hence before we have a LayerTreeHost and a
2490         LayerFlushScheduler). When we later call resume(), this call ends up
2491         being unbalanced and asserts.
2492
2493         For now, remove the assertions and allow unbalanced calls to suspend()
2494         and resume().
2495
2496         * platform/graphics/ca/LayerFlushScheduler.cpp:
2497         (WebCore::LayerFlushScheduler::suspend):
2498         (WebCore::LayerFlushScheduler::resume):
2499         * platform/graphics/ca/LayerFlushScheduler.h:
2500         * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp:
2501         (WebCore::LayerFlushScheduler::LayerFlushScheduler):
2502         (WebCore::LayerFlushScheduler::runLoopObserverCallback):
2503         (WebCore::LayerFlushScheduler::schedule):
2504
2505 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
2506
2507         Unreviewed, rolling out r100473.
2508         http://trac.webkit.org/changeset/100473
2509         https://bugs.webkit.org/show_bug.cgi?id=72534
2510
2511         "Broke the Mac Build" (Requested by mwenge2 on #webkit).
2512
2513         * CMakeLists.txt:
2514         * GNUmakefile.list.am:
2515         * Target.pri:
2516         * WebCore.gypi:
2517         * rendering/RenderBlock.cpp:
2518         (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
2519         * rendering/RenderObject.cpp:
2520         (WebCore::RenderObject::createObject):
2521         (WebCore::RenderObject::addChild):
2522         * rendering/RenderObject.h:
2523         * rendering/RenderTable.cpp:
2524         (WebCore::RenderTable::addChild):
2525         * rendering/RenderTable.h:
2526         * rendering/RenderTableCaption.cpp: Removed.
2527         * rendering/RenderTableCaption.h: Removed.
2528
2529 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
2530
2531         Unreviewed, rolling out r100479.
2532         http://trac.webkit.org/changeset/100479
2533         https://bugs.webkit.org/show_bug.cgi?id=72533
2534
2535         "Broke the Mac Build" (Requested by mwenge2 on #webkit).
2536
2537         * WebCore.vcproj/WebCore.vcproj:
2538         * WebCore.xcodeproj/project.pbxproj:
2539         * rendering/RenderingAllInOne.cpp:
2540
2541 2011-11-16  Chris Fleizach  <cfleizach@apple.com>
2542
2543         WebKitTestRunner needs to support accessibility-related DRT APIs
2544         https://bugs.webkit.org/show_bug.cgi?id=42131
2545
2546         Minor changes needed to support AX testing in WKTestRunner.
2547
2548         Reviewed by Beth Dakin.
2549
2550         * WebCore.exp.in:
2551              Expose focusedUIElementForPage so that the WK2 injected bundle can retrieve it.
2552         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
2553         (accessibilitySearchKeyForString):
2554             Remove an unncessary assert that was causing issues with the WK2 test run.
2555
2556 2011-11-16  Sergio Villar Senin  <svillar@igalia.com>
2557
2558         [Soup] Somet tests fail with FAIL Unexpected response data received: Wrong method: GET
2559         https://bugs.webkit.org/show_bug.cgi?id=69219
2560
2561         Reviewed by Martin Robinson.
2562
2563         Do not stop appending data to the request body if any of the blob
2564         items to upload is not accesible.
2565
2566         * platform/network/soup/ResourceHandleSoup.cpp:
2567         (WebCore::addEncodedBlobToSoupMessageBody):
2568
2569 2011-11-16  Beth Dakin  <bdakin@apple.com>
2570
2571         https://bugs.webkit.org/show_bug.cgi?id=72400
2572         Scrollbar uiStateTransitionProgress requires tracking the mouse all the time
2573         -and corresponding-
2574         <rdar://problem/10409328>
2575
2576         Reviewed by Darin Adler.
2577
2578         This patch makes it so we track the mouse all the time when we have legacy 
2579         scrollbars (rather than only tracking the mouse when the window is key). When 
2580         we're in that mode, we want to do as little work as possible when handling the 
2581         mouseMoved event so that this extra tracking has little to no performance impact. 
2582         Also, we don't want to change basic behaviors by having normal web content hover 
2583         effects start happening when a window is in the background. So this patch also 
2584         introduces a way to handle a mouseMoved event that will only affect scrollbars.
2585
2586         EventHandler::mouseMoved() and EventHandler::handleMouseEvent() both now take a 
2587         boolean parameter that indicates if we are only updating scrollbars. If that is 
2588         the case, then we make our HitTestRequest ReadOnly, and we return early once 
2589         updateLastScrollbarUnderMouse() is called.
2590         * WebCore.exp.in:
2591         * page/EventHandler.cpp:
2592         (WebCore::EventHandler::mouseMoved):
2593         (WebCore::EventHandler::handleMouseMoveEvent):
2594
2595         In addition to calling Scrollbar::mouseExited() when appropriate, this function 
2596         now calls a new function, Scrollbar::mouseEntered() when appropriate. 
2597         (WebCore::EventHandler::updateLastScrollbarUnderMouse):
2598         * page/EventHandler.h:
2599
2600         Scrollbar::mouseMoved() used to be responsible for calling 
2601         ScrollAnimator::mouseEnteredScrollbar(), but now Scrollbar::mouseEntered() takes 
2602         care of that instead, much like how Scrollbar::mouseExited() takes care of calling 
2603         the animator's exit function.
2604         * platform/Scrollbar.cpp:
2605         (WebCore::Scrollbar::mouseMoved):
2606         (WebCore::Scrollbar::mouseEntered):
2607         * platform/Scrollbar.h:
2608
2609 2011-11-16  Andreas Kling  <kling@webkit.org>
2610
2611         CSSValue: isInheritedValue() doesn't need a dedicated bit.
2612         <http://webkit.org/b/72514>
2613
2614         Reviewed by Antti Koivisto.
2615
2616         Remove CSSValue::m_isInherited and have isInheritedValue() check the
2617         class type instead. There's no compelling reason for CSSInheritedValue
2618         to have a dedicated bit, since nobody subclasses it anyway.
2619
2620         * css/CSSValue.h:
2621         (WebCore::CSSValue::isInheritedValue):
2622         (WebCore::CSSValue::CSSValue):
2623
2624 2011-11-16  Robert Hogan  <robert@webkit.org>
2625
2626         Fix build on Windows and Mac after r100473
2627
2628         Unreviewed, fix build.
2629
2630         * WebCore.vcproj/WebCore.vcproj:
2631         * WebCore.xcodeproj/project.pbxproj:
2632         * rendering/RenderingAllInOne.cpp:
2633
2634 2011-11-16  Philip Rogers  <pdr@google.com>
2635
2636         Remove extra GraphicsContextStateSaver restore() call.
2637         https://bugs.webkit.org/show_bug.cgi?id=72497
2638
2639         Reviewed by Andreas Kling.
2640
2641         * html/canvas/CanvasRenderingContext2D.cpp:
2642         (WebCore::CanvasRenderingContext2D::drawTextInternal):
2643
2644 2011-11-08  Robert Hogan  <robert@webkit.org>
2645
2646         CSS 2.1 failure: border-collapse-offset-002.htm fails
2647         https://bugs.webkit.org/show_bug.cgi?id=71705
2648
2649         Table captions are implemented as children of the table but have a special
2650         requirement to expand to the full width of the table rather than just the 'available'
2651         width, i.e. the full width minus padding and borders.
2652
2653         To accomodate this create a RenderTableCaption object that reimplements containingBlockLogicalWidthForContent()
2654         to return the full width of the containing block (i.e. the table) rather than the available width.
2655
2656         Reviewed by Antti Koivisto.
2657
2658         * CMakeLists.txt: Add RenderTableCaption.[cpp|h]
2659         * GNUmakefile.list.am: Add RenderTableCaption.[cpp|h]
2660         * Target.pri: Add RenderTableCaption.[cpp|h]
2661         * WebCore.gypi: Add RenderTableCaption.[cpp|h]
2662         * rendering/RenderBlock.cpp:
2663         (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks): Use RenderTableCaption
2664         * rendering/RenderObject.cpp:
2665         (WebCore::RenderObject::createObject): Add RenderTableCaption.[cpp|h]
2666         (WebCore::RenderObject::addChild): ditto
2667         * rendering/RenderObject.h:
2668         (WebCore::RenderObject::isTableCaption):
2669         * rendering/RenderTable.cpp:
2670         (WebCore::RenderTable::addChild):
2671         * rendering/RenderTable.h:
2672         * rendering/RenderTableCaption.cpp: Added.
2673         (WebCore::RenderTableCaption::RenderTableCaption): Implement RenderTableCaption
2674         (WebCore::RenderTableCaption::~RenderTableCaption):
2675         (WebCore::RenderTableCaption::containingBlockLogicalWidthForContent): Return the containing block's full width rather than it's available width.
2676         * rendering/RenderTableCaption.h: Added.
2677         (WebCore::RenderTableCaption::isTableCaption):
2678         (WebCore::toRenderTableCaption):
2679
2680 2011-11-16  Antaryami Pandia  <antaryami.pandia@motorola.com>
2681
2682         [Gtk] display:none has no effect on <option> element.
2683         https://bugs.webkit.org/show_bug.cgi?id=72370
2684
2685         Reviewed by Martin Robinson.
2686
2687         * platform/gtk/GtkPopupMenu.cpp:
2688         (WebCore::GtkPopupMenu::appendItem):
2689         * platform/gtk/PopupMenuGtk.cpp:
2690         (WebCore::PopupMenuGtk::createGtkActionForMenuItem):
2691
2692 2011-11-16  Dan Winship  <danw@gnome.org>
2693
2694         [GTK] Fix platformDefersLoading to handle non-http requests, and
2695         to not use broken-ish libsoup APIs.
2696         https://bugs.webkit.org/show_bug.cgi?id=72227
2697
2698         Reviewed by Martin Robinson.
2699
2700         * platform/network/ResourceHandleInternal.h:
2701         * platform/network/soup/ResourceHandleSoup.cpp:
2702         (WebCore::sendRequestCallback):
2703         (WebCore::startHTTPRequest):
2704         (WebCore::hasBeenSent):
2705         (WebCore::ResourceHandle::platformSetDefersLoading):
2706         (WebCore::readCallback): rather than deferring by using
2707         soup_session_pause_message(), let the read complete, but just don't
2708         process the result until we're no longer deferred.
2709         (WebCore::startNonHTTPRequest): Don't start the request if
2710         it's deferred.
2711
2712 2011-11-16  Vsevolod Vlasov  <vsevik@chromium.org>
2713
2714         Web Inspector: Application cache status should be updated after swapCache().
2715         https://bugs.webkit.org/show_bug.cgi?id=72123
2716
2717         Reviewed by Pavel Feldman.
2718
2719         Application cache view resources and status are now updated after swapCache() call.
2720         Refresh button removed from application cache view.
2721         Application cache inspector tests are moved to their own folder.
2722
2723         Tests: http/tests/inspector/appcache/appcache-iframe-manifests.html
2724                http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html
2725                http/tests/inspector/appcache/appcache-swap.html
2726
2727         * inspector/front-end/ApplicationCacheItemsView.js:
2728         (WebInspector.ApplicationCacheItemsView):
2729         (WebInspector.ApplicationCacheItemsView.prototype.get statusBarItems):
2730         (WebInspector.ApplicationCacheItemsView.prototype.wasShown):
2731         (WebInspector.ApplicationCacheItemsView.prototype._maybeUpdate):
2732         (WebInspector.ApplicationCacheItemsView.prototype._markDirty):
2733         (WebInspector.ApplicationCacheItemsView.prototype.updateStatus):
2734         (WebInspector.ApplicationCacheItemsView.prototype._updateCallback):
2735         (WebInspector.ApplicationCacheItemsView.prototype._deleteCallback):
2736         * loader/appcache/ApplicationCacheGroup.cpp:
2737         (WebCore::ApplicationCacheGroup::setNewestCache):
2738         (WebCore::ApplicationCacheGroup::makeObsolete):
2739         (WebCore::ApplicationCacheGroup::setUpdateStatus):
2740         * loader/appcache/ApplicationCacheHost.cpp:
2741         (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
2742         (WebCore::ApplicationCacheHost::swapCache):
2743
2744 2011-11-16  Eric Carlson  <eric.carlson@apple.com>
2745
2746         addTrack() must throw an exception if 'kind' is unknown
2747         https://bugs.webkit.org/show_bug.cgi?id=71915
2748
2749         Reviewed by Philippe Normand.
2750
2751         Tests: media/track/track-addtrack-kind.html
2752                media/track/track-kind.html
2753
2754         * html/HTMLMediaElement.cpp:
2755         (WebCore::HTMLMediaElement::textTrackKindChanged): New. Will be implemented for 62885.
2756         (WebCore::HTMLMediaElement::addTrack): Throw if  'kind' is not a known value.
2757         (WebCore::HTMLMediaElement::addTextTrack): Call textTracks(), it will allocate the track
2758             list object if necessary.
2759         (WebCore::HTMLMediaElement::textTracks): Never return NULL, a TextTrackList with no tracks
2760             is allowed.
2761         * html/HTMLMediaElement.h:
2762         (WebCore::HTMLMediaElement::addTrack): Add variants to deal with optional parameters plus
2763             a mandatory ExceptionCode parameter.
2764         * html/HTMLMediaElement.idl: addTrack can generate an exception.
2765
2766         * html/HTMLTrackElement.cpp:
2767         (WebCore::HTMLTrackElement::attributeChanged): kind, label, and srclang attribute changes should
2768             percolate down the the TextTrack.
2769         (WebCore::HTMLTrackElement::kind): Return the TextTrack kind because it is not necessarily the
2770             same as the attribute value.
2771         (WebCore::HTMLTrackElement::ensureTrack): Only pass legal 'kind' keywords to create a TextTrack.
2772         (WebCore::HTMLTrackElement::textTrackKindChanged): Notify parent element, if any.
2773         * html/HTMLTrackElement.h:
2774
2775         * html/TextTrack.cpp:
2776         (WebCore::TextTrack::subtitlesKeyword): New, return legal kind attribute value.
2777         (WebCore::TextTrack::captionsKeyword): Ditto.
2778         (WebCore::TextTrack::descriptionsKeyword): Ditto.
2779         (WebCore::TextTrack::chaptersKeyword): Ditto.
2780         (WebCore::TextTrack::metadataKeyword): Ditto.
2781         (WebCore::TextTrack::TextTrack): Call setKind to make sure m_kind is always set to legal value.
2782         (WebCore::TextTrack::isValidKindKeyword): New, validate 'kind' value.
2783         (WebCore::TextTrack::setKind): Only allow legal values.
2784         * html/TextTrack.h:
2785         (WebCore::TextTrack::kind):
2786         (WebCore::TextTrack::label):
2787         (WebCore::TextTrack::setLabel):
2788         (WebCore::TextTrack::language):
2789         (WebCore::TextTrack::setLanguage):
2790         (WebCore::TextTrack::readyState):
2791         (WebCore::TextTrack::mode):
2792
2793 2011-11-16  Andreas Kling  <kling@webkit.org>
2794
2795         CSSValue: Clean up initial value construction.
2796         <http://webkit.org/b/72502>
2797
2798         Reviewed by Antti Koivisto.
2799
2800         Instead of determining whether a given CSSInitialValue is 'implicit' or not by
2801         querying the CSSValue::ClassType (InitialClass vs. ImplicitInitialClass),
2802         add a protected CSSValue member and set it from the CSSInitialValue constructor.
2803
2804         Also get rid of the CSSValue::m_isInitial bit since we can now replace the
2805         checks by classType() == InitialClass.
2806
2807         No new tests, this is a cleanup.
2808
2809         * css/CSSInitialValue.h:
2810         (WebCore::CSSInitialValue::CSSInitialValue):
2811
2812             Poke 'implicit' constructor argument into CSSValue::m_isImplicit.
2813
2814         * css/CSSValue.cpp:
2815         (WebCore::CSSValue::cssText):
2816         (WebCore::CSSValue::destroy):
2817
2818             Remove ImplicitInitialClass cases.
2819
2820         * css/CSSValue.h:
2821         (WebCore::CSSValue::isImplicitInitialValue):
2822         (WebCore::CSSValue::isInitialValue):
2823         (WebCore::CSSValue::CSSValue):
2824
2825 2011-11-16  Antaryami Pandia  <antaryami.pandia@motorola.com>
2826
2827         Remove unnecessary if check from RenderListBox::paintItemForeground.
2828         https://bugs.webkit.org/show_bug.cgi?id=72488
2829
2830         Reviewed by Andreas Kling.
2831
2832         * rendering/RenderListBox.cpp:
2833         (WebCore::RenderListBox::paintItemForeground):
2834
2835 2011-11-15  Simon Hausmann  <simon.hausmann@nokia.com>
2836
2837         [Qt] Centralize hide_symbols and ensure all libs are built with symbol visibility & bsymbolic_functions
2838
2839         Reviewed by Tor Arne Vestbø.
2840
2841         * Target.pri: Eliminate duplicated symbol stuff that lives now in default_post.prf.
2842
2843 2011-11-16  Iain Merrick  <husky@google.com>
2844
2845         [chromium] Pass screen refresh rate into compositor.
2846         https://bugs.webkit.org/show_bug.cgi?id=71040
2847
2848         Reviewed by Tony Gentilcore.
2849
2850         * platform/PlatformScreen.h:
2851         * platform/chromium/PlatformScreenChromium.cpp:
2852         (WebCore::screenRefreshRate):
2853         * platform/chromium/PlatformSupport.h:
2854         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
2855         (WebCore::CCSettings::CCSettings):
2856         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
2857         (WebCore::CCThreadProxy::initializeImplOnImplThread):
2858
2859 2011-11-15  Andrey Kosyakov  <caseq@chromium.org>
2860
2861         Web Inspector: [Extensions API] drop ExtensionSidebarPane.onUpdated, use callbacks instead
2862         https://bugs.webkit.org/show_bug.cgi?id=72388
2863
2864         Reviewed by Pavel Feldman.
2865
2866         Tests: inspector/extensions/extensions-panel.html
2867                inspector/extensions/extensions-sidebar.html
2868
2869         - fire ExtensionSidebarPane.on{Hidden,Shown} for non-iframe content (experssions/objects);
2870         - drop ExtensionsSidebarPane.onUpdated, provide callback for setObject()/setExpression() instead;
2871         - fix an exception when a page is replaced with object/expression.
2872
2873          inspector/front-end/ExtensionAPI.js:
2874         (injectedExtensionAPI.ExtensionSidebarPaneImpl):
2875         (injectedExtensionAPI.ExtensionSidebarPaneImpl.prototype.setExpression):
2876         (injectedExtensionAPI.ExtensionSidebarPaneImpl.prototype.setObject):
2877         * inspector/front-end/ExtensionPanel.js:
2878         (WebInspector.ExtensionNotifierView):
2879         (WebInspector.ExtensionNotifierView.prototype.wasShown):
2880         (WebInspector.ExtensionNotifierView.prototype.willHide):
2881         (WebInspector.ExtensionSidebarPane.prototype.setObject):
2882         (WebInspector.ExtensionSidebarPane.prototype.setExpression):
2883         (WebInspector.ExtensionSidebarPane.prototype.setPage):
2884         (WebInspector.ExtensionSidebarPane.prototype._onEvaluate):
2885         (WebInspector.ExtensionSidebarPane.prototype._makeObjectPropertiesView):
2886         (WebInspector.ExtensionSidebarPane.prototype._setObject):
2887         * inspector/front-end/ExtensionServer.js:
2888         (WebInspector.ExtensionServer.prototype._onSetSidebarContent.callback):
2889         (WebInspector.ExtensionServer.prototype._onSetSidebarContent):
2890         (WebInspector.ExtensionServer.prototype._dispatchCallback):
2891         * inspector/front-end/View.js:
2892         (WebInspector.View.prototype.detach):
2893
2894 2011-11-16  Simon Hausmann  <simon.hausmann@nokia.com>
2895
2896         Unreviewed, rolling out r100266.
2897         http://trac.webkit.org/changeset/100266
2898
2899         Broke WTR.
2900
2901         * Target.pri:
2902
2903 2011-11-16  Per-Erik Brodin  <per-erik.brodin@ericsson.com>
2904
2905         [GTK] fast/events/event-creation.html fails creating MediaStreamEvent
2906         https://bugs.webkit.org/show_bug.cgi?id=70720
2907
2908         Reviewed by Philippe Normand.
2909
2910         Added missing overriding of Event::interfaceName()
2911
2912         * mediastream/MediaStreamEvent.cpp:
2913         (WebCore::MediaStreamEvent::stream): Changed return value to raw pointer.
2914         (WebCore::MediaStreamEvent::interfaceName): Added back from r98044.
2915         * mediastream/MediaStreamEvent.h:
2916         * mediastream/MediaStreamEvent.idl: Changed module name to "events".
2917
2918 2011-11-16  Mario Sanchez Prada  <msanchez@igalia.com>
2919
2920         [GTK] Use GQuark's in the ATK wrapper to get and set arbitrary data
2921         https://bugs.webkit.org/show_bug.cgi?id=72394
2922
2923         Reviewed by Martin Robinson.
2924
2925         No new functionality, no new tests needed.
2926
2927         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
2928         (webkit_accessible_class_init): Initialize GQuarks.
2929         (getGailTextUtilForAtk): Use gailTextUtilQuark.
2930         (getPangoLayoutForAtk): Remove unused call to
2931         g_object_set_data_full, since that data is no used anywhere.
2932         (webkitAccessibleHyperlinkImplGetHyperlink): Use hyperlinkObjectQuark.
2933
2934 2011-11-15  Alexandru Chiculita  <achicu@adobe.com>
2935
2936         [CSSShaders] Implement the style cached resources and computed style for the shader urls
2937         https://bugs.webkit.org/show_bug.cgi?id=72378
2938
2939         Reviewed by Dean Jackson.
2940
2941         Test: css3/filters/custom-filter-property-computed-style.html
2942
2943         * GNUmakefile.list.am:
2944         * Target.pri:
2945         * WebCore.gypi:
2946         * WebCore.vcproj/WebCore.vcproj:
2947         * WebCore.xcodeproj/project.pbxproj:
2948         * css/CSSComputedStyleDeclaration.cpp:
2949         (WebCore::CSSComputedStyleDeclaration::valueForFilter):
2950         * css/CSSStyleSelector.cpp:
2951         (WebCore::CSSStyleSelector::CSSStyleSelector):
2952         (WebCore::CSSStyleSelector::styleForKeyframe):
2953         (WebCore::CSSStyleSelector::pseudoStyleForElement):
2954         (WebCore::CSSStyleSelector::styleForPage):
2955         (WebCore::CSSStyleSelector::applyMatchedDeclarations):
2956         (WebCore::CSSStyleSelector::styleShader):
2957         (WebCore::CSSStyleSelector::cachedOrPendingStyleShaderFromValue):
2958         (WebCore::CSSStyleSelector::loadPendingShaders):
2959         (WebCore::CSSStyleSelector::createCustomFilterOperation):
2960         (WebCore::CSSStyleSelector::createFilterOperations):
2961         * css/CSSStyleSelector.h:
2962         * css/WebKitCSSShaderValue.cpp:
2963         (WebCore::WebKitCSSShaderValue::WebKitCSSShaderValue):
2964         (WebCore::WebKitCSSShaderValue::~WebKitCSSShaderValue):
2965         (WebCore::WebKitCSSShaderValue::cachedShader):
2966         (WebCore::WebKitCSSShaderValue::cachedOrPendingShader):
2967         * css/WebKitCSSShaderValue.h:
2968         * loader/cache/CachedResource.cpp:
2969         (WebCore::defaultPriorityForResourceType):
2970         * loader/cache/CachedResource.h:
2971         * loader/cache/CachedResourceLoader.cpp:
2972         (WebCore::createResource):
2973         (WebCore::CachedResourceLoader::requestShader):
2974         (WebCore::CachedResourceLoader::checkInsecureContent):
2975         (WebCore::CachedResourceLoader::canRequest):
2976         * loader/cache/CachedResourceLoader.h:
2977         * loader/cache/CachedShader.cpp:
2978         (WebCore::CachedShader::CachedShader):
2979         (WebCore::CachedShader::~CachedShader):
2980         * loader/cache/CachedShader.h:
2981         * platform/graphics/filters/CustomFilterOperation.h:
2982         * rendering/style/RenderStyle.h:
2983         (WebCore::InheritedFlags::filter):
2984         * rendering/style/StyleCachedShader.cpp:
2985         (WebCore::StyleCachedShader::StyleCachedShader):
2986         (WebCore::StyleCachedShader::cssValue):
2987         * rendering/style/StyleCachedShader.h:
2988         (WebCore::StyleCachedShader::create):
2989         * rendering/style/StylePendingShader.h:
2990         (WebCore::StylePendingShader::create):
2991         (WebCore::StylePendingShader::cssValue):
2992         (WebCore::StylePendingShader::cssShaderValue):
2993         (WebCore::StylePendingShader::StylePendingShader):
2994         * rendering/style/StyleShader.h:
2995         (WebCore::StyleShader::~StyleShader):
2996         (WebCore::StyleShader::isCachedShader):
2997         (WebCore::StyleShader::isPendingShader):
2998         (WebCore::StyleShader::StyleShader):
2999
3000 2011-11-15  Sergio Villar Senin  <svillar@igalia.com>
3001
3002         [WK2] [GTK] fast/css/webkit-mask-crash-fieldset-legend.html asserts WebKitWebProcess
3003         https://bugs.webkit.org/show_bug.cgi?id=69510
3004
3005         Reviewed by Simon Fraser.
3006
3007         End the current transparency layer before early returning from
3008         paintMask() when there is a maskBoxImage which is still being
3009         loaded. This will balance the previous call to
3010         beginTransparencyLayer().
3011
3012         * rendering/InlineFlowBox.cpp:
3013         (WebCore::InlineFlowBox::paintMask):
3014
3015 2011-11-15  Darin Adler  <darin@apple.com>
3016
3017         Incorrect type checks in RenderTheme media code
3018         https://bugs.webkit.org/show_bug.cgi?id=72184
3019
3020         Reviewed by Eric Carlson.
3021
3022         No tests added. Ideally this patch should be revised to add tests!
3023
3024         * accessibility/AccessibilityMediaControls.cpp:
3025         (WebCore::AccessibilityMediaControl::create): Use mediaControlElementType.
3026         (WebCore::AccessibilityMediaControl::controlType): Ditto.
3027         (WebCore::AccessibilityMediaTimeline::valueDescription): Use early return
3028         rather than an assertion to check type of input element.
3029
3030         * html/shadow/MediaControlElements.cpp:
3031         (WebCore::mediaControlElementType): Added. A type-safe way to get the
3032         media control element type after checking isMediaControlElement but with
3033         no other assumptions.
3034         * html/shadow/MediaControlElements.h: Added mediaControlElementType.
3035
3036         * platform/efl/RenderThemeEfl.cpp:
3037         (WebCore::RenderThemeEfl::paintMediaPlayButton): Use mediaControlElementType.
3038         (WebCore::RenderThemeEfl::paintMediaSeekBackButton): Use mediaControlElementType.
3039         (WebCore::RenderThemeEfl::paintMediaSeekForwardButton): Use mediaControlElementType.
3040         * platform/gtk/RenderThemeGtk.cpp:
3041         (WebCore::RenderThemeGtk::paintMediaPlayButton): Check isMediaControlElement and
3042         use mediaControlElementType.
3043         * rendering/RenderThemeMac.mm:
3044         (WebCore::RenderThemeMac::paintMediaMuteButton): Ditto. Also remove uneeded
3045         redundant null check.
3046         (WebCore::RenderThemeMac::paintMediaPlayButton): Ditto.
3047         (WebCore::RenderThemeMac::paintMediaToggleClosedCaptionsButton): Ditto.
3048
3049 2011-11-15  Jeff Timanus  <twiz@chromium.org>
3050
3051         [chromium] During tear down, prevent the WebGLLayerChromium instance from attempting to stop a timer for a NULL context.
3052         https://bugs.webkit.org/show_bug.cgi?id=72423
3053
3054         Reviewed by Kenneth Russell.
3055
3056         * platform/graphics/chromium/WebGLLayerChromium.cpp:
3057         (WebCore::WebGLLayerChromium::setDrawingBuffer):
3058
3059 2011-11-15  Mark Hahnenberg  <mhahnenberg@apple.com>
3060
3061         Rebaseline generated WebCore bindings
3062
3063         Unreviewed build fix
3064
3065         No new tests.
3066
3067         * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
3068         (WebCore::isObservable):
3069         (WebCore::JSTestEventConstructorOwner::isReachableFromOpaqueRoots):
3070         (WebCore::JSTestEventConstructorOwner::finalize):
3071         * bindings/scripts/test/JS/JSTestEventConstructor.h:
3072         (WebCore::JSTestEventConstructor::clearImpl):
3073         (WebCore::wrapperOwner):
3074         (WebCore::wrapperContext):
3075         * bindings/scripts/test/JS/JSTestInterface.cpp:
3076         (WebCore::JSTestInterfaceOwner::finalize):
3077         * bindings/scripts/test/JS/JSTestInterface.h:
3078         (WebCore::JSTestInterface::clearImpl):
3079         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
3080         (WebCore::isObservable):
3081         (WebCore::JSTestMediaQueryListListenerOwner::isReachableFromOpaqueRoots):
3082         (WebCore::JSTestMediaQueryListListenerOwner::finalize):
3083         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
3084         (WebCore::JSTestMediaQueryListListener::clearImpl):
3085         (WebCore::wrapperOwner):
3086         (WebCore::wrapperContext):
3087         * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
3088         (WebCore::JSTestNamedConstructorOwner::finalize):
3089         * bindings/scripts/test/JS/JSTestNamedConstructor.h:
3090         (WebCore::JSTestNamedConstructor::clearImpl):
3091         * bindings/scripts/test/JS/JSTestObj.cpp:
3092         (WebCore::isObservable):
3093         (WebCore::JSTestObjOwner::isReachableFromOpaqueRoots):
3094         (WebCore::JSTestObjOwner::finalize):
3095         * bindings/scripts/test/JS/JSTestObj.h:
3096         (WebCore::JSTestObj::clearImpl):
3097         (WebCore::wrapperOwner):
3098         (WebCore::wrapperContext):
3099         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
3100         (WebCore::isObservable):
3101         (WebCore::JSTestSerializedScriptValueInterfaceOwner::isReachableFromOpaqueRoots):
3102         (WebCore::JSTestSerializedScriptValueInterfaceOwner::finalize):
3103         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
3104         (WebCore::JSTestSerializedScriptValueInterface::clearImpl):
3105         (WebCore::wrapperOwner):
3106         (WebCore::wrapperContext):
3107
3108 2011-11-15  Jeff Timanus  <twiz@chromium.org>
3109
3110         Patch removing duplicated code in the setup of the DrawingBuffer used
3111         to host the back-buffer for WebGL contents.
3112         https://bugs.webkit.org/show_bug.cgi?id=72327
3113
3114         Reviewed by Kenneth Russell.
3115
3116         * html/canvas/WebGLRenderingContext.cpp:
3117         (WebCore::WebGLRenderingContext::copyTexImage2D):
3118         (WebCore::WebGLRenderingContext::copyTexSubImage2D):
3119         (WebCore::WebGLRenderingContext::readPixels):
3120
3121 2011-11-15  Mark Hahnenberg  <mhahnenberg@apple.com>
3122
3123         JS DOM wrappers depend on destructor to deref impl RefPtrs
3124         https://bugs.webkit.org/show_bug.cgi?id=72341
3125
3126         Reviewed by Sam Weinig.
3127
3128         No new tests.
3129
3130         Added clearing of impl RefPtrs to JS DOM wrapper nodes and removed the default 
3131         wrapperOwner function in favor of generating all WeakHandleOwners and wrapperOwner functions.
3132
3133         * bindings/js/JSCSSValueCustom.cpp:
3134         (WebCore::JSCSSValueOwner::finalize):
3135         * bindings/js/JSDOMBinding.h:
3136         * bindings/js/JSNodeCustom.cpp:
3137         (WebCore::JSNodeOwner::finalize):
3138         * bindings/scripts/CodeGeneratorJS.pm:
3139         (GenerateHeader):
3140         (GenerateImplementation):
3141
3142 2011-11-15  Joseph Pecoraro  <pecoraro@apple.com>
3143
3144         Web Inspector: Share Highlight Code for Drawing Outlined Quad
3145         https://bugs.webkit.org/show_bug.cgi?id=72451
3146
3147         Reviewed by Timothy Hatcher.
3148
3149         * inspector/DOMNodeHighlighter.cpp:
3150
3151 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3152
3153         Unreviewed, rolling out r100308.
3154         http://trac.webkit.org/changeset/100308
3155         https://bugs.webkit.org/show_bug.cgi?id=72450
3156
3157         Introduces WebGL conformance test regressions. (Requested by
3158         twiz on #webkit).
3159
3160         * html/canvas/WebGLRenderingContext.cpp:
3161         (WebCore::WebGLRenderingContext::copyTexImage2D):
3162         (WebCore::WebGLRenderingContext::copyTexSubImage2D):
3163         (WebCore::WebGLRenderingContext::readPixels):
3164
3165 2011-11-15  James Robinson  <jamesr@chromium.org>
3166
3167         Rollout http://trac.webkit.org/changeset/99813, caused some crashes in
3168         TiledLayerChromium::updateCompositorResources()
3169
3170         * WebCore.gypi:
3171         * platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.cpp: Removed.
3172         * platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h: Removed.
3173         * platform/graphics/chromium/CanvasLayerTextureUpdater.cpp: Removed.
3174         * platform/graphics/chromium/CanvasLayerTextureUpdater.h: Removed.
3175         * platform/graphics/chromium/ContentLayerChromium.cpp:
3176         (WebCore::ContentLayerChromium::createTextureUpdater):
3177         * platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.h: Removed.
3178         * platform/graphics/chromium/ImageLayerChromium.cpp:
3179         (WebCore::ImageLayerTextureUpdater::prepareToUpdate):
3180         * platform/graphics/chromium/LayerRendererChromium.cpp:
3181         * platform/graphics/chromium/LayerTextureUpdater.h:
3182         * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: Renamed from Source/WebCore/platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.cpp.
3183         (WebCore::FrameBuffer::FrameBuffer::FrameBuffer):
3184         (WebCore::FrameBuffer::FrameBuffer::~FrameBuffer):
3185         (WebCore::FrameBuffer::FrameBuffer::initialize):
3186         (WebCore::LayerTextureUpdaterCanvas::LayerTextureUpdaterCanvas):
3187         (WebCore::LayerTextureUpdaterCanvas::paintContents):
3188         (WebCore::LayerTextureUpdaterBitmap::create):
3189         (WebCore::LayerTextureUpdaterBitmap::LayerTextureUpdaterBitmap):
3190         (WebCore::LayerTextureUpdaterBitmap::sampledTexelFormat):
3191         (WebCore::LayerTextureUpdaterBitmap::prepareToUpdate):
3192         (WebCore::LayerTextureUpdaterBitmap::updateTextureRect):
3193         (WebCore::LayerTextureUpdaterSkPicture::create):
3194         (WebCore::LayerTextureUpdaterSkPicture::LayerTextureUpdaterSkPicture):
3195         (WebCore::LayerTextureUpdaterSkPicture::~LayerTextureUpdaterSkPicture):
3196         (WebCore::LayerTextureUpdaterSkPicture::sampledTexelFormat):
3197         (WebCore::LayerTextureUpdaterSkPicture::prepareToUpdate):
3198         (WebCore::LayerTextureUpdaterSkPicture::updateTextureRect):
3199         * platform/graphics/chromium/LayerTextureUpdaterCanvas.h: Added.
3200         (WebCore::LayerTextureUpdaterCanvas::contentRect):
3201         (WebCore::LayerTextureUpdaterBitmap::orientation):
3202         (WebCore::LayerTextureUpdaterSkPicture::orientation):
3203         * platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.cpp: Removed.
3204         * platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.h: Removed.
3205         * platform/graphics/chromium/TiledLayerChromium.cpp:
3206         (WebCore::UpdatableTile::UpdatableTile):
3207         (WebCore::UpdatableTile::texture):
3208         (WebCore::TiledLayerChromium::updateCompositorResources):
3209         (WebCore::TiledLayerChromium::pushPropertiesTo):
3210         (WebCore::TiledLayerChromium::createTile):
3211         (WebCore::TiledLayerChromium::protectTileTextures):
3212         (WebCore::TiledLayerChromium::prepareToUpdate):
3213         * platform/graphics/chromium/cc/CCTextureUpdater.cpp:
3214         (WebCore::CCTextureUpdater::append):
3215         (WebCore::CCTextureUpdater::update):
3216         * platform/graphics/chromium/cc/CCTextureUpdater.h:
3217
3218 2011-11-15  Julien Chaffraix  <jchaffraix@webkit.org>
3219
3220         Add the needed plumbing to parse display: -webkit-inline-grid
3221         https://bugs.webkit.org/show_bug.cgi?id=72438
3222
3223         Reviewed by Tony Chang.
3224
3225         Test: fast/css-grid-layout/display-grid-set-get.html
3226
3227         Added the needed constants and plugged everything together.
3228         Again we treat display: -webkit-inline-grid like display: none
3229         for the moment.
3230
3231         * css/CSSParser.cpp:
3232         (WebCore::CSSParser::parseValue):
3233         * css/CSSPrimitiveValueMappings.h:
3234         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
3235         * css/CSSValueKeywords.in:
3236         * rendering/RenderObject.cpp:
3237         (WebCore::RenderObject::createObject):
3238         * rendering/style/RenderStyleConstants.h:
3239
3240 2011-11-15  W. James MacLean  <wjmaclean@chromium.org>
3241
3242         [chromium] Move setVisibleRect() calls into calculateDrawTransformAndVisibility()
3243         https://bugs.webkit.org/show_bug.cgi?id=72162
3244
3245         Reviewed by Kenneth Russell.
3246
3247         Refactoring of existing functionality, so uses existing tests.
3248
3249         * platform/graphics/chromium/LayerRendererChromium.cpp:
3250         (WebCore::LayerRendererChromium::drawLayer):
3251         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
3252         (WebCore::paintContentsIfDirty):
3253         (WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
3254         (WebCore::CCLayerTreeHost::paintLayerContents):
3255         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
3256         (WebCore::walkLayersAndCalculateVisibleLayerRects):
3257         (WebCore::CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility):
3258
3259 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3260
3261         Unreviewed, rolling out r100340.
3262         http://trac.webkit.org/changeset/100340
3263         https://bugs.webkit.org/show_bug.cgi?id=72448
3264
3265         Caused assertion failure in Win dbg canary. (Requested by
3266         pkasting on #webkit).
3267
3268         * platform/graphics/chromium/LayerRendererChromium.cpp:
3269         (WebCore::LayerRendererChromium::LayerRendererChromium):
3270         (WebCore::LayerRendererChromium::viewportChanged):
3271         (WebCore::LayerRendererChromium::drawLayersInternal):
3272         * platform/graphics/chromium/LayerRendererChromium.h:
3273
3274 2011-11-15  Julien Chaffraix  <jchaffraix@webkit.org>
3275
3276         Switch table indexing to unsigned
3277         https://bugs.webkit.org/show_bug.cgi?id=72083
3278
3279         Reviewed by Darin Adler.
3280
3281         No expected change in behavior.
3282
3283         All of the code is now using unsigned for indexing!
3284
3285         * rendering/FixedTableLayout.cpp:
3286         (WebCore::FixedTableLayout::layout):
3287         * rendering/RenderTable.cpp:
3288         (WebCore::RenderTable::colElement):
3289         (WebCore::RenderTable::cellAbove):
3290         * rendering/RenderTableSection.cpp:
3291         (WebCore::RenderTableSection::splitColumn):
3292         Added some ASSERTs to make sure we don't underflow. Looking at how
3293         the different variables are populated, they should not be reached.
3294
3295         * rendering/RenderTableCell.cpp:
3296         (WebCore::RenderTableCell::colSpan):
3297         (WebCore::RenderTableCell::rowSpan):
3298         Those 2 functions promotes HTMLTableCellElement's int to unsigned
3299         which should be fine as we make sure their are positive. Also HTML5
3300         makes those 2 fields "unsigned long" which goes in the same direction.
3301
3302         * rendering/AutoTableLayout.cpp:
3303         (WebCore::AutoTableLayout::layout):
3304         * rendering/RenderTableSection.cpp:
3305         (WebCore::RenderTableSection::nodeAtPoint):
3306         Rewrote a couple of reverse iterating to be able to use unsigned
3307         without overflowing.
3308
3309         * rendering/AutoTableLayout.cpp:
3310         (WebCore::AutoTableLayout::recalcColumn):
3311         (WebCore::AutoTableLayout::fullRecalc):
3312         (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
3313         (WebCore::AutoTableLayout::insertSpanCell):
3314         * rendering/AutoTableLayout.h:
3315         * rendering/FixedTableLayout.cpp:
3316         (WebCore::FixedTableLayout::calcWidthArray):
3317         * rendering/RenderTable.cpp:
3318         (WebCore::RenderTable::splitColumn):
3319         (WebCore::RenderTable::appendColumn):
3320         (WebCore::RenderTable::recalcSections):
3321         * rendering/RenderTable.h:
3322         (WebCore::RenderTable::getColumnPos):
3323         (WebCore::RenderTable::spanOfEffCol):
3324         (WebCore::RenderTable::effColToCol):
3325         * rendering/RenderTableCell.cpp:
3326         (WebCore::RenderTableCell::styleOrColLogicalWidth):
3327         (WebCore::CollapsedBorders::nextBorder):
3328         * rendering/RenderTableCell.h:
3329         * rendering/RenderTableCol.cpp:
3330         (WebCore::RenderTableCol::updateFromElement):
3331         * rendering/RenderTableCol.h:
3332         (WebCore::RenderTableCol::span):
3333         (WebCore::RenderTableCol::setSpan):
3334         * rendering/RenderTableSection.cpp:
3335         (WebCore::RenderTableSection::addCell):
3336         (WebCore::RenderTableSection::setCellLogicalWidths):
3337         (WebCore::RenderTableSection::layoutRows):
3338         (WebCore::RenderTableSection::calcOuterBorderBefore):
3339         (WebCore::RenderTableSection::calcOuterBorderAfter):
3340         (WebCore::RenderTableSection::calcOuterBorderStart):
3341         (WebCore::RenderTableSection::calcOuterBorderEnd):
3342         (WebCore::RenderTableSection::paintObject):
3343         (WebCore::RenderTableSection::appendColumn):
3344         * rendering/RenderTableSection.h:
3345         (WebCore::RenderTableSection::cellAt):
3346         (WebCore::RenderTableSection::primaryCellAt):
3347         (WebCore::RenderTableSection::getBaseline):
3348         Mechanical change int -> unsigned.
3349
3350 2011-11-15  Andy Estes  <aestes@apple.com>
3351
3352         Consolidate the logic that creates run loop observers for flushing layer tree changes to CoreAnimation
3353         https://bugs.webkit.org/show_bug.cgi?id=72106
3354
3355         Reviewed by Anders Carlsson.
3356
3357         Add a class that encapsulates the logic of scheduling, enabling and
3358         invalidating a run loop observer that fires before Core Animation's
3359         commit observer. Clients can subclass LayerFlushSchedulerClient and
3360         implement flushLayers(), which will be called by the observer.
3361
3362         * WebCore.exp.in:
3363         * WebCore.xcodeproj/project.pbxproj:
3364         * platform/graphics/ca/LayerFlushScheduler.cpp: Added.
3365         (WebCore::LayerFlushScheduler::suspend): Suspend scheduling by
3366         invalidating the run loop observer. Keep a count of calls to suspend()
3367         in m_suspendCount.
3368         (WebCore::LayerFlushScheduler::resume): Decrement m_suspendCount.
3369         Install the run loop observer when it reaches 0.
3370         * platform/graphics/ca/LayerFlushSchedulerClient.h: Added.
3371         (WebCore::LayerFlushSchedulerClient::~LayerFlushSchedulerClient):
3372         * platform/graphics/ca/LayerFlushScheduler.h: Added.
3373         * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp: Added.
3374         (LayerFlushScheduler::LayerFlushScheduler):
3375         (LayerFlushScheduler::~LayerFlushScheduler):
3376         (LayerFlushScheduler::runLoopObserverCallback): Call flushLayers() on
3377         the LayerFlushSchedulerClient.
3378         (LayerFlushScheduler::schedule): Install the run loop observer.
3379         (LayerFlushScheduler::invalidate): Remove the run loop
3380         observer if it is installed.
3381
3382 2011-11-15  Adam Klein  <adamk@chromium.org>
3383
3384         [v8] Use throwError instead of compiling and running script in handleMaxRecursionDepthExceeded
3385         https://bugs.webkit.org/show_bug.cgi?id=72432
3386
3387         Reviewed by Adam Barth.
3388
3389         * bindings/v8/V8Proxy.cpp:
3390         (WebCore::handleMaxRecursionDepthExceeded):
3391
3392 2011-11-15  Vincent Scheib  <scheib@chromium.org>
3393
3394         Pointer Lock: Refactoring: PointerLock.idl: Dropping webkit prefix
3395         https://bugs.webkit.org/show_bug.cgi?id=72431
3396
3397         Reviewed by Adam Barth.
3398
3399         * page/PointerLock.cpp:
3400         (WebCore::PointerLock::lock):
3401         (WebCore::PointerLock::unlock):
3402         (WebCore::PointerLock::isLocked):
3403         * page/PointerLock.h:
3404         * page/PointerLock.idl:
3405
3406 2011-11-15  Nat Duca  <nduca@chromium.org>
3407
3408         [chromium] Fuse MainThread and CCThread
3409         https://bugs.webkit.org/show_bug.cgi?id=72426
3410
3411         Reviewed by James Robinson.
3412
3413         * WebCore.gypi:
3414         * platform/graphics/chromium/LayerRendererChromium.cpp:
3415         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
3416         (WebCore::CCLayerTreeHost::CCLayerTreeHost):
3417         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
3418         * platform/graphics/chromium/cc/CCMainThread.cpp: Removed.
3419         * platform/graphics/chromium/cc/CCMainThread.h: Removed.
3420         * platform/graphics/chromium/cc/CCMainThreadTask.h: Removed.
3421         * platform/graphics/chromium/cc/CCProxy.cpp:
3422         (WebCore::CCProxy::setMainThread):
3423         (WebCore::CCProxy::mainThread):
3424         (WebCore::CCProxy::setImplThread):
3425         (WebCore::CCProxy::implThread):
3426         (WebCore::CCProxy::isMainThread):
3427         (WebCore::CCProxy::isImplThread):
3428         (WebCore::CCProxy::~CCProxy):
3429         * platform/graphics/chromium/cc/CCProxy.h:
3430         * platform/graphics/chromium/cc/CCScopedThreadProxy.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCScopedMainThreadProxy.h.
3431         (WebCore::CCScopedThreadProxy::create):
3432         (WebCore::CCScopedThreadProxy::postTask):
3433         (WebCore::CCScopedThreadProxy::shutdown):
3434         (WebCore::CCScopedThreadProxy::CCScopedThreadProxy):
3435         (WebCore::CCScopedThreadProxy::runTaskIfNotShutdown):
3436         * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
3437         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
3438         (WebCore::CCThreadProxy::CCThreadProxy):
3439         (WebCore::CCThreadProxy::compositeAndReadback):
3440         (WebCore::CCThreadProxy::finishAllRendering):
3441         (WebCore::CCThreadProxy::initializeLayerRenderer):
3442         (WebCore::CCThreadProxy::setNeedsAnimate):
3443         (WebCore::CCThreadProxy::setNeedsCommit):
3444         (WebCore::CCThreadProxy::onSwapBuffersCompleteOnImplThread):
3445         (WebCore::CCThreadProxy::setNeedsRedraw):
3446         (WebCore::CCThreadProxy::setVisible):
3447         (WebCore::CCThreadProxy::start):
3448         (WebCore::CCThreadProxy::stop):
3449         (WebCore::CCThreadProxy::obtainBeginFrameAndCommitTaskFromCCThread):
3450         (WebCore::CCThreadProxy::createBeginFrameAndCommitTaskOnImplThread):
3451         (WebCore::CCThreadProxy::beginFrameAndCommit):
3452         (WebCore::CCThreadProxy::scheduledActionDrawAndSwap):
3453         (WebCore::CCThreadProxy::initializeImplOnImplThread):
3454         * platform/graphics/chromium/cc/CCThreadProxy.h:
3455
3456 2011-11-15  Vincent Scheib  <scheib@chromium.org>
3457
3458         Pointer Lock: Refactor: MouseEvent.idl movementX/Y
3459         https://bugs.webkit.org/show_bug.cgi?id=72427
3460
3461         - [Conditional...] vs #if defined
3462         - Runtime enabled
3463         - .movementX/Y prefixed with 'webkit'
3464
3465         Reviewed by Adam Barth.
3466
3467         No new tests.
3468
3469         * bindings/generic/RuntimeEnabledFeatures.h:
3470         (WebCore::RuntimeEnabledFeatures::webkitMovementXEnabled):
3471         (WebCore::RuntimeEnabledFeatures::webkitMovementYEnabled):
3472         * dom/MouseEvent.idl:
3473         * dom/MouseRelatedEvent.h:
3474         (WebCore::MouseRelatedEvent::webkitMovementX):
3475         (WebCore::MouseRelatedEvent::webkitMovementY):
3476
3477 2011-10-28  Ojan Vafai  <ojan@chromium.org>
3478
3479         implement flex-align for flex-flow: column
3480         https://bugs.webkit.org/show_bug.cgi?id=70754
3481
3482         Reviewed by David Hyatt.
3483
3484         Tests: css3/flexbox/flex-align-column.html
3485                css3/flexbox/line-wrapping.html
3486
3487         * rendering/RenderBox.cpp:
3488         (WebCore::RenderBox::sizesToIntrinsicLogicalWidth):
3489         When flexitems are column, they should size to the intrinsic width unless flex-flow is stretch.
3490
3491         * rendering/RenderFlexibleBox.cpp:
3492         (WebCore::RenderFlexibleBox::alignChildrenBlockDirection):
3493         This was just using the wrong, non-flow-aware method.
3494
3495 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
3496
3497         Rename ReferrerPolicy to clarify its meaning
3498         https://bugs.webkit.org/show_bug.cgi?id=72420
3499