implement display: -webkit-inline-flexbox
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2012-02-27  Ojan Vafai  <ojan@chromium.org>
2
3         implement display: -webkit-inline-flexbox
4         https://bugs.webkit.org/show_bug.cgi?id=77772
5
6         Reviewed by David Hyatt.
7
8         Tests: css3/flexbox/inline-flexbox-expected.html
9                css3/flexbox/inline-flexbox.html
10
11         * rendering/style/RenderStyle.h:
12         -Add INLINE_FLEXBOX to the list of replaced display types.
13         -Restructure the isDisplayInline methods to avoid code duplication.
14
15 2012-02-27  Ken Buchanan  <kenrb@chromium.org>
16
17         Absolute positioned elements with Inline Relative Positioned Container are not layout correctly
18         https://bugs.webkit.org/show_bug.cgi?id=78713
19
20         Reviewed by David Hyatt.
21
22         Test: fast/css/positioned-in-relative-position-inline-crash.html
23
24         Patch originally by Robin Cao.
25
26         This is a regression. r104183 changes containingBlock() so that it returns the container
27         of an anonymous block for positioned objects, not the anonymous block itself. We should
28         change markContainingBlocksForLayout() to match the change in containingBlock().
29
30         * rendering/RenderObject.cpp:
31         (WebCore::RenderObject::markContainingBlocksForLayout):
32
33 2012-02-27  Pavel Feldman  <pfeldman@google.com>
34
35         Web Inspector: move record formatting into the timeline presentation model.
36         https://bugs.webkit.org/show_bug.cgi?id=79684
37
38         Drive-by: fix for stop recording in reset; cpu time restored.
39
40         Reviewed by Vsevolod Vlasov.
41
42         * inspector/front-end/TimelineModel.js:
43         (WebInspector.TimelineModel.prototype.reset):
44         * inspector/front-end/TimelineOverviewPane.js:
45         (WebInspector.TimelineOverviewPane.prototype.update.updateBoundaries):
46         (WebInspector.TimelineOverviewCalculator.prototype.updateBoundaries):
47         * inspector/front-end/TimelinePanel.js:
48         (WebInspector.TimelinePanel):
49         (WebInspector.TimelinePanel.prototype._rootRecord):
50         (WebInspector.TimelinePanel.prototype._updateRecordsCounter):
51         (WebInspector.TimelinePanel.prototype._repopulateRecords):
52         (WebInspector.TimelinePanel.prototype._onTimelineEventRecorded):
53         (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
54         (WebInspector.TimelinePanel.prototype._resetPanel):
55         (WebInspector.TimelinePanel.prototype._refresh):
56         (WebInspector.TimelinePanel.prototype._updateBoundaries):
57         (WebInspector.TimelinePanel.prototype._filterRecords):
58         (WebInspector.TimelinePanel.prototype.revealRecordAt):
59         (WebInspector.TimelinePanel.prototype._showPopover):
60         (WebInspector.TimelineCalculator.prototype.computeBarGraphPercentages):
61         (WebInspector.TimelineCalculator.prototype.computeBarGraphWindowPosition):
62         (WebInspector.TimelineCalculator.prototype.updateBoundaries):
63         (WebInspector.TimelineStartAtZeroCalculator.prototype.computeBarGraphPercentages):
64         (WebInspector.TimelineRecordGraphRow):
65         (WebInspector.TimelineRecordGraphRow.prototype.update):
66         * inspector/front-end/TimelinePresentationModel.js:
67         (WebInspector.TimelinePresentationModel):
68         (WebInspector.TimelinePresentationModel.prototype.createFormattedRecord):
69         (WebInspector.TimelinePresentationModel.prototype._createRootRecord):
70         (WebInspector.TimelinePresentationModel.prototype.rootRecord):
71         (WebInspector.TimelinePresentationModel.prototype.reset):
72         (WebInspector.TimelinePresentationModel.prototype._findParentRecord):
73         (WebInspector.TimelinePresentationModel.prototype._resetWindow):
74         (WebInspector.TimelinePresentationModel.prototype._addCategory):
75         (WebInspector.TimelinePresentationModel.prototype.setCategoryVisibility):
76         (WebInspector.TimelinePresentationModel.prototype.get _recordStyles):
77         (WebInspector.TimelinePresentationModel.Record):
78         (WebInspector.TimelinePresentationModel.Record.prototype.get lastChildEndTime):
79         (WebInspector.TimelinePresentationModel.Record.prototype.set lastChildEndTime):
80         (WebInspector.TimelinePresentationModel.Record.prototype.get selfTime):
81         (WebInspector.TimelinePresentationModel.Record.prototype.set selfTime):
82         (WebInspector.TimelinePresentationModel.Record.prototype.get cpuTime):
83         (WebInspector.TimelinePresentationModel.Record.prototype.isLong):
84         (WebInspector.TimelinePresentationModel.Record.prototype.get children):
85         (WebInspector.TimelinePresentationModel.Record.prototype.containsTime):
86         (WebInspector.TimelinePresentationModel.Record.prototype._generateAggregatedInfo):
87         (WebInspector.TimelinePresentationModel.Record.prototype.generatePopupContent):
88         (WebInspector.TimelinePresentationModel.Record.prototype._refreshDetails):
89         (WebInspector.TimelinePresentationModel.Record.prototype._getRecordDetails):
90         (WebInspector.TimelinePresentationModel.Record.prototype._linkifyLocation):
91         (WebInspector.TimelinePresentationModel.Record.prototype._linkifyCallFrame):
92         (WebInspector.TimelinePresentationModel.Record.prototype._linkifyTopCallFrame):
93         (WebInspector.TimelinePresentationModel.Record.prototype._linkifyScriptLocation):
94         (WebInspector.TimelinePresentationModel.Record.prototype.calculateAggregatedStats):
95         (WebInspector.TimelinePresentationModel.Record.prototype.get aggregatedStats):
96         (WebInspector.TimelinePresentationModel.PopupContentHelper):
97         (WebInspector.TimelinePresentationModel.PopupContentHelper.prototype._createCell):
98         (WebInspector.TimelinePresentationModel.PopupContentHelper.prototype._appendTextRow):
99         (WebInspector.TimelinePresentationModel.PopupContentHelper.prototype._appendElementRow):
100         (WebInspector.TimelinePresentationModel.PopupContentHelper.prototype._appendStackTrace):
101         * inspector/front-end/timelinePanel.css:
102         (.timeline-graph-bar.cpu):
103
104 2012-02-27  Vsevolod Vlasov  <vsevik@chromium.org>
105
106         Web Inspector: Scripts navigator overlay should not consume mouse actions.
107         https://bugs.webkit.org/show_bug.cgi?id=79674
108
109         Reviewed by Pavel Feldman.
110
111         * inspector/front-end/Panel.js:
112         (WebInspector.Panel.prototype.registerShortcut):
113         (WebInspector.Panel.prototype.unregisterShortcut):
114         * inspector/front-end/ScriptsPanel.js:
115         (WebInspector.ScriptsPanel.prototype._editorClosed):
116         (WebInspector.ScriptsPanel.prototype._editorSelected):
117         (WebInspector.ScriptsPanel.prototype._fileSelected):
118         (WebInspector.ScriptsPanel.prototype._escDownWhileNavigatorOverlayOpen):
119         (WebInspector.ScriptsPanel.prototype.set _showNavigatorOverlay):
120         (WebInspector.ScriptsPanel.prototype._hideNavigatorOverlay):
121         (WebInspector.ScriptsPanel.prototype._navigatorOverlayWasShown):
122         * inspector/front-end/SidebarOverlay.js:
123         (WebInspector.SidebarOverlay):
124         (WebInspector.SidebarOverlay.prototype.show):
125         (WebInspector.SidebarOverlay.prototype._containingElementFocused):
126         (WebInspector.SidebarOverlay.prototype.position):
127         (WebInspector.SidebarOverlay.prototype.hide):
128         (WebInspector.SidebarOverlay.prototype._setWidth):
129         * inspector/front-end/dialog.css:
130         (.go-to-line-dialog button:active):
131         * inspector/front-end/scriptsPanel.css:
132         (#scripts-editor-view .sidebar-overlay):
133         * inspector/front-end/splitView.css:
134         (.split-view-resizer):
135         (.sidebar-overlay):
136         (.sidebar-overlay-resizer):
137
138 2012-02-27  Philippe Normand  <pnormand@igalia.com>
139
140         [GStreamer] 0.11 support in MediaPlayerPrivateGStreamer
141         https://bugs.webkit.org/show_bug.cgi?id=77089
142
143         Reviewed by Martin Robinson.
144
145         Basic port to GStreamer 0.11 APIs. This patch excludes the video
146         painting changes and the GStreamerGWorld changes which are handled
147         in two other patches (bugs 77087 and 77088).
148
149         * GNUmakefile.list.am: Add GStreamerVersioning files to the build.
150         * Source/WebCore/PlatformEfl.cmake: Ditto.
151         * Source/WebCore/Target.pri: Ditto.
152         * platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
153         (WTF::GstElement):
154         (WTF::GstPad):
155         (WTF::GstPadTemplate):
156         (WTF::GstTask):
157         * platform/graphics/gstreamer/GStreamerVersioning.cpp: Added.
158         (webkit_gst_object_ref_sink):
159         (webkit_gst_element_get_pad_caps):
160         * platform/graphics/gstreamer/GStreamerVersioning.h: Added.
161         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
162         (WebCore::MediaPlayerPrivateGStreamer::isAvailable):
163         (WebCore::MediaPlayerPrivateGStreamer::duration):
164         (WebCore::MediaPlayerPrivateGStreamer::naturalSize):
165
166 2012-02-27  Philip Rogers  <pdr@google.com>
167
168         Stop recomputing SVG path data twice during layout
169         https://bugs.webkit.org/show_bug.cgi?id=79672
170
171         Reviewed by Nikolas Zimmermann.
172
173         * rendering/svg/RenderSVGShape.cpp:
174         (WebCore::RenderSVGShape::layout):
175
176 2012-02-27  Timothy Hatcher  <timothy@apple.com>
177
178         Updated for WebKit2 string changes.
179
180         https://webkit.org/b/79649
181
182         Reviewed by John Sullivan.
183
184         * English.lproj/Localizable.strings: Updated.
185
186 2012-02-27  Pavel Feldman  <pfeldman@google.com>
187
188         Web Inspector: Ctrl+K should not zoom in
189         https://bugs.webkit.org/show_bug.cgi?id=79676
190
191         Reviewed by Vsevolod Vlasov.
192
193         * inspector/front-end/inspector.js:
194         (WebInspector.documentKeyDown):
195
196 2012-02-27  Pavel Feldman  <pfeldman@google.com>
197
198         Web Inspector: extract TimelineModel and TimelinePresentationModel into their own files.
199         https://bugs.webkit.org/show_bug.cgi?id=79675
200
201         Reviewed by Vsevolod Vlasov.
202
203         * WebCore.gypi:
204         * WebCore.vcproj/WebCore.vcproj:
205         * inspector/compile-front-end.sh:
206         * inspector/front-end/TimelineAgent.js: Removed.
207         * inspector/front-end/TimelineModel.js: Added.
208         (WebInspector.TimelineModel):
209         (WebInspector.TimelineModel.prototype.startRecord):
210         (WebInspector.TimelineModel.prototype.stopRecord):
211         (WebInspector.TimelineModel.prototype.get records):
212         (WebInspector.TimelineModel.prototype._onRecordAdded):
213         (WebInspector.TimelineModel.prototype._addRecord):
214         (WebInspector.TimelineModel.prototype._loadNextChunk):
215         (WebInspector.TimelineModel.prototype._loadFromFile):
216         (WebInspector.TimelineModel.prototype._loadFromFile.onError):
217         (WebInspector.TimelineModel.prototype._saveToFile):
218         (WebInspector.TimelineModel.prototype._reset):
219         * inspector/front-end/TimelinePanel.js:
220         (WebInspector.TimelinePanel.prototype.get _recordStyles):
221         (WebInspector.TimelinePanel.prototype._createEventDivider):
222         (WebInspector.TimelinePanel.prototype._findParentRecord):
223         (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
224         (WebInspector.TimelinePanel.prototype._refreshRecords):
225         (WebInspector.TimelinePanel.FormattedRecord):
226         (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
227         (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
228         * inspector/front-end/TimelinePresentationModel.js: Added.
229         (WebInspector.TimelinePresentationModel):
230         (WebInspector.TimelinePresentationModel.prototype.reset):
231         (WebInspector.TimelinePresentationModel.prototype.get categories):
232         (WebInspector.TimelinePresentationModel.prototype.addCategory):
233         (WebInspector.TimelinePresentationModel.prototype.setWindowPosition):
234         (WebInspector.TimelinePresentationModel.prototype.setWindowIndices):
235         (WebInspector.TimelinePresentationModel.prototype.setCategoryVisibility):
236         * inspector/front-end/WebKit.qrc:
237         * inspector/front-end/inspector.html:
238
239 2012-02-27  Alexander Pavlov  <apavlov@chromium.org>
240
241         Web Inspector: [Styles] Allow adding CSS properties anywhere in the style declaration, not only at the end
242         https://bugs.webkit.org/show_bug.cgi?id=79662
243
244         Reviewed by Pavel Feldman.
245
246         * inspector/front-end/CSSStyleModel.js:
247         (WebInspector.CSSStyleDeclaration.prototype.newBlankProperty):
248         (WebInspector.CSSProperty.prototype.setText):
249         (WebInspector.CSSProperty.prototype.setValue):
250         * inspector/front-end/MetricsSidebarPane.js:
251         (WebInspector.MetricsSidebarPane.prototype._applyUserInput):
252         * inspector/front-end/StylesSidebarPane.js:
253         (WebInspector.StylePropertiesSection):
254         (WebInspector.StylePropertiesSection.prototype._handleSelectorContainerClick):
255         (WebInspector.StylePropertiesSection.prototype.addNewBlankProperty):
256         (WebInspector.StylePropertyTreeElement.prototype):
257         (WebInspector.StylePropertyTreeElement.prototype.element.userInput.previousContent.context.moveDirection):
258         (WebInspector.StylePropertyTreeElement.prototype.styleText.updateInterface.majorChange.isRevert):
259
260 2012-02-27  Pavel Feldman  <pfeldman@google.com>
261
262         [Shadow]: Expose one ShadowRoot in the Elements panel (under experiment flag)
263         https://bugs.webkit.org/show_bug.cgi?id=78202
264
265         Reviewed by Yury Semikhatsky.
266
267         * dom/ShadowTree.cpp:
268         (WebCore::ShadowTree::pushShadowRoot):
269         (WebCore::ShadowTree::popShadowRoot):
270         * inspector/Inspector.json:
271         * inspector/InspectorDOMAgent.cpp:
272         (WebCore::InspectorDOMAgent::unbind):
273         (WebCore::InspectorDOMAgent::assertEditableNode):
274         (WebCore::InspectorDOMAgent::assertEditableElement):
275         (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
276         (WebCore::InspectorDOMAgent::setAttributeValue):
277         (WebCore::InspectorDOMAgent::setAttributesAsText):
278         (WebCore::InspectorDOMAgent::removeAttribute):
279         (WebCore::InspectorDOMAgent::removeNode):
280         (WebCore::InspectorDOMAgent::setOuterHTML):
281         (WebCore::InspectorDOMAgent::setNodeValue):
282         (WebCore::InspectorDOMAgent::moveTo):
283         (WebCore::InspectorDOMAgent::buildObjectForNode):
284         (WebCore::InspectorDOMAgent::didPushShadowRoot):
285         (WebCore):
286         (WebCore::InspectorDOMAgent::willPopShadowRoot):
287         * inspector/InspectorDOMAgent.h:
288         (WebCore):
289         (InspectorDOMAgent):
290         * inspector/InspectorInstrumentation.cpp:
291         (WebCore::InspectorInstrumentation::didPushShadowRootImpl):
292         (WebCore):
293         (WebCore::InspectorInstrumentation::willPopShadowRootImpl):
294         * inspector/InspectorInstrumentation.h:
295         (WebCore):
296         (InspectorInstrumentation):
297         (WebCore::InspectorInstrumentation::didPushShadowRoot):
298         (WebCore::InspectorInstrumentation::willPopShadowRoot):
299         * inspector/PageConsoleAgent.cpp:
300         (WebCore::PageConsoleAgent::addInspectedNode):
301         * inspector/front-end/DOMAgent.js:
302         (WebInspector.DOMNode):
303         (WebInspector.DOMNode.prototype.hasChildNodes):
304         (WebInspector.DOMNode.prototype.isInShadowTree):
305         (WebInspector.DOMNode.prototype._insertChild):
306         (WebInspector.DOMNode.prototype._setChildrenPayload):
307         (WebInspector.DOMDocument):
308         (WebInspector.DOMAgent.prototype._setDetachedRoot):
309         (WebInspector.DOMAgent.prototype._shadowRootPopped):
310         (WebInspector.DOMDispatcher.prototype.childNodeRemoved):
311         (WebInspector.DOMDispatcher.prototype.shadowRootPushed):
312         (WebInspector.DOMDispatcher.prototype.shadowRootPopped):
313         * inspector/front-end/ElementsTreeOutline.js:
314         * inspector/front-end/MemoryStatistics.js:
315         * inspector/front-end/Settings.js:
316         (WebInspector.ExperimentsSettings):
317         * inspector/front-end/inspector.css:
318         (.webkit-html-tag.shadow, .webkit-html-fragment.shadow):
319
320 2012-02-27  Andrey Kosyakov  <caseq@chromium.org>
321
322         Web Inspector: [refactoring] remove dependencies from TimelinePanel from most of FormattedRecord
323         https://bugs.webkit.org/show_bug.cgi?id=79665
324
325         Reviewed by Pavel Feldman.
326
327         * inspector/front-end/TimelinePanel.js:
328         (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
329         (WebInspector.TimelinePanel.FormattedRecord):
330         (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
331         (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
332         (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyLocation):
333         (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyCallFrame):
334         (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyTopCallFrame):
335         (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyScriptLocation):
336         (WebInspector.TimelinePanel.PopupContentHelper):
337         (WebInspector.TimelinePanel.PopupContentHelper.prototype._appendStackTrace):
338
339 2012-02-27  Yury Semikhatsky  <yurys@chromium.org>
340
341         Web Inspector: reveal corresponding timeline record when user clicks on memory graph
342         https://bugs.webkit.org/show_bug.cgi?id=79669
343
344         When user clicks on DOM counter graph corresponding timeline record is
345         revealed in timelime grid and all its ancestors are expanded.
346
347         Reviewed by Pavel Feldman.
348
349         * inspector/front-end/MemoryStatistics.js:
350         (WebInspector.MemoryStatistics.prototype._onClick):
351         * inspector/front-end/TimelineOverviewPane.js:
352         (WebInspector.TimelineOverviewPane.prototype.update):
353         (WebInspector.HeapGraph.prototype.update):
354         (WebInspector.HeapGraph.prototype._clear):
355         * inspector/front-end/TimelinePanel.js:
356         (WebInspector.TimelinePanel.prototype.revealRecordAt.recordFinder):
357         (WebInspector.TimelinePanel.prototype.revealRecordAt):
358         (WebInspector.TimelinePanel.prototype._refreshRecords):
359         (WebInspector.TimelinePanel.forAllRecords):
360         (WebInspector.TimelinePanel.FormattedRecord.prototype.containsTime):
361
362 2012-02-27  Ilya Tikhonovsky  <loislo@chromium.org>
363
364         Unreviewed single line fix for r108983.
365
366         * inspector/front-end/DetailedHeapshotView.js:
367         (WebInspector.DetailedHeapshotView.prototype.willHide):
368
369 2012-02-27  Yury Semikhatsky  <yurys@chromium.org>
370
371         Web Inspector: repaint counter graphs when timeline splitter moves
372         https://bugs.webkit.org/show_bug.cgi?id=79644
373
374         Immediately refresh timeline panel on splitter move.
375
376         Reviewed by Pavel Feldman.
377
378         * inspector/front-end/TimelinePanel.js:
379         (WebInspector.TimelinePanel.prototype._splitterDragging):
380
381 2012-02-27  Carlos Garcia Campos  <cgarcia@igalia.com>
382
383         Unreviewed. Fix make distcheck.
384
385         * GNUmakefile.am: Add missing files.
386         * GNUmakefile.list.am: Ditto.
387
388 2012-02-27  Patrick Gansterer  <paroga@webkit.org>
389
390         [CMake] Build fix after r108709.
391
392         * CMakeLists.txt: Move DOMWindowSVG.idl to the other IDL files.
393
394 2012-02-27  Ilya Tikhonovsky  <loislo@chromium.org>
395
396         Web Inspector: [chromium] Profiles - Tooltip with object/property types stays on screen when another tab selected
397         https://bugs.webkit.org/show_bug.cgi?id=79654
398
399         Reviewed by Yury Semikhatsky.
400
401         * inspector/front-end/DetailedHeapshotView.js:
402         (WebInspector.DetailedHeapshotView.prototype.willHide):
403
404 2012-02-27  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
405
406         [Qt] Remove page/PageSupplement.h from WebCore's Target.pri
407
408         The file itself was removed in r108958.
409
410         Reviewed by Kenneth Rohde Christiansen.
411
412         * Target.pri:
413
414 2012-02-27  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
415
416         [Qt] Use USE() macro instead of ENABLE() for using the Qt image decoder
417
418         Reviewed by Kenneth Rohde Christiansen..
419
420         * Target.pri:
421         * WebCore.pri:
422         * platform/MIMETypeRegistry.cpp:
423         (WebCore::initializeSupportedImageMIMETypes):
424         (WebCore::initializeSupportedImageMIMETypesForEncoding):
425         * platform/image-decoders/ImageDecoder.h:
426         (WebCore::ImageFrame::getAddr):
427         (ImageFrame):
428         * platform/image-decoders/qt/ImageFrameQt.cpp:
429         (WebCore):
430         (WebCore::ImageFrame::asNewNativeImage):
431
432 2012-02-27  MORITA Hajime  <morrita@google.com>
433
434         Removing <ul>, <li> inside shadow DOM triggers assertion in updateListMarkerNumbers
435         https://bugs.webkit.org/show_bug.cgi?id=79630
436
437         Reviewed by Ryosuke Niwa.
438
439         This problem was caused by the inconsistent detach order of DOM tree where
440         Element::detach() called ContainerNode::detach() before shadow tree is detached.
441         This resulted the renderer of the element being destroyed even if its children,
442         each of which came from an element in the shadow tree, are alive.
443         In principle, child renderers should be destroyed before its parent.
444
445         This change aligns the detach order with the attach order. The shadow tree is
446         now deatched before parent's ContainerNode::detach() is called.
447
448         Test: fast/dom/shadow/shadow-ul-li.html
449
450         * dom/Element.cpp:
451         (WebCore::Element::detach):
452
453 2012-02-27  Keishi Hattori  <keishi@webkit.org>
454
455         Color input type should be clickable through keyboard
456         https://bugs.webkit.org/show_bug.cgi?id=79629
457
458         Reviewed by Kent Tamura.
459
460         Introduced BaseClickableWithKeyInputType that represents an input type
461         that can be clicked by pressing space/return keys.
462         ColorInputType, FileInputType directly inherit it because it doesn't
463         want the other methods(like appendFormData) in BaseButtonInputType.
464
465         * CMakeLists.txt: Added BaseClickableWithKeyInputType.cpp
466         * GNUmakefile.list.am: Added BaseClickableWithKeyInputType.{cpp,h}
467         * Target.pri: Added BaseClickableWithKeyInputType.{cpp,h}
468         * WebCore.gypi: Added BaseClickableWithKeyInputType.{cpp,h}
469         * WebCore.vcproj/WebCore.vcproj: Added BaseClickableWithKeyInputType.{cpp,h}
470         * WebCore.xcodeproj/project.pbxproj: Added BaseClickableWithKeyInputType.{cpp,h}
471         * html/BaseButtonInputType.cpp:
472         * html/BaseButtonInputType.h:
473         (WebCore::BaseButtonInputType::BaseButtonInputType): Inherits BaseClickableWithKeyInputType now.
474         (BaseButtonInputType):
475         * html/BaseCheckableInputType.cpp: Changed comment.
476         * html/BaseClickableWithKeyInputType.cpp:
477         (WebCore):
478         (WebCore::BaseClickableWithKeyInputType::handleKeydownEvent): Moved from BaseButtonInputType
479         (WebCore::BaseClickableWithKeyInputType::handleKeypressEvent): Moved from BaseButtonInputType
480         (WebCore::BaseClickableWithKeyInputType::handleKeyupEvent): Moved from BaseButtonInputType
481         (WebCore::BaseClickableWithKeyInputType::accessKeyAction): Moved from BaseButtonInputType
482         * html/BaseClickableWithKeyInputType.h:
483         (WebCore):
484         (BaseClickableWithKeyInputType): Input type that can be clicked by pressing space/return keys.
485         (WebCore::BaseClickableWithKeyInputType::BaseClickableWithKeyInputType):
486         * html/ColorInputType.h:
487         (WebCore::ColorInputType::ColorInputType): Inherits BaseClickableWithKeyInputType now.
488         * html/FileInputType.cpp:
489         (WebCore::FileInputType::FileInputType):
490         * html/FileInputType.h:
491         (FileInputType): Inherits BaseClickableWithKeyInputType now.
492         * html/RangeInputType.cpp: Changed comment.
493         (WebCore):
494
495 2012-02-27  Keishi Hattori  <keishi@webkit.org>
496
497         Add missing include to ColorInputType.cpp
498         https://bugs.webkit.org/show_bug.cgi?id=79632
499
500         Reviewed by Kent Tamura.
501
502         * html/ColorInputType.cpp: Include ShadowTree.h
503
504 2012-02-27  Andrey Kosyakov  <caseq@chromium.org>
505
506         Use built-in bind in ExtensionAPI.js
507
508         Web Inspector: [Extensions API] get rid of custom bind() in favor of built-in
509         https://bugs.webkit.org/show_bug.cgi?id=79570
510
511         Reviewed by Pavel Feldman.
512
513         * inspector/front-end/ExtensionAPI.js:
514         (injectedExtensionAPI.EventSinkImpl.prototype.addListener):
515         (injectedExtensionAPI):
516         (injectedExtensionAPI.Panels.prototype.create):
517         (injectedExtensionAPI.AuditResultImpl):
518         (injectedExtensionAPI.ExtensionServerClient):
519
520 2012-02-21  Pavel Podivilov  <podivilov@chromium.org>
521
522         Web Inspector: get rid of RawSourceCode.sourceMapping getter.
523         https://bugs.webkit.org/show_bug.cgi?id=79461
524
525         Reviewed by Yury Semikhatsky.
526
527         * inspector/front-end/BreakpointManager.js:
528         (WebInspector.BreakpointManager.prototype.uiSourceCodeAdded):
529         (WebInspector.BreakpointManager.prototype.setBreakpoint):
530         (WebInspector.BreakpointManager.prototype._materializeBreakpoint):
531         (WebInspector.BreakpointManager.prototype._breakpointDebuggerLocationChanged):
532         * inspector/front-end/ConsoleMessage.js:
533         (WebInspector.ConsoleMessageImpl.prototype.get location):
534         * inspector/front-end/DebuggerPresentationModel.js:
535         (WebInspector.DebuggerPresentationModel.prototype.rawLocationToUILocation):
536         (WebInspector.DebuggerPresentationModel.prototype.uiSourceCodes):
537         (WebInspector.DebuggerPresentationModel.prototype._handleUISourceCodeListChanged):
538         (WebInspector.DebuggerPresentationModel.prototype._uiSourceCodeListChanged):
539         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
540         (WebInspector.DebuggerPresentationModel.prototype._restoreConsoleMessages):
541         (WebInspector.DebuggerPresentationModel.prototype._restoreExecutionLine):
542         (WebInspector.DebuggerPresentationModel.prototype._consoleMessageAdded):
543         (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
544         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
545         (WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
546         (WebInspector.PresentationCallFrame.prototype.uiLocation):
547         (WebInspector.DebuggerPresentationModel.CallFramePlacard):
548         (WebInspector.DebuggerPresentationModel.CallFramePlacard.prototype.discard):
549         (WebInspector.DebuggerPresentationModel.CallFramePlacard.prototype._update):
550         (WebInspector.DebuggerPresentationModelResourceBinding.prototype.canSetContent):
551         (WebInspector.DebuggerPresentationModelResourceBinding.prototype.setContent):
552         (WebInspector.DebuggerPresentationModel.DefaultLinkifierFormatter.prototype.formatRawSourceCodeAnchor):
553         (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyRawSourceCode):
554         (WebInspector.DebuggerPresentationModel.Linkifier.prototype.reset):
555         (WebInspector.DebuggerPresentationModel.Linkifier.prototype._updateAnchor):
556         * inspector/front-end/RawSourceCode.js:
557         (WebInspector.RawSourceCode.prototype.rawLocationToUILocation):
558         (WebInspector.RawSourceCode.prototype.uiLocationToRawLocation):
559         (WebInspector.RawSourceCode.prototype.uiSourceCodeList):
560         (WebInspector.RawSourceCode.prototype._saveSourceMapping):
561         * inspector/front-end/ScriptsPanel.js:
562         (WebInspector.ScriptsPanel.prototype._updateCallFrame):
563         * inspector/front-end/ScriptsSearchScope.js:
564         (WebInspector.ScriptsSearchResultsPane.prototype.createAnchor):
565
566 2012-02-27  Mihnea Ovidenie  <mihnea@adobe.com>
567
568         [CSSRegions]Implement NamedFlow::getRegionsByContentNode
569         https://bugs.webkit.org/show_bug.cgi?id=77746
570
571         Reviewed by David Hyatt.
572
573         Tests: fast/regions/get-regions-by-content-node-horiz-bt.html
574                fast/regions/get-regions-by-content-node-horiz-tb.html
575                fast/regions/get-regions-by-content-node-vert-lr.html
576                fast/regions/get-regions-by-content-node-vert-rl.html
577                fast/regions/get-regions-by-content-node.html
578                fast/regions/get-regions-by-content-node2.html
579
580         * CMakeLists.txt:
581         * GNUmakefile.list.am:
582         * Target.pri:
583         * WebCore.gypi:
584         * WebCore.vcproj/WebCore.vcproj:
585         * WebCore.xcodeproj/project.pbxproj:
586         * dom/Node.cpp:
587         (WebCore::Node::removeCachedRegionNodeList):
588         (WebCore):
589         (WebCore::Node::getRegionsByContentNode):
590         (WebCore::NodeListsNodeData::invalidateCaches):
591         (WebCore::NodeListsNodeData::isEmpty):
592         * dom/Node.h:
593         (WebCore):
594         (Node):
595         * dom/NodeRareData.h:
596         (NodeListsNodeData):
597         * dom/RegionNodeList.cpp:
598         (WebCore):
599         (WebCore::RegionNodeList::RegionNodeList):
600         (WebCore::RegionNodeList::~RegionNodeList):
601         (WebCore::RegionNodeList::nodeMatches):
602         * dom/RegionNodeList.h:
603         (WebCore):
604         (RegionNodeList):
605         (WebCore::RegionNodeList::create):
606         * dom/WebKitNamedFlow.cpp:
607         (WebCore::WebKitNamedFlow::getRegionsByContentNode):
608         (WebCore):
609         * dom/WebKitNamedFlow.h:
610         (WebCore):
611         (WebKitNamedFlow):
612         * dom/WebKitNamedFlow.idl:
613         * rendering/RenderFlowThread.cpp:
614         (WebCore::RenderFlowThread::regionInRange):
615         (WebCore):
616         (WebCore::RenderFlowThread::objectInFlowRegion):
617         * rendering/RenderFlowThread.h:
618         * rendering/RenderRegion.h:
619         (WebCore::RenderRegion::flowThread):
620
621 2012-02-27  Yury Semikhatsky  <yurys@chromium.org>
622
623         Web Inspector: counter graphs should resize after console showing
624         https://bugs.webkit.org/show_bug.cgi?id=79640
625
626         Invoke Panel.doResize after showing drawer.
627
628         Reviewed by Pavel Feldman.
629
630         * inspector/front-end/Drawer.js:
631         (WebInspector.Drawer.prototype.show.animationFinished):
632         (WebInspector.Drawer.prototype.show):
633
634 2012-02-27  Dan Beam  <dbeam@chromium.org>
635
636         Web Inspector: Close TabbedPanes on middle click of tab handle
637         https://bugs.webkit.org/show_bug.cgi?id=79518
638
639         Reviewed by Pavel Feldman.
640
641         * inspector/front-end/TabbedPane.js:
642         (WebInspector.TabbedPaneTab.prototype._createTabElement):
643         (WebInspector.TabbedPaneTab.prototype._tabClicked):
644
645 2012-02-26  Yury Semikhatsky  <yurys@chromium.org>
646
647         Web Inspector: crash in fake workers
648         https://bugs.webkit.org/show_bug.cgi?id=79637
649
650         Notify front-end about worker creation/destruction synchronously instead of
651         posting a task.
652
653         Reviewed by Pavel Feldman.
654
655         * inspector/InspectorAgent.cpp:
656         (WebCore):
657         (WebCore::InspectorAgent::didCreateWorker):
658         (WebCore::InspectorAgent::didDestroyWorker):
659         * inspector/InspectorAgent.h:
660         (InspectorAgent):
661
662 2012-02-26  Adam Barth  <abarth@webkit.org>
663
664         Unreviewed.
665
666         Fix some warnings in the build from referencing the non-existent
667         websockets directory.
668
669         * WebCore.gyp/WebCore.gyp:
670
671 2012-02-26  Shinya Kawanaka  <shinyak@chromium.org>
672
673         Rename ShadowRootList to ShadowTree.
674         https://bugs.webkit.org/show_bug.cgi?id=79342
675
676         Reviewed by Hajime Morita.
677
678         This patch renames ShadowRootList ot ShadowTree.
679
680         No new tests, no change in behavior.
681
682         * CMakeLists.txt:
683         * GNUmakefile.list.am:
684         * Target.pri:
685         * WebCore.exp.in:
686         * WebCore.gypi:
687         * WebCore.xcodeproj/project.pbxproj:
688         * dom/DOMAllInOne.cpp:
689         * dom/Document.cpp:
690         (WebCore::Document::buildAccessKeyMap):
691         * dom/Element.cpp:
692         (WebCore::Element::willRemove):
693         (WebCore::Element::insertedIntoDocument):
694         (WebCore::Element::removedFromDocument):
695         (WebCore::Element::insertedIntoTree):
696         (WebCore::Element::removedFromTree):
697         (WebCore::Element::attach):
698         (WebCore::Element::detach):
699         (WebCore::Element::recalcStyle):
700         (WebCore::Element::hasShadowRoot):
701         (WebCore::Element::shadowTree):
702         (WebCore::Element::setShadowRoot):
703         (WebCore::Element::ensureShadowRoot):
704         (WebCore::Element::removeShadowRoot):
705         (WebCore::Element::childrenChanged):
706         * dom/Element.h:
707         (WebCore):
708         (Element):
709         * dom/ElementRareData.h:
710         (ElementRareData):
711         (WebCore::ElementRareData::~ElementRareData):
712         * dom/Node.cpp:
713         (WebCore::oldestShadowRoot):
714         * dom/NodeRenderingContext.cpp:
715         (WebCore::NodeRenderingContext::NodeRenderingContext):
716         (WebCore::NodeRenderingContext::hostChildrenChanged):
717         (WebCore::NodeRenderingContext::shouldCreateRenderer):
718         * dom/NodeRenderingContext.h:
719         (WebCore):
720         * dom/ShadowRoot.cpp:
721         (WebCore::ShadowRoot::tree):
722         (WebCore::ShadowRoot::attach):
723         * dom/ShadowRoot.h:
724         (WebCore):
725         (ShadowRoot):
726         * dom/ShadowTree.cpp: Renamed from Source/WebCore/dom/ShadowRootList.cpp.
727         (WebCore):
728         (WebCore::ShadowTree::ShadowTree):
729         (WebCore::ShadowTree::~ShadowTree):
730         (WebCore::ShadowTree::pushShadowRoot):
731         (WebCore::ShadowTree::popShadowRoot):
732         (WebCore::ShadowTree::insertedIntoDocument):
733         (WebCore::ShadowTree::removedFromDocument):
734         (WebCore::ShadowTree::insertedIntoTree):
735         (WebCore::ShadowTree::removedFromTree):
736         (WebCore::ShadowTree::willRemove):
737         (WebCore::ShadowTree::attach):
738         (WebCore::ShadowTree::detach):
739         (WebCore::ShadowTree::insertionPointFor):
740         (WebCore::ShadowTree::isSelectorActive):
741         (WebCore::ShadowTree::reattach):
742         (WebCore::ShadowTree::childNeedsStyleRecalc):
743         (WebCore::ShadowTree::needsStyleRecalc):
744         (WebCore::ShadowTree::recalcShadowTreeStyle):
745         (WebCore::ShadowTree::needsReattachHostChildrenAndShadow):
746         (WebCore::ShadowTree::hostChildrenChanged):
747         (WebCore::ShadowTree::setNeedsReattachHostChildrenAndShadow):
748         (WebCore::ShadowTree::reattachHostChildrenAndShadow):
749         (WebCore::ShadowTree::ensureSelector):
750         * dom/ShadowTree.h: Renamed from Source/WebCore/dom/ShadowRootList.h.
751         (WebCore):
752         (ShadowTree):
753         (WebCore::ShadowTree::hasShadowRoot):
754         (WebCore::ShadowTree::youngestShadowRoot):
755         (WebCore::ShadowTree::oldestShadowRoot):
756         (WebCore::ShadowTree::selector):
757         (WebCore::ShadowTree::clearNeedsReattachHostChildrenAndShadow):
758         (WebCore::ShadowTree::host):
759         * dom/TreeScopeAdopter.cpp:
760         (WebCore::shadowRootFor):
761         * html/ColorInputType.cpp:
762         (WebCore::ColorInputType::createShadowSubtree):
763         (WebCore::ColorInputType::shadowColorSwatch):
764         * html/FileInputType.cpp:
765         (WebCore::FileInputType::createShadowSubtree):
766         (WebCore::FileInputType::multipleAttributeChanged):
767         * html/HTMLDetailsElement.cpp:
768         (WebCore::HTMLDetailsElement::findMainSummary):
769         * html/HTMLKeygenElement.cpp:
770         (WebCore::HTMLKeygenElement::shadowSelect):
771         * html/HTMLMediaElement.cpp:
772         (WebCore::HTMLMediaElement::mediaControls):
773         (WebCore::HTMLMediaElement::hasMediaControls):
774         * html/HTMLSummaryElement.cpp:
775         * html/HTMLTextAreaElement.cpp:
776         (WebCore::HTMLTextAreaElement::innerTextElement):
777         (WebCore::HTMLTextAreaElement::updatePlaceholderText):
778         * html/InputType.cpp:
779         (WebCore::InputType::destroyShadowSubtree):
780         * html/RangeInputType.cpp:
781         (WebCore::RangeInputType::handleMouseDownEvent):
782         (WebCore::RangeInputType::createShadowSubtree):
783         * html/TextFieldInputType.cpp:
784         (WebCore::TextFieldInputType::createShadowSubtree):
785         (WebCore::TextFieldInputType::updatePlaceholderText):
786         * html/ValidationMessage.cpp:
787         (WebCore::ValidationMessage::deleteBubbleTree):
788         * html/shadow/HTMLContentElement.cpp:
789         (WebCore::HTMLContentElement::attach):
790         (WebCore::HTMLContentElement::detach):
791         (WebCore::HTMLContentElement::parseAttribute):
792         * html/shadow/SliderThumbElement.cpp:
793         (WebCore::sliderThumbElementOf):
794         (WebCore::RenderSliderContainer::layout):
795         (WebCore::trackLimiterElementOf):
796         * page/FocusController.cpp:
797         (WebCore::shadowRoot):
798         * rendering/RenderFileUploadControl.cpp:
799         (WebCore::RenderFileUploadControl::uploadButton):
800         * svg/SVGTRefElement.cpp:
801         (WebCore::SVGTRefElement::updateReferencedText):
802         (WebCore::SVGTRefElement::detachTarget):
803         * testing/Internals.cpp:
804         (WebCore::Internals::ensureShadowRoot):
805         (WebCore::Internals::youngestShadowRoot):
806         (WebCore::Internals::oldestShadowRoot):
807
808 2012-02-26  Adam Barth  <abarth@webkit.org>
809
810         Extract Supplementable base class from Page and Navigator
811         https://bugs.webkit.org/show_bug.cgi?id=79624
812
813         Reviewed by Hajime Morita.
814
815         We'll use this pattern again soon for ScriptExecutionContext.
816
817         * CMakeLists.txt:
818         * GNUmakefile.list.am:
819         * Modules/gamepad/NavigatorGamepad.cpp:
820         (WebCore::NavigatorGamepad::from):
821         * Modules/gamepad/NavigatorGamepad.h:
822         * Modules/geolocation/NavigatorGeolocation.cpp:
823         (WebCore::NavigatorGeolocation::from):
824         * Modules/geolocation/NavigatorGeolocation.h:
825         * Modules/mediastream/NavigatorMediaStream.cpp:
826         (WebCore::NavigatorMediaStream::webkitGetUserMedia):
827         * Modules/mediastream/UserMediaController.cpp:
828         (WebCore::provideUserMediaTo):
829         * Modules/mediastream/UserMediaController.h:
830         (WebCore::UserMediaController::from):
831         * Target.pri:
832         * WebCore.gypi:
833         * WebCore.vcproj/WebCore.vcproj:
834         * WebCore.xcodeproj/project.pbxproj:
835         * dom/DeviceMotionController.cpp:
836         (WebCore::provideDeviceMotionTo):
837         * dom/DeviceMotionController.h:
838         (WebCore::DeviceMotionController::from):
839         * dom/DeviceOrientationController.cpp:
840         (WebCore::provideDeviceOrientationTo):
841         * dom/DeviceOrientationController.h:
842         (WebCore):
843         (WebCore::DeviceOrientationController::from):
844         * notifications/NotificationController.cpp:
845         (WebCore::provideNotification):
846         * notifications/NotificationController.h:
847         (WebCore):
848         (WebCore::NotificationController::from):
849         * page/DOMWindow.cpp:
850         (WebCore::DOMWindow::page):
851         (WebCore):
852         (WebCore::DOMWindow::addEventListener):
853         (WebCore::DOMWindow::removeEventListener):
854         (WebCore::DOMWindow::removeAllEventListeners):
855         * page/DOMWindow.h:
856         (WebCore):
857         (DOMWindow):
858         * page/Navigator.cpp:
859         (WebCore):
860         * page/Navigator.h:
861         (Navigator):
862         * page/NavigatorSupplement.cpp: Removed.
863         * page/NavigatorSupplement.h: Removed.
864         * page/Page.cpp:
865         (WebCore):
866         * page/Page.h:
867         (Page):
868         * page/PageSupplement.cpp: Removed.
869         * page/PageSupplement.h: Removed.
870         * page/SpeechInput.cpp:
871         (WebCore::provideSpeechInputTo):
872         * page/SpeechInput.h:
873         (WebCore::SpeechInput::from):
874         * platform/Supplementable.h: Added.
875         (WebCore):
876         (Supplement):
877         (WebCore::Supplement::~Supplement):
878         (WebCore::Supplement::provideTo):
879         (WebCore::Supplement::from):
880         (Supplementable):
881         (WebCore::Supplementable::provideSupplement):
882         (WebCore::Supplementable::requireSupplement):
883
884 2012-02-26  Hajime Morrita  <morrita@chromium.org>
885
886         Move ChromeClient::showContextMenu() to ContextMenuClient
887         https://bugs.webkit.org/show_bug.cgi?id=79427
888
889         Reviewed by Adam Barth.
890
891         - Removed ChromeClient::showContextMenu(), Chrome::showContextMenu()
892         - Added ContextMenuController::showContextMenuAt(), ContextMenuClient::showContextMenu()
893         - Hided showContextMenu() behind ACCESSIBILITY_CONTEXT_MENUS
894
895         This change localizes context menu related code and will make it easy to
896         modularize CONTEXT_MENUS code.
897
898         Refactoring. No new tests.
899
900         * WebCore.exp.in:
901         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
902         (-[WebAccessibilityObjectWrapper accessibilityShowContextMenu]):
903         * loader/EmptyClients.h:
904         (EmptyContextMenuClient):
905         (WebCore::EmptyContextMenuClient::showContextMenu):
906         * page/ContextMenuClient.h:
907         (ContextMenuClient):
908         * page/ContextMenuController.cpp:
909         (WebCore):
910         (WebCore::ContextMenuController::showContextMenuAt):
911         * page/ContextMenuController.h:
912         (ContextMenuController):
913         * page/Chrome.cpp:
914         * page/Chrome.h:
915         (Chrome):
916         * page/ChromeClient.h:
917         (ChromeClient):
918
919 2012-02-26  Benjamin Poulain  <bpoulain@apple.com>
920
921         [Mac] Release localized Strings instead of AutoRelease
922         https://bugs.webkit.org/show_bug.cgi?id=79552
923
924         Reviewed by Sam Weinig.
925
926         By using the CoreFoundation API, we can release the memory as soon as
927         the WTF::String is created.
928
929         * WebCore.xcodeproj/project.pbxproj:
930         * platform/mac/LocalizedStringsMac.cpp: Renamed from Source/WebCore/platform/mac/LocalizedStringsMac.mm.
931         (WebCore):
932         (WebCore::localizedString):
933
934 2012-02-26  Adam Barth  <abarth@webkit.org>
935
936         ContextDestructionObserver should live in its own file
937         https://bugs.webkit.org/show_bug.cgi?id=79619
938
939         Reviewed by Hajime Morita.
940
941         WebKit prefers to have one class per file.  (This patch is paying a
942         build system hacking debt I incurred earlier.)
943
944         * CMakeLists.txt:
945         * GNUmakefile.list.am:
946         * Target.pri:
947         * WebCore.gypi:
948         * WebCore.vcproj/WebCore.vcproj:
949         * WebCore.xcodeproj/project.pbxproj:
950         * dom/ActiveDOMObject.cpp:
951         (WebCore):
952         * dom/ActiveDOMObject.h:
953         (ActiveDOMObject):
954         (WebCore::ActiveDOMObject::suspendIfNeededCalled):
955         (WebCore::ActiveDOMObject::setPendingActivity):
956         (WebCore::ActiveDOMObject::unsetPendingActivity):
957         * dom/ContextDestructionObserver.cpp: Added.
958         (WebCore):
959         (WebCore::ContextDestructionObserver::ContextDestructionObserver):
960         (WebCore::ContextDestructionObserver::~ContextDestructionObserver):
961         (WebCore::ContextDestructionObserver::contextDestroyed):
962         * dom/ContextDestructionObserver.h: Added.
963         (WebCore):
964         (ContextDestructionObserver):
965         (WebCore::ContextDestructionObserver::scriptExecutionContext):
966         * dom/DOMAllInOne.cpp:
967
968 2012-02-26  Dirk Schulze  <krit@webkit.org>
969
970         Cleanup of Adobes copyright text. The text got harmonized with copyright texts of other companies. 
971
972         Rubber stamped by.
973
974         * css/CSSWrapShapes.cpp:
975         * css/CSSWrapShapes.h:
976         * css/WebKitCSSRegionRule.cpp:
977         * css/WebKitCSSRegionRule.h:
978         * css/WebKitCSSRegionRule.idl:
979         * css/WebKitCSSShaderValue.cpp:
980         * css/WebKitCSSShaderValue.h:
981         * dom/WebKitNamedFlow.cpp:
982         * dom/WebKitNamedFlow.h:
983         * dom/WebKitNamedFlow.idl:
984         * loader/cache/CachedShader.cpp:
985         * loader/cache/CachedShader.h:
986         * platform/graphics/filters/CustomFilterMesh.cpp:
987         * platform/graphics/filters/CustomFilterMesh.h:
988         * platform/graphics/filters/CustomFilterNumberParameter.h:
989         * platform/graphics/filters/CustomFilterOperation.cpp:
990         * platform/graphics/filters/CustomFilterOperation.h:
991         * platform/graphics/filters/CustomFilterParameter.h:
992         * platform/graphics/filters/CustomFilterProgram.cpp:
993         * platform/graphics/filters/CustomFilterProgram.h:
994         * platform/graphics/filters/CustomFilterProgramClient.h:
995         * platform/graphics/filters/CustomFilterShader.cpp:
996         * platform/graphics/filters/CustomFilterShader.h:
997         * platform/graphics/filters/FECustomFilter.cpp:
998         * platform/graphics/filters/FECustomFilter.h:
999         * rendering/FilterEffectObserver.h:
1000         * rendering/RenderFlowThread.cpp:
1001         * rendering/RenderFlowThread.h:
1002         * rendering/RenderRegion.cpp:
1003         * rendering/RenderRegion.h:
1004         * rendering/style/StyleCachedShader.cpp:
1005         * rendering/style/StyleCachedShader.h:
1006         * rendering/style/StyleCustomFilterProgram.h:
1007         * rendering/style/StylePendingShader.h:
1008         * rendering/style/StyleShader.h:
1009
1010 2012-02-26  Hyowon Kim  <hw1008.kim@samsung.com>
1011
1012         [EFL] Implementation of GraphicsContext3D for EFL port
1013         https://bugs.webkit.org/show_bug.cgi?id=79452
1014
1015         Reviewed by Noam Rosenthal.
1016
1017         Evas_GL is used to do OpenGL rendering on Evas, in which
1018         a structure 'Evas_GL_API' contains all the OpenGL functions.
1019
1020         GraphicsContext3D in EFL port should call OpenGL functions indirectly
1021         through the Evas_GL_API, and not use GraphicsContext3DOpenGL(Common).
1022
1023         So, we use the GraphicsContext3DPrivate to delegate all OpenGL function calls,
1024         and it will be implemented to use Evas_GL (bug 62961).
1025
1026         No new tests. No behavior change.
1027
1028         * platform/graphics/efl/GraphicsContext3DEfl.cpp: Added.
1029         (WebCore):
1030         (WebCore::GraphicsContext3D::create):
1031         (WebCore::GraphicsContext3D::GraphicsContext3D):
1032         (WebCore::GraphicsContext3D::~GraphicsContext3D):
1033         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
1034         (WebCore::GraphicsContext3D::platformLayer):
1035         (WebCore::GraphicsContext3D::makeContextCurrent):
1036         (WebCore::GraphicsContext3D::isGLES2Compliant):
1037         (WebCore::GraphicsContext3D::activeTexture):
1038         (WebCore::GraphicsContext3D::attachShader):
1039         (WebCore::GraphicsContext3D::bindAttribLocation):
1040         (WebCore::GraphicsContext3D::bindBuffer):
1041         (WebCore::GraphicsContext3D::bindFramebuffer):
1042         (WebCore::GraphicsContext3D::bindRenderbuffer):
1043         (WebCore::GraphicsContext3D::bindTexture):
1044         (WebCore::GraphicsContext3D::blendColor):
1045         (WebCore::GraphicsContext3D::blendEquation):
1046         (WebCore::GraphicsContext3D::blendEquationSeparate):
1047         (WebCore::GraphicsContext3D::blendFunc):
1048         (WebCore::GraphicsContext3D::blendFuncSeparate):
1049         (WebCore::GraphicsContext3D::bufferData):
1050         (WebCore::GraphicsContext3D::bufferSubData):
1051         (WebCore::GraphicsContext3D::checkFramebufferStatus):
1052         (WebCore::GraphicsContext3D::clear):
1053         (WebCore::GraphicsContext3D::clearColor):
1054         (WebCore::GraphicsContext3D::clearDepth):
1055         (WebCore::GraphicsContext3D::clearStencil):
1056         (WebCore::GraphicsContext3D::colorMask):
1057         (WebCore::GraphicsContext3D::compileShader):
1058         (WebCore::GraphicsContext3D::copyTexImage2D):
1059         (WebCore::GraphicsContext3D::copyTexSubImage2D):
1060         (WebCore::GraphicsContext3D::cullFace):
1061         (WebCore::GraphicsContext3D::depthFunc):
1062         (WebCore::GraphicsContext3D::depthMask):
1063         (WebCore::GraphicsContext3D::depthRange):
1064         (WebCore::GraphicsContext3D::detachShader):
1065         (WebCore::GraphicsContext3D::disable):
1066         (WebCore::GraphicsContext3D::disableVertexAttribArray):
1067         (WebCore::GraphicsContext3D::drawArrays):
1068         (WebCore::GraphicsContext3D::drawElements):
1069         (WebCore::GraphicsContext3D::enable):
1070         (WebCore::GraphicsContext3D::enableVertexAttribArray):
1071         (WebCore::GraphicsContext3D::finish):
1072         (WebCore::GraphicsContext3D::flush):
1073         (WebCore::GraphicsContext3D::framebufferRenderbuffer):
1074         (WebCore::GraphicsContext3D::framebufferTexture2D):
1075         (WebCore::GraphicsContext3D::frontFace):
1076         (WebCore::GraphicsContext3D::generateMipmap):
1077         (WebCore::GraphicsContext3D::getActiveAttrib):
1078         (WebCore::GraphicsContext3D::getActiveUniform):
1079         (WebCore::GraphicsContext3D::getAttachedShaders):
1080         (WebCore::GraphicsContext3D::getAttribLocation):
1081         (WebCore::GraphicsContext3D::getBooleanv):
1082         (WebCore::GraphicsContext3D::getBufferParameteriv):
1083         (WebCore::GraphicsContext3D::getContextAttributes):
1084         (WebCore::GraphicsContext3D::getError):
1085         (WebCore::GraphicsContext3D::getFloatv):
1086         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
1087         (WebCore::GraphicsContext3D::getIntegerv):
1088         (WebCore::GraphicsContext3D::getProgramiv):
1089         (WebCore::GraphicsContext3D::getProgramInfoLog):
1090         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
1091         (WebCore::GraphicsContext3D::getShaderiv):
1092         (WebCore::GraphicsContext3D::getShaderInfoLog):
1093         (WebCore::GraphicsContext3D::getShaderSource):
1094         (WebCore::GraphicsContext3D::getString):
1095         (WebCore::GraphicsContext3D::getTexParameterfv):
1096         (WebCore::GraphicsContext3D::getTexParameteriv):
1097         (WebCore::GraphicsContext3D::getUniformfv):
1098         (WebCore::GraphicsContext3D::getUniformiv):
1099         (WebCore::GraphicsContext3D::getUniformLocation):
1100         (WebCore::GraphicsContext3D::getVertexAttribfv):
1101         (WebCore::GraphicsContext3D::getVertexAttribiv):
1102         (WebCore::GraphicsContext3D::getVertexAttribOffset):
1103         (WebCore::GraphicsContext3D::hint):
1104         (WebCore::GraphicsContext3D::isBuffer):
1105         (WebCore::GraphicsContext3D::isEnabled):
1106         (WebCore::GraphicsContext3D::isFramebuffer):
1107         (WebCore::GraphicsContext3D::isProgram):
1108         (WebCore::GraphicsContext3D::isRenderbuffer):
1109         (WebCore::GraphicsContext3D::isShader):
1110         (WebCore::GraphicsContext3D::isTexture):
1111         (WebCore::GraphicsContext3D::lineWidth):
1112         (WebCore::GraphicsContext3D::linkProgram):
1113         (WebCore::GraphicsContext3D::pixelStorei):
1114         (WebCore::GraphicsContext3D::polygonOffset):
1115         (WebCore::GraphicsContext3D::readPixels):
1116         (WebCore::GraphicsContext3D::releaseShaderCompiler):
1117         (WebCore::GraphicsContext3D::renderbufferStorage):
1118         (WebCore::GraphicsContext3D::sampleCoverage):
1119         (WebCore::GraphicsContext3D::scissor):
1120         (WebCore::GraphicsContext3D::shaderSource):
1121         (WebCore::GraphicsContext3D::stencilFunc):
1122         (WebCore::GraphicsContext3D::stencilFuncSeparate):
1123         (WebCore::GraphicsContext3D::stencilMask):
1124         (WebCore::GraphicsContext3D::stencilMaskSeparate):
1125         (WebCore::GraphicsContext3D::stencilOp):
1126         (WebCore::GraphicsContext3D::stencilOpSeparate):
1127         (WebCore::GraphicsContext3D::texImage2D):
1128         (WebCore::GraphicsContext3D::texParameterf):
1129         (WebCore::GraphicsContext3D::texParameteri):
1130         (WebCore::GraphicsContext3D::texSubImage2D):
1131         (WebCore::GraphicsContext3D::uniform1f):
1132         (WebCore::GraphicsContext3D::uniform1fv):
1133         (WebCore::GraphicsContext3D::uniform1i):
1134         (WebCore::GraphicsContext3D::uniform1iv):
1135         (WebCore::GraphicsContext3D::uniform2f):
1136         (WebCore::GraphicsContext3D::uniform2fv):
1137         (WebCore::GraphicsContext3D::uniform2i):
1138         (WebCore::GraphicsContext3D::uniform2iv):
1139         (WebCore::GraphicsContext3D::uniform3f):
1140         (WebCore::GraphicsContext3D::uniform3fv):
1141         (WebCore::GraphicsContext3D::uniform3i):
1142         (WebCore::GraphicsContext3D::uniform3iv):
1143         (WebCore::GraphicsContext3D::uniform4f):
1144         (WebCore::GraphicsContext3D::uniform4fv):
1145         (WebCore::GraphicsContext3D::uniform4i):
1146         (WebCore::GraphicsContext3D::uniform4iv):
1147         (WebCore::GraphicsContext3D::uniformMatrix2fv):
1148         (WebCore::GraphicsContext3D::uniformMatrix3fv):
1149         (WebCore::GraphicsContext3D::uniformMatrix4fv):
1150         (WebCore::GraphicsContext3D::useProgram):
1151         (WebCore::GraphicsContext3D::validateProgram):
1152         (WebCore::GraphicsContext3D::vertexAttrib1f):
1153         (WebCore::GraphicsContext3D::vertexAttrib1fv):
1154         (WebCore::GraphicsContext3D::vertexAttrib2f):
1155         (WebCore::GraphicsContext3D::vertexAttrib2fv):
1156         (WebCore::GraphicsContext3D::vertexAttrib3f):
1157         (WebCore::GraphicsContext3D::vertexAttrib3fv):
1158         (WebCore::GraphicsContext3D::vertexAttrib4f):
1159         (WebCore::GraphicsContext3D::vertexAttrib4fv):
1160         (WebCore::GraphicsContext3D::vertexAttribPointer):
1161         (WebCore::GraphicsContext3D::viewport):
1162         (WebCore::GraphicsContext3D::reshape):
1163         (WebCore::GraphicsContext3D::markContextChanged):
1164         (WebCore::GraphicsContext3D::markLayerComposited):
1165         (WebCore::GraphicsContext3D::layerComposited):
1166         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
1167         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
1168         (WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
1169         (WebCore::GraphicsContext3D::createBuffer):
1170         (WebCore::GraphicsContext3D::createFramebuffer):
1171         (WebCore::GraphicsContext3D::createProgram):
1172         (WebCore::GraphicsContext3D::createRenderbuffer):
1173         (WebCore::GraphicsContext3D::createShader):
1174         (WebCore::GraphicsContext3D::createTexture):
1175         (WebCore::GraphicsContext3D::deleteBuffer):
1176         (WebCore::GraphicsContext3D::deleteFramebuffer):
1177         (WebCore::GraphicsContext3D::deleteProgram):
1178         (WebCore::GraphicsContext3D::deleteRenderbuffer):
1179         (WebCore::GraphicsContext3D::deleteShader):
1180         (WebCore::GraphicsContext3D::deleteTexture):
1181         (WebCore::GraphicsContext3D::synthesizeGLError):
1182         (WebCore::GraphicsContext3D::getExtensions):
1183         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
1184         (WebCore::GraphicsContext3D::setContextLostCallback):
1185         (WebCore::GraphicsContext3D::getImageData):
1186         (WebCore::GraphicsContext3D::validateAttributes):
1187         (WebCore::GraphicsContext3D::readRenderingResults):
1188         (WebCore::GraphicsContext3D::reshapeFBOs):
1189         (WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary):
1190         (WebCore::GraphicsContext3D::isResourceSafe):
1191
1192 2012-02-26  James Robinson  <jamesr@chromium.org>
1193
1194         [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
1195         https://bugs.webkit.org/show_bug.cgi?id=79155
1196
1197         Reviewed by Adam Barth.
1198
1199         This hooks up ScrollingCoordinator::setNonFastScrollableRegion() and
1200         ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread() to the chromium compositor
1201         implementation and implements them on the impl thread.
1202
1203         New compositor behavior is covered by unit tests in LayerChromiumTests and CCLayerTreeHostImplTests. The rest is
1204         just glue code.
1205
1206         * page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:
1207         (WebCore::ScrollingCoordinator::setNonFastScrollableRegion):
1208         (WebCore::ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread):
1209         * platform/graphics/chromium/LayerChromium.cpp:
1210         (WebCore::LayerChromium::LayerChromium):
1211         (WebCore::LayerChromium::setShouldScrollOnMainThread):
1212         (WebCore):
1213         (WebCore::LayerChromium::setNonFastScrollableRegion):
1214         (WebCore::LayerChromium::pushPropertiesTo):
1215         * platform/graphics/chromium/LayerChromium.h:
1216         (WebCore):
1217         (LayerChromium):
1218         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
1219         (WebCore::CCLayerImpl::CCLayerImpl):
1220         * platform/graphics/chromium/cc/CCLayerImpl.h:
1221         (WebCore::CCLayerImpl::shouldScrollOnMainThread):
1222         (WebCore::CCLayerImpl::setShouldScrollOnMainThread):
1223         (CCLayerImpl):
1224         (WebCore::CCLayerImpl::nonFastScrollableRegion):
1225         (WebCore::CCLayerImpl::setNonFastScrollableRegion):
1226         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
1227         (WebCore::CCLayerTreeHostImpl::scrollBegin):
1228
1229 2012-02-26  Kentaro Hara  <haraken@chromium.org>
1230
1231         Unreviewed. Rebaselined run-bindings-tests results.
1232
1233         * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
1234         (webkit_dom_test_interface_supplemental_method4):
1235
1236 2012-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1237
1238         Unreviewed, rolling out r108547.
1239         http://trac.webkit.org/changeset/108547
1240         https://bugs.webkit.org/show_bug.cgi?id=79606
1241
1242         Crashes on ClusterFuzz (Requested by inferno-sec on #webkit).
1243
1244         * rendering/RenderBlockLineLayout.cpp:
1245         (WebCore::RenderBlock::layoutInlineChildren):
1246
1247 2012-02-25  Adam Barth  <abarth@webkit.org>
1248
1249         Move websockets to Modules/websockets
1250         https://bugs.webkit.org/show_bug.cgi?id=79598
1251
1252         Reviewed by Eric Seidel.
1253
1254         Nowadays, the only ENABLE(WEB_SOCKETS) ifdef in WebCore proper is in
1255         WebCore::Settings, and that will be removed (soon?) once Apple drops
1256         support for the old WebSockets protocol.
1257
1258         * CMakeLists.txt:
1259         * DerivedSources.make:
1260         * DerivedSources.pri:
1261         * GNUmakefile.am:
1262         * GNUmakefile.list.am:
1263         * Modules/websockets: Copied from Source/WebCore/websockets.
1264         * Target.pri:
1265         * WebCore.gyp/WebCore.gyp:
1266         * WebCore.gypi:
1267         * WebCore.pri:
1268         * WebCore.vcproj/WebCore.vcproj:
1269         * WebCore.vcproj/WebCoreCommon.vsprops:
1270         * WebCore.vcproj/copyForwardingHeaders.cmd:
1271         * WebCore.xcodeproj/project.pbxproj:
1272         * websockets: Removed.
1273         * websockets/CloseEvent.h: Removed.
1274         * websockets/CloseEvent.idl: Removed.
1275         * websockets/DOMWindowWebSocket.idl: Removed.
1276         * websockets/ThreadableWebSocketChannel.cpp: Removed.
1277         * websockets/ThreadableWebSocketChannel.h: Removed.
1278         * websockets/ThreadableWebSocketChannelClientWrapper.cpp: Removed.
1279         * websockets/ThreadableWebSocketChannelClientWrapper.h: Removed.
1280         * websockets/WebSocket.cpp: Removed.
1281         * websockets/WebSocket.h: Removed.
1282         * websockets/WebSocket.idl: Removed.
1283         * websockets/WebSocketChannel.cpp: Removed.
1284         * websockets/WebSocketChannel.h: Removed.
1285         * websockets/WebSocketChannelClient.h: Removed.
1286         * websockets/WebSocketDeflater.cpp: Removed.
1287         * websockets/WebSocketDeflater.h: Removed.
1288         * websockets/WebSocketExtensionDispatcher.cpp: Removed.
1289         * websockets/WebSocketExtensionDispatcher.h: Removed.
1290         * websockets/WebSocketExtensionProcessor.h: Removed.
1291         * websockets/WebSocketFrame.h: Removed.
1292         * websockets/WebSocketHandshake.cpp: Removed.
1293         * websockets/WebSocketHandshake.h: Removed.
1294         * websockets/WebSocketHandshakeRequest.cpp: Removed.
1295         * websockets/WebSocketHandshakeRequest.h: Removed.
1296         * websockets/WebSocketHandshakeResponse.cpp: Removed.
1297         * websockets/WebSocketHandshakeResponse.h: Removed.
1298         * websockets/WorkerThreadableWebSocketChannel.cpp: Removed.
1299         * websockets/WorkerThreadableWebSocketChannel.h: Removed.
1300
1301 2012-02-25  Benjamin Poulain  <benjamin@webkit.org>
1302
1303         Get rid of KURL::deprecatedString()
1304         https://bugs.webkit.org/show_bug.cgi?id=79594
1305
1306         Reviewed by Andreas Kling.
1307
1308         The method KURL::deprecatedString() is unused, remove it from WebCore.
1309
1310         The last reference to the method was removed in r96779.
1311
1312         * platform/KURL.cpp:
1313         (WebCore):
1314         * platform/KURL.h:
1315         (KURL):
1316         * platform/KURLGoogle.cpp:
1317         (WebCore):
1318         * platform/KURLWTFURL.cpp:
1319         (WebCore):
1320
1321 2012-02-25  Benjamin Poulain  <benjamin@webkit.org>
1322
1323         Get rid of copyParsedQueryTo()
1324         https://bugs.webkit.org/show_bug.cgi?id=79590
1325
1326         Reviewed by Andreas Kling.
1327
1328         The function KURL::copyParsedQueryTo() is unused. Remove it from WebCore.
1329
1330         The function was used by HTMLAnchorElement::getParameter() but that feature
1331         was removed in r100164.
1332
1333         * WebCore.order:
1334         * platform/KURL.cpp:
1335         (WebCore):
1336         * platform/KURL.h:
1337         (WebCore):
1338         (KURL):
1339         * platform/KURLGoogle.cpp:
1340         (WebCore):
1341         * platform/KURLWTFURL.cpp:
1342         (WebCore):
1343
1344 2012-02-25  Sheriff Bot  <webkit.review.bot@gmail.com>
1345
1346         Unreviewed, rolling out r108924.
1347         http://trac.webkit.org/changeset/108924
1348         https://bugs.webkit.org/show_bug.cgi?id=79597
1349
1350         broke 4 inspector tests (Requested by kling on #webkit).
1351
1352         * dom/StyledElement.cpp:
1353         (WebCore::StyledElement::parseAttribute):
1354
1355 2012-02-25  Adam Barth  <abarth@webkit.org>
1356
1357         Fix typo in comment.  This #endif is for a different ENABLE macro.
1358
1359         * page/NavigatorRegisterProtocolHandler.cpp:
1360
1361 2012-02-25  Anders Carlsson  <andersca@apple.com>
1362
1363         Move an ASSERT to avoid it firing due to a race condition
1364         https://bugs.webkit.org/show_bug.cgi?id=79596
1365
1366         Reviewed by Andreas Kling.
1367
1368         ScrollingThread::isCurrentThread() can return false if called too early.
1369         Move it into ScrollingThread::initializeRunLoop where we know that the thread has
1370         been set up correctly.
1371
1372         * page/scrolling/ScrollingThread.cpp:
1373         (WebCore::ScrollingThread::threadBody):
1374         * page/scrolling/mac/ScrollingThreadMac.mm:
1375         (WebCore::ScrollingThread::initializeRunLoop):
1376
1377 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1378
1379         Setting style="" should destroy the element's inline style.
1380         <http://webkit.org/b/79595>
1381
1382         Reviewed by Anders Carlsson.
1383
1384         There's no reason for an element with style="" to have an inline style object.
1385         Remove the inline style in that case, just like we do when removing the style
1386         attribute altogether.
1387
1388         * dom/StyledElement.cpp:
1389         (WebCore::StyledElement::parseAttribute):
1390
1391 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1392
1393         Allow matched property cache for elements with additional attribute style.
1394         <http://webkit.org/b/79583>
1395
1396         Reviewed by Antti Koivisto.
1397
1398         There's no reason to disallow the matched style property cache for elements
1399         that return something from additionalAttributeStyle(). The only requirement
1400         for a property set to be cached is that it either doesn't mutate OR that it
1401         invalidates the document's CSSStyleSelector when doing so.
1402
1403         This allows some more match caching for table-related elements, though we
1404         are still held back by explicitly 'inherited' properties in html.css.
1405
1406         * css/CSSStyleSelector.cpp:
1407         (WebCore::CSSStyleSelector::collectMatchingRulesForList):
1408
1409 2012-02-25  Julien Chaffraix  <jchaffraix@webkit.org>
1410
1411         Clean-up RenderTableSection::calcRowLogicalHeight
1412         https://bugs.webkit.org/show_bug.cgi?id=77705
1413
1414         Reviewed by Nikolas Zimmermann.
1415
1416         Refactoring / simplication of the code.
1417
1418         This change removes some variables that were unneeded and were
1419         hiding what the code was really doing. Also some of the code was
1420         split and moved down to RenderTableCell.
1421
1422         * rendering/RenderTableCell.cpp:
1423         (WebCore::RenderTableCell::logicalHeightForRowSizing):
1424         * rendering/RenderTableCell.h:
1425         (RenderTableCell):
1426         Added the previous helper function to calculate the cell's
1427         adjusted logical height.
1428
1429         * rendering/RenderTableSection.cpp:
1430         (WebCore::RenderTableSection::calcRowLogicalHeight):
1431         Removed some variables, simplified the rowspan logic to be clearer
1432         (and added a comment about how we handle rowspans).
1433
1434 2012-02-25  Benjamin Poulain  <benjamin@webkit.org>
1435
1436         Add an empty skeleton of KURL for WTFURL
1437         https://bugs.webkit.org/show_bug.cgi?id=78990
1438
1439         Reviewed by Adam Barth.
1440
1441         Add an empty skeleton of KURL based on WTFURL.
1442
1443         With WTFURL, the data of KURL is in an implicitely shared object
1444         named KURLWTFURLImpl.
1445
1446         In KURLWTFURLImpl, KURL created with invalid URL would be stored
1447         as a String. A valid URL would be stored as a ParsedURL.
1448
1449         * ForwardingHeaders/wtf/url/ParsedURL.h: Added.
1450         * WebCore.exp.in:
1451         * WebCore.xcodeproj/project.pbxproj:
1452         * platform/KURL.cpp:
1453         (WebCore):
1454         * platform/KURL.h:
1455         (KURL):
1456         (WebCore::KURL::KURL):
1457         (WebCore::KURL::isHashTableDeletedValue):
1458         (WebCore):
1459         * platform/KURLWTFURL.cpp: Added.
1460         (WebCore):
1461         (WebCore::KURL::KURL):
1462         (WebCore::KURL::copy):
1463         (WebCore::KURL::isNull):
1464         (WebCore::KURL::isEmpty):
1465         (WebCore::KURL::isValid):
1466         (WebCore::KURL::hasPath):
1467         (WebCore::KURL::string):
1468         (WebCore::KURL::protocol):
1469         (WebCore::KURL::host):
1470         (WebCore::KURL::port):
1471         (WebCore::KURL::hasPort):
1472         (WebCore::KURL::user):
1473         (WebCore::KURL::pass):
1474         (WebCore::KURL::path):
1475         (WebCore::KURL::lastPathComponent):
1476         (WebCore::KURL::query):
1477         (WebCore::KURL::fragmentIdentifier):
1478         (WebCore::KURL::hasFragmentIdentifier):
1479         (WebCore::KURL::copyParsedQueryTo):
1480         (WebCore::KURL::baseAsString):
1481         (WebCore::KURL::deprecatedString):
1482         (WebCore::KURL::fileSystemPath):
1483         (WebCore::KURL::protocolIs):
1484         (WebCore::KURL::protocolIsInHTTPFamily):
1485         (WebCore::KURL::setProtocol):
1486         (WebCore::KURL::setHost):
1487         (WebCore::KURL::removePort):
1488         (WebCore::KURL::setPort):
1489         (WebCore::KURL::setHostAndPort):
1490         (WebCore::KURL::setUser):
1491         (WebCore::KURL::setPass):
1492         (WebCore::KURL::setPath):
1493         (WebCore::KURL::setQuery):
1494         (WebCore::KURL::setFragmentIdentifier):
1495         (WebCore::KURL::removeFragmentIdentifier):
1496         (WebCore::KURL::hostStart):
1497         (WebCore::KURL::hostEnd):
1498         (WebCore::KURL::pathStart):
1499         (WebCore::KURL::pathEnd):
1500         (WebCore::KURL::pathAfterLastSlash):
1501         (WebCore::KURL::invalidate):
1502         (WebCore::KURL::isHierarchical):
1503         (WebCore::protocolIs):
1504         (WebCore::equalIgnoringFragmentIdentifier):
1505         (WebCore::protocolHostAndPortAreEqual):
1506         (WebCore::encodeWithURLEscapeSequences):
1507         (WebCore::decodeURLEscapeSequences):
1508         * platform/KURLWTFURLImpl.h: Copied from Source/WebCore/platform/mac/KURLMac.mm.
1509         (WebCore):
1510         (KURLWTFURLImpl):
1511         * platform/cf/KURLCFNet.cpp:
1512         (WebCore):
1513         (WebCore::KURL::KURL):
1514         (WebCore::KURL::createCFURL):
1515         * platform/mac/KURLMac.mm:
1516         (WebCore):
1517         (WebCore::KURL::KURL):
1518         (WebCore::KURL::operator NSURL *):
1519
1520 2012-02-25  Anders Carlsson  <andersca@apple.com>
1521
1522         Make the libc++ workaround more targeted
1523         https://bugs.webkit.org/show_bug.cgi?id=79578
1524         <rdar://problem/10933150>
1525
1526         Reviewed by Sam Weinig.
1527
1528         Change the std::move implementation to take a WebCore::TimerHeapReference directly so 
1529         WebCore still builds with a version of libc++ that has the right std::move function template.
1530
1531         * WebCorePrefix.h:
1532         (WebCore):
1533         (move):
1534
1535 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1536
1537         Remove HTMLEmbedElement::insertedIntoDocument().
1538         <http://webkit.org/b/79576>
1539
1540         Reviewed by Anders Carlsson.
1541
1542         * html/HTMLEmbedElement.cpp:
1543         * html/HTMLEmbedElement.h:
1544
1545 2012-02-25  Adrienne Walker  <enne@google.com>
1546
1547         Fix unused variable warnings in HarfBuzzShaperBase
1548         https://bugs.webkit.org/show_bug.cgi?id=79575
1549
1550         Reviewed by Andreas Kling.
1551
1552         In builds where asserts are not enabled, the error variable is unused.
1553
1554         * platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp:
1555         (WebCore::normalizeSpacesAndMirrorChars):
1556
1557 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1558
1559         Remove HTMLTableElement::attach().
1560         <http://webkit.org/b/79574>
1561
1562         Reviewed by Anders Carlsson.
1563
1564         Remove this attach() override since it was only used to assert that
1565         we're not already attached, and this is already done by Node::attach().
1566
1567         * html/HTMLTableElement.cpp:
1568         * html/HTMLTableElement.h:
1569
1570 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1571
1572         HTMLTableElement: Avoid CSSParser in createSharedCellStyle().
1573         <http://webkit.org/b/79573>
1574
1575         Reviewed by Anders Carlsson.
1576
1577         * html/HTMLTableElement.cpp:
1578         (WebCore::HTMLTableElement::createSharedCellStyle):
1579
1580 2012-02-25  Nikolas Zimmermann  <nzimmermann@rim.com>
1581
1582         Unreviewed, rolling out r108557.
1583         http://trac.webkit.org/changeset/108557
1584         https://bugs.webkit.org/show_bug.cgi?id=77705
1585
1586         Broke svg/zoom/page/zoom-replated-intrinsic-ratio-001.htm.
1587
1588         * rendering/RenderTableCell.cpp:
1589         * rendering/RenderTableCell.h:
1590         (RenderTableCell):
1591         * rendering/RenderTableSection.cpp:
1592         (WebCore::RenderTableSection::calcRowLogicalHeight):
1593
1594 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1595
1596         HTMLParamElement: Clean up name/value attribute handling.
1597         <http://webkit.org/b/79559>
1598
1599         Reviewed by Anders Carlsson.
1600
1601         Out-of-line name() and value(), and move the logic from parseAttribute()
1602         into them instead. This makes the class a bit simpler and shrinks it by
1603         two AtomicStrings. Also reduced isURLAttribute() to a two-liner.
1604
1605         * html/HTMLParamElement.cpp:
1606         (WebCore::HTMLParamElement::name):
1607         (WebCore::HTMLParamElement::value):
1608         (WebCore::HTMLParamElement::isURLAttribute):
1609         * html/HTMLParamElement.h:
1610
1611 2012-02-24  Tien-Ren Chen  <trchen@chromium.org>
1612
1613         [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
1614         https://bugs.webkit.org/show_bug.cgi?id=78404
1615
1616         Reviewed by James Robinson.
1617
1618         No new tests. Updated existing test to reflect changes.
1619
1620         * platform/graphics/chromium/CanvasLayerChromium.cpp:
1621         (WebCore::CanvasLayerChromium::createCCLayerImpl):
1622         * platform/graphics/chromium/CanvasLayerChromium.h:
1623         (CanvasLayerChromium):
1624         * platform/graphics/chromium/LayerChromium.cpp:
1625         (WebCore::LayerChromium::createCCLayerImpl):
1626         * platform/graphics/chromium/LayerChromium.h:
1627         (LayerChromium):
1628         * platform/graphics/chromium/PluginLayerChromium.cpp:
1629         (WebCore::PluginLayerChromium::createCCLayerImpl):
1630         * platform/graphics/chromium/PluginLayerChromium.h:
1631         (PluginLayerChromium):
1632         * platform/graphics/chromium/SolidColorLayerChromium.cpp:
1633         (WebCore::SolidColorLayerChromium::createCCLayerImpl):
1634         * platform/graphics/chromium/SolidColorLayerChromium.h:
1635         (SolidColorLayerChromium):
1636         * platform/graphics/chromium/TiledLayerChromium.cpp:
1637         (WebCore::TiledLayerChromium::createCCLayerImpl):
1638         * platform/graphics/chromium/TiledLayerChromium.h:
1639         (TiledLayerChromium):
1640         * platform/graphics/chromium/TreeSynchronizer.cpp:
1641         (WebCore::TreeSynchronizer::synchronizeTrees):
1642         (WebCore::TreeSynchronizer::collectExistingCCLayerImplRecursive):
1643         (WebCore):
1644         (WebCore::TreeSynchronizer::reuseOrCreateCCLayerImpl):
1645         (WebCore::TreeSynchronizer::synchronizeTreeRecursive):
1646         * platform/graphics/chromium/TreeSynchronizer.h:
1647         (TreeSynchronizer):
1648         * platform/graphics/chromium/VideoLayerChromium.cpp:
1649         (WebCore::VideoLayerChromium::createCCLayerImpl):
1650         * platform/graphics/chromium/VideoLayerChromium.h:
1651         (VideoLayerChromium):
1652         * platform/graphics/chromium/cc/CCCanvasLayerImpl.h:
1653         (WebCore::CCCanvasLayerImpl::create):
1654         * platform/graphics/chromium/cc/CCDamageTracker.cpp:
1655         (WebCore::CCDamageTracker::updateDamageTrackingState):
1656         (WebCore::CCDamageTracker::trackDamageFromActiveLayers):
1657         * platform/graphics/chromium/cc/CCDamageTracker.h:
1658         (CCDamageTracker):
1659         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
1660         (WebCore::CCLayerImpl::CCLayerImpl):
1661         (WebCore::CCLayerImpl::addChild):
1662         (WebCore::sortLayers):
1663         (WebCore::CCLayerImpl::setMaskLayer):
1664         (WebCore::CCLayerImpl::setReplicaLayer):
1665         * platform/graphics/chromium/cc/CCLayerImpl.h:
1666         (WebCore::CCLayerImpl::create):
1667         (WebCore::CCLayerImpl::children):
1668         (CCLayerImpl):
1669         (WebCore):
1670         * platform/graphics/chromium/cc/CCLayerIterator.cpp:
1671         (WebCore):
1672         (WebCore::CCLayerIteratorActions::BackToFront::begin):
1673         (WebCore::CCLayerIteratorActions::BackToFront::end):
1674         (WebCore::CCLayerIteratorActions::BackToFront::next):
1675         (WebCore::CCLayerIteratorActions::FrontToBack::begin):
1676         (WebCore::CCLayerIteratorActions::FrontToBack::end):
1677         (WebCore::CCLayerIteratorActions::FrontToBack::next):
1678         (WebCore::CCLayerIteratorActions::FrontToBack::goToHighestInSubtree):
1679         * platform/graphics/chromium/cc/CCLayerIterator.h:
1680         (WebCore):
1681         (CCLayerIterator):
1682         (WebCore::CCLayerIterator::begin):
1683         (WebCore::CCLayerIterator::end):
1684         (WebCore::CCLayerIterator::targetRenderSurfaceLayer):
1685         (WebCore::CCLayerIterator::CCLayerIterator):
1686         (WebCore::CCLayerIterator::getRawPtr):
1687         (WebCore::CCLayerIterator::currentLayer):
1688         (WebCore::CCLayerIterator::targetRenderSurfaceChildren):
1689         (BackToFront):
1690         (FrontToBack):
1691         * platform/graphics/chromium/cc/CCLayerSorter.cpp:
1692         (WebCore::CCLayerSorter::createGraphNodes):
1693         * platform/graphics/chromium/cc/CCLayerSorter.h:
1694         (CCLayerSorter):
1695         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
1696         (WebCore::CCLayerTreeHost::finishCommitOnImplThread):
1697         (WebCore::CCLayerTreeHost::didBecomeInvisibleOnImplThread):
1698         (WebCore::CCLayerTreeHost::reserveTextures):
1699         (WebCore::CCLayerTreeHost::paintLayerContents):
1700         (WebCore::CCLayerTreeHost::updateCompositorResources):
1701         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
1702         (WebCore):
1703         (WebCore::calculateDrawTransformsAndVisibilityInternal):
1704         (WebCore::walkLayersAndCalculateVisibleLayerRects):
1705         (WebCore::CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility):
1706         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.h:
1707         (CCLayerTreeHostCommon):
1708         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
1709         (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
1710         (WebCore::CCLayerTreeHostImpl::trackDamageForAllSurfaces):
1711         (WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
1712         (WebCore::CCLayerTreeHostImpl::drawLayers):
1713         (WebCore::CCLayerTreeHostImpl::setRootLayer):
1714         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
1715         (CCLayerTreeHostImpl):
1716         (WebCore::CCLayerTreeHostImpl::releaseRootLayer):
1717         (WebCore::CCLayerTreeHostImpl::scrollLayer):
1718         * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
1719         (WebCore::CCPluginLayerImpl::create):
1720         * platform/graphics/chromium/cc/CCRenderSurface.h:
1721         (WebCore::CCRenderSurface::layerList):
1722         (CCRenderSurface):
1723         * platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
1724         (WebCore::CCSolidColorLayerImpl::create):
1725         * platform/graphics/chromium/cc/CCTiledLayerImpl.h:
1726         (WebCore::CCTiledLayerImpl::create):
1727         * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
1728         (WebCore::CCVideoLayerImpl::create):
1729
1730 2012-02-24  Andreas Kling  <awesomekling@apple.com>
1731
1732         Don't pass constant strings to CSSParser for presentation attributes.
1733         <http://webkit.org/b/79530>
1734
1735         Reviewed by Anders Carlsson.
1736
1737         "both" -> CSSValueBoth.
1738         "center" -> CSSValueCenter.
1739
1740         * html/HTMLBRElement.cpp:
1741         (WebCore::HTMLBRElement::collectStyleForAttribute):
1742         * html/HTMLElement.cpp:
1743         (WebCore::HTMLElement::collectStyleForAttribute):
1744
1745 2012-02-24  Yael Aharon  <yael.aharon@nokia.com>
1746
1747         [Texmap] Add const-ness to TextureMapperShaderManager
1748         https://bugs.webkit.org/show_bug.cgi?id=79545
1749
1750         Reviewed by Noam Rosenthal.
1751         
1752         Add const to new methods.
1753         No new tests.
1754
1755         * platform/graphics/texmap/TextureMapperShaderManager.cpp:
1756         (WebCore::TextureMapperShaderProgramSimple::vertexShaderSource):
1757         (WebCore::TextureMapperShaderProgramSimple::fragmentShaderSource):
1758         (WebCore::TextureMapperShaderProgramOpacityAndMask::vertexShaderSource):
1759         (WebCore::TextureMapperShaderProgramOpacityAndMask::fragmentShaderSource):
1760         * platform/graphics/texmap/TextureMapperShaderManager.h:
1761         (WebCore::TextureMapperShaderProgram::matrixVariable):
1762         (WebCore::TextureMapperShaderProgram::sourceMatrixVariable):
1763         (WebCore::TextureMapperShaderProgram::sourceTextureVariable):
1764         (WebCore::TextureMapperShaderProgram::opacityVariable):
1765         (TextureMapperShaderProgram):
1766         (TextureMapperShaderProgramSimple):
1767         (WebCore::TextureMapperShaderProgramOpacityAndMask::maskMatrixVariable):
1768         (WebCore::TextureMapperShaderProgramOpacityAndMask::maskTextureVariable):
1769         (TextureMapperShaderProgramOpacityAndMask):
1770
1771 2012-02-24  Tom Sepez  <tsepez@chromium.org>
1772
1773         XSS Auditor targeting legitimate frames as false positives.
1774         https://bugs.webkit.org/show_bug.cgi?id=79397
1775
1776         Reviewed by Adam Barth.
1777
1778         Test: http/tests/security/xssAuditor/script-tag-safe4.html
1779
1780         * html/parser/XSSAuditor.cpp:
1781         (WebCore::XSSAuditor::filterCharacterToken):
1782         (WebCore::XSSAuditor::filterScriptToken):
1783         (WebCore::XSSAuditor::filterObjectToken):
1784         (WebCore::XSSAuditor::filterEmbedToken):
1785         (WebCore::XSSAuditor::filterAppletToken):
1786         (WebCore::XSSAuditor::filterIframeToken):
1787         (WebCore::XSSAuditor::decodedSnippetForToken):
1788         (WebCore):
1789         (WebCore::XSSAuditor::decodedSnippetForName):
1790         (WebCore::XSSAuditor::decodedSnippetForAttribute):
1791         (WebCore::XSSAuditor::decodedSnippetForJavascript):
1792         (WebCore::XSSAuditor::isContainedInRequest):
1793         (WebCore::XSSAuditor::isSameOriginResource):
1794         * html/parser/XSSAuditor.h:
1795
1796 2012-02-24  Ian Vollick  <vollick@chromium.org>
1797
1798         [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
1799         https://bugs.webkit.org/show_bug.cgi?id=77646
1800
1801         Reviewed by James Robinson.
1802
1803         * WebCore.gypi:
1804         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
1805         (std):
1806         (WebCore::GraphicsLayerChromium::~GraphicsLayerChromium):
1807         (WebCore::GraphicsLayerChromium::addAnimation):
1808         (WebCore::GraphicsLayerChromium::pauseAnimation):
1809         (WebCore::GraphicsLayerChromium::removeAnimation):
1810         (WebCore::GraphicsLayerChromium::suspendAnimations):
1811         (WebCore::GraphicsLayerChromium::resumeAnimations):
1812         (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
1813         (WebCore::GraphicsLayerChromium::mapAnimationNameToId):
1814         (WebCore):
1815         (WebCore::GraphicsLayerChromium::notifyAnimationStarted):
1816         (WebCore::GraphicsLayerChromium::notifyAnimationFinished):
1817         * platform/graphics/chromium/GraphicsLayerChromium.h:
1818         (GraphicsLayerChromium):
1819         * platform/graphics/chromium/LayerChromium.cpp:
1820         (WebCore::LayerChromium::LayerChromium):
1821         (WebCore::LayerChromium::setAnimationEvent):
1822         (WebCore):
1823         * platform/graphics/chromium/LayerChromium.h:
1824         (WebCore):
1825         (LayerChromium):
1826         (WebCore::LayerChromium::setLayerAnimationDelegate):
1827         * platform/graphics/chromium/cc/CCAnimationEvents.cpp: Added.
1828         (WebCore):
1829         (WebCore::CCAnimationEvent::CCAnimationEvent):
1830         (WebCore::CCAnimationEvent::~CCAnimationEvent):
1831         (WebCore::CCAnimationEvent::toAnimationStartedEvent):
1832         (WebCore::CCAnimationEvent::toAnimationFinishedEvent):
1833         (WebCore::CCAnimationStartedEvent::create):
1834         (WebCore::CCAnimationStartedEvent::CCAnimationStartedEvent):
1835         (WebCore::CCAnimationStartedEvent::~CCAnimationStartedEvent):
1836         (WebCore::CCAnimationStartedEvent::type):
1837         (WebCore::CCAnimationFinishedEvent::create):
1838         (WebCore::CCAnimationFinishedEvent::CCAnimationFinishedEvent):
1839         (WebCore::CCAnimationFinishedEvent::~CCAnimationFinishedEvent):
1840         (WebCore::CCAnimationFinishedEvent::type):
1841         * platform/graphics/chromium/cc/CCAnimationEvents.h:
1842         (WebCore):
1843         (CCAnimationEvent):
1844         (WebCore::CCAnimationEvent::layerId):
1845         (CCAnimationStartedEvent):
1846         (WebCore::CCAnimationStartedEvent::startTime):
1847         (CCAnimationFinishedEvent):
1848         (WebCore::CCAnimationFinishedEvent::animationId):
1849         * platform/graphics/chromium/cc/CCLayerAnimationControllerImpl.cpp:
1850         (WebCore::CCLayerAnimationControllerImpl::animate):
1851         (WebCore::CCLayerAnimationControllerImpl::startAnimationsWaitingForNextTick):
1852         (WebCore::CCLayerAnimationControllerImpl::startAnimationsWaitingForStartTime):
1853         (WebCore::CCLayerAnimationControllerImpl::startAnimationsWaitingForTargetAvailability):
1854         (WebCore::CCLayerAnimationControllerImpl::purgeFinishedAnimations):
1855         (WebCore::CCLayerAnimationControllerImpl::tickAnimations):
1856         * platform/graphics/chromium/cc/CCLayerAnimationControllerImpl.h:
1857         (CCLayerAnimationControllerImpl):
1858         * platform/graphics/chromium/cc/CCLayerAnimationDelegate.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCAnimationEvents.h.
1859         (WebCore):
1860         (CCLayerAnimationDelegate):
1861         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
1862         (WebCore::CCLayerTreeHost::setAnimationEvents):
1863         (WebCore::CCLayerTreeHost::setAnimationEventsRecursive):
1864         (WebCore):
1865         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
1866
1867 2012-02-24  Abhishek Arya  <inferno@chromium.org>
1868
1869         Regression(r107477): Crash in StaticNodeList::itemWithName.
1870         https://bugs.webkit.org/show_bug.cgi?id=79532
1871
1872         Reviewed by Andreas Kling.
1873
1874         Make sure that node is an element node before checking its id attribute.
1875
1876         Test: fast/mutation/mutation-callback-non-element-crash.html
1877
1878         * dom/StaticNodeList.cpp:
1879         (WebCore::StaticNodeList::itemWithName):
1880
1881 2012-02-24  Tony Chang  <tony@chromium.org>
1882
1883         More refactoring in RenderFlexibleBox
1884         https://bugs.webkit.org/show_bug.cgi?id=79533
1885
1886         Reviewed by Ojan Vafai.
1887
1888         No new tests, just refactoring.
1889
1890         * rendering/RenderFlexibleBox.cpp:
1891         (WebCore::RenderFlexibleBox::layoutFlexItems): Move the flipping of RTL+column positions to its own method.
1892         This might be a tiny bit slower, but it's clearer since it's not related to alignment.
1893         (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): Move the logical height calculation out of the loop.  We only need the final height.
1894         (WebCore::RenderFlexibleBox::alignChildren):
1895         (WebCore::RenderFlexibleBox::flipForRightToLeftColumn):
1896         * rendering/RenderFlexibleBox.h:
1897         (RenderFlexibleBox):
1898
1899 2012-02-24  Abhishek Arya  <inferno@chromium.org>
1900
1901         Positioned objects not cleared when moving children
1902         to clone block in multi-column layout.
1903         https://bugs.webkit.org/show_bug.cgi?id=78416
1904
1905         Reviewed by Eric Seidel.
1906
1907         Test: fast/multicol/span/positioned-child-not-removed-crash.html
1908
1909         * rendering/RenderBlock.cpp:
1910         (WebCore::RenderBlock::splitBlocks):
1911
1912 2012-02-24  Michael Saboff  <msaboff@apple.com>
1913
1914         Unreviewed, Windows build fix.  Changed "-1" to newly
1915         created constant JSC::Yarr::offsetNoMatch added in r108858.
1916
1917         * platform/text/RegularExpression.cpp:
1918         (WebCore::RegularExpression::match):
1919
1920 2012-02-24  Eric Carlson  <eric.carlson@apple.com>
1921
1922         Update TextTrackCue API
1923         https://bugs.webkit.org/show_bug.cgi?id=79368
1924
1925         Change TextTrackCue.alignment to .align, TextTrackCue.linePosition and .textPosition to .line
1926         and .position, and TextTrackCue.direction to .vertical. Change direction values "horizontal" 
1927         to "","vertical" to "rl", and "vertical-lr" to "lr".
1928
1929         Reviewed by Eric Seidel.
1930
1931         No new tests, updated existing tests for API changes.
1932
1933         * html/track/TextTrackCue.cpp:
1934         (WebCore::horizontalKeyword):
1935         (WebCore::verticalGrowingLeftKeyword):
1936         (WebCore):
1937         (WebCore::verticalGrowingRightKeyword):
1938         (WebCore::verticalKeywordOLD):
1939         (WebCore::verticallrKeywordOLD):
1940         (WebCore::TextTrackCue::TextTrackCue):
1941         (WebCore::TextTrackCue::vertical):
1942         (WebCore::TextTrackCue::setVertical):
1943         (WebCore::TextTrackCue::setLine):
1944         (WebCore::TextTrackCue::setPosition):
1945         (WebCore::TextTrackCue::align):
1946         (WebCore::TextTrackCue::setAlign):
1947         (WebCore::TextTrackCue::parseSettings):
1948         * html/track/TextTrackCue.h:
1949         (TextTrackCue):
1950         (WebCore::TextTrackCue::line):
1951         (WebCore::TextTrackCue::position):
1952         * html/track/TextTrackCue.idl:
1953
1954 2012-02-24  Adrienne Walker  <enne@google.com>
1955
1956         Fix uninitialized variables in HarfBuzzShaperBase
1957         https://bugs.webkit.org/show_bug.cgi?id=79546
1958
1959         Reviewed by Dirk Pranke.
1960
1961         These were introduced in r108733.
1962
1963         * platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp:
1964         (WebCore::HarfBuzzShaperBase::HarfBuzzShaperBase):
1965
1966 2012-02-24  Noel Gordon  <noel.gordon@gmail.com>
1967
1968         [chromium] JPEG RGB image with Adode Marker fails to turbo swizzle decode
1969         https://bugs.webkit.org/show_bug.cgi?id=79457
1970
1971         Reviewed by Adam Barth.
1972
1973         If a JPEG has no JFIF marker, the Adode Marker must be used to determine the image
1974         color space for decoding via that markers transform value. Transform 0 images with
1975         3 color components (RGB) fail to decode with libjpeg-turbo when a swizzle decoding
1976         is active. Detect this case and decode using JCS_RGB output color space instead.
1977
1978         Test: fast/images/rgb-jpeg-with-abode-marker-only.html
1979
1980         * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
1981         (WebCore::JPEGImageReader::decode):
1982
1983 2012-02-24  Joshua Bell  <jsbell@chromium.org>
1984
1985         [V8] IndexedDB: IDBTransaction objects leak in Workers
1986         https://bugs.webkit.org/show_bug.cgi?id=79308
1987
1988         Use a V8RecursionScope whenever Workers call into script, so that
1989         post-script side-effects can be executed.
1990
1991         Reviewed by Tony Chang.
1992
1993         Test: storage/indexeddb/transaction-abort-workers.html
1994
1995         * bindings/v8/ScheduledAction.cpp:
1996         (WebCore::ScheduledAction::execute):
1997         * bindings/v8/V8WorkerContextErrorHandler.cpp:
1998         (WebCore::V8WorkerContextErrorHandler::callListenerFunction):
1999         * bindings/v8/V8WorkerContextEventListener.cpp:
2000         (WebCore::V8WorkerContextEventListener::callListenerFunction):
2001         * bindings/v8/WorkerContextExecutionProxy.cpp: Replace custom recursion tracking.
2002         (WebCore::WorkerContextExecutionProxy::WorkerContextExecutionProxy):
2003         (WebCore::WorkerContextExecutionProxy::runScript):
2004         * bindings/v8/WorkerContextExecutionProxy.h:
2005         (WorkerContextExecutionProxy):
2006
2007 2012-02-24  Gregg Tavares  <gman@google.com>
2008
2009         Limit WebGL Errors in Console to 10 per context
2010         https://bugs.webkit.org/show_bug.cgi?id=79387
2011
2012         Reviewed by Kenneth Russell.
2013         
2014         Some apps generated enough errors to overload
2015         the Dev Tools so limit the number of errors.
2016         For a correct app there should never be any
2017         errors so seeing the first few should be enough
2018         to debug.
2019
2020         No new tests as no new functionality
2021
2022         * html/canvas/WebGLRenderingContext.cpp:
2023         (WebCore):
2024         (WebCore::WebGLRenderingContextErrorMessageCallback::onErrorMessage):
2025         (WebCore::WebGLRenderingContext::WebGLRenderingContext):
2026         (WebCore::WebGLRenderingContext::initializeNewContext):
2027         (WebCore::WebGLRenderingContext::printGLErrorToConsole):
2028         (WebCore::WebGLRenderingContext::synthesizeGLError):
2029         * html/canvas/WebGLRenderingContext.h:
2030         (WebGLRenderingContext):
2031
2032 2012-02-24  Michael Saboff  <msaboff@apple.com>
2033
2034         ASSERT(position < 0) in JSC::Yarr::Interpreter::InputStream::readChecked
2035         https://bugs.webkit.org/show_bug.cgi?id=73728
2036
2037         Reviewed by Gavin Barraclough.
2038
2039         No new tests, refactored usage of JSC::Yarr interpreter.
2040         Should be covered by existing tests.
2041
2042         Changed WebCore callers of JSC::Yarr:Interpreter::interpret() to match the
2043         new signature with unsigned offsets.
2044
2045         * inspector/ContentSearchUtils.cpp:
2046         (WebCore::ContentSearchUtils::findMagicComment):
2047         * platform/text/RegularExpression.cpp:
2048         (WebCore::RegularExpression::match):
2049
2050 2012-02-24  Hans Muller  <hmuller@adobe.com>
2051
2052         onclick is not reliable for transformed SVG elements
2053         https://bugs.webkit.org/show_bug.cgi?id=34714
2054
2055         Reviewed by Dirk Schulze.
2056
2057         Use FloatPoints in RenderSVGRoot::nodeAtPoint() when converting the incoming
2058         point to local coordinates.
2059
2060         Test: svg/hittest/svg-small-viewbox.xhtml
2061
2062         * rendering/svg/RenderSVGRoot.cpp:
2063         (WebCore::RenderSVGRoot::nodeAtPoint):
2064
2065 2012-02-24  Julien Chaffraix  <jchaffraix@webkit.org>
2066
2067         Implement limited parsing of -webkit-grid-column and -webkit-grid-row
2068         https://bugs.webkit.org/show_bug.cgi?id=79151
2069
2070         Reviewed by Ojan Vafai.
2071
2072         Test: fast/css-grid-layout/grid-item-column-row-get-set.html
2073
2074         This change implements a subset of the grammar:
2075
2076         -webkit-grid-{row|column} := <integer> | 'auto'
2077
2078         * CMakeLists.txt:
2079         * GNUmakefile.list.am:
2080         * Target.pri:
2081         * WebCore.gypi:
2082         * WebCore.vcproj/WebCore.vcproj:
2083         * WebCore.xcodeproj/project.pbxproj:
2084         Added the new files to our build systems.
2085
2086         * css/CSSComputedStyleDeclaration.cpp:
2087         (WebCore::valueForGridPosition): Check that we have the right translated grammar
2088         (this function will be more useful once we implement more of the grammar).
2089         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
2090         * css/CSSStyleSelector.cpp:
2091         (WebCore::CSSStyleSelector::applyProperty):
2092         Added handling for the new properties.
2093
2094         * css/CSSParser.cpp:
2095         (WebCore::CSSParser::parseValue):
2096         Allow only 'auto' or <integer>.
2097
2098         * css/CSSProperty.cpp:
2099         (WebCore::CSSProperty::isInheritedProperty):
2100         grid-colum and grid-row are not inherited.
2101
2102         * css/CSSPropertyNames.in:
2103         Added the 2 new properties.
2104
2105         * rendering/style/RenderStyle.cpp:
2106         (WebCore::RenderStyle::RenderStyle):
2107         (WebCore::RenderStyle::diff):
2108         * rendering/style/RenderStyle.h:
2109         * rendering/style/StyleGridItemData.cpp: Added.
2110         (WebCore::StyleGridItemData::StyleGridItemData):
2111         * rendering/style/StyleGridItemData.h: Added.
2112         (StyleGridItemData):
2113         (WebCore::StyleGridItemData::create):
2114         (WebCore::StyleGridItemData::copy):
2115         (WebCore::StyleGridItemData::operator==):
2116         (WebCore::StyleGridItemData::operator!=):
2117         Implemented the minimum working class.
2118
2119         * rendering/style/StyleRareNonInheritedData.cpp:
2120         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
2121         (WebCore::StyleRareNonInheritedData::operator==):
2122         * rendering/style/StyleRareNonInheritedData.h:
2123         (StyleRareNonInheritedData):
2124         Added StyleGridItemData to the class StyleRareNonInheritedData.
2125
2126 2012-02-24  Joshua Bell  <jsbell@chromium.org>
2127
2128         IndexedDB: IDBObjectStore.count() and IDBIndex.count() should accept key argument
2129         https://bugs.webkit.org/show_bug.cgi?id=79422
2130
2131         Reviewed by Tony Chang.
2132
2133         Tests: storage/indexeddb/index-count.html
2134                storage/indexeddb/objectstore-count.html
2135
2136         * storage/IDBIndex.cpp:
2137         (WebCore::IDBIndex::count):
2138         (WebCore):
2139         * storage/IDBIndex.h:
2140         (WebCore::IDBIndex::count):
2141         (IDBIndex):
2142         * storage/IDBIndex.idl:
2143         * storage/IDBObjectStore.cpp:
2144         (WebCore::IDBObjectStore::deleteFunction):
2145         (WebCore::IDBObjectStore::count):
2146         (WebCore):
2147         * storage/IDBObjectStore.h:
2148         (WebCore::IDBObjectStore::count):
2149         (IDBObjectStore):
2150         * storage/IDBObjectStore.idl:
2151
2152 2012-02-24  Adam Barth  <abarth@webkit.org>
2153
2154         Move mediastream into Modules/mediastream
2155         https://bugs.webkit.org/show_bug.cgi?id=79517
2156
2157         Reviewed by Eric Seidel.
2158
2159         This patch moves the mediastream directory into Modules.  mediastream
2160         is a self-contained feature and is a good candidate for being a module.
2161
2162         * GNUmakefile.am:
2163         * GNUmakefile.list.am:
2164         * Modules/mediastream: Copied from Source/WebCore/mediastream.
2165         * WebCore.gyp/WebCore.gyp:
2166         * WebCore.gypi:
2167         * mediastream: Removed.
2168         * mediastream/DOMWindowMediaStream.idl: Removed.
2169         * mediastream/LocalMediaStream.cpp: Removed.
2170         * mediastream/LocalMediaStream.h: Removed.
2171         * mediastream/LocalMediaStream.idl: Removed.
2172         * mediastream/MediaStream.cpp: Removed.
2173         * mediastream/MediaStream.h: Removed.
2174         * mediastream/MediaStream.idl: Removed.
2175         * mediastream/MediaStreamEvent.cpp: Removed.
2176         * mediastream/MediaStreamEvent.h: Removed.
2177         * mediastream/MediaStreamEvent.idl: Removed.
2178         * mediastream/MediaStreamList.cpp: Removed.
2179         * mediastream/MediaStreamList.h: Removed.
2180         * mediastream/MediaStreamList.idl: Removed.
2181         * mediastream/MediaStreamRegistry.cpp: Removed.
2182         * mediastream/MediaStreamRegistry.h: Removed.
2183         * mediastream/MediaStreamTrack.cpp: Removed.
2184         * mediastream/MediaStreamTrack.h: Removed.
2185         * mediastream/MediaStreamTrack.idl: Removed.
2186         * mediastream/MediaStreamTrackList.cpp: Removed.
2187         * mediastream/MediaStreamTrackList.h: Removed.
2188         * mediastream/MediaStreamTrackList.idl: Removed.
2189         * mediastream/NavigatorMediaStream.cpp: Removed.
2190         * mediastream/NavigatorMediaStream.h: Removed.
2191         * mediastream/NavigatorMediaStream.idl: Removed.
2192         * mediastream/NavigatorUserMediaError.h: Removed.
2193         * mediastream/NavigatorUserMediaError.idl: Removed.
2194         * mediastream/NavigatorUserMediaErrorCallback.h: Removed.
2195         * mediastream/NavigatorUserMediaErrorCallback.idl: Removed.
2196         * mediastream/NavigatorUserMediaSuccessCallback.h: Removed.
2197         * mediastream/NavigatorUserMediaSuccessCallback.idl: Removed.
2198         * mediastream/PeerConnection.cpp: Removed.
2199         * mediastream/PeerConnection.h: Removed.
2200         * mediastream/PeerConnection.idl: Removed.
2201         * mediastream/SignalingCallback.h: Removed.
2202         * mediastream/SignalingCallback.idl: Removed.
2203         * mediastream/UserMediaClient.h: Removed.
2204         * mediastream/UserMediaController.cpp: Removed.
2205         * mediastream/UserMediaController.h: Removed.
2206         * mediastream/UserMediaRequest.cpp: Removed.
2207         * mediastream/UserMediaRequest.h: Removed.
2208
2209 2012-02-24  Abhishek Arya  <inferno@chromium.org>
2210
2211         Overhanging floats not removed from new flex box.
2212         https://bugs.webkit.org/show_bug.cgi?id=79522
2213
2214         Reviewed by Ojan Vafai.
2215
2216         Similar to r69476.
2217
2218         Test: fast/flexbox/overhanging-floats-not-removed-crash.html
2219
2220         * rendering/RenderBox.cpp:
2221         (WebCore::RenderBox::removeFloatingOrPositionedChildFromBlockLists):
2222
2223 2012-02-24  Brent Fulgham  <bfulgham@webkit.org>
2224
2225         [WinCairo] Compute more acurate font heights.
2226         https://bugs.webkit.org/show_bug.cgi?id=79524
2227
2228         Reviewed by Adam Roben.
2229
2230         Adjust font handling as suggested by Lynn Neir to use the proper
2231         xHeight value for the font, rather than the fall-back guess
2232         used in the current code.
2233
2234         css1/text_properties/line_height.html
2235
2236         * platform/graphics/win/SimpleFontDataCairoWin.cpp:
2237         (WebCore::SimpleFontData::platformInit): Properly initialize a
2238           few elements.
2239         (WebCore::SimpleFontData::platformWidthForGlyph): Use the Cairo
2240           cairo_scaled_font_text_extents call, rather than attempting
2241           to compute the value from ::GetGlyphOutline.
2242
2243 2012-02-24  Tim Horton  <timothy_horton@apple.com>
2244
2245         Infinite repaint loop with SVGImageCache and deferred repaint timers
2246         https://bugs.webkit.org/show_bug.cgi?id=78315
2247         <rdar://problem/10651634>
2248
2249         Reviewed by Dean Jackson.
2250
2251         Only defer image redraw on a timer if we're in layout. This breaks
2252         the repaint loop while still preventing us from drawing inside layout.
2253
2254         No new tests, as the problem only occurs in a nonstandard configuration.
2255
2256         * svg/graphics/SVGImage.cpp:
2257         (WebCore::SVGImage::draw):
2258         (WebCore::SVGImage::frameView):
2259         (WebCore):
2260         * svg/graphics/SVGImage.h:
2261         (WebCore):
2262         * svg/graphics/SVGImageCache.cpp:
2263         (WebCore::SVGImageCache::imageContentChanged):
2264         (WebCore::SVGImageCache::redraw):
2265         (WebCore::SVGImageCache::redrawTimerFired):
2266         (WebCore):
2267         * svg/graphics/SVGImageCache.h:
2268         (SVGImageCache):
2269
2270 2012-02-24  Tim Horton  <timothy_horton@apple.com>
2271
2272         SVG should be supported in Dashboard compatibility mode
2273         https://bugs.webkit.org/show_bug.cgi?id=78322
2274         <rdar://problem/5861278>
2275
2276         Reviewed by Dean Jackson.
2277
2278         Enable SVG elements inside Dashboard, more or less reverting r21418.
2279
2280         Tests: http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html
2281                svg/custom/embedded-svg-allowed-in-dashboard.xml
2282                svg/custom/manually-parsed-embedded-svg-allowed-in-dashboard.html
2283                svg/custom/manually-parsed-svg-allowed-in-dashboard.html
2284                svg/custom/svg-allowed-in-dashboard-object.html
2285
2286         * dom/DOMImplementation.cpp:
2287         (WebCore::DOMImplementation::createDocument):
2288         * dom/Document.cpp:
2289         (WebCore::Document::importNode):
2290         * dom/make_names.pl:
2291         (printFactoryCppFile):
2292
2293 2012-02-24  Min Qin  <qinmin@google.com>
2294
2295         Expose a setting to exempt media playback from user gesture requirement after a user gesture is initiated on loading/playing a media
2296         https://bugs.webkit.org/show_bug.cgi?id=79167
2297
2298         Reviewed by Adam Barth.
2299
2300         Test: media/video-play-require-user-gesture.html
2301
2302         * html/HTMLMediaElement.cpp:
2303         (WebCore::HTMLMediaElement::load):
2304         (WebCore::HTMLMediaElement::play):
2305         (WebCore::HTMLMediaElement::removeBehaviorsRestrictionsAfterFirstUserGesture):
2306         (WebCore):
2307         * html/HTMLMediaElement.h:
2308         (HTMLMediaElement):
2309         * testing/Internals.cpp:
2310         (WebCore::Internals::setMediaPlaybackRequiresUserGesture):
2311         (WebCore):
2312         * testing/Internals.h:
2313         (Internals):
2314         * testing/Internals.idl:
2315
2316 2012-02-24  Adam Barth  <abarth@webkit.org>
2317
2318         DOMWindow*.idl should have had the same license block as DOMWindow.idl did originally
2319         https://bugs.webkit.org/show_bug.cgi?id=79507
2320
2321         Reviewed by Alexey Proskuryakov.
2322
2323         In moving pieces of DOMWindow.idl into separate files, we mistakenly
2324         changed some of the license blocks.  All these files should have a
2325         license block that matches the file that originally contained the code.
2326
2327         * Modules/intents/DOMWindowIntents.idl:
2328         * fileapi/DOMWindowFileSystem.idl:
2329         * html/DOMWindowHTML.idl:
2330         * html/canvas/DOMWindowWebGL.idl:
2331         * mediastream/DOMWindowMediaStream.idl:
2332         * storage/DOMWindowSQLDatabase.idl:
2333         * svg/DOMWindowSVG.idl:
2334         * webaudio/DOMWindowWebAudio.idl:
2335         * websockets/DOMWindowWebSocket.idl:
2336         * workers/DOMWindowWorker.idl:
2337         * xml/DOMWindowXML.idl:
2338
2339 2012-02-24  David Kilzer  <ddkilzer@apple.com>
2340
2341         Use xcrun to find compiler paths for Generate Derived Sources build phase script
2342         <http://webkit.org/b/79512>
2343
2344         Reviewed by Mark Rowe.
2345
2346         * WebCore.xcodeproj/project.pbxproj:
2347         (Generate Derived Sources): Use xcrun to find the path to the
2348         compiler since that works on both iOS and OS X.
2349
2350 2012-02-24  Anders Carlsson  <andersca@apple.com>
2351
2352         Crash in TileCache::revalidateTiles
2353         https://bugs.webkit.org/show_bug.cgi?id=79510
2354         <rdar://problem/10928035>
2355
2356         Reviewed by Sam Weinig.
2357
2358         Handle the tile cache layer's PlatformCALayer going away before the
2359         CALayer itself has been deallocated.
2360
2361         * platform/graphics/ca/mac/TileCache.mm:
2362         (WebCore::TileCache::revalidateTiles):
2363
2364 2012-02-24  Adam Klein  <adamk@chromium.org>
2365
2366         Don't notify the inspector of Node insertions initiated by the parser
2367         https://bugs.webkit.org/show_bug.cgi?id=79388
2368
2369         Reviewed by Adam Barth.
2370
2371         This is part of a series of changes to make ContainerNode's
2372         implementation simpler and more internally consistent.
2373
2374         I don't know of a way to break on parser-initiated insertions,
2375         and the code already doesn't notify on parser-initiated removes
2376         (in ContainerNode::parserRemoveChild).
2377
2378         No new tests, should already be covered by
2379         inspector/debugger/dom-breakpoints.html.
2380
2381         * dom/ContainerNode.cpp:
2382         (WebCore::ContainerNode::parserInsertBefore):
2383         (WebCore::ContainerNode::parserAddChild):
2384
2385 2012-02-24  Daniel Bates  <dbates@webkit.org>
2386
2387         Attempt to fix the Windows and WinCE build after changeset r108809
2388         <http://trac.webkit.org/changeset/108809> (https://bugs.webkit.org/show_bug.cgi?id=38995)
2389
2390         Substitute styleLoadEventSender() for loadEventSender() in HTMLStyleElement.cpp
2391         and substitute linkLoadEventSender() for loadEventSender() in HTMLLinkElement.cpp. 
2392
2393         * html/HTMLLinkElement.cpp:
2394         (WebCore::linkLoadEventSender):
2395         (WebCore::HTMLLinkElement::~HTMLLinkElement):
2396         (WebCore::HTMLLinkElement::dispatchPendingLoadEvents):
2397         (WebCore::HTMLLinkElement::dispatchPendingEvent):
2398         (WebCore::HTMLLinkElement::notifyLoadedSheetAndAllCriticalSubresources):
2399         * html/HTMLStyleElement.cpp:
2400         (WebCore::styleLoadEventSender):
2401         (WebCore::HTMLStyleElement::~HTMLStyleElement):
2402         (WebCore::HTMLStyleElement::dispatchPendingLoadEvents):
2403         (WebCore::HTMLStyleElement::dispatchPendingEvent):
2404         (WebCore::HTMLStyleElement::notifyLoadedSheetAndAllCriticalSubresources):
2405
2406 2012-02-24  Peter Beverloo  <peter@chromium.org>
2407
2408         [Chromium] Fix Chromium Android build by building HarfBuzzShaperBase.cpp
2409         https://bugs.webkit.org/show_bug.cgi?id=79497
2410
2411         Reviewed by Tony Gentilcore.
2412
2413         The Chromium Android build was broken by revision r108733, as the
2414         HarfBuzzShaperBase.cpp file also should have been included for Android.
2415         Fix the build by including it.
2416
2417         * WebCore.gyp/WebCore.gyp:
2418
2419 2012-02-24  Yael Aharon  <yael.aharon@nokia.com>
2420
2421         [Texmap] Consolidate the common parts of TextureMapperGL::drawTexture
2422         https://bugs.webkit.org/show_bug.cgi?id=79143
2423
2424         Reviewed by Noam Rosenthal.
2425
2426         Combine the two drawTexture methods into one, and extract the part that
2427         could not be combined into its own method.
2428         No new tests. Refactoring only.
2429
2430         * platform/graphics/texmap/TextureMapperGL.cpp:
2431         (WebCore):
2432         (WebCore::TextureMapperGL::drawTexture):
2433         * platform/graphics/texmap/TextureMapperGL.h:
2434         (WebCore):
2435         (BitmapTextureGL):
2436         (WebCore::BitmapTextureGL::~BitmapTextureGL):
2437         (WebCore::BitmapTextureGL::id):
2438         (WebCore::BitmapTextureGL::relativeSize):
2439         (WebCore::BitmapTextureGL::setTextureMapper):
2440         (WebCore::BitmapTextureGL::BitmapTextureGL):
2441         * platform/graphics/texmap/TextureMapperShaderManager.cpp:
2442         (WebCore::TextureMapperShaderProgramOpacityAndMask::fragmentShaderSource):
2443         (WebCore):
2444         (WebCore::TextureMapperShaderProgramOpacityAndMask::prepare):
2445         * platform/graphics/texmap/TextureMapperShaderManager.h:
2446         (WebCore):
2447         (WebCore::TextureMapperShaderProgram::prepare):
2448         (WebCore::TextureMapperShaderProgram::matrixVariable):
2449         (WebCore::TextureMapperShaderProgram::sourceMatrixVariable):
2450         (WebCore::TextureMapperShaderProgram::sourceTextureVariable):
2451         (WebCore::TextureMapperShaderProgram::opacityVariable):
2452         (TextureMapperShaderProgram):
2453         (TextureMapperShaderProgramSimple):
2454         (TextureMapperShaderProgramOpacityAndMask):
2455         (WebCore::TextureMapperShaderProgramOpacityAndMask::maskMatrixVariable):
2456         (WebCore::TextureMapperShaderProgramOpacityAndMask::maskTextureVariable):
2457
2458 2012-02-24  Daniel Bates  <dbates@webkit.org>
2459
2460         style element and link element for CSS stylesheet should emit load/error event when sheet loads/fails to load
2461         https://bugs.webkit.org/show_bug.cgi?id=38995
2462
2463         Reviewed by Adam Barth and Nate Chapin.
2464
2465         Tests: fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-existent-and-non-existent-import.html
2466                fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html
2467                fast/dom/HTMLLinkElement/link-onerror.html
2468                fast/dom/HTMLLinkElement/link-onload-before-page-load.html
2469                fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.html
2470                fast/dom/HTMLLinkElement/link-onload.html
2471                fast/dom/HTMLLinkElement/link-onload2.html
2472                fast/dom/HTMLLinkElement/programmatically-add-link-with-onerror-handler.html
2473                fast/dom/HTMLLinkElement/programmatically-add-link-with-onload-handler.html
2474                fast/dom/HTMLStyleElement/programmatically-add-style-with-onerror-handler.html
2475                fast/dom/HTMLStyleElement/programmatically-add-style-with-onload-handler.html
2476                fast/dom/HTMLStyleElement/style-onerror-with-existent-and-non-existent-import.html
2477                fast/dom/HTMLStyleElement/style-onerror.html
2478                fast/dom/HTMLStyleElement/style-onload-before-page-load.html
2479                fast/dom/HTMLStyleElement/style-onload.html
2480                fast/dom/HTMLStyleElement/style-onload2.html
2481
2482         Implements support for firing Load and Error events at HTML Link and HTML Style elements as per
2483         the HTML5 spec. (draft 05/25/2011) section "The link element" <http://www.w3.org/TR/html5/semantics.html#the-link-element>
2484         and "The style element" <http://www.w3.org/TR/html5/semantics.html#the-style-element>, respectively.
2485
2486         * css/CSSImportRule.cpp:
2487         (WebCore::CSSImportRule::setCSSStyleSheet): Modified to call CSSStyleSheet::notifyLoadedSheet()
2488         after the style sheet associated with the @import rule loaded.
2489         * css/CSSStyleSheet.cpp: Added instance variable m_didLoadErrorOccur to track whether a network error
2490         occurred while loading any @import style sheets.
2491         (WebCore::CSSStyleSheet::CSSStyleSheet):
2492         (WebCore::CSSStyleSheet::checkLoaded):
2493         (WebCore):
2494         (WebCore::CSSStyleSheet::notifyLoadedSheet): Added; update m_didLoadErrorOccur to reflect if a network
2495         error occurred while loading a style sheet associated with an @import rule.
2496         * css/CSSStyleSheet.h:
2497         (WebCore):
2498         (CSSStyleSheet):
2499         * dom/Document.cpp:
2500         (WebCore::Document::implicitClose): Call HTML{LinkElement, StyleElement}::dispatchPendingLoadEvents() to
2501         ensure that all pending Load events for link and style elements are dispatched before we fire the Load
2502         event for the window.
2503         * dom/Node.h:
2504         (WebCore::Node::notifyLoadedSheetAndAllCriticalSubresources): Added; as stated in its name, this method is
2505         called once a style sheet and all its critical subresources (@imports) have loaded.
2506         * html/HTMLLinkElement.cpp:
2507         (WebCore::loadEventSender):
2508         (WebCore):
2509         (WebCore::HTMLLinkElement::HTMLLinkElement):
2510         (WebCore::HTMLLinkElement::~HTMLLinkElement): Modified to cancel all pending Load events on destruction.
2511         (WebCore::HTMLLinkElement::parseAttribute): Register event listeners for Load and Error events regardless of whether we
2512         built with link prefetch support.
2513         (WebCore::HTMLLinkElement::setCSSStyleSheet):
2514         (WebCore::HTMLLinkElement::dispatchPendingLoadEvents): Added; called from Document::implicitClose() to
2515         ensure that all pending Load events for link elements have been dispatched before we fire the Load event
2516         for the window.
2517         (WebCore::HTMLLinkElement::dispatchPendingEvent): Added; called by EventSender.
2518         (WebCore::HTMLLinkElement::notifyLoadedSheetAndAllCriticalSubresources): Added.
2519         * html/HTMLLinkElement.h:
2520         (WebCore):
2521         (HTMLLinkElement):
2522         * html/HTMLStyleElement.cpp:
2523         (WebCore::loadEventSender):
2524         (WebCore):
2525         (WebCore::HTMLStyleElement::HTMLStyleElement):
2526         (WebCore::HTMLStyleElement::~HTMLStyleElement): Modified to cancel all pending Load events on destruction.
2527         (WebCore::HTMLStyleElement::parseAttribute): Register event listeners for Load and Error events.
2528         (WebCore::HTMLStyleElement::dispatchPendingLoadEvents): Added; called from Document::implicitClose() to
2529         ensure that all pending Load events for link elements have been dispatched before we fire the Load event
2530         for the window.
2531         (WebCore::HTMLStyleElement::dispatchPendingEvent): Added; called by EventSender.
2532         (WebCore::HTMLStyleElement::notifyLoadedSheetAndAllCriticalSubresources): Added.
2533         * html/HTMLStyleElement.h:
2534         (WebCore):
2535         (HTMLStyleElement):
2536
2537 2012-02-24  Adam Roben  <aroben@apple.com>
2538
2539         Mac build fix after r108698
2540
2541         * page/scrolling/mac/ScrollingCoordinatorMac.mm: Added missing #import.
2542
2543 2012-02-24  Csaba Osztrogonác  <ossy@webkit.org>
2544
2545         Unreviewed speculative buildfix after r108785 for ENABLE(SVG) && !ENABLE(XSLT) case.
2546
2547         * loader/cache/CachedResourceLoader.cpp:
2548         (WebCore::CachedResourceLoader::canRequest):
2549
2550 2012-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
2551
2552         Web Inspector: Do not show scripts panel navigator automatically more than once to the same user.
2553         https://bugs.webkit.org/show_bug.cgi?id=79489
2554
2555         Reviewed by Pavel Feldman.
2556
2557         * inspector/front-end/ScriptsPanel.js:
2558
2559 2012-02-24  Philippe Normand  <pnormand@igalia.com>
2560
2561         Fix GTK WebAudio build for WebKitGTK 1.7.90.
2562
2563         Patch by Priit Laes <plaes@plaes.org> on 2012-02-24
2564         Rubber-stamped by Philippe Normand.
2565
2566         * GNUmakefile.list.am: Add AudioBufferCallback.h and
2567         DenormalDisabler.h to the list of files so they get disted in the
2568         tarballs.
2569
2570 2012-02-24  Yury Semikhatsky  <yurys@chromium.org>
2571
2572         Web Inspector: show all counters on one graph
2573         https://bugs.webkit.org/show_bug.cgi?id=79484
2574
2575         Now it is possible to hide any counter. All graphs share the same area.
2576         Current values are displayed above that area.
2577
2578         Reviewed by Pavel Feldman.
2579
2580         * English.lproj/localizedStrings.js:
2581         * inspector/front-end/MemoryStatistics.js:
2582         (WebInspector.MemoryStatistics.getDocumentCount):
2583         (WebInspector.MemoryStatistics.getNodeCount):
2584         (WebInspector.MemoryStatistics.getListenerCount):
2585         (WebInspector.MemoryStatistics):
2586         (WebInspector.SwatchCheckbox):
2587         (WebInspector.SwatchCheckbox.prototype.get checked):
2588         (WebInspector.SwatchCheckbox.prototype.set checked):
2589         (WebInspector.SwatchCheckbox.prototype._toggleCheckbox):
2590         (WebInspector.CounterUI):
2591         (WebInspector.CounterUI.prototype._toggleCounterGraph):
2592         (WebInspector.CounterUI.prototype.setRange):
2593         (WebInspector.CounterUI.prototype.updateCurrentValue):
2594         (WebInspector.CounterUI.prototype.clearCurrentValueAndMarker):
2595         (WebInspector.CounterUI.prototype.get visible):
2596         (WebInspector.CounterUI.prototype.saveImageUnderMarker):
2597         (WebInspector.CounterUI.prototype.restoreImageUnderMarker):
2598         (WebInspector.CounterUI.prototype.discardImageUnderMarker):
2599         (WebInspector.MemoryStatistics.prototype._updateSize):
2600         (WebInspector.MemoryStatistics.prototype._draw):
2601         (WebInspector.MemoryStatistics.prototype._onMouseOut):
2602         (WebInspector.MemoryStatistics.prototype._refreshCurrentValues):
2603         (WebInspector.MemoryStatistics.prototype._highlightCurrentPositionOnGraphs):
2604         (WebInspector.MemoryStatistics.prototype._drawGraph):
2605         (WebInspector.MemoryStatistics.prototype._clear):
2606         * inspector/front-end/timelinePanel.css:
2607         (.memory-counter-sidebar-info):
2608         (.memory-counter-sidebar-info .swatch):
2609         (.memory-counter-sidebar-info .title):
2610         (.memory-counter-value):
2611         (#counter-values-bar):
2612
2613 2012-02-24  Pavel Feldman  <pfeldman@google.com>
2614
2615         Web Inspector: map Ctrl/Cmd +/- to zoom in hosted mode.
2616         https://bugs.webkit.org/show_bug.cgi?id=79475
2617
2618         (In remote front-end mode, default zoom actions are working.)
2619
2620         Reviewed by Yury Semikhatsky.
2621
2622         * inspector/InspectorFrontendHost.cpp:
2623         (WebCore::InspectorFrontendHost::setZoomFactor):
2624         (WebCore):
2625         * inspector/InspectorFrontendHost.h:
2626         (InspectorFrontendHost):
2627         * inspector/InspectorFrontendHost.idl:
2628         * inspector/front-end/InspectorFrontendHostStub.js:
2629         (.WebInspector.InspectorFrontendHostStub):
2630         (.WebInspector.InspectorFrontendHostStub.prototype.loadResourceSynchronously):
2631         (.WebInspector.InspectorFrontendHostStub.prototype.setZoomFactor):
2632         * inspector/front-end/Settings.js:
2633         (WebInspector.Settings):
2634         * inspector/front-end/inspector.js:
2635         (WebInspector._initializeCapability):
2636         (WebInspector._zoomIn):
2637         (WebInspector._zoomOut):
2638         (WebInspector._resetZoom):
2639         (WebInspector._requestZoom.set InspectorFrontendHost):
2640         (WebInspector._requestZoom):
2641         (WebInspector._doLoadedDoneWithCapabilities.get if):
2642         (WebInspector.documentKeyDown):
2643
2644 2012-02-24  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2645
2646         Refactor EventHandler::handleGestureEvent.
2647         https://bugs.webkit.org/show_bug.cgi?id=79476
2648
2649         Reviewed by Kenneth Rohde Christiansen.
2650
2651         No new tests. No behavior change.
2652
2653         * page/EventHandler.cpp:
2654         (WebCore::EventHandler::handleGestureEvent):
2655         (WebCore::EventHandler::handleGestureTap):
2656         (WebCore::EventHandler::handleGestureScrollUpdate):
2657         * page/EventHandler.h:
2658
2659 2012-02-24  Zoltan Horvath  <zoltan@webkit.org>
2660
2661         [Qt] Allow to use WebCore imagedecoders
2662         https://bugs.webkit.org/show_bug.cgi?id=32410
2663
2664         Add ENABLE(QT_IMAGE_DECODER) guards around Qt imagedecoders and set it to default.
2665         By passing ENABLE_QT_IMAGE_DECODER=0 define to the build system, WebKit will build
2666         with WebCore's imagedecoders.
2667
2668         I added NO_RETURN attribute and PLATFORM(QT) conditionals to 2 functions of PNG and
2669         JPEG decoders to avoid compiler warnings because in Qt-port we treat warning as errors (-Werror).
2670
2671         I'm continuing the refactoring of this area and try to use Qt imagedecoders only in
2672         cases when WebCore doesn't support the image format.
2673
2674         Reviewed by Simon Hausmann.
2675
2676         No behavior change, no need new tests.
2677
2678         * Target.pri:
2679         * WebCore.pri:
2680         * platform/MIMETypeRegistry.cpp:
2681         (WebCore::initializeSupportedImageMIMETypes):
2682         (WebCore::initializeSupportedImageMIMETypesForEncoding):
2683         * platform/image-decoders/ImageDecoder.h:
2684         (WebCore::ImageFrame::getAddr):
2685         (ImageFrame):
2686         * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
2687         NO_RETURN has been added to a function to avoid warning message.
2688         * platform/image-decoders/png/PNGImageDecoder.cpp:
2689         NO_RETURN has been added to a function to avoid warning message.
2690         (WebCore):
2691         * platform/image-decoders/qt/ImageFrameQt.cpp:
2692         (WebCore):
2693         (WebCore::ImageFrame::asNewNativeImage):
2694
2695 2012-02-24  Lynn Neir <lynn.neir@skype.net>
2696
2697         [Windows, WinCairo] Handle indeterminate checkbox state
2698         https://bugs.webkit.org/show_bug.cgi?id=79288
2699
2700         Reviewed by Adam Roben.
2701
2702         Tested by fast/forms/indeterminate.html
2703
2704         * rendering/RenderThemeWin.cpp: Add code to check for indeterminate
2705           state in CheckBox.
2706
2707 2012-02-24  Simon Hausmann  <simon.hausmann@nokia.com>
2708
2709         [Qt] Font related problem with newer Qt5
2710         https://bugs.webkit.org/show_bug.cgi?id=79402
2711
2712         Reviewed by Kenneth Rohde Christiansen.
2713
2714         Apply the descent += 1 workaround needed to produce correct metrics only for Qt 4,
2715         because the behaviour has been corrected in Qt 5.
2716
2717         * platform/graphics/qt/SimpleFontDataQt.cpp:
2718         (WebCore::SimpleFontData::platformInit):
2719
2720 2012-02-24  Kentaro Hara  <haraken@chromium.org>
2721
2722         Move XML-related APIs from DOMWindow.idl to DOMWindowXML.idl
2723         https://bugs.webkit.org/show_bug.cgi?id=79434
2724
2725         Reviewed by Adam Barth.
2726
2727         For WebKit modularization, this patch moves XML-related APIs
2728         from DOMWindow.idl to DOMWIndowXML.idl.
2729
2730         No tests. No change in behavior.
2731
2732         * xml/DOMWindowXML.idl: Added.
2733         * page/DOMWindow.idl:
2734
2735         * CMakeLists.txt: Added "DOMWindowXML.idl".
2736         * DerivedSources.make: Ditto.
2737         * DerivedSources.pri: Ditto.
2738         * GNUmakefile.list.am: Ditto.
2739         * WebCore.gypi: Ditto.
2740         * WebCore.xcodeproj/project.pbxproj: Ditto.
2741
2742 2012-02-24  Renata Hodovan  <reni@webkit.org>
2743
2744         External <use> xlink:href references do not work
2745         https://bugs.webkit.org/show_bug.cgi?id=12499
2746
2747         Reviewed by Nikolas Zimmermann.
2748
2749         Support external references on <use> by introducing CachedSVGDocument.
2750         CachedSVGDocument is a CachedResource specialized for SVGDocuments.
2751         This CachedSVGDocument will be stored for every use element with external reference.
2752         This first patch only contains the new classes to test whether it works on every platform.
2753         So they aren't used anywhere and just a follow-up patch will bind them into the caching system.
2754
2755         No new tests - no change in functionality.
2756
2757         * CMakeLists.txt:
2758         * GNUmakefile.list.am:
2759         * Target.pri:
2760         * WebCore.gypi:
2761         * WebCore.vcproj/WebCore.vcproj:
2762         * WebCore.xcodeproj/project.pbxproj:
2763         * loader/cache/CachedResource.cpp:
2764         (WebCore::defaultPriorityForResourceType):
2765         (WebCore::cachedResourceTypeToTargetType):
2766         * loader/cache/CachedResource.h:
2767         * loader/cache/CachedResourceClient.h:
2768         (CachedResourceClient):
2769         * loader/cache/CachedResourceLoader.cpp:
2770         (WebCore::createResource):
2771         (WebCore::CachedResourceLoader::checkInsecureContent):
2772         (WebCore::CachedResourceLoader::canRequest):
2773         * loader/cache/CachedSVGDocument.cpp: Added.
2774         (WebCore):
2775         (WebCore::CachedSVGDocument::CachedSVGDocument):
2776         (WebCore::CachedSVGDocument::~CachedSVGDocument):
2777         (WebCore::CachedSVGDocument::setEncoding):
2778         (WebCore::CachedSVGDocument::encoding):
2779         (WebCore::CachedSVGDocument::data):
2780         * loader/cache/CachedSVGDocument.h: Added.
2781         (WebCore):
2782         (CachedSVGDocument):
2783         (WebCore::CachedSVGDocument::document):
2784         (WebCore::CachedSVGDocument::schedule):
2785         (CachedSVGDocumentClient):
2786         (WebCore::CachedSVGDocumentClient::~CachedSVGDocumentClient):
2787         (WebCore::CachedSVGDocumentClient::expectedType):
2788         (WebCore::CachedSVGDocumentClient::resourceClientType):
2789
2790 2012-02-24  Alexis Menard  <alexis.menard@openbossa.org>
2791
2792         Little optimization in CSSParser::parseShorthand.
2793         https://bugs.webkit.org/show_bug.cgi?id=79356
2794
2795         Reviewed by Tony Chang.
2796
2797         Remove one loop by initializing array values at declaration time.
2798         Also early return when the number of properties parsed are equals
2799         with longhands count of the shorthand. It happens to be very often
2800         the case (e.g. border). Instruments shows an improvement from 19ms
2801         to 17ms on the time spent in this function for the css-parser-yui
2802         benchmark.
2803
2804         No new tests : refactor, exisiting ones should cover.
2805
2806         * css/CSSParser.cpp:
2807         (WebCore::CSSParser::parseShorthand):
2808
2809 2012-02-24  Kentaro Hara  <haraken@chromium.org>
2810
2811         Move HTML-related APIs from DOMWindow.idl to DOMWindowHTML.idl
2812         https://bugs.webkit.org/show_bug.cgi?id=79436
2813
2814         Reviewed by Adam Barth.
2815
2816         For WebKit modularization, this patch moves HTML-related APIs
2817         from DOMWindow.idl to DOMWindowHTML.idl.
2818
2819         No tests. No change in behavior.
2820
2821         * html/DOMWindowHTML.idl:
2822         * page/DOMWindow.idl:
2823
2824 2012-02-24  Jochen Eisinger  <jochen@chromium.org>
2825
2826         [v8] when a named item on document goes out of scope, actually remove it
2827         https://bugs.webkit.org/show_bug.cgi?id=79409
2828
2829         Reviewed by Adam Barth.
2830
2831         The original change already included the code, but it led to some
2832         problems, so it was reverted in http://trac.webkit.org/changeset/63845.
2833         However, not removing the items leaks a considerable amount of memory,
2834         so I'm adding the code back. The bug that led to the revert was that
2835         the accessor was removed unconditionally. I'm now only removing it,
2836         when the last item with that name is removed.
2837
2838         Test: fast/dom/HTMLDocument/named-item.html
2839
2840         * bindings/v8/V8DOMWindowShell.cpp:
2841         (WebCore::V8DOMWindowShell::namedItemRemoved):
2842
2843 2012-02-24  Kentaro Hara  <haraken@chromium.org>
2844
2845         Move Worker-related APIs from DOMWindow.idl to DOMWindowWorker.idl
2846         https://bugs.webkit.org/show_bug.cgi?id=79442
2847
2848         Reviewed by Adam Barth.
2849
2850         For WebKit modularization, this patch moves Worker-related APIs
2851         from DOMWindow.idl to DOMWindowWorker.idl.
2852
2853         No tests. No change in behavior.
2854
2855         * workers/DOMWindowWorker.idl: Added.
2856         * page/DOMWindow.idl:
2857
2858         * CMakeLists.txt:
2859         * DerivedSources.make:
2860         * DerivedSources.pri:
2861         * GNUmakefile.list.am:
2862         * WebCore.gypi:
2863
2864 2012-02-24  Robin Cao  <robin.cao@torchmobile.com.cn>
2865
2866         [BlackBerry] Upstream helper classes for skia
2867         https://bugs.webkit.org/show_bug.cgi?id=79216
2868
2869         Reviewed by Antonio Gomes.
2870
2871         Initial upstreaming, no new tests.
2872
2873         * platform/graphics/blackberry/skia/ImageBufferData.h: Added.
2874         (WebCore):
2875         (ImageBufferData):
2876         * platform/graphics/blackberry/skia/PlatformSupport.cpp: Added.
2877         (WebCore):
2878         (WebCore::setFontRenderStyleDefaults):
2879         (WebCore::PlatformSupport::getRenderStyleForStrike):
2880         (WebCore::PlatformSupport::getFontFamilyForCharacters):
2881         * platform/graphics/blackberry/skia/PlatformSupport.h: Added.
2882         (WebCore):
2883         (PlatformSupport):
2884         (FontFamily):
2885
2886 2012-02-24  Robin Cao  <robin.cao@torchmobile.com.cn>
2887
2888         [BlackBerry] Upstream ImageBlackBerry in platform/graphics/blackberry
2889         https://bugs.webkit.org/show_bug.cgi?id=79212
2890
2891         Reviewed by Antonio Gomes.
2892
2893         Initial upstreaming, no new tests.
2894
2895         * PlatformBlackBerry.cmake:
2896         * platform/graphics/blackberry/ImageBlackBerry.cpp: Added.
2897         (WebCore):
2898         (WebCore::Image::loadPlatformResource):
2899
2900 2012-02-24  Leo Yang  <leo.yang@torchmobile.com.cn>
2901
2902         [BlackBerry] Upstream the BlackBerry change to platform/graphics/IntSize.h
2903         https://bugs.webkit.org/show_bug.cgi?id=79430
2904
2905         Reviewed by Antonio Gomes.
2906
2907         Add conversion convenience between WebCore::IntSize and BlackBerry::Platform::IntSize.
2908
2909         The porting can't be built yet, no new tests.
2910
2911         * platform/graphics/IntSize.h:
2912         (Platform):
2913         (IntSize):
2914
2915 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
2916
2917         SpellCheckRequest needs to know the context where the spellcheck happened.
2918         https://bugs.webkit.org/show_bug.cgi?id=79320
2919
2920         Reviewed by Hajime Morita.
2921
2922         WebKit clients should be able to get the context how the spellcheck happended.
2923         For example, WebKit clients may want to change the behavior by a spellcheck request is
2924         invoked in typing or in pasting.
2925
2926         This patch added an enum in SpellCheckRequest so that WebKit clients can understand the context.
2927
2928         * editing/Editor.cpp:
2929         (WebCore::Editor::replaceSelectionWithFragment):
2930         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
2931         * editing/SpellChecker.cpp:
2932         (WebCore::SpellCheckRequest::SpellCheckRequest):
2933         (WebCore::SpellCheckRequest::create):
2934         (WebCore::SpellChecker::invokeRequest):
2935         * editing/SpellChecker.h:
2936         (SpellCheckRequest):
2937         (WebCore::SpellCheckRequest::textCheckingRequest):
2938         (WebCore::SpellCheckRequest::processType):
2939         * loader/EmptyClients.h:
2940         (WebCore::EmptyTextCheckerClient::requestCheckingOfString):
2941         * platform/text/TextCheckerClient.h:
2942         (WebCore):
2943         (TextCheckerClient):
2944         * platform/text/TextChecking.h:
2945         (TextCheckingRequest):
2946         (WebCore::TextCheckingRequest::TextCheckingRequest):
2947         (WebCore::TextCheckingRequest::setSequence):
2948         (WebCore::TextCheckingRequest::sequence):
2949         (WebCore::TextCheckingRequest::text):
2950         (WebCore::TextCheckingRequest::mask):
2951         (WebCore::TextCheckingRequest::processType):
2952         (WebCore):
2953
2954 2012-02-24  Hayato Ito  <hayato@chromium.org>
2955
2956         Make Node::showTreeForThis (and Node::showTreeForThisAcrossFrame) dump multiple shadow roots.
2957         https://bugs.webkit.org/show_bug.cgi?id=79351
2958
2959         Reviewed by Dimitri Glazkov.
2960
2961         No new tests since these utility functions are only available in debug build.
2962         I manually tested in GDB session.
2963
2964         * dom/Node.cpp:
2965         (WebCore::oldestShadowRootFor):
2966         (WebCore::traverseTreeAndMark):
2967         (WebCore::parentOrHostOrFrameOwner):
2968         (WebCore::showSubTreeAcrossFrame):
2969         * dom/ShadowRoot.h:
2970         (WebCore::ShadowRoot::youngerShadowRoot):
2971         (WebCore::ShadowRoot::olderShadowRoot):
2972         (WebCore::toShadowRoot):
2973         (WebCore):
2974
2975 2012-02-24  Pavel Feldman  <pfeldman@chromium.org>
2976
2977         Not reviewed: follow up to inspector's r108331, using more general condition.
2978
2979         * inspector/front-end/JavaScriptSourceFrame.js:
2980         (WebInspector.JavaScriptSourceFrame.prototype._getPopoverAnchor):
2981
2982 2012-02-24  Kentaro Hara  <haraken@chromium.org>
2983
2984         Move WebGL APIs from DOMWindow.idl to DOMWindowWebGL.idl
2985         https://bugs.webkit.org/show_bug.cgi?id=79432
2986
2987         Reviewed by Adam Barth.
2988
2989         For WebKit modularization, this patch moves WebGL-related APIs
2990         from DOMWindow.idl to DOMWindowWebGL.idl.
2991
2992         No tests. No change in behavior.
2993
2994         * html/canvas/DOMWindowWebGL.idl: Added.
2995         * page/DOMWindow.idl:
2996
2997         * DerivedSources.make: Added DOMWindowWebGL.idl.
2998         * DerivedSources.pri: Ditto.
2999         * GNUmakefile.list.am: Ditto.
3000         * WebCore.gypi: Ditto.
3001         * WebCore.xcodeproj/project.pbxproj: Ditto.
3002
3003 2012-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
3004
3005         Web Inspector: [Regression] network worker tests crash on qt.
3006         https://bugs.webkit.org/show_bug.cgi?id=79263
3007
3008         Reviewed by Pavel Feldman.
3009
3010         * inspector/InspectorPageAgent.cpp:
3011         (WebCore::InspectorPageAgent::createDecoder):
3012         (WebCore::InspectorPageAgent::cachedResourceContent):
3013
3014 2012-02-24  Andreas Kling  <awesomekling@apple.com>
3015
3016         Miscellaneous CSSParser dodging in presentation attribute parsing.
3017         <http://webkit.org/b/79468>
3018
3019         Reviewed by Antti Koivisto.
3020
3021         - Bypass CSSParser when adding constant values to attribute styles.
3022         - Added fast paths for the valid HTMLTablePartElement align values.
3023
3024         * html/HTMLEmbedElement.cpp:
3025         (WebCore::HTMLEmbedElement::collectStyleForAttribute):
3026         * html/HTMLHRElement.cpp:
3027         (WebCore::HTMLHRElement::collectStyleForAttribute):
3028         * html/HTMLIFrameElement.cpp:
3029         (WebCore::HTMLIFrameElement::collectStyleForAttribute):
3030         * html/HTMLTableElement.cpp:
3031         (WebCore::HTMLTableElement::collectStyleForAttribute):
3032         * html/HTMLTablePartElement.cpp:
3033         (WebCore::HTMLTablePartElement::collectStyleForAttribute):
3034
3035 2012-02-24  Dana Jansens  <danakj@chromium.org>
3036
3037         [chromium] Avoid culling work for fully-non-opaque tiles, and add tracing for draw culling
3038         https://bugs.webkit.org/show_bug.cgi?id=79183
3039
3040         Reviewed by James Robinson.
3041
3042         Addresses performance issues with draw culling by avoiding the work
3043         of mapRect and other function calls when the quad has no opaque area.
3044         And adds a TRACE_EVENT to watch the time spent in draw culling.
3045
3046         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
3047         (WebCore::CCLayerTreeHostImpl::optimizeRenderPasses):
3048         * platform/graphics/chromium/cc/CCQuadCuller.cpp:
3049         (WebCore::CCQuadCuller::cullOccludedQuads):
3050
3051 2012-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
3052
3053         Web Inspector: Scripts panel navigator overlay should be shown automatically only one time.
3054         https://bugs.webkit.org/show_bug.cgi?id=79467
3055
3056         Reviewed by Pavel Feldman.
3057
3058         * inspector/front-end/ScriptsPanel.js:
3059         (WebInspector.ScriptsPanel.prototype._hideNavigatorOverlay):
3060         (WebInspector.ScriptsPanel.prototype._navigatorOverlayWillHide):
3061
3062 2012-02-23  MORITA Hajime  <morrita@google.com>
3063
3064         Adding a ShadowRoot to image-backed element causes a crash
3065         https://bugs.webkit.org/show_bug.cgi?id=78878
3066
3067         Reviewed by Dimitri Glazkov.
3068
3069         The crash happened because NodeRenderingContext tried to append a
3070         child to a renderer regardless one isn't capable of holding any
3071         children if it appears in the shadow attaching phase. RenderImage
3072         is one of such renderer classes which aren't capable.
3073
3074         NodeRenderingContext decide whether the contextual node as a child
3075         can create its renderer based on RenderObject::canHaveChildren()
3076         and Node::childShouldCreateRenderer(). But the responsibility
3077         between these two methods are getting confused. which results this
3078         unfortuante crash path.
3079
3080         This change re-aligns the responsibility:
3081
3082         - Now canHaveChildren() purely declares the ability of the
3083           renderer. If the renderer is capable of having children, it
3084           return true regardless of HTML semantics.
3085
3086         - On the other hand, childShouldCreateRenderer() cares about the
3087           semantics. If the element doesn't allow children to be rendered,
3088           this returns false.
3089
3090         - Note that these decision on elements are contextual. Each element
3091           needs to know which role it is playing in the tree composition
3092           algorithm of Shadow DOM. That's why the method parameter is changed
3093           from Node* to NodeRenderingContext.
3094
3095         - Fixed updateFirstLetter() which relied on this confused assumption.
3096           This change introduces RenderDeprecatedFlexibleBox::buttonText()
3097           to refine the relying assumption.
3098
3099         With this change, some decision points are moved from a renderer to an
3100         element. Following renderers no longer stop reject having children:
3101
3102         - RenderButton, RenderListBox, RenderMenuList, RenderMeter,
3103           RenderProgress, RenderTextControl.
3104
3105         Corresponding element for such a render (HTMLProgressElement of
3106         RenderProgress for exaple) now cares about that.
3107
3108         Reviewed by Dimitri Glazkov.
3109
3110         Tests: fast/dom/shadow/shadow-on-image-expected.html
3111                fast/dom/shadow/shadow-on-image.html
3112
3113         * dom/Element.cpp:
3114         (WebCore::Element::childShouldCreateRenderer):
3115         * dom/Element.h:
3116         (Element):
3117         * dom/Node.h:
3118         (WebCore::Node::childShouldCreateRenderer):
3119         * dom/NodeRenderingContext.cpp:
3120         (WebCore::NodeRenderingContext::shouldCreateRenderer):
3121         * dom/NodeRenderingContext.h:
3122         (NodeRenderingContext):
3123         (WebCore::NodeRenderingContext::isOnEncapsulationBoundary):
3124         (WebCore):
3125         * html/HTMLDetailsElement.cpp:
3126         (WebCore::HTMLDetailsElement::childShouldCreateRenderer):
3127         * html/HTMLDetailsElement.h:
3128         (HTMLDetailsElement):
3129         * html/HTMLMediaElement.cpp:
3130         (WebCore):
3131         (WebCore::HTMLMediaElement::childShouldCreateRenderer):
3132         * html/HTMLMediaElement.h:
3133         (HTMLMediaElement):
3134         * html/HTMLMeterElement.cpp:
3135         (WebCore::HTMLMeterElement::childShouldCreateRenderer):
3136         (WebCore):
3137         * html/HTMLMeterElement.h:
3138         (HTMLMeterElement):
3139         * html/HTMLProgressElement.cpp:
3140         (WebCore::HTMLProgressElement::childShouldCreateRenderer):
3141         (WebCore):
3142         * html/HTMLProgressElement.h:
3143         (HTMLProgressElement):
3144         * html/HTMLSelectElement.cpp:
3145         (WebCore::HTMLSelectElement::childShouldCreateRenderer):
3146         (WebCore):
3147         * html/HTMLSelectElement.h:
3148         (HTMLSelectElement):
3149         * html/HTMLSummaryElement.cpp:
3150         (WebCore::HTMLSummaryElement::childShouldCreateRenderer):
3151         (WebCore):
3152         * html/HTMLSummaryElement.h:
3153         (HTMLSummaryElement):
3154         * html/HTMLTextFormControlElement.cpp:
3155         (WebCore::HTMLTextFormControlElement::childShouldCreateRenderer):
3156         (WebCore):
3157         * html/HTMLTextFormControlElement.h:
3158         (HTMLTextFormControlElement):
3159         * rendering/RenderBlock.cpp:
3160         (WebCore::RenderBlock::updateFirstLetter):
3161         * rendering/RenderButton.cpp:
3162         * rendering/RenderButton.h:
3163         (RenderButton):
3164         * rendering/RenderDeprecatedFlexibleBox.h:
3165         (WebCore::RenderDeprecatedFlexibleBox::buttonText):
3166         * rendering/RenderListBox.h:
3167         (RenderListBox):
3168         * rendering/RenderMedia.h:
3169         (WebCore::RenderMedia::canHaveChildren):
3170         * rendering/RenderMenuList.h:
3171         (RenderMenuList):
3172         (WebCore::RenderMenuList::hasControlClip):
3173         * rendering/RenderMeter.h:
3174         * rendering/RenderProgress.h:
3175         * rendering/RenderTextControl.h:
3176         * rendering/svg/RenderSVGRoot.h:
3177         (WebCore::RenderSVGRoot::canHaveChildren):
3178         * svg/SVGAElement.cpp:
3179         (WebCore::SVGAElement::childShouldCreateRenderer):
3180         * svg/SVGAElement.h:
3181         (SVGAElement):
3182         * svg/SVGAltGlyphElement.cpp:
3183         (WebCore::SVGAltGlyphElement::childShouldCreateRenderer):
3184         * svg/SVGAltGlyphElement.h:
3185         (SVGAltGlyphElement):
3186         * svg/SVGDocument.cpp:
3187         (WebCore::SVGDocument::childShouldCreateRenderer):
3188         * svg/SVGDocument.h:
3189         (SVGDocument):
3190         * svg/SVGElement.cpp:
3191         (WebCore::SVGElement::childShouldCreateRenderer):
3192         * svg/SVGElement.h:
3193         (SVGElement):
3194         * svg/SVGForeignObjectElement.cpp:
3195         (WebCore::SVGForeignObjectElement::childShouldCreateRenderer):
3196         * svg/SVGForeignObjectElement.h:
3197         (SVGForeignObjectElement):
3198         * svg/SVGSwitchElement.cpp:
3199         (WebCore::SVGSwitchElement::childShouldCreateRenderer):
3200         * svg/SVGSwitchElement.h:
3201         (SVGSwitchElement):
3202         * svg/SVGTRefElement.cpp:
3203         (WebCore::SVGTRefElement::childShouldCreateRenderer):
3204         * svg/SVGTRefElement.h:
3205         (SVGTRefElement):
3206         * svg/SVGTSpanElement.cpp:
3207         (WebCore::SVGTSpanElement::childShouldCreateRenderer):
3208         * svg/SVGTSpanElement.h:
3209         (SVGTSpanElement):
3210         * svg/SVGTextElement.cpp:
3211         (WebCore::SVGTextElement::childShouldCreateRenderer):
3212         * svg/SVGTextElement.h:
3213         (SVGTextElement):
3214         * svg/SVGTextPathElement.cpp:
3215         (WebCore::SVGTextPathElement::childShouldCreateRenderer):
3216         * svg/SVGTextPathElement.h:
3217
3218 2012-02-24  Kentaro Hara  <haraken@chromium.org>
3219
3220         Support [Supplemental] on static methods
3221         https://bugs.webkit.org/show_bug.cgi?id=79357
3222
3223         Reviewed by Adam Barth.
3224
3225         [Supplemental] on static methods does not work in CodeGeneratorJS.pm
3226         and CodeGeneratorV8.pm due to mis-ordered if-elsif statements.
3227         This patch fixes it and supports [Supplemental] on static methods.
3228
3229         Test: bindings/scripts/test/TestSupplemental.idl
3230
3231         * bindings/scripts/CodeGeneratorJS.pm: Modified as described above.
3232         (GenerateParametersCheck):
3233         * bindings/scripts/CodeGeneratorV8.pm: Ditto.
3234         (GenerateFunctionCallString):
3235
3236         * bindings/scripts/test/TestSupplemental.idl: Added a test case.
3237
3238         * bindings/scripts/test/CPP/WebDOMTestInterface.cpp: Updated run-bindings-tests results.
3239         (WebDOMTestInterface::supplementalMethod4):
3240         * bindings/scripts/test/CPP/WebDOMTestInterface.h: Ditto.
3241         * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp: Ditto.
3242         (webkit_dom_test_interface_supplemental_method4):
3243         * bindings/scripts/test/GObject/WebKitDOMTestInterface.h: Ditto.
3244         * bindings/scripts/test/JS/JSTestInterface.cpp: Ditto.
3245         (WebCore):
3246         (WebCore::JSTestInterfaceConstructor::getOwnPropertySlot):
3247         (WebCore::JSTestInterfaceConstructor::getOwnPropertyDescriptor):
3248         (WebCore::jsTestInterfaceConstructorFunctionSupplementalMethod4):
3249         * bindings/scripts/test/JS/JSTestInterface.h: Ditto.
3250         (WebCore):
3251         * bindings/scripts/test/ObjC/DOMTestInterface.h: Ditto.
3252         * bindings/scripts/test/ObjC/DOMTestInterface.mm: Ditto.
3253         (-[DOMTestInterface supplementalMethod4]):
3254         * bindings/scripts/test/V8/V8TestInterface.cpp: Ditto.
3255         (TestInterfaceInternal):
3256         (WebCore::TestInterfaceInternal::supplementalMethod4Callback):
3257         (WebCore::ConfigureV8TestInterfaceTemplate):
3258
3259 2012-02-24  Tony Chang  <tony@chromium.org>
3260
3261         Small refactor in RenderFlexibleBox::layoutAndPlaceChildren
3262         https://bugs.webkit.org/show_bug.cgi?id=79420
3263
3264         Reviewed by Ojan Vafai.
3265
3266         No new tests, just a refactor.
3267
3268         * rendering/RenderFlexibleBox.cpp:
3269         (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): Share some of the logic
3270         in computing the cross axis length.
3271
3272 2012-02-24  Yury Semikhatsky  <yurys@chromium.org>
3273
3274         Web Inspector: cannot drag timeline overview window when clicking inside the window
3275         https://bugs.webkit.org/show_bug.cgi?id=79453
3276
3277         Reviewed by Pavel Feldman.
3278
3279         * inspector/front-end/timelinePanel.css:
3280         (.timeline-overview-window-rulers):
3281
3282 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
3283
3284         Unreviewed, rolling out r108731.
3285         http://trac.webkit.org/changeset/108731
3286         https://bugs.webkit.org/show_bug.cgi?id=79464
3287
3288         Broke Chromium Win tests (Requested by bashi on #webkit).
3289
3290         * CMakeLists.txt:
3291         * GNUmakefile.list.am:
3292         * Target.pri:
3293         * WebCore.gyp/WebCore.gyp:
3294         * WebCore.gypi:
3295         * WebCore.vcproj/WebCore.vcproj:
3296         * WebCore.xcodeproj/project.pbxproj:
3297         * websockets/WebSocket.cpp:
3298         (WebCore::WebSocket::didConnect):
3299         * websockets/WebSocketChannel.cpp:
3300         (WebCore::WebSocketChannel::connect):
3301         (WebCore::WebSocketChannel::fail):
3302         (WebCore::WebSocketChannel::processFrame):
3303         (WebCore::WebSocketChannel::sendFrame):
3304         * websockets/WebSocketChannel.h:
3305         * websockets/WebSocketDeflateFramer.cpp: Removed.
3306         * websockets/WebSocketDeflateFramer.h: Removed.
3307
3308 2012-02-22  Vsevolod Vlasov  <vsevik@chromium.org>
3309
3310         Web Inspector: Show scripts panel navigator overlay on the first scripts panel opening.
3311         https://bugs.webkit.org/show_bug.cgi?id=79248
3312
3313         Reviewed by Pavel Feldman.
3314
3315         * inspector/front-end/ScriptsPanel.js:
3316         (WebInspector.ScriptsPanel.prototype.wasShown):
3317         (WebInspector.ScriptsPanel.prototype.set _showNavigatorOverlay):
3318         (WebInspector.ScriptsPanel.prototype._hideNavigatorOverlay):
3319
3320 2012-02-24  Mike Lawther  <mikelawther@chromium.org>
3321
3322         CSS3 calc(): handle non-negative values
3323         https://bugs.webkit.org/show_bug.cgi?id=79188
3324
3325         Reviewed by Daniel Bates.
3326
3327         Some CSS properties (e.g. padding) are required to be non-negative. These
3328         are now restricted to the correct range.
3329
3330         Tests: css3/calc/negative-padding-expected.html
3331                css3/calc/negative-padding.html
3332
3333         * css/CSSCalculationValue.cpp:
3334         (WebCore):
3335         (WebCore::CSSCalcValue::clampToPermittedRange): Added
3336         (WebCore::CSSCalcValue::doubleValue):
3337         (WebCore::CSSCalcValue::isNegative): Added
3338         (WebCore::CSSCalcValue::computeLengthPx):
3339         (WebCore::CSSCalcValue::create):
3340         * css/CSSCalculationValue.h:
3341         (CSSCalcValue):
3342         (WebCore::CSSCalcValue::CSSCalcValue):
3343         * css/CSSParser.cpp:
3344         (WebCore::CSSParser::validCalculationUnit):
3345         (WebCore::CSSParser::parseCalculation):
3346         * css/CSSParser.h:
3347         * platform/CalculationValue.h:
3348
3349 2012-02-22  Vsevolod Vlasov  <vsevik@chromium.org>
3350
3351         Web Inspector: [Regression] xhr tests are crashing after r108506.
3352         https://bugs.webkit.org/show_bug.cgi?id=79265
3353
3354         Reviewed by Pavel Feldman.
3355
3356         * inspector/InspectorResourceAgent.cpp:
3357         (WebCore::InspectorResourceAgent::setInitialScriptContent):
3358         (WebCore::InspectorResourceAgent::setInitialXHRContent):
3359
3360 2012-02-24  Huang Dongsung  <luxtella@company100.net>
3361
3362         Rename LocalStorageThread to StorageThread and LocalStorageTask to StorageTask.
3363         https://bugs.webkit.org/show_bug.cgi?id=79358
3364
3365         Revision 45124 commented FIXME to rename these classes.
3366
3367         Reviewed by Kentaro Hara.
3368
3369         * CMakeLists.txt:
3370         * GNUmakefile.list.am:
3371         * Target.pri:
3372         * WebCore.gypi:
3373         * WebCore.order:
3374         * WebCore.vcproj/WebCore.vcproj:
3375         * WebCore.xcodeproj/project.pbxproj:
3376         * storage/LocalStorageTask.h: Removed.
3377         * storage/StorageSyncManager.cpp:
3378         (WebCore::StorageSyncManager::StorageSyncManager):
3379         (WebCore::StorageSyncManager::scheduleImport):
3380         (WebCore::StorageSyncManager::scheduleSync):
3381         (WebCore::StorageSyncManager::scheduleDeleteEmptyDatabase):
3382         * storage/StorageSyncManager.h:
3383         (WebCore):
3384         (StorageSyncManager):
3385         * storage/StorageTask.cpp: Renamed from Source/WebCore/storage/LocalStorageTask.cpp.
3386         (WebCore):
3387         (WebCore::StorageTask::StorageTask):
3388         (WebCore::StorageTask::~StorageTask):
3389         (WebCore::StorageTask::performTask):
3390         * storage/StorageTask.h: Added.
3391         (WebCore):
3392         (StorageTask):
3393         (WebCore::StorageTask::createImport):
3394         (WebCore::StorageTask::createSync):
3395         (WebCore::StorageTask::createDeleteEmptyDatabase):
3396         (WebCore::StorageTask::createOriginIdentifiersImport):
3397         (WebCore::StorageTask::createSetOriginDetails):
3398         (WebCore::StorageTask::createDeleteOrigin):
3399         (WebCore::StorageTask::createDeleteAllOrigins):
3400         (WebCore::StorageTask::createTerminate):
3401         * storage/StorageThread.cpp: Renamed from Source/WebCore/storage/LocalStorageThread.cpp.
3402         (WebCore):
3403         (WebCore::StorageThread::create):
3404         (WebCore::StorageThread::StorageThread):
3405         (WebCore::StorageThread::~StorageThread):
3406         (WebCore::StorageThread::start):
3407         (WebCore::StorageThread::threadEntryPointCallback):
3408         (WebCore::StorageThread::threadEntryPoint):
3409         (WebCore::StorageThread::scheduleTask):
3410         (WebCore::StorageThread::terminate):
3411         (WebCore::StorageThread::performTerminate):
3412         * storage/StorageThread.h: Renamed from Source/WebCore/storage/LocalStorageThread.h.
3413         (WebCore):
3414         (StorageThread):
3415         * storage/StorageTracker.cpp:
3416         (WebCore::StorageTracker::StorageTracker):
3417         (WebCore::StorageTracker::importOriginIdentifiers):
3418         (WebCore::StorageTracker::setOriginDetails):
3419         (WebCore::StorageTracker::scheduleTask):
3420         (WebCore::StorageTracker::deleteAllOrigins):
3421         (WebCore::StorageTracker::deleteOrigin):
3422         * storage/StorageTracker.h:
3423         (WebCore):
3424         (StorageTracker):
3425         * storage/wince/StorageThreadWinCE.cpp: Renamed from Source/WebCore/storage/wince/LocalStorageThreadWinCE.cpp.
3426         (WebCore):
3427         (WebCore::StorageThread::StorageThread):
3428         (WebCore::StorageThread::~StorageThread):
3429         (WebCore::StorageThread::start):
3430         (WebCore::StorageThread::timerFired):
3431         (WebCore::StorageThread::scheduleImport):
3432         (WebCore::StorageThread::scheduleSync):
3433         (WebCore::StorageThread::terminate):
3434         (WebCore::StorageThread::performTerminate):
3435         * storage/wince/StorageThreadWinCE.h: Renamed from Source/WebCore/storage/wince/LocalStorageThreadWinCE.h.
3436         (WebCore):
3437         (StorageThread):
3438         (WebCore::StorageThread::create):
3439
3440 2012-02-23  Pavel Feldman  <pfeldman@chromium.org>
3441
3442         Web Inspector: prepare border images on timelines to enable zooming.
3443         https://bugs.webkit.org/show_bug.cgi?id=79360
3444
3445         Reviewed by Yury Semikhatsky.
3446
3447         * inspector/front-end/Images/timelineBarBlue.png:
3448         * inspector/front-end/Images/timelineBarGray.png:
3449         * inspector/front-end/Images/timelineBarGreen.png:
3450         * inspector/front-end/Images/timelineBarOrange.png:
3451         * inspector/front-end/Images/timelineBarPurple.png:
3452         * inspector/front-end/Images/timelineBarRed.png:
3453         * inspector/front-end/Images/timelineBarYellow.png:
3454         * inspector/front-end/Images/timelineHollowPillBlue.png:
3455         * inspector/front-end/Images/timelineHollowPillGray.png:
3456         * inspector/front-end/Images/timelineHollowPillGreen.png:
3457         * inspector/front-end/Images/timelineHollowPillOrange.png:
3458         * inspector/front-end/Images/timelineHollowPillPurple.png:
3459         * inspector/front-end/Images/timelineHollowPillRed.png:
3460         * inspector/front-end/Images/timelineHollowPillYellow.png:
3461         * inspector/front-end/Images/timelinePillBlue.png:
3462         * inspector/front-end/Images/timelinePillGray.png:
3463         * inspector/front-end/Images/timelinePillGreen.png:
3464         * inspector/front-end/Images/timelinePillOrange.png:
3465         * inspector/front-end/Images/timelinePillPurple.png:
3466         * inspector/front-end/Images/timelinePillRed.png:
3467         * inspector/front-end/Images/timelinePillYellow.png:
3468         * inspector/front-end/inspectorCommon.css:
3469         (body):
3470         * inspector/front-end/networkLogView.css:
3471         (.network-graph-bar):
3472         (.resource-cached .network-graph-bar):
3473         (.network-category-documents .network-graph-bar):
3474         (.network-category-documents.resource-cached .network-graph-bar):
3475         (.network-category-stylesheets .network-graph-bar):
3476         (.network-category-stylesheets.resource-cached .network-graph-bar):
3477         (.network-category-images.resource-cached .network-graph-bar):
3478         (.network-category-fonts .network-graph-bar):
3479         (.network-category-fonts.resource-cached .network-graph-bar):
3480         (.network-category-scripts .network-graph-bar):
3481         (.network-category-scripts.resource-cached .network-graph-bar):
3482         (.network-category-xhr .network-graph-bar):
3483         (.network-category-xhr.resource-cached .network-graph-bar):
3484         (.network-category-websockets .network-graph-bar):
3485         (.network-category-websockets.resource-cached .network-graph-bar):
3486
3487 2012-02-23  Yury Semikhatsky  <yurys@chromium.org>
3488
3489         Web Inspector: exception in front-end on selecting an element in heap snapshot
3490         https://bugs.webkit.org/show_bug.cgi?id=79447
3491
3492         Fixed a typo in method name and added a check that selected node has
3493         corresponding heap snapshot object before adding that object to the console
3494         as $0 entry.
3495
3496         Reviewed by Pavel Feldman.
3497
3498         * inspector/front-end/DetailedHeapshotView.js:
3499         (WebInspector.DetailedHeapshotView.prototype._inspectedObjectChanged):
3500
3501 2012-02-23  Pavel Feldman  <pfeldman@chromium.org>
3502
3503         Web Inspector: hide color picker upon panel switch.
3504         https://bugs.webkit.org/show_bug.cgi?id=79355
3505
3506         Reviewed by Vsevolod Vlasov.
3507
3508         * inspector/front-end/ElementsPanel.js:
3509         (WebInspector.ElementsPanel.prototype.willHide):
3510         * inspector/front-end/StylesSidebarPane.js:
3511         (WebInspector.StylesSidebarPane.prototype._showUserAgentStylesSettingChanged):
3512         (WebInspector.StylesSidebarPane.prototype.willHide):
3513
3514 2012-02-23  Pavel Feldman  <pfeldman@chromium.org>
3515
3516         Web Inspector: make color review larger in the color picker.