Timeline
Jul 29, 2012:
- 11:25 PM Changeset in webkit [123999] by
-
- 11 edits in trunk/Source/WebCore
[WK2][EFL] Accelerated compositing support using TextureMapper on Efl WebKit2
https://bugs.webkit.org/show_bug.cgi?id=91583
Patch by YoungTaeck Song <youngtaeck.song@samsung.com> on 2012-07-29
Reviewed by Noam Rosenthal.
This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
This patch adds Texture Mapper related files to PlatformEfl.cmake.
And wrapped TextureMapperLayer and TextureMapperBackingStore with USE(ACCELERATED_COMPOSITING) for fixing building error when disable ACCELERATED_COMPOSITING.
- CMakeLists.txt:
- PlatformEfl.cmake:
- platform/graphics/GraphicsLayer.cpp:
(WebCore):
- platform/graphics/GraphicsLayer.h:
(GraphicsLayer):
- platform/graphics/GraphicsLayerAnimation.cpp:
- platform/graphics/GraphicsLayerAnimation.h:
- platform/graphics/PlatformLayer.h:
(WebCore):
- platform/graphics/texmap/TextureMapperBackingStore.cpp:
- platform/graphics/texmap/TextureMapperBackingStore.h:
- platform/graphics/texmap/TextureMapperLayer.h:
- 11:09 PM Changeset in webkit [123998] by
-
- 10 edits in trunk/Source
[WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2
https://bugs.webkit.org/show_bug.cgi?id=91582
Patch by YoungTaeck Song <youngtaeck.song@samsung.com> on 2012-07-29
Reviewed by Noam Rosenthal.
Source/WebCore:
This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
This patch adds TILED_BACKING_STORE related files to CMakeLists.txt and PlatformEfl.cmake
- CMakeLists.txt:
- PlatformEfl.cmake:
Source/WebKit/efl:
Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.
- WebCoreSupport/ChromeClientEfl.cpp:
(WebCore):
(WebCore::ChromeClientEfl::delegatedScrollRequested):
- WebCoreSupport/ChromeClientEfl.h:
(ChromeClientEfl):
Source/WebKit2:
This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.
- UIProcess/API/efl/PageClientImpl.cpp:
(WebKit):
(WebKit::PageClientImpl::pageDidRequestScroll):
- UIProcess/API/efl/PageClientImpl.h:
(PageClientImpl):
- WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::contentsSizeChanged):
- 10:49 PM Changeset in webkit [123997] by
-
- 3 edits in trunk/Source/WebCore
Fix removing invalid values from color input suggestions
https://bugs.webkit.org/show_bug.cgi?id=92502
Reviewed by Kent Tamura.
Make ColorInputType::typeMismatchFor() return false for invalid color
values so that they don't appear in the list of suggestions that
ColorInputType::suggestions() returns.
No new tests. Tests to be added in Bug 92075.
- html/ColorInputType.cpp:
(WebCore::ColorInputType::typeMismatchFor):
(WebCore):
- html/ColorInputType.h:
(ColorInputType):
- 10:28 PM Changeset in webkit [123996] by
-
- 5 edits2 adds in trunk
getChannelData should raise exception when index is more than numberOfChannels.
https://bugs.webkit.org/show_bug.cgi?id=92223
Patch by Li Yin <li.yin@intel.com> on 2012-07-29
Reviewed by Kentaro Hara.
Source/WebCore:
Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBuffer-section
In getChannelData function, the index value MUST be less than numberOfChannels
or an exception will be thrown.
Test: webaudio/audiobuffer.html
- Modules/webaudio/AudioBuffer.cpp:
(WebCore::AudioBuffer::getChannelData):
(WebCore):
- Modules/webaudio/AudioBuffer.h:
(WebCore):
(AudioBuffer):
- Modules/webaudio/AudioBuffer.idl: raise exception when index is not less than numberOfChannels.
LayoutTests:
Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioBuffer-section
Add test to cover basic attributes of AudioBuffer.
- webaudio/audiobuffer-expected.txt: Added.
- webaudio/audiobuffer.html: Added.
- 10:22 PM Changeset in webkit [123995] by
-
- 3 edits2 adds in trunk
forward-delete in the last cell of a table moves the caret after the table
https://bugs.webkit.org/show_bug.cgi?id=24250
Patch by Sukolsak Sakshuwong <sukolsak@google.com> on 2012-07-29
Reviewed by Ryosuke Niwa.
Source/WebCore:
The ForwardDelete command moved the cursor after the table when it's invoked
in an empty cell that is the last cell of a table. It also removed the break
element when invoked in an empty cell that is not the last cell of a table.
Make it do nothing inside an empty table cell.
Test: editing/deleting/forward-delete-empty-table-cell.html
- editing/TypingCommand.cpp:
(WebCore::TypingCommand::forwardDeleteKeyPressed):
LayoutTests:
- editing/deleting/forward-delete-empty-table-cell-expected.txt: Added.
- editing/deleting/forward-delete-empty-table-cell.html: Added.
- 10:17 PM Changeset in webkit [123994] by
-
- 3 edits in trunk/LayoutTests
REGRESSION(r123993): fast/forms/date/calendar-picker-type-change-onclick.html fails
- fast/forms/date/calendar-picker-appearance-expected.txt:
- fast/forms/date/calendar-picker-appearance.html:
Clear webkitTransitionEnd event handler before notifyDone().
- 9:19 PM Changeset in webkit [123993] by
-
- 2 edits in trunk/LayoutTests
Fix opacity issue of fast/forms/date/calendar-picker-appearance.html
https://bugs.webkit.org/show_bug.cgi?id=92605
Reviewed by Hajime Morita.
We need to wait for pixel dumping until CSS transition completion for
the 'main' element, which has transition from opacity:0 to opacity:1.
- fast/forms/date/calendar-picker-appearance.html:
- 6:58 PM Changeset in webkit [123992] by
-
- 2 edits in trunk/Source/WebCore
Remove unused method HTMLConstructionSiteTask::take(HTMLConstructionSiteTask&)
https://bugs.webkit.org/show_bug.cgi?id=92601
Patch by Kwang Yul Seo <skyul@company100.net> on 2012-07-29
Reviewed by Adam Barth.
This method was introduced in r104000, but has never been used from the beginning.
No functional change.
- html/parser/HTMLConstructionSite.h:
- 6:46 PM Changeset in webkit [123991] by
-
- 5 edits in trunk/Source/WebCore
[Chromium] HarfBuzzShaper can't handle segmented text run
https://bugs.webkit.org/show_bug.cgi?id=92445
Reviewed by Tony Chang.
Pass the range to be displayed to HarfBuzzShaper. The shaper calculates positions and advances of each glyph
regardless of the range, but only add glyphs which are in the range.
No new tests. platform/chromium-linux/fast/text/international/draw-complex-text-from-to.html should
work as expected once we move to use harfbuzz-ng on linux. Note that the current expectation will need to be rebaselined
because the old hb shaper (ComplexTextController) mishandles the range. |to| should be exclusive. I'll rebaseline
the expectation later.
- platform/graphics/harfbuzz/FontHarfBuzz.cpp:
(WebCore::Font::drawComplexText): Call shaper.setDrawRange().
- platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::HarfBuzzShaper):
(WebCore::HarfBuzzShaper::setDrawRange): Added.
(WebCore):
(WebCore::HarfBuzzShaper::shouldDrawCharacterAt): Added.
(WebCore::HarfBuzzShaper::shapeHarfBuzzRuns): Added variables that hold pending advances.
(WebCore::HarfBuzzShaper::setGlyphPositionsForHarfBuzzRun): Add only glyphs which are in the given range to glyphBuffer.
- platform/graphics/harfbuzz/ng/HarfBuzzShaper.h:
(HarfBuzzShaper):
- platform/graphics/mac/FontComplexTextMac.cpp:
(WebCore::Font::drawComplexText): Call shaper.setDrawRange().
- 6:17 PM UsingGitHub edited by
- (diff)
- 6:13 PM FeatureFlags edited by
- Add CSS_COMPOSITING (diff)
- 5:44 PM Changeset in webkit [123990] by
-
- 5 edits2 adds in trunk
Hit testing in the gap between pages returns incorrect results in flipped blocks writing modes
https://bugs.webkit.org/show_bug.cgi?id=92600
Reviewed by Simon Fraser.
Source/WebCore:
Test: fast/multicol/hit-test-gap-between-pages-flipped.html
- rendering/RenderBlock.h:
(WebCore::RenderBlock): Promoted offsetForContents() from private to protected, and demoted
adjustPointToColumnContents() back to private.
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::hitTest): Changed to flip the point passed to updateHitTestResults().
- rendering/RenderView.cpp:
(WebCore::RenderView::updateHitTestResult): Changed to call offsetForContents(), which, as
of r123977, correctly accounts for flippedness.
LayoutTests:
- fast/multicol/hit-test-gap-between-pages-flipped-expected.txt: Added.
- fast/multicol/hit-test-gap-between-pages-flipped.html: Added.
- 4:15 PM Changeset in webkit [123989] by
-
- 2 edits in trunk/Source/JavaScriptCore
PropertyNameArray::m_shouldCache is only assigned and never used
https://bugs.webkit.org/show_bug.cgi?id=92598
Reviewed by Dan Bernstein.
- runtime/PropertyNameArray.h:
(JSC::PropertyNameArray::PropertyNameArray):
(PropertyNameArray):
- 3:55 PM Changeset in webkit [123988] by
-
- 9 edits in trunk
In flipped blocks, a point on the top edge of a text box is considered outside the box (and vice versa)
https://bugs.webkit.org/show_bug.cgi?id=92597
Reviewed by Ryosuke Niwa.
Source/WebCore:
This is similar to <http://webkit.org/b/92593> except for RenderText. Fixing this required
fixing some code that creates a point inside a box by setting its y coordinate to the
logical top of the box. In a flipped block, this would be just outside the box.
Enhanced fast/writing-mode/flipped-blocks-hit-test-line-edges.html to cover this.
- editing/visible_units.cpp:
(WebCore::absoluteLineDirectionPointToLocalPointInBlock): Changed to use
RootInlineBox::blockDirectionPointInLine in the vertical case as well.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::positionForPointWithInlineChildren): Changed to use
RootInlineBox::blockDirectionPointInLine.
- rendering/RenderText.cpp:
(WebCore::RenderText::positionForPoint): Changed the strictness of y inequalities based on
the flippedness of the block. This fixes the bug.
- rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::blockDirectionPointInLine): Moved the implementation here from the
header, and made it return the bottom in the flipped block case, so that the returned point
is inside the line in that case as well.
- rendering/RootInlineBox.h:
LayoutTests:
Added hits inside the text to this test.
- fast/writing-mode/flipped-blocks-hit-test-line-edges-expected.txt:
- fast/writing-mode/flipped-blocks-hit-test-line-edges.html:
- 3:36 PM Changeset in webkit [123987] by
-
- 2 edits in trunk/Source/WebKit/chromium
[chromium] pass acceleratePainting info to settings
https://bugs.webkit.org/show_bug.cgi?id=92467
Patch by Lu Guanqun <guanqun.lu@intel.com> on 2012-07-29
Reviewed by Eric Seidel.
The acceleratePainting info is not passed into settings correctly so
that GPU composition would not use the code path of accelerated painting.
- src/WebLayerTreeView.cpp:
(WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
- 3:26 PM Changeset in webkit [123986] by
-
- 2 edits in trunk/Tools
[EFL][jhbuild] Make run-with-jhbuild become the jhbuild process itself.
https://bugs.webkit.org/show_bug.cgi?id=92592
Reviewed by Eric Seidel.
Adapt to the changes made to GTK+'s run-with-jhbuild in r123979
and make EFL's run-with-jhbuild call os.execve() instead of
launching a subprocess as well.
This should make it possible to interrupt execution of jhbuild
cleanly.
- efl/run-with-jhbuild:
- 3:03 PM Changeset in webkit [123985] by
-
- 4 edits1 add in trunk
run-perf-tests should generate a results page
https://bugs.webkit.org/show_bug.cgi?id=92575
Reviewed by Eric Seidel.
PerformanceTests:
Add a results page template. This page includes flot and flot.fillbetween.
jQuery and the json that contains test results are injected by run-perf-tests.
- resources/results-template.html: Added.
Tools:
Added the ability to generate a results page that summarizes performance test results from
multiple runs of run-perf-tests when --output-json-path is specified and --test-results-server
is not specified. We cannot generate a results page when --test-results-server is specified
because perf-o-matic cannot parse the new JSON format.
The new JSON format is simply an array of the old JSON output. This JSON is then merged into
results-template.html along with jQuery and copied as a HTML file of the same filename as
the output JSON file with a .html extension.
We merge all scripts and the JSON output into the results page as opposed to including them
with the src content attribute to make it standalone so that we may post it on Bugzilla or
e-mail it to someone else without breaking it.
- Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner.run):
(PerfTestsRunner._generate_json): Merge "contents" with the existing JSON file when generating
a results page, and generate the results page from results-template.html merged with jQuery and
the generated JSON output.
- Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
(_test_run_with_json_output): Extracted from test_run_with_upload_json to be shared with
several test cases.
(_test_run_with_json_output.mock_upload_json): Ditto.
(test_run_with_json_output): Refactored to use _test_run_with_json_output.
(test_run_generates_results_page): Added. Tests the new feature.
(test_run_with_json_source): Refactored to use _test_run_with_json_output.
(test_run_with_multiple_repositories): Ditto.
(test_run_with_upload_json): Ditto.
- 2:59 PM Changeset in webkit [123984] by
-
- 18 edits in trunk
.: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553
Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.
Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
- Source/cmake/WebKitFeatures.cmake:
- Source/cmakeconfig.h.cmake:
- configure.ac:
Source/JavaScriptCore: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553
Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.
Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
- Configurations/FeatureDefines.xcconfig:
Source/WebCore: ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553
Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.
Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
- GNUmakefile.am:
- Configurations/FeatureDefines.xcconfig:
Source/WebKit/chromium: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553
Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.
Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
- features.gypi:
Source/WebKit/mac: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553
Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.
Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
- Configurations/FeatureDefines.xcconfig:
Tools: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553
Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.
Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
- Scripts/webkitperl/FeatureList.pm:
WebKitLibraries: Add ENABLE_CSS_COMPOSITING flag
https://bugs.webkit.org/show_bug.cgi?id=92553
Patch by Rik Cabanier <cabanier@adobe.com> on 2012-07-29
Reviewed by Dirk Schulze.
Adds compiler flag CSS_COMPOSITING to build systems to enable CSS blending and compositing. See spec https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
- win/tools/vsprops/FeatureDefines.vsprops:
- win/tools/vsprops/FeatureDefinesCairo.vsprops:
- 2:46 PM Changeset in webkit [123983] by
-
- 3 edits in trunk/Source/WebKit2
[CMake] Use WEBKIT_CREATE_FORWARDING_HEADERS to generate WK2 forwarding headers
https://bugs.webkit.org/show_bug.cgi?id=83579
Reviewed by Daniel Bates.
Using a list of directories in combination with the WEBKIT_CREATE_FORWARDING_HEADERS
macro allows us to share the common generation of forwarding headers across ports.
- CMakeLists.txt:
- PlatformEfl.cmake:
- 2:02 PM Changeset in webkit [123982] by
-
- 2 edits in trunk/Source/WTF
[WIN] Add missing export macro to friend decleration.
Since the declspec is part of the function signature
on windows, we need it at all friend declerations too.
- wtf/MediaTime.h:
- 2:02 PM Changeset in webkit [123981] by
-
- 2 edits in trunk/Source/WTF
[CMake] Add missing MediaTime files after r123878.
- wtf/CMakeLists.txt:
- 10:27 AM Changeset in webkit [123980] by
-
- 3 edits4 adds in trunk
In flipped blocks, a point on the top edge of a box is considered outside the box (and vice versa)
https://bugs.webkit.org/show_bug.cgi?id=92593
Reviewed by Simon Fraser.
Source/WebCore:
With respect to hit testing, boxes should always behave as half-open intervals which include
the physical top and left edges and not the bottom and right edges.
RenderBlock::positionForPoint was not adhering to this, since it was comparing flipped
coordinates.
Tests: fast/writing-mode/flipped-blocks-hit-test-box-edges.html
fast/writing-mode/flipped-blocks-hit-test-line-edges.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::positionForPointWithInlineChildren): When blocks are flipped, changed
strict inequalities of y coordinates into non-strict ones and non-strict inequalities into
strict ones.
(WebCore::RenderBlock::positionForPoint): Ditto, except for the test for being under the top
of the last candidate box, which was made non-strict in the unflipped case and remained
strict.
LayoutTests:
- fast/writing-mode/flipped-blocks-hit-test-box-edges-expected.txt: Added.
- fast/writing-mode/flipped-blocks-hit-test-box-edges.html: Added.
- fast/writing-mode/flipped-blocks-hit-test-line-edges-expected.txt: Added.
- fast/writing-mode/flipped-blocks-hit-test-line-edges.html: Added.
- 7:49 AM Changeset in webkit [123979] by
-
- 3 edits in trunk/Tools
Reviewed by Martin Robinson.
Make the jhbuild wrapper scripts become the jhbuild process
instead of starting it as a child. This should make it possible to
interrupt execution of jhbuild cleanly.
- gtk/run-with-jhbuild:
- jhbuild/jhbuild-wrapper:
- 4:26 AM WebKitGTK/WebKit2Roadmap edited by
- (diff)
- 3:17 AM BuildingGtk edited by
- (diff)
- 2:49 AM Changeset in webkit [123978] by
-
- 8 edits1 add in trunk
Extend
application/x-webkit-test-netscapeplugins to better support multiple frames.
https://bugs.webkit.org/show_bug.cgi?id=92478
Patch by Mike West <mkwst@chromium.org> on 2012-07-29
Reviewed by Adam Barth.
Tools:
DumpRenderTree currently understands
<object src="data:application/x-webkit-test-netscape,alertwhenloaded">.
It would be useful if it understoodlogifloaded, which could give
more context regarding test expectations, and can be written in such
as way as to support plugins loaded into multiple iframes in a single
test.
- DumpRenderTree/TestNetscapePlugIn/main.cpp:
(NPP_New):
Adding support for
logifloaded.
LayoutTests:
- http/tests/plugins/resources/mock-plugin-logger.js:
Exciting JS "framework" for use when logging via
logifloaded.
- http/tests/security/contentSecurityPolicy/object-src-none-allowed.html:
- http/tests/security/contentSecurityPolicy/object-src-none-allowed-expected.html:
- http/tests/security/contentSecurityPolicy/object-src-none-blocked.html:
- http/tests/security/contentSecurityPolicy/object-src-none-blocked-expected.html:
Adjusting these tests to use the newly created
logifloadedplugin mock.
- http/tests/security/contentSecurityPolicy/resources/echo-object-data.pl:
Loading
mock-plugin-logger.js, and adding alogattribute forlogifloaded.
Jul 28, 2012:
- 9:59 PM Changeset in webkit [123977] by
-
- 3 edits4 adds in trunk
Source/WebCore: RenderBlock::offsetForContents() is wrong in flipped blocks writing modes
https://bugs.webkit.org/show_bug.cgi?id=92588
Reviewed by Sam Weinig.
Tests: fast/multicol/hit-test-block-axis-flipped.html
fast/writing-mode/flipped-blocks-hit-test-overflow-scroll.html
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::offsetForContents): Flip the point, which puts it back in unflipped
coordinates, before adding the scroll offset and adjusting for columns, then flip it back.
(WebCore::RenderBlock::adjustPointToColumnContents): Changed the inline-axis cases to
work with an unflipped point.
LayoutTests: Hit test results are wrong in flipped blocks writing modes with block column axis
https://bugs.webkit.org/show_bug.cgi?id=92588
Reviewed by Sam Weinig.
- fast/multicol/hit-test-block-axis-flipped-expected.txt: Added.
- fast/multicol/hit-test-block-axis-flipped.html: Added.
- 8:38 PM Changeset in webkit [123976] by
-
- 2 edits in trunk/Source/WebKit2
Stop copying unnecessary files in WebKit2 build
https://bugs.webkit.org/show_bug.cgi?id=92587
Reviewed by Dan Bernstein.
- WebKit2.xcodeproj/project.pbxproj:
We were accidentally copying ColorSpaceData.h and EventDispatcher.messages.in into the
build products. Stop this.
- 6:35 PM Changeset in webkit [123975] by
-
- 2 edits14 adds in trunk/LayoutTests
[Chromium] New baselines and test expectations update.
https://bugs.webkit.org/show_bug.cgi?id=72039
https://bugs.webkit.org/show_bug.cgi?id=92569
https://bugs.webkit.org/show_bug.cgi?id=92583
Unreviewed, test expectations update.
- platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt: Added.
- platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
- platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
- platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt: Added.
- platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
- platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
- platform/chromium-mac-snowleopard/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
- platform/chromium-mac/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
- platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt: Added.
- platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
- platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
- platform/chromium-win/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt: Added.
- platform/chromium-win/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
- platform/chromium-win/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
- platform/chromium/TestExpectations:
- 4:28 PM Changeset in webkit [123974] by
-
- 3 edits in trunk/Source/WebKit2
[WK2][EFL] Add ewk_view_scale_{get|set} to EwkView.
https://bugs.webkit.org/show_bug.cgi?id=92446
Reviewed by Kenneth Rohde Christiansen.
Add methods to Ewk_View to get or set the scale factor of page.
- UIProcess/API/efl/ewk_view.cpp:
(ewk_view_scale_set):
(ewk_view_scale_get):
- UIProcess/API/efl/ewk_view.h:
- 2:40 PM Changeset in webkit [123973] by
-
- 5 edits in trunk
In flipped lines writing modes, hit testing at the beginning of a column may return a result from the previous column
https://bugs.webkit.org/show_bug.cgi?id=92566
Reviewed by Simon Fraser.
Source/WebCore:
Enhanced the fix for <http://webkit.org/b/92524> to work with flipped lines.
Extended fast/multicol/hit-test-end-of-column-with-line-height.html.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::positionForPointWithInlineChildren): For flipped lines, check if the
hit line is the last one before a page break, and in that case, check if the hit point was
after the break.
LayoutTests:
- fast/multicol/hit-test-end-of-column-with-line-height-expected.txt: Updated.
- fast/multicol/hit-test-end-of-column-with-line-height.html: Extended with tests for
horizontal-bt.
- 2:32 PM Changeset in webkit [123972] by
-
- 3 edits4 adds in trunk
Size changes on a layer with negative z-index children don't repaint correctly
https://bugs.webkit.org/show_bug.cgi?id=92583
Reviewed by Dean Jackson.
Source/WebCore:
Negative z-index descendants cause a composited layer to have a separate
layer for foreground content. If something caused that foreground layer
to change size (like toggling visibility on a descendant), we failed to
repaint the foreground layer, resulting in stretched content.
Test: compositing/geometry/bounds-ignores-hidden-dynamic-negzindex.html
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): Repaint the foreground
layer if its size changes, like we do for the main layer.
LayoutTests:
Test that causes a composited layer with a foreground layer (by virtue of having
negative z-index children) to resize.
Add missing pixel result for bounds-ignores-hidden-dynamic.html too.
- compositing/geometry/bounds-ignores-hidden-dynamic-expected.png: Added.
- compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
- compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: Added.
- compositing/geometry/bounds-ignores-hidden-dynamic-negzindex.html: Added.
- 12:44 PM Changeset in webkit [123971] by
-
- 5 edits6 adds in trunk
Ignore visibility:hidden elements when computing compositing layer bounds
https://bugs.webkit.org/show_bug.cgi?id=92569
Reviewed by Dan Bernstein.
Source/WebCore:
When computing the bounds of compositing layers, we would take into account
layers with no visible content (visibility:hidden, and no non-hidden descendants).
This caused some huge layers in mobile Google maps.
Tests: compositing/geometry/bounds-ignores-hidden-composited-descendant.html
compositing/geometry/bounds-ignores-hidden-dynamic.html
compositing/geometry/bounds-ignores-hidden.html
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::calculateLayerBounds): If the ExcludeHiddenDescendants flag is set, return
the empty rect for layers with no visible content or descendants, as long as the layer is not
the root of the subtree whose bounds are being computed.
calculateLayerBounds() currently (I think incorrectly) passes the default flags to the recursive calls.
It should probably just pass 'flags', but to make this change safe, OR in the ExcludeHiddenDescendants
flag.
- rendering/RenderLayer.h: Add an ExcludeHiddenDescendants flag to the CalculateLayerBoundsFlags.
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::calculateCompositedBounds): Pass the ExcludeHiddenDescendants
flag.
LayoutTests:
Tests related to visibility:hidden's affect on composited layer bounds.
- compositing/geometry/bounds-ignores-hidden-composited-expected.txt: Added.
- compositing/geometry/bounds-ignores-hidden-composited-descendant.html: Added.
Test with visibility:visible descendants of a visibility:hidden element in a
compositing layer.
- compositing/geometry/bounds-ignores-hidden-dynamic-expected.txt: Added.
- compositing/geometry/bounds-ignores-hidden-dynamic.html: Added.
Test that changes visibility on descendants of a compositing layer, to test dynamic changes.
- compositing/geometry/bounds-ignores-hidden-expected.txt: Added.
- compositing/geometry/bounds-ignores-hidden.html: Added.
Test with a compositing layer having visibility:hidden descendants, which dumps
layer tree information.
- 12:35 PM Changeset in webkit [123970] by
-
- 2 edits in trunk/LayoutTests
[Chromium] Widen expectation for crashing test.
http://crbug.com/139493
Unreviewed, test expectations update.
- platform/chromium/TestExpectations:
- 12:23 PM Changeset in webkit [123969] by
-
- 17 edits2 adds in trunk/Source/WebCore
Add an overlay play button to media controls on android
https://bugs.webkit.org/show_bug.cgi?id=92132
Patch by Min Qin <qinmin@chromium.org> on 2012-07-28
Reviewed by Adam Barth.
This change adds an overlay play button to the media controls for android.
No tests for now as this setting is not being used by other port.
Will add a test and adjust all the test expectations when we upstream the layout tests for android.
- WebCore.gypi:
- css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
- css/CSSValueKeywords.in:
- css/mediaControls.css:
(audio::-webkit-media-controls-overlay-play-button, video::-webkit-media-controls-overlay-play-button):
- css/mediaControlsChromiumAndroid.css:
(audio::-webkit-media-controls-overlay-enclosure):
(video::-webkit-media-controls-overlay-enclosure):
(audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
(video::-webkit-media-controls-overlay-play-button):
- html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlOverlayPlayButtonElement::MediaControlOverlayPlayButtonElement):
(WebCore):
(WebCore::MediaControlOverlayPlayButtonElement::create):
(WebCore::MediaControlOverlayPlayButtonElement::defaultEventHandler):
(WebCore::MediaControlOverlayPlayButtonElement::updateDisplayType):
(WebCore::MediaControlOverlayPlayButtonElement::shadowPseudoId):
- html/shadow/MediaControlElements.h:
(MediaControlOverlayPlayButtonElement):
(WebCore):
- html/shadow/MediaControlRootElementChromium.cpp:
(WebCore::MediaControlPanelEnclosureElement::MediaControlPanelEnclosureElement):
(WebCore::MediaControlPanelEnclosureElement::create):
(WebCore):
(WebCore::MediaControlPanelEnclosureElement::shadowPseudoId):
(WebCore::MediaControlRootElementChromium::create):
(WebCore::MediaControlRootElementChromium::initializeControls):
- html/shadow/MediaControlRootElementChromium.h:
(MediaControlChromiumEnclosureElement):
(WebCore):
(MediaControlPanelEnclosureElement):
(MediaControlRootElementChromium):
- html/shadow/MediaControlRootElementChromiumAndroid.cpp: Added.
(WebCore):
(WebCore::MediaControlOverlayEnclosureElement::MediaControlOverlayEnclosureElement):
(WebCore::MediaControlOverlayEnclosureElement::create):
(WebCore::MediaControlOverlayEnclosureElement::shadowPseudoId):
(WebCore::MediaControlRootElementChromiumAndroid::MediaControlRootElementChromiumAndroid):
(WebCore::MediaControls::create):
(WebCore::MediaControlRootElementChromiumAndroid::create):
(WebCore::MediaControlRootElementChromiumAndroid::setMediaController):
(WebCore::MediaControlRootElementChromiumAndroid::playbackStarted):
(WebCore::MediaControlRootElementChromiumAndroid::playbackStopped):
- html/shadow/MediaControlRootElementChromiumAndroid.h: Added.
(WebCore):
(MediaControlOverlayEnclosureElement):
(MediaControlRootElementChromiumAndroid):
- platform/ThemeTypes.h:
- rendering/RenderMediaControlsChromium.cpp:
(WebCore::paintMediaOverlayPlayButton):
(WebCore):
(WebCore::RenderMediaControlsChromium::paintMediaControlsPart):
- rendering/RenderTheme.cpp:
(WebCore::RenderTheme::paint):
- rendering/RenderTheme.h:
(WebCore::RenderTheme::paintMediaOverlayPlayButton):
- rendering/RenderThemeChromiumAndroid.cpp:
(WebCore::RenderThemeChromiumAndroid::paintMediaOverlayPlayButton):
(WebCore):
- rendering/RenderThemeChromiumAndroid.h:
- 12:22 PM Changeset in webkit [123968] by
-
- 2 edits in trunk/Tools
Fix Chromium/Win compile.
https://bugs.webkit.org/show_bug.cgi?id=88787
Unreviewed, build fix.
Chromium/Win needs _USE_MATH_DEFINES but doesn't define PLATFORM(WIN).
The other files in WebKit that define this macro (both in
WebCore/platform/graphics/cg) do it by unconditionally #defining it to 1
above the #include of "config.h", so copy that pattern here.
- TestWebKitAPI/Tests/WTF/MediaTime.cpp:
- 11:45 AM Changeset in webkit [123967] by
-
- 10 edits2 adds in trunk
[WK2][GTK] Implement a new spell checker API for WebKit2GTK+
https://bugs.webkit.org/show_bug.cgi?id=90268
Reviewed by Martin Robinson.
Source/WebKit2:
Add a simple spell checking API to WK2, allowing to enable/disable
this feature and to define a list of languages associated to it.
- GNUmakefile.am: Add flags to handle the SPELLCHECK feature.
- GNUmakefile.list.am: Added new files
Added new internal class that will act both as the implementation
of TextCheckerClient and as the object WebKitWebContext will
depend on to implement the newly added API.
- UIProcess/API/gtk/WebKitTextChecker.cpp: Added.
(toTextChecker):
(continuousSpellCheckingEnabledCallback):
(setContinuousSpellCheckingEnabledCallback):
(checkSpellingOfStringCallback):
(guessesForWordCallback):
(learnWordCallback):
(ignoreWordCallback):
(WebKitTextChecker::~WebKitTextChecker):
(WebKitTextChecker::create):
(WebKitTextChecker::WebKitTextChecker):
(WebKitTextChecker::checkSpellingOfString):
(WebKitTextChecker::getGuessesForWord):
(WebKitTextChecker::learnWord):
(WebKitTextChecker::ignoreWord):
(WebKitTextChecker::setSpellCheckingEnabled):
(WebKitTextChecker::setSpellCheckingLanguages):
- UIProcess/API/gtk/WebKitTextChecker.h: Added.
(WebKitTextChecker):
(WebKitTextChecker::isSpellCheckingEnabled):
(WebKitTextChecker::getSpellCheckingLanguages):
Added WKTextChecker to WebKitPrivate.h, needed in WebKitTextChecker.
- UIProcess/API/gtk/WebKitPrivate.h:
Add new API to WebKitWebContext to allow enabling/disabling this
spell checking feature, and to set/get the list of languages used
to decide which dictionaries will be consulted.
- UIProcess/API/gtk/WebKitWebContext.cpp:
(_WebKitWebContextPrivate):
(createDefaultWebContext):
(webkit_web_context_get_spell_checking_enabled): New API.
(webkit_web_context_set_spell_checking_enabled): Ditto.
(webkit_web_context_get_spell_checking_languages): Ditto.
(webkit_web_context_set_spell_checking_languages): Ditto.
- UIProcess/API/gtk/WebKitWebContext.h:
New tests for checking the new API added to WebKitWebContext.
- UIProcess/API/gtk/tests/TestWebKitWebContext.cpp:
(testWebContextSpellChecker):
(beforeAll):
Update documentation with new sections and symbols.
- UIProcess/API/gtk/docs/webkit2gtk-docs.sgml:
- UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
Tools:
Ignore WebKitTextChecker.* private files for gtk-doc.
- gtk/generate-gtkdoc:
(get_webkit2_options):
- 11:28 AM Changeset in webkit [123966] by
-
- 5 edits2 adds in trunk/Source
[GTK] Add a new and reusable enchant-based spellchecker in WebCore
https://bugs.webkit.org/show_bug.cgi?id=90269
Reviewed by Martin Robinson.
Source/WebCore:
Move enchant specific code down to WebCore, into a new class
TextCheckerEnchant, that we can use from WK1 and WK2.
- GNUmakefile.am: Add flags to handle the SPELLCHECK feature.
- GNUmakefile.list.am: Added new files.
- platform/text/gtk/TextCheckerEnchant.cpp: Added.
(getAvailableDictionariesCallback):
(TextCheckerEnchant::TextCheckerEnchant):
(TextCheckerEnchant::~TextCheckerEnchant):
(TextCheckerEnchant::ignoreWord):
(TextCheckerEnchant::learnWord):
(TextCheckerEnchant::checkSpellingOfString):
(TextCheckerEnchant::getGuessesForWord):
(TextCheckerEnchant::updateSpellCheckingLanguages):
(TextCheckerEnchant::freeEnchantBrokerDictionaries):
- platform/text/gtk/TextCheckerEnchant.h: Added.
(WebCore):
(TextCheckerEnchant):
(WebCore::TextCheckerEnchant::create):
Source/WebKit/gtk:
Remove enchant specific code from WebKitSpellCheckerEnchant and
implement it relying in the new TextCheckerEnchant class in WebCore.
- webkit/webkitspellcheckerenchant.cpp:
(_WebKitSpellCheckerEnchantPrivate):
(webkit_spell_checker_enchant_finalize):
(webkit_spell_checker_enchant_class_init):
(webkit_spell_checker_enchant_init):
(checkSpellingOfString):
(getGuessesForWord):
(updateSpellCheckingLanguages):
(learnWord):
(ignoreWord):
- 11:05 AM Changeset in webkit [123965] by
-
- 2 edits in trunk/Source/WebKit/chromium
Sigh. Just disable all the AutoResize tests after the first three.
https://bugs.webkit.org/show_bug.cgi?id=92318
Unreviewed, making bots happier.
- tests/WebViewTest.cpp:
- 10:36 AM Changeset in webkit [123964] by
-
- 15 edits13 adds2 deletes in trunk/LayoutTests
[Chromium] Rebaselining and test expectations update.
https://bugs.webkit.org/show_bug.cgi?id=77188
https://bugs.webkit.org/show_bug.cgi?id=85856
https://bugs.webkit.org/show_bug.cgi?id=87844
https://bugs.webkit.org/show_bug.cgi?id=91756
http://crbug.com/10364
http://crbug.com/138159
http://crbug.com/139162
http://crbug.com/139493
Unreviewed, test expectations update.
- fast/overflow/unreachable-overflow-rtl-bug-expected.txt: Added.
- platform/chromium-linux-x86/platform/chromium: Added.
- platform/chromium-linux-x86/platform/chromium/virtual: Added.
- platform/chromium-linux-x86/platform/chromium/virtual/gpu: Added.
- platform/chromium-linux-x86/platform/chromium/virtual/gpu/fast: Added.
- platform/chromium-linux-x86/platform/chromium/virtual/gpu/fast/canvas: Added.
- platform/chromium-linux-x86/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png: Added.
- platform/chromium-linux-x86/platform/chromium/virtual/gpu/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
- platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
- platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
- platform/chromium-mac-snowleopard/fast/block/float/026-expected.png:
- platform/chromium-mac-snowleopard/fast/block/float/028-expected.png:
- platform/chromium-mac-snowleopard/fast/forms/datalist: Added.
- platform/chromium-mac-snowleopard/fast/forms/datalist/input-appearance-range-with-datalist-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png: Added.
- platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
- platform/chromium-mac/fast/block/float/026-expected.png:
- platform/chromium-mac/fast/block/float/028-expected.png:
- platform/chromium-mac/fast/overflow/unreachable-overflow-rtl-bug-expected.png:
- platform/chromium-mac/fast/overflow/unreachable-overflow-rtl-bug-expected.txt:
- platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
- platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
- platform/chromium-win/fast/forms/box-shadow-override-expected.png:
- platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
- platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/gradient-add-second-start-end-stop-expected.png:
- platform/chromium/TestExpectations:
- platform/efl/fast/overflow/unreachable-overflow-rtl-bug-expected.txt: Removed.
- platform/gtk/fast/overflow/unreachable-overflow-rtl-bug-expected.txt: Removed.
- 9:19 AM Changeset in webkit [123963] by
-
- 2 edits in trunk/Source/WebKit/chromium
Try disabling different test in hopes of tracking down the real problem.
https://bugs.webkit.org/show_bug.cgi?id=92318
Unreviewed, making bots happier.
- tests/WebViewTest.cpp:
- 9:11 AM Changeset in webkit [123962] by
-
- 11 edits in trunk/Source/WebCore
[Clamp] support in binding generator.
https://bugs.webkit.org/show_bug.cgi?id=77605
Patch by Vineet Chaudhary <Vineet> on 2012-07-28
Reviewed by Kentaro Hara.
Currently [Clamp] extended attribute in IDL files.
Spec: http://www.w3.org/TR/2012/CR-WebIDL-20120419/#Clamp
Tests: TestObj.idl
- bindings/scripts/CodeGeneratorCPP.pm:
(SkipFunction): Skips methods with [Clamp] parameters.
- bindings/scripts/CodeGeneratorGObject.pm:
(SkipFunction): Skips methods with [Clamp] parameters.
- bindings/scripts/CodeGeneratorJS.pm:
(GenerateParametersCheck): Support [Clamp] for JSBindings.
- bindings/scripts/CodeGeneratorObjC.pm:
(SkipFunction): Skips methods with [Clamp] parameters.
- bindings/scripts/CodeGeneratorV8.pm:
(GenerateParametersCheck): Support [Clamp] for V8Bindings.
- bindings/scripts/IDLAttributes.txt: Added [Clamp] to attributes list.
- bindings/scripts/test/JS/JSTestObj.cpp: Test.
(WebCore::jsTestObjPrototypeFunctionClassMethodWithClamp):
- bindings/scripts/test/JS/JSTestObj.h:
- bindings/scripts/test/TestObj.idl:
- bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::classMethodWithClampCallback):
(TestObjV8Internal):
- 8:18 AM Changeset in webkit [123961] by
-
- 2 edits in trunk/LayoutTests
[Qt] Unreviewed gardening.
- platform/qt-4.8/Skipped: Unskip now passing tests. (bug85203)
- 6:54 AM Changeset in webkit [123960] by
-
- 2 edits in trunk/LayoutTests
Unreviewed, GTK rebaseline after r123937.
- platform/gtk/fast/dom/navigator-detached-no-crash-expected.txt:
- 6:09 AM Changeset in webkit [123959] by
-
- 2 edits in trunk/Tools
[GTK] Transparent Media controls timeline and panel
https://bugs.webkit.org/show_bug.cgi?id=85279
Reviewed by Martin Robinson.
- gtk/jhbuild.modules: Provide gnome-themes-standard build
support, this is necessary so the media controls panel colors are
properly initialized from the GTK+ theme.
- 5:34 AM Changeset in webkit [123958] by
-
- 3 edits in trunk/Source/WTF
Remove obsolete functions from WTF::Unicode
https://bugs.webkit.org/show_bug.cgi?id=92571
Patch by Patrick Gansterer <Patrick Gansterer> on 2012-07-28
Reviewed by Kentaro Hara.
Remove hasLineBreakingPropertyComplexContextOrIdeographic() and digitValue(),
since they are never used and defined for a few Unicode backends only.
- wtf/unicode/glib/UnicodeGLib.h:
- wtf/unicode/icu/UnicodeIcu.h:
- 12:50 AM EFLWebKit edited by
- (diff)