commit-queue@webkit.org [Wed, 25 Jul 2012 15:14:32 +0000 (15:14 +0000)]
Unreviewed, rolling out r123606.
http://trac.webkit.org/changeset/123606
https://bugs.webkit.org/show_bug.cgi?id=92247
broke Windows build of Chromium (Requested by tomhudson on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-25
.:
* ManualTests/forms/color-suggestion-picker.html: Removed.
Source/WebCore:
* Resources/colorSuggestionPicker.css: Removed.
* Resources/colorSuggestionPicker.js: Removed.
* WebCore.gyp/WebCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123621
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caio.oliveira@openbossa.org [Wed, 25 Jul 2012 15:14:25 +0000 (15:14 +0000)]
[Qt] css2.1/t1* tests needs rebaseline after new testfonts
https://bugs.webkit.org/show_bug.cgi?id=92250
Unreviewed.
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt-5.0/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt: Removed.
* platform/qt-5.0/css2.1/t1202-counter-03-b-expected.txt: Removed.
* platform/qt-5.0/css2.1/t1202-counter-04-b-expected.txt: Removed.
* platform/qt-5.0/css2.1/t1202-counters-03-b-expected.txt: Removed.
* platform/qt-5.0/css2.1/t1205-c566-list-stl-01-c-g-expected.txt: Removed.
* platform/qt/css2.1/t1001-abs-pos-cb-01-b-expected.png:
* platform/qt/css2.1/t1001-abs-pos-cb-01-b-expected.txt:
* platform/qt/css2.1/t1001-abs-pos-cb-02-b-expected.png:
* platform/qt/css2.1/t1001-abs-pos-cb-02-b-expected.txt:
* platform/qt/css2.1/t1001-abs-pos-cb-03-b-expected.png:
* platform/qt/css2.1/t1001-abs-pos-cb-03-b-expected.txt:
* platform/qt/css2.1/t1001-abs-pos-cb-04-b-expected.png:
* platform/qt/css2.1/t1001-abs-pos-cb-04-b-expected.txt:
* platform/qt/css2.1/t1001-abs-pos-cb-05-b-expected.png:
* platform/qt/css2.1/t1001-abs-pos-cb-05-b-expected.txt:
* platform/qt/css2.1/t1001-abs-pos-cb-06-b-expected.png:
* platform/qt/css2.1/t1001-abs-pos-cb-06-b-expected.txt:
* platform/qt/css2.1/t1001-abs-pos-cb-07-b-expected.png:
* platform/qt/css2.1/t1001-abs-pos-cb-07-b-expected.txt:
* platform/qt/css2.1/t1001-abs-pos-cb-08-b-expected.png:
* platform/qt/css2.1/t1001-abs-pos-cb-08-b-expected.txt:
* platform/qt/css2.1/t1001-abs-pos-cb-09-b-expected.png:
* platform/qt/css2.1/t1001-abs-pos-cb-09-b-expected.txt:
* platform/qt/css2.1/t1002-c5523-width-00-b-g-expected.png:
* platform/qt/css2.1/t1002-c5523-width-00-b-g-expected.txt:
* platform/qt/css2.1/t1002-c5523-width-01-b-g-expected.png:
* platform/qt/css2.1/t1002-c5523-width-01-b-g-expected.txt:
* platform/qt/css2.1/t1002-c5523-width-02-b-g-expected.png:
* platform/qt/css2.1/t1002-c5523-width-02-b-g-expected.txt:
* platform/qt/css2.1/t100303-c412-blockw-00-d-ag-expected.png:
* platform/qt/css2.1/t100303-c412-blockw-00-d-ag-expected.txt:
* platform/qt/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.png:
* platform/qt/css2.1/t100304-c43-rpl-bbx-00-d-g-expected.txt:
* platform/qt/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png:
* platform/qt/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt:
* platform/qt/css2.1/t1004-c43-rpl-bbx-00-d-ag-expected.png:
* platform/qt/css2.1/t1004-c43-rpl-bbx-00-d-ag-expected.txt:
* platform/qt/css2.1/t1004-c5524-width-00-b-g-expected.png:
* platform/qt/css2.1/t1004-c5524-width-00-b-g-expected.txt:
* platform/qt/css2.1/t1005-c5524-width-00-b-g-expected.png:
* platform/qt/css2.1/t1005-c5524-width-00-b-g-expected.txt:
* platform/qt/css2.1/t1005-c5524-width-01-b-g-expected.png:
* platform/qt/css2.1/t1005-c5524-width-01-b-g-expected.txt:
* platform/qt/css2.1/t1008-c44-ln-box-00-d-ag-expected.png:
* platform/qt/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt:
* platform/qt/css2.1/t1008-c44-ln-box-01-d-ag-expected.png:
* platform/qt/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt:
* platform/qt/css2.1/t1008-c44-ln-box-03-d-ag-expected.png:
* platform/qt/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt:
* platform/qt/css2.1/t100801-c42-ibx-ht-00-d-a-expected.png:
* platform/qt/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt:
* platform/qt/css2.1/t100801-c544-valgn-00-a-ag-expected.png:
* platform/qt/css2.1/t100801-c544-valgn-00-a-ag-expected.txt:
* platform/qt/css2.1/t100801-c544-valgn-02-d-agi-expected.png:
* platform/qt/css2.1/t100801-c544-valgn-02-d-agi-expected.txt:
* platform/qt/css2.1/t100801-c544-valgn-03-d-agi-expected.png:
* platform/qt/css2.1/t100801-c544-valgn-03-d-agi-expected.txt:
* platform/qt/css2.1/t100801-c544-valgn-04-d-agi-expected.png:
* platform/qt/css2.1/t100801-c544-valgn-04-d-agi-expected.txt:
* platform/qt/css2.1/t100801-c548-leadin-00-d-a-expected.png:
* platform/qt/css2.1/t100801-c548-leadin-00-d-a-expected.txt:
* platform/qt/css2.1/t100801-c548-ln-ht-00-c-a-expected.png:
* platform/qt/css2.1/t100801-c548-ln-ht-00-c-a-expected.txt:
* platform/qt/css2.1/t100801-c548-ln-ht-01-b-ag-expected.png: Removed.
* platform/qt/css2.1/t100801-c548-ln-ht-01-b-ag-expected.txt: Removed.
* platform/qt/css2.1/t100801-c548-ln-ht-03-d-ag-expected.png:
* platform/qt/css2.1/t100801-c548-ln-ht-03-d-ag-expected.txt:
* platform/qt/css2.1/t100801-c548-ln-ht-04-d-ag-expected.png:
* platform/qt/css2.1/t100801-c548-ln-ht-04-d-ag-expected.txt:
* platform/qt/css2.1/t1202-counter-00-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-00-b-expected.txt:
* platform/qt/css2.1/t1202-counter-01-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-01-b-expected.txt:
* platform/qt/css2.1/t1202-counter-02-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-02-b-expected.txt:
* platform/qt/css2.1/t1202-counter-03-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-03-b-expected.txt:
* platform/qt/css2.1/t1202-counter-04-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-04-b-expected.txt:
* platform/qt/css2.1/t1202-counter-05-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-05-b-expected.txt:
* platform/qt/css2.1/t1202-counter-06-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-06-b-expected.txt:
* platform/qt/css2.1/t1202-counter-07-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-07-b-expected.txt:
* platform/qt/css2.1/t1202-counter-08-b-expected.png:
* platform/qt/css2.1/t1202-counter-08-b-expected.txt:
* platform/qt/css2.1/t1202-counter-11-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-11-b-expected.txt:
* platform/qt/css2.1/t1202-counter-12-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-12-b-expected.txt:
* platform/qt/css2.1/t1202-counter-13-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-13-b-expected.txt:
* platform/qt/css2.1/t1202-counter-14-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-14-b-expected.txt:
* platform/qt/css2.1/t1202-counter-16-f-expected.png: Added.
* platform/qt/css2.1/t1202-counter-16-f-expected.txt:
* platform/qt/css2.1/t1202-counters-00-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-00-b-expected.txt:
* platform/qt/css2.1/t1202-counters-01-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-01-b-expected.txt:
* platform/qt/css2.1/t1202-counters-02-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-02-b-expected.txt:
* platform/qt/css2.1/t1202-counters-03-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-03-b-expected.txt:
* platform/qt/css2.1/t1202-counters-05-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-05-b-expected.txt:
* platform/qt/css2.1/t1202-counters-06-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-06-b-expected.txt:
* platform/qt/css2.1/t1202-counters-07-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-07-b-expected.txt:
* platform/qt/css2.1/t1202-counters-08-b-expected.png:
* platform/qt/css2.1/t1202-counters-08-b-expected.txt:
* platform/qt/css2.1/t1202-counters-11-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-11-b-expected.txt:
* platform/qt/css2.1/t1202-counters-12-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-12-b-expected.txt:
* platform/qt/css2.1/t1202-counters-13-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-13-b-expected.txt:
* platform/qt/css2.1/t1202-counters-14-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-14-b-expected.txt:
* platform/qt/css2.1/t1202-counters-16-c-expected.png: Added.
* platform/qt/css2.1/t1202-counters-16-c-expected.txt:
* platform/qt/css2.1/t1202-counters-17-d-expected.png: Added.
* platform/qt/css2.1/t1202-counters-17-d-expected.txt:
* platform/qt/css2.1/t1202-counters-18-f-expected.png: Added.
* platform/qt/css2.1/t1202-counters-18-f-expected.txt:
* platform/qt/css2.1/t1204-implied-00-b-expected.png:
* platform/qt/css2.1/t1204-implied-00-b-expected.txt:
* platform/qt/css2.1/t1204-implied-01-c-expected.png:
* platform/qt/css2.1/t1204-implied-01-c-expected.txt:
* platform/qt/css2.1/t1204-implied-02-d-expected.png:
* platform/qt/css2.1/t1204-implied-02-d-expected.txt:
* platform/qt/css2.1/t1204-multiple-00-c-expected.png:
* platform/qt/css2.1/t1204-multiple-00-c-expected.txt:
* platform/qt/css2.1/t1204-multiple-01-c-expected.png:
* platform/qt/css2.1/t1204-multiple-01-c-expected.txt:
* platform/qt/css2.1/t1204-order-00-c-expected.png:
* platform/qt/css2.1/t1204-order-00-c-expected.txt:
* platform/qt/css2.1/t1204-order-01-d-expected.png:
* platform/qt/css2.1/t1204-order-01-d-expected.txt:
* platform/qt/css2.1/t1204-root-e-expected.png:
* platform/qt/css2.1/t1204-root-e-expected.txt:
* platform/qt/css2.1/t120401-scope-00-b-expected.png:
* platform/qt/css2.1/t120401-scope-00-b-expected.txt:
* platform/qt/css2.1/t120401-scope-01-c-expected.png:
* platform/qt/css2.1/t120401-scope-01-c-expected.txt:
* platform/qt/css2.1/t120401-scope-02-c-expected.png:
* platform/qt/css2.1/t120401-scope-02-c-expected.txt:
* platform/qt/css2.1/t120401-scope-03-c-expected.png:
* platform/qt/css2.1/t120401-scope-03-c-expected.txt:
* platform/qt/css2.1/t120401-scope-04-d-expected.png:
* platform/qt/css2.1/t120401-scope-04-d-expected.txt:
* platform/qt/css2.1/t120403-content-none-00-c-expected.png:
* platform/qt/css2.1/t120403-content-none-00-c-expected.txt:
* platform/qt/css2.1/t120403-display-none-00-c-expected.png:
* platform/qt/css2.1/t120403-display-none-00-c-expected.txt:
* platform/qt/css2.1/t120403-visibility-00-c-expected.png:
* platform/qt/css2.1/t120403-visibility-00-c-expected.txt:
* platform/qt/css2.1/t1205-c561-list-displ-00-b-expected.png: Added.
* platform/qt/css2.1/t1205-c561-list-displ-00-b-expected.txt:
* platform/qt/css2.1/t1205-c563-list-type-00-b-expected.png: Added.
* platform/qt/css2.1/t1205-c563-list-type-00-b-expected.txt:
* platform/qt/css2.1/t1205-c563-list-type-01-b-expected.png: Added.
* platform/qt/css2.1/t1205-c563-list-type-01-b-expected.txt:
* platform/qt/css2.1/t1205-c564-list-img-00-b-g-expected.png: Added.
* platform/qt/css2.1/t1205-c564-list-img-00-b-g-expected.txt:
* platform/qt/css2.1/t1205-c565-list-pos-00-b-expected.png: Added.
* platform/qt/css2.1/t1205-c565-list-pos-00-b-expected.txt:
* platform/qt/css2.1/t1205-c566-list-stl-00-e-ag-expected.png: Added.
* platform/qt/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt:
* platform/qt/css2.1/t1205-c566-list-stl-01-c-g-expected.png: Added.
* platform/qt/css2.1/t1205-c566-list-stl-01-c-g-expected.txt:
* platform/qt/css2.1/t1401-c531-color-00-a-expected.png:
* platform/qt/css2.1/t1401-c531-color-00-a-expected.txt:
* platform/qt/css2.1/t1402-c45-bg-canvas-00-b-expected.png:
* platform/qt/css2.1/t1402-c45-bg-canvas-00-b-expected.txt:
* platform/qt/css2.1/t140201-c532-bgcolor-00-a-expected.png: Added.
* platform/qt/css2.1/t140201-c532-bgcolor-00-a-expected.txt:
* platform/qt/css2.1/t140201-c532-bgcolor-01-b-expected.png: Added.
* platform/qt/css2.1/t140201-c532-bgcolor-01-b-expected.txt:
* platform/qt/css2.1/t140201-c533-bgimage-00-a-expected.png: Added.
* platform/qt/css2.1/t140201-c533-bgimage-00-a-expected.txt:
* platform/qt/css2.1/t140201-c533-bgimage-01-b-g-expected.png: Added.
* platform/qt/css2.1/t140201-c533-bgimage-01-b-g-expected.txt:
* platform/qt/css2.1/t140201-c534-bgre-00-b-ag-expected.png: Added.
* platform/qt/css2.1/t140201-c534-bgre-00-b-ag-expected.txt:
* platform/qt/css2.1/t140201-c534-bgre-01-b-ag-expected.png:
* platform/qt/css2.1/t140201-c534-bgre-01-b-ag-expected.txt:
* platform/qt/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png: Added.
* platform/qt/css2.1/t140201-c535-bg-fixd-00-b-g-expected.txt:
* platform/qt/css2.1/t140201-c536-bgpos-00-b-ag-expected.png: Added.
* platform/qt/css2.1/t140201-c536-bgpos-00-b-ag-expected.txt:
* platform/qt/css2.1/t140201-c536-bgpos-01-b-ag-expected.png:
* platform/qt/css2.1/t140201-c536-bgpos-01-b-ag-expected.txt:
* platform/qt/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
* platform/qt/css2.1/t140201-c537-bgfxps-00-c-ag-expected.txt:
* platform/qt/css2.1/t1504-c523-font-style-00-b-expected.png: Added.
* platform/qt/css2.1/t1504-c523-font-style-00-b-expected.txt:
* platform/qt/css2.1/t1505-c524-font-var-00-b-expected.png:
* platform/qt/css2.1/t1505-c524-font-var-00-b-expected.txt:
* platform/qt/css2.1/t1506-c525-font-wt-00-b-expected.png: Added.
* platform/qt/css2.1/t1506-c525-font-wt-00-b-expected.txt:
* platform/qt/css2.1/t1507-c526-font-sz-00-b-expected.png: Added.
* platform/qt/css2.1/t1507-c526-font-sz-00-b-expected.txt:
* platform/qt/css2.1/t1507-c526-font-sz-01-b-a-expected.png: Added.
* platform/qt/css2.1/t1507-c526-font-sz-01-b-a-expected.txt:
* platform/qt/css2.1/t1507-c526-font-sz-02-b-a-expected.png: Added.
* platform/qt/css2.1/t1507-c526-font-sz-02-b-a-expected.txt:
* platform/qt/css2.1/t1507-c526-font-sz-03-f-a-expected.png: Added.
* platform/qt/css2.1/t1507-c526-font-sz-03-f-a-expected.txt:
* platform/qt/css2.1/t1508-c527-font-00-b-expected.png: Added.
* platform/qt/css2.1/t1508-c527-font-00-b-expected.txt:
* platform/qt/css2.1/t1508-c527-font-01-b-expected.png: Added.
* platform/qt/css2.1/t1508-c527-font-01-b-expected.txt:
* platform/qt/css2.1/t1508-c527-font-02-b-expected.png: Added.
* platform/qt/css2.1/t1508-c527-font-02-b-expected.txt:
* platform/qt/css2.1/t1508-c527-font-04-b-expected.png: Added.
* platform/qt/css2.1/t1508-c527-font-04-b-expected.txt:
* platform/qt/css2.1/t1508-c527-font-05-b-expected.png: Added.
* platform/qt/css2.1/t1508-c527-font-05-b-expected.txt:
* platform/qt/css2.1/t1508-c527-font-07-b-expected.png: Added.
* platform/qt/css2.1/t1508-c527-font-07-b-expected.txt:
* platform/qt/css2.1/t1508-c527-font-08-b-expected.png: Added.
* platform/qt/css2.1/t1508-c527-font-08-b-expected.txt:
* platform/qt/css2.1/t1508-c527-font-09-b-expected.png: Added.
* platform/qt/css2.1/t1508-c527-font-09-b-expected.txt: Added.
* platform/qt/css2.1/t1508-c527-font-10-c-expected.png: Added.
* platform/qt/css2.1/t1508-c527-font-10-c-expected.txt:
* platform/qt/css2.1/t1601-c547-indent-01-d-expected.png:
* platform/qt/css2.1/t1601-c547-indent-01-d-expected.txt:
* platform/qt/css2.1/t1602-c546-txt-align-00-b-expected.png:
* platform/qt/css2.1/t1602-c546-txt-align-00-b-expected.txt:
* platform/qt/css2.1/t1604-c541-word-sp-01-b-a-expected.png:
* platform/qt/css2.1/t1604-c541-word-sp-01-b-a-expected.txt:
* platform/qt/css2.1/t1606-c562-white-sp-00-b-ag-expected.png:
* platform/qt/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123620
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 15:09:22 +0000 (15:09 +0000)]
[chromium] Calendar picker popup displays at wrong scale when deviceScaleFactor != 1.
https://bugs.webkit.org/show_bug.cgi?id=92177
Manually tested at deviceScaleFactor = 1 and 2.
Patch by Kevin Ellis <kevers@chromium.org> on 2012-07-25
Reviewed by Kent Tamura.
The device scale factor was not being set for the calendar popup.
As a result, the popup was rendered too small on hidpi displays.
This patch sets the device scale factor for any page popup.
* src/WebPagePopupImpl.cpp:
(WebKit::WebPagePopupImpl::initPage):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123619
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pfeldman@chromium.org [Wed, 25 Jul 2012 15:05:40 +0000 (15:05 +0000)]
Web Inspector: disabling property should remove "overriden" decoration from overriden UA shorthand.
https://bugs.webkit.org/show_bug.cgi?id=92253
Reviewed by Vsevolod Vlasov.
Source/WebCore:
Bug fix with a test and more compilation markup.
Test: inspector/styles/styles-disable-then-enable-overriden-ua.html
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype.update):
(WebInspector.StylePropertyTreeElement):
(WebInspector.StylePropertyTreeElement.prototype):
LayoutTests:
* inspector/styles/styles-disable-then-enable-overriden-ua-expected.txt: Added.
* inspector/styles/styles-disable-then-enable-overriden-ua.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123618
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 14:59:36 +0000 (14:59 +0000)]
[BlackBerry] Don't touch a tile buffer while it's still on its way to the GPU
https://bugs.webkit.org/show_bug.cgi?id=91992
Patch by Arvid Nilsson <anilsson@rim.com> on 2012-07-25
Reviewed by Adam Treat.
PR: 141439
The copyPreviousContentsToBackSurfaceOfTile() call will also modify
buffer contents, move it after the blit generation condvar to make sure
we've waited for the buffer to become available first.
This is done as part of some general BackingStorePrivate::render()
cleanup in PR 141439.
Internally reviewed by Jakob Petsovits.
* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::render):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123617
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
vsevik@chromium.org [Wed, 25 Jul 2012 14:55:03 +0000 (14:55 +0000)]
Web Inspector: Improve ObjectPropertiesSection UI by adding a tooltip for the value.
https://bugs.webkit.org/show_bug.cgi?id=92225
Reviewed by Pavel Feldman.
Added tooltip with property value description on the property's valueElement.
* inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.prototype.update):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123616
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caio.oliveira@openbossa.org [Wed, 25 Jul 2012 14:12:57 +0000 (14:12 +0000)]
[Qt] css2.1/t040* rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92248
Unreviewed.
* platform/qt-5.0/Skipped:
* platform/qt/css2.1/t040102-keywords-00-b-expected.png: Added.
* platform/qt/css2.1/t040102-keywords-00-b-expected.txt:
* platform/qt/css2.1/t040102-keywords-01-b-expected.png: Added.
* platform/qt/css2.1/t040102-keywords-01-b-expected.txt:
* platform/qt/css2.1/t040103-case-00-b-expected.png: Added.
* platform/qt/css2.1/t040103-case-00-b-expected.txt:
* platform/qt/css2.1/t040103-case-01-c-expected.png: Added.
* platform/qt/css2.1/t040103-case-01-c-expected.txt:
* platform/qt/css2.1/t040103-escapes-00-b-expected.png: Added.
* platform/qt/css2.1/t040103-escapes-00-b-expected.txt:
* platform/qt/css2.1/t040103-escapes-01-b-expected.png:
* platform/qt/css2.1/t040103-escapes-01-b-expected.txt:
* platform/qt/css2.1/t040103-escapes-02-d-expected.png: Added.
* platform/qt/css2.1/t040103-escapes-02-d-expected.txt:
* platform/qt/css2.1/t040103-escapes-03-b-expected.png: Added.
* platform/qt/css2.1/t040103-escapes-03-b-expected.txt:
* platform/qt/css2.1/t040103-escapes-04-b-expected.png: Added.
* platform/qt/css2.1/t040103-escapes-04-b-expected.txt:
* platform/qt/css2.1/t040103-escapes-05-c-expected.png: Added.
* platform/qt/css2.1/t040103-escapes-05-c-expected.txt:
* platform/qt/css2.1/t040103-escapes-06-b-expected.png: Added.
* platform/qt/css2.1/t040103-escapes-06-b-expected.txt:
* platform/qt/css2.1/t040103-escapes-07-b-expected.png: Added.
* platform/qt/css2.1/t040103-escapes-07-b-expected.txt:
* platform/qt/css2.1/t040103-escapes-08-b-expected.png: Added.
* platform/qt/css2.1/t040103-escapes-08-b-expected.txt:
* platform/qt/css2.1/t040103-ident-00-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-00-c-expected.txt:
* platform/qt/css2.1/t040103-ident-01-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-01-c-expected.txt:
* platform/qt/css2.1/t040103-ident-02-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-02-c-expected.txt:
* platform/qt/css2.1/t040103-ident-03-c-expected.txt: Removed.
* platform/qt/css2.1/t040103-ident-04-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-04-c-expected.txt:
* platform/qt/css2.1/t040103-ident-05-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-05-c-expected.txt:
* platform/qt/css2.1/t040103-ident-06-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-06-c-expected.txt:
* platform/qt/css2.1/t040103-ident-07-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-07-c-expected.txt:
* platform/qt/css2.1/t040103-ident-08-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-08-c-expected.txt:
* platform/qt/css2.1/t040103-ident-09-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-09-c-expected.txt:
* platform/qt/css2.1/t040103-ident-10-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-10-c-expected.txt:
* platform/qt/css2.1/t040103-ident-11-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-11-c-expected.txt:
* platform/qt/css2.1/t040103-ident-12-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-12-c-expected.txt:
* platform/qt/css2.1/t040103-ident-13-c-expected.png: Added.
* platform/qt/css2.1/t040103-ident-13-c-expected.txt:
* platform/qt/css2.1/t040105-atkeyw-00-b-expected.png: Added.
* platform/qt/css2.1/t040105-atkeyw-00-b-expected.txt:
* platform/qt/css2.1/t040105-atkeyw-01-b-expected.png: Added.
* platform/qt/css2.1/t040105-atkeyw-01-b-expected.txt:
* platform/qt/css2.1/t040105-atkeyw-02-b-expected.png: Added.
* platform/qt/css2.1/t040105-atkeyw-02-b-expected.txt:
* platform/qt/css2.1/t040105-atrule-00-b-expected.png: Added.
* platform/qt/css2.1/t040105-atrule-00-b-expected.txt:
* platform/qt/css2.1/t040105-atrule-01-b-expected.png: Added.
* platform/qt/css2.1/t040105-atrule-01-b-expected.txt:
* platform/qt/css2.1/t040105-atrule-02-b-expected.png: Added.
* platform/qt/css2.1/t040105-atrule-02-b-expected.txt:
* platform/qt/css2.1/t040105-atrule-03-b-expected.png: Added.
* platform/qt/css2.1/t040105-atrule-03-b-expected.txt:
* platform/qt/css2.1/t040105-atrule-04-b-expected.png: Added.
* platform/qt/css2.1/t040105-atrule-04-b-expected.txt:
* platform/qt/css2.1/t040105-import-00-b-expected.png: Added.
* platform/qt/css2.1/t040105-import-00-b-expected.txt:
* platform/qt/css2.1/t040105-import-01-b-expected.png: Added.
* platform/qt/css2.1/t040105-import-01-b-expected.txt:
* platform/qt/css2.1/t040105-import-10-b-expected.png:
* platform/qt/css2.1/t040105-import-10-b-expected.txt:
* platform/qt/css2.1/t040109-c17-comments-00-b-expected.png: Added.
* platform/qt/css2.1/t040109-c17-comments-00-b-expected.txt:
* platform/qt/css2.1/t040109-c17-comments-01-b-expected.png: Added.
* platform/qt/css2.1/t040109-c17-comments-01-b-expected.txt:
* platform/qt/css2.1/t0402-c71-fwd-parsing-00-f-expected.png: Added.
* platform/qt/css2.1/t0402-c71-fwd-parsing-00-f-expected.txt:
* platform/qt/css2.1/t0402-c71-fwd-parsing-01-f-expected.png: Added.
* platform/qt/css2.1/t0402-c71-fwd-parsing-01-f-expected.txt:
* platform/qt/css2.1/t0402-c71-fwd-parsing-02-f-expected.png: Added.
* platform/qt/css2.1/t0402-c71-fwd-parsing-02-f-expected.txt:
* platform/qt/css2.1/t0402-c71-fwd-parsing-03-f-expected.png: Added.
* platform/qt/css2.1/t0402-c71-fwd-parsing-03-f-expected.txt:
* platform/qt/css2.1/t0402-c71-fwd-parsing-04-f-expected.png: Added.
* platform/qt/css2.1/t0402-c71-fwd-parsing-04-f-expected.txt:
* platform/qt/css2.1/t0402-syntax-01-f-expected.png: Added.
* platform/qt/css2.1/t0402-syntax-01-f-expected.txt:
* platform/qt/css2.1/t0402-syntax-02-f-expected.png: Added.
* platform/qt/css2.1/t0402-syntax-02-f-expected.txt:
* platform/qt/css2.1/t0402-syntax-03-f-expected.png: Added.
* platform/qt/css2.1/t0402-syntax-03-f-expected.txt:
* platform/qt/css2.1/t0402-syntax-04-f-expected.png: Added.
* platform/qt/css2.1/t0402-syntax-04-f-expected.txt:
* platform/qt/css2.1/t0402-syntax-05-f-expected.png: Added.
* platform/qt/css2.1/t0402-syntax-05-f-expected.txt:
* platform/qt/css2.1/t0402-syntax-06-f-expected.png: Added.
* platform/qt/css2.1/t0402-syntax-06-f-expected.txt:
* platform/qt/css2.1/t040302-c61-ex-len-00-b-a-expected.png: Added.
* platform/qt/css2.1/t040302-c61-ex-len-00-b-a-expected.txt:
* platform/qt/css2.1/t040302-c61-phys-len-00-b-expected.png: Added.
* platform/qt/css2.1/t040302-c61-phys-len-00-b-expected.txt:
* platform/qt/css2.1/t040302-c61-rel-len-00-b-ag-expected.png: Added.
* platform/qt/css2.1/t040302-c61-rel-len-00-b-ag-expected.txt:
* platform/qt/css2.1/t040303-c62-percent-00-b-ag-expected.png:
* platform/qt/css2.1/t040303-c62-percent-00-b-ag-expected.txt:
* platform/qt/css2.1/t040304-c64-uri-00-a-g-expected.png: Added.
* platform/qt/css2.1/t040304-c64-uri-00-a-g-expected.txt:
* platform/qt/css2.1/t040306-c63-color-00-b-ag-expected.png: Added.
* platform/qt/css2.1/t040306-c63-color-00-b-ag-expected.txt:
* platform/qt/css2.1/t040306-syntax-01-f-expected.png: Added.
* platform/qt/css2.1/t040306-syntax-01-f-expected.txt:
* platform/qt/css2.1/t040307-syntax-01-b-expected.png: Added.
* platform/qt/css2.1/t040307-syntax-01-b-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123615
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kkristof@inf.u-szeged.hu [Wed, 25 Jul 2012 13:58:47 +0000 (13:58 +0000)]
[NRWT] Rename baseline_search_path() to default_baseline_search_path()
https://bugs.webkit.org/show_bug.cgi?id=92122
Reviewed by Dirk Pranke.
* Scripts/webkitpy/layout_tests/port/base.py:
(Port.baseline_version_dir):
(Port.baseline_search_path):
(Port):
(Port.default_baseline_search_path):
(Port.expected_baselines):
* Scripts/webkitpy/layout_tests/port/base_unittest.py:
(PortTest.test_additional_platform_directory):
* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.default_baseline_search_path):
* Scripts/webkitpy/layout_tests/port/qt.py:
(QtPort.default_baseline_search_path):
* Scripts/webkitpy/layout_tests/port/win.py:
(WinPort.default_baseline_search_path):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123614
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caio.oliveira@openbossa.org [Wed, 25 Jul 2012 13:52:36 +0000 (13:52 +0000)]
[Qt] Fix rebaseline for two tests in svg/hixie
https://bugs.webkit.org/show_bug.cgi?id=92244
Reviewed by Alexis Menard.
* platform/qt-5.0/svg/hixie/intrinsic/003-expected.txt: Removed.
* platform/qt/svg/hixie/error/017-expected.txt:
* platform/qt/svg/hixie/intrinsic/003-expected.png:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123613
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pfeldman@chromium.org [Wed, 25 Jul 2012 13:48:47 +0000 (13:48 +0000)]
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=91931
Reviewed by Vsevolod Vlasov.
- Synthetic shorthand values are now only returned for source-less styles
- CSSAgents reports longhands along with the property names in getSupportedCSSProperties
- StylesSidebarPane now has two paths: for source-enabled styles and for CSSOM-based ones (UA styles)
- CSSStyleModel uses style metainfo as a source of shorthand / longhand relationship now
Test: inspector/styles/styles-overriden-properties.html
* inspector/Inspector.json:
* inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::getSupportedCSSProperties):
* inspector/InspectorCSSAgent.h:
(InspectorCSSAgent):
* inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyle::styleWithProperties):
* inspector/front-end/CSSCompletions.js:
(WebInspector.CSSCompletions):
(WebInspector.CSSCompletions.requestCSSNameCompletions):
(WebInspector.CSSCompletions.prototype._closest):
(WebInspector.CSSCompletions.prototype.longhands):
(WebInspector.CSSCompletions.prototype.shorthands):
* inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleDeclaration):
(WebInspector.CSSStyleDeclaration.prototype.longhandProperties):
(WebInspector.CSSStyleDeclaration.prototype.shorthandValue):
(WebInspector.CSSStyleDeclaration.prototype.newBlankProperty):
(WebInspector.CSSProperty):
(WebInspector.CSSProperty.parsePayload):
* inspector/front-end/SourceCSSTokenizer.js:
(WebInspector.SourceCSSTokenizer):
* inspector/front-end/SourceCSSTokenizer.re2js:
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype.isPropertyOverloaded):
(WebInspector.StylePropertiesSection.prototype.update):
(WebInspector.StylePropertiesSection.prototype.onpopulate):
(WebInspector.StylePropertyTreeElement.prototype):
LayoutTests: Web Inspector: Redundant Style Declarations Missing in Styles Section
https://bugs.webkit.org/show_bug.cgi?id=91931
Reviewed by Vsevolod Vlasov.
* http/tests/inspector/elements-test.js:
(initialize_ElementTest.InspectorTest.dumpStyleTreeItem):
* inspector/elements/elements-panel-styles-expected.txt:
* inspector/styles/force-pseudo-state-expected.txt:
* inspector/styles/inject-stylesheet-expected.txt:
* inspector/styles/lazy-computed-style-expected.txt:
* inspector/styles/styles-overriden-properties-expected.txt: Added.
* inspector/styles/styles-overriden-properties.html: Added.
* inspector/styles/styles-update-from-js-expected.txt:
* platform/chromium/inspector/styles/inject-stylesheet-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123612
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Wed, 25 Jul 2012 13:31:11 +0000 (13:31 +0000)]
[Qt] Unreviewed gardening.
* platform/qt/Skipped: Skip 2 more tests because of minor 32/64 bit differences.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123611
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jpetsovits@rim.com [Wed, 25 Jul 2012 13:18:44 +0000 (13:18 +0000)]
[BlackBerry] notifyContentRendered() call missing in two spots
https://bugs.webkit.org/show_bug.cgi?id=92153
RIM PR 173340
Reviewed by Antonio Gomes.
In dispatchDidFirstVisualLayout() and repaint() in
immediate mode, we render but don't notify the
WebPageClient that the content was modified.
In the long run, we should probably keep track of
the modified reason from within render() itself
and use this to automatically notify the client
from within blitContents() and/or invalidateWindow(),
depending on the rendering path. That's somewhat of
a medium-size undertaking though; for now, adding
the call directly to the renderVisibleContents()
call sites will do.
This patch also adds a blitVisibleContents() to
dispatchDidFirstVisualLayout() where it was
inexplicably missing, probably on account of
old code that was never updated.
* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::repaint):
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::resumeBackingStore):
* WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::dispatchDidFirstVisuallyNonEmptyLayout):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123610
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
alexis.menard@openbossa.org [Wed, 25 Jul 2012 13:00:38 +0000 (13:00 +0000)]
[Qt] svg/dom, svg/filters, svg/foreignObject rebaseline after new test fonts.
https://bugs.webkit.org/show_bug.cgi?id=92243
Unreviewed gardening.
These tests have been skipped because monospace fonts weren't properly used by
layout tests. After r121971, the test results are normal again.
* platform/qt-5.0/Skipped:
* platform/qt/svg/dom/SVGPathSegList-cloning-expected.png:
* platform/qt/svg/dom/SVGPathSegList-cloning-expected.txt:
* platform/qt/svg/dom/SVGPathSegList-segment-modification-expected.png:
* platform/qt/svg/dom/SVGPathSegList-segment-modification-expected.txt:
* platform/qt/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.png:
* platform/qt/svg/dom/SVGPathSegList-xml-dom-synchronization2-expected.txt:
* platform/qt/svg/filters/feColorMatrix-values-expected.txt:
* platform/qt/svg/filters/feComposite-expected.png: Added.
* platform/qt/svg/filters/feComposite-expected.txt:
* platform/qt/svg/filters/filter-on-filter-for-text-expected.png:
* platform/qt/svg/filters/filter-on-filter-for-text-expected.txt:
* platform/qt/svg/filters/filter-on-tspan-expected.png:
* platform/qt/svg/filters/filter-on-tspan-expected.txt:
* platform/qt/svg/filters/filter-width-update-expected.png:
* platform/qt/svg/filters/filter-width-update-expected.txt:
* platform/qt/svg/filters/sourceAlpha-expected.png: Added.
* platform/qt/svg/filters/sourceAlpha-expected.txt:
* platform/qt/svg/foreignObject/fO-parent-display-changes-expected.txt:
* platform/qt/svg/foreignObject/fO-parent-display-none-expected.txt:
* platform/qt/svg/foreignObject/fO-parent-display-none-with-relative-pos-content-expected.txt:
* platform/qt/svg/foreignObject/fO-parent-of-parent-display-none-expected.txt:
* platform/qt/svg/foreignObject/fO-parent-of-parent-display-none-with-relative-pos-content-expected.txt:
* platform/qt/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.png:
* platform/qt/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
* platform/qt/svg/foreignObject/svg-document-as-direct-child-expected.txt:
* platform/qt/svg/foreignObject/svg-document-in-html-document-expected.png:
* platform/qt/svg/foreignObject/svg-document-in-html-document-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123609
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
alexis.menard@openbossa.org [Wed, 25 Jul 2012 12:32:29 +0000 (12:32 +0000)]
[Qt] svg/hixie rebaseline after new test fonts.
https://bugs.webkit.org/show_bug.cgi?id=92242
Unreviewed gardening.
These tests have been skipped because monospace fonts weren't properly used by
layout tests. After r121971, the test results are normal again.
* platform/qt-5.0/Skipped:
* platform/qt/svg/hixie/dynamic/002-expected.txt:
* platform/qt/svg/hixie/error/002-expected.txt:
* platform/qt/svg/hixie/error/003-expected.png:
* platform/qt/svg/hixie/error/003-expected.txt:
* platform/qt/svg/hixie/error/010-expected.png:
* platform/qt/svg/hixie/error/010-expected.txt:
* platform/qt/svg/hixie/error/011-expected.png:
* platform/qt/svg/hixie/error/011-expected.txt:
* platform/qt/svg/hixie/error/013-expected.png:
* platform/qt/svg/hixie/error/013-expected.txt:
* platform/qt/svg/hixie/error/017-expected.png:
* platform/qt/svg/hixie/error/017-expected.txt:
* platform/qt/svg/hixie/intrinsic/001-expected.png:
* platform/qt/svg/hixie/intrinsic/001-expected.txt:
* platform/qt/svg/hixie/intrinsic/002-expected.png:
* platform/qt/svg/hixie/intrinsic/002-expected.txt:
* platform/qt/svg/hixie/intrinsic/003-expected.png:
* platform/qt/svg/hixie/intrinsic/003-expected.txt:
* platform/qt/svg/hixie/links/002-expected.png:
* platform/qt/svg/hixie/links/002-expected.txt:
* platform/qt/svg/hixie/mixed/003-expected.png:
* platform/qt/svg/hixie/mixed/003-expected.txt:
* platform/qt/svg/hixie/mixed/004-expected.txt: Added.
* platform/qt/svg/hixie/mixed/005-expected.txt: Added.
* platform/qt/svg/hixie/mixed/006-expected.png:
* platform/qt/svg/hixie/mixed/006-expected.txt:
* platform/qt/svg/hixie/mixed/007-expected.txt:
* platform/qt/svg/hixie/mixed/008-expected.png:
* platform/qt/svg/hixie/mixed/008-expected.txt:
* platform/qt/svg/hixie/mixed/009-expected.png:
* platform/qt/svg/hixie/mixed/009-expected.txt:
* platform/qt/svg/hixie/mixed/010-expected.png:
* platform/qt/svg/hixie/mixed/010-expected.txt:
* platform/qt/svg/hixie/mixed/011-expected.png:
* platform/qt/svg/hixie/mixed/011-expected.txt:
* platform/qt/svg/hixie/perf/001-expected.txt:
* platform/qt/svg/hixie/perf/002-expected.txt:
* platform/qt/svg/hixie/perf/003-expected.png:
* platform/qt/svg/hixie/perf/003-expected.txt:
* platform/qt/svg/hixie/perf/004-expected.png:
* platform/qt/svg/hixie/perf/004-expected.txt:
* platform/qt/svg/hixie/perf/005-expected.png:
* platform/qt/svg/hixie/perf/005-expected.txt:
* platform/qt/svg/hixie/perf/006-expected.png:
* platform/qt/svg/hixie/perf/006-expected.txt:
* platform/qt/svg/hixie/perf/007-expected.png:
* platform/qt/svg/hixie/perf/007-expected.txt:
* platform/qt/svg/hixie/processing-model/003-expected.png:
* platform/qt/svg/hixie/processing-model/003-expected.txt:
* platform/qt/svg/hixie/processing-model/004-expected.png:
* platform/qt/svg/hixie/processing-model/004-expected.txt:
* platform/qt/svg/hixie/rendering-model/003-expected.png:
* platform/qt/svg/hixie/rendering-model/003-expected.txt:
* platform/qt/svg/hixie/rendering-model/004-expected.png:
* platform/qt/svg/hixie/rendering-model/004-expected.txt:
* platform/qt/svg/hixie/text/002-expected.png:
* platform/qt/svg/hixie/text/002-expected.txt:
* platform/qt/svg/hixie/text/003-expected.png:
* platform/qt/svg/hixie/text/003-expected.txt:
* platform/qt/svg/hixie/text/003a-expected.png:
* platform/qt/svg/hixie/text/003a-expected.txt:
* platform/qt/svg/hixie/text/003b-expected.png:
* platform/qt/svg/hixie/text/003b-expected.txt:
* platform/qt/svg/hixie/viewbox/002-expected.txt:
* platform/qt/svg/hixie/viewbox/003-expected.txt:
* platform/qt/svg/hixie/viewbox/preserveAspectRatio/001-expected.png:
* platform/qt/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt:
* platform/qt/svg/hixie/viewbox/preserveAspectRatio/002-expected.png:
* platform/qt/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123608
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Wed, 25 Jul 2012 12:28:06 +0000 (12:28 +0000)]
[Qt] Unreviewed gardening.
* platform/qt-4.8/Skipped: Unskip now passing tests. (bug85203)
* platform/qt/Skipped: Skip new tests without expected files.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123607
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
keishi@webkit.org [Wed, 25 Jul 2012 11:57:21 +0000 (11:57 +0000)]
Implement ColorSuggestionPicker page popup
https://bugs.webkit.org/show_bug.cgi?id=92109
Reviewed by Kent Tamura.
.:
* ManualTests/forms/color-suggestion-picker.html: Added. Tests colorSuggestionPicker.{js,css}
Source/WebCore:
Implements ColorSuggestionPicker page popup. This will be used in
certain ports as the datalist UI for <input type=color>.
No new tests because there is no way to open the popup yet.
* Resources/colorSuggestionPicker.css: Added.
(body):
(#main):
(.color-swatch):
(.color-swatch:hover):
(.color-swatch-container):
(.other-color):
* Resources/colorSuggestionPicker.js: Added.
(getScrollbarWidth):When there are more than 20 colors we need to
increase the window width to accommodate the scroll bar.
(createElement):
(handleMessage):
(initialize):
(handleArgumentsTimeout):
(validateArguments):
(submitValue): Calls setValueAndClosePopup with a numValue of 0.
(handleCancel): Calls setValueAndClosePopup with a numValue of -1.
(chooseOtherColor): Calls setValueAndClosePopup with a numValue of -2.
(ColorPicker):
(ColorPicker.prototype._layout): Lays out the color swatches in a 5x4
grid.
(ColorPicker.prototype._handleSwatchClick):
* WebCore.gyp/WebCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123606
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
allan.jensen@nokia.com [Wed, 25 Jul 2012 11:54:36 +0000 (11:54 +0000)]
Fix arithmetic composite filter for auto-vectorization
https://bugs.webkit.org/show_bug.cgi?id=92123
Reviewed by Nikolas Zimmermann.
Since only clamping of the result prevents GCC from auto-vectorizing the inner loop, this patch
adds a faster version of the inner loop to handle cases where clamping is unnecessary,
* platform/graphics/filters/FEComposite.cpp:
(WebCore::computeArithmeticPixelsUnclamped):
(WebCore::arithmeticSoftware):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123605
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
gyuyoung.kim@samsung.com [Wed, 25 Jul 2012 11:46:56 +0000 (11:46 +0000)]
[EFL] Use eina_stringshare_add instead of strdup.
https://bugs.webkit.org/show_bug.cgi?id=92072
Reviewed by Kentaro Hara.
Eina of EFL libraries supports a string functionality that replaces strdup. So, EFL port needs
to replace strdup with eina_stringshare_add function.
Source/WebKit/efl:
In addition, some API descriptions need to be modified according to ewk APIs's parameter and
return type change.
* WebCoreSupport/ChromeClientEfl.cpp:
(WebCore::ChromeClientEfl::runJavaScriptPrompt):
* ewk/ewk_cookies.cpp:
(ewk_cookies_get_all):
(ewk_cookies_cookie_free):
* ewk/ewk_cookies.h:
* ewk/ewk_frame.cpp:
(ewk_frame_script_execute):
(ewk_frame_selection_get):
(ewk_frame_resources_location_get):
(ewk_frame_plain_text_get):
* ewk/ewk_frame.h:
* ewk/ewk_intent.cpp:
(ewk_intent_suggestions_get):
(ewk_intent_extra_get):
(ewk_intent_extra_names_get):
* ewk/ewk_intent.h:
* ewk/ewk_js.cpp:
(ewk_js_variant_to_npvariant):
(ewk_js_object_new):
* ewk/ewk_view.cpp:
(_ewk_view_smart_run_javascript_prompt):
(ewk_view_selection_get):
(ewk_view_run_javascript_prompt):
(ewk_view_run_open_panel):
* ewk/ewk_view.h:
* ewk/ewk_view_private.h:
Source/WebKit2:
* UIProcess/API/efl/ewk_intent.cpp:
(ewk_intent_suggestions_get):
(ewk_intent_extra_get):
* UIProcess/API/efl/ewk_intent.h:
Tools:
DumpRenderTree also needs to be modified according to ewk APIs's parameter change.
* DumpRenderTree/efl/DumpRenderTree.cpp:
(dumpFramesAsText):
* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::onFrameIntentNew):
* DumpRenderTree/efl/DumpRenderTreeView.cpp:
(onJavaScriptPrompt):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123604
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 11:28:39 +0000 (11:28 +0000)]
[EFL] Rebaseline for changed mathml dump after r123492
https://bugs.webkit.org/show_bug.cgi?id=92234
Unreviewed, EFL rebaseline.
Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-07-25
* platform/efl/mathml/msub-anonymous-child-render-crash-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123603
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
allan.jensen@nokia.com [Wed, 25 Jul 2012 11:15:47 +0000 (11:15 +0000)]
Fix blend filter for autovectorizing
https://bugs.webkit.org/show_bug.cgi?id=91398
Reviewed by Nikolas Zimmermann.
Get rid of wrapper classes, and use functions directly as template argument.
* platform/graphics/filters/FEBlend.cpp:
(WebCore::feBlendNormal):
(WebCore::feBlendMultiply):
(WebCore::feBlendScreen):
(WebCore::feBlendDarken):
(WebCore::feBlendLighten):
(WebCore::feBlendUnknown):
(WebCore::platformApply):
(WebCore::FEBlend::platformApplyGeneric):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123602
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
keishi@webkit.org [Wed, 25 Jul 2012 11:03:38 +0000 (11:03 +0000)]
Add methods to ColorChooserClient so the color chooser can show suggestions
https://bugs.webkit.org/show_bug.cgi?id=92114
Reviewed by Kent Tamura.
Added methods to ColorChooserClient so the color chooser can ask the
client for suggestions and current color.
No new tests. The methods are not used yet.
* html/ColorInputType.cpp:
(WebCore::ColorInputType::currentColor): Returns what color the color
chooser should display.
(WebCore):
(WebCore::ColorInputType::shouldShowSuggestions): Returns if the UI for
suggestions should be shown.
(WebCore::ColorInputType::suggestions): Returns a list of colors to be
suggested to the user.
* html/ColorInputType.h:
(ColorInputType):
* html/HTMLInputElement.h:
(HTMLInputElement): Made dataList() public.
* platform/ColorChooserClient.h:
(ColorChooserClient):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123601
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
haraken@chromium.org [Wed, 25 Jul 2012 10:35:26 +0000 (10:35 +0000)]
Replace int with long in test IDL files
https://bugs.webkit.org/show_bug.cgi?id=92181
Reviewed by Adam Barth.
int is not a valid type in WebIDL. It should be long.
We should replace int with long in bindings/scripts/test/*.idl.
This is a follow-up patch for r123550.
Test: bindings/scripts/test/TestObj.idl
* bindings/scripts/test/CPP/WebDOMTestObj.cpp:
(WebDOMTestObj::readOnlyLongAttr):
(WebDOMTestObj::Attr):
(WebDOMTestObj::setAttr):
(WebDOMTestObj::voidMethodWithArgs):
(WebDOMTestObj::Method):
(WebDOMTestObj::MethodWithArgs):
(WebDOMTestObj::objMethodWithArgs):
* bindings/scripts/test/CPP/WebDOMTestObj.h:
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_set_property):
(webkit_dom_test_obj_get_property):
(webkit_dom_test_obj_class_init):
(webkit_dom_test_obj_void_method_with_args):
(webkit_dom_test_obj_method):
(webkit_dom_test_obj_method_with_args):
(webkit_dom_test_obj_obj_method_with_args):
(webkit_dom_test_obj_get_read_only_long_attr):
(webkit_dom_test_obj_get_attr):
(webkit_dom_test_obj_set_attr):
(webkit_dom_test_obj_get_strawberry):
(webkit_dom_test_obj_set_strawberry):
* bindings/scripts/test/GObject/WebKitDOMTestObj.h:
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore):
(WebCore::jsTestObjReadOnlyLongAttr):
(WebCore::jsTestObjConstructorStaticReadOnlyLongAttr):
(WebCore::jsTestObjAttr):
(WebCore::setJSTestObjAttr):
(WebCore::setJSTestObjStrawberry):
(WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionMethod):
(WebCore::jsTestObjPrototypeFunctionMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionMethodReturningSequence):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
* bindings/scripts/test/JS/JSTestObj.h:
(WebCore):
* bindings/scripts/test/ObjC/DOMTestObj.h:
* bindings/scripts/test/ObjC/DOMTestObj.mm:
(-[DOMTestObj readOnlyLongAttr]):
(-[DOMTestObj Attr]):
(-[DOMTestObj setAttr:]):
(-[DOMTestObj voidMethodWithArgs:strArg:objArg:]):
(-[DOMTestObj Method]):
(-[DOMTestObj MethodWithArgs:strArg:objArg:]):
(-[DOMTestObj objMethodWithArgs:strArg:objArg:]):
(-[DOMTestObj customMethodWithArgs:strArg:objArg:]):
* bindings/scripts/test/TestObj.idl:
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::readOnlyLongAttrAttrGetter):
(WebCore::TestObjV8Internal::staticReadOnlyLongAttrAttrGetter):
(WebCore::TestObjV8Internal::AttrAttrGetter):
(WebCore::TestObjV8Internal::AttrAttrSetter):
(WebCore::TestObjV8Internal::strawberryAttrSetter):
(WebCore::TestObjV8Internal::voidMethodWithArgsCallback):
(WebCore::TestObjV8Internal::MethodCallback):
(WebCore::TestObjV8Internal::MethodWithArgsCallback):
(WebCore::TestObjV8Internal::objMethodWithArgsCallback):
(WebCore::TestObjV8Internal::methodReturningSequenceCallback):
(WebCore::TestObjV8Internal::overloadedMethod2Callback):
(WebCore::TestObjV8Internal::overloadedMethod4Callback):
(WebCore):
(WebCore::ConfigureV8TestObjTemplate):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123600
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 10:26:31 +0000 (10:26 +0000)]
[WTR][EFL] Wheel events are not emitted
https://bugs.webkit.org/show_bug.cgi?id=92094
Patch by Alexander Shalamov <alexander.shalamov@intel.com> on 2012-07-25
Reviewed by Csaba Osztrogonác.
Wheel events are not emitted, therefore, layout tests that use mouseScrollBy method are failing.
* WebKitTestRunner/efl/EventSenderProxyEfl.cpp:
(WTR::dispatchMouseScrollByEvent):
(WTR::EventSenderProxy::mouseScrollBy):
* WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
(WTR::PlatformWebView::PlatformWebView):
(WTR::PlatformWebView::focus):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123599
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
shinyak@chromium.org [Wed, 25 Jul 2012 10:09:16 +0000 (10:09 +0000)]
A validation bubble should not be modifiable.
https://bugs.webkit.org/show_bug.cgi?id=92217
Reviewed by Kent Tamura.
Source/WebCore:
A user can set -webkit-user-modify: read-write to validation message elements.
This might cause a undesired crash like Bug 65738. They should be unmodifiable.
Test: fast/forms/validation-user-modify.html
* css/html.css:
Added -webkit-user-modify: read-only !important; for these elements so that they won't be
changed by a user.
(::-webkit-validation-bubble):
(::-webkit-validation-bubble-message):
(::-webkit-validation-bubble-text-block):
(::-webkit-validation-bubble-heading):
(::-webkit-validation-bubble-arrow):
(::-webkit-validation-bubble-arrow-clipper):
LayoutTests:
* fast/forms/validation-message-user-modify-expected.txt: Added.
* fast/forms/validation-message-user-modify.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123598
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 10:00:48 +0000 (10:00 +0000)]
[EFL] Add File Chooser API
https://bugs.webkit.org/show_bug.cgi?id=91957
Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-07-25
Reviewed by Hajime Morita.
Source/WebKit:
Add ewk_file_chooser source and header.
* PlatformEfl.cmake:
Source/WebKit/efl:
Add APIs for file chooser. These APIs allow an application(like a browser) queries informations
about multiple files allowed, directory upload allowed, accept mimetypes list,
accept file extentions list, selected files list and capture to support HTML media capture.
* ewk/EWebKit.h:
* ewk/ewk_file_chooser.cpp: Added.
(_Ewk_File_Chooser):
(ewk_file_chooser_allows_multiple_files_get):
(ewk_file_chooser_allows_directory_upload_get):
(ewk_file_chooser_accept_mimetypes_get):
(ewk_file_chooser_accept_file_extentions_get):
(ewk_file_chooser_selected_files_get):
(ewk_file_chooser_capture_get):
(ewk_file_chooser_new):
(ewk_file_chooser_free):
* ewk/ewk_file_chooser.h: Added.
* ewk/ewk_file_chooser_private.h: Added.
(WebCore):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123597
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Wed, 25 Jul 2012 09:54:11 +0000 (09:54 +0000)]
[Qt] Unreviewed gardening, update Qt5 specific test results.
* platform/qt-5.0-wk1/fast/text/whitespace/028-expected.png: Added.
* platform/qt-5.0-wk1/fast/text/whitespace/028-expected.txt: Added.
* platform/qt-5.0-wk2/fast/text/whitespace/028-expected.png: Added.
* platform/qt-5.0-wk2/fast/text/whitespace/028-expected.txt: Added.
* platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.png: Added.
* platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.txt: Added.
* platform/qt-5.0/svg/as-image/img-preserveAspectRatio-support-1-expected.png:
* platform/qt-5.0/svg/as-image/img-preserveAspectRatio-support-1-expected.txt:
* platform/qt-5.0/svg/as-object/object-box-sizing-no-width-height-expected.png: Added.
* platform/qt-5.0/svg/as-object/object-box-sizing-no-width-height-expected.txt: Added.
* platform/qt-5.0/svg/batik/text/longTextOnPath-expected.png: Added.
* platform/qt-5.0/svg/batik/text/longTextOnPath-expected.txt: Added.
* platform/qt-5.0/svg/carto.net/tabgroup-expected.png: Added.
* platform/qt-5.0/svg/carto.net/tabgroup-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123596
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kkristof@inf.u-szeged.hu [Wed, 25 Jul 2012 09:43:20 +0000 (09:43 +0000)]
[Qt] Unreviewed gardening.
Patch by Balazs Ankes <bank@inf.u-szeged.hu> on 2012-07-25
* platform/qt/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123595
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zandobersek@gmail.com [Wed, 25 Jul 2012 09:30:32 +0000 (09:30 +0000)]
Unreviewed GTK gardening, updating one mathml test baseline after r123492.
* platform/gtk/mathml/msub-anonymous-child-render-crash-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123594
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ryuan.choi@samsung.com [Wed, 25 Jul 2012 09:16:12 +0000 (09:16 +0000)]
[EFL][WK2] Add ewk_view_cursor_set to change cursor.
https://bugs.webkit.org/show_bug.cgi?id=89140
Reviewed by Hajime Morita.
Implement ewk_view_cursor_set to support cursor changes.
* UIProcess/API/efl/PageClientImpl.cpp:
(WebKit::PageClientImpl::setCursor): Called ewk_view_cursor_set.
* UIProcess/API/efl/ewk_view.cpp:
(_Ewk_View_Private_Data):
(_Ewk_View_Private_Data::_Ewk_View_Private_Data):
(_Ewk_View_Private_Data::~_Ewk_View_Private_Data):
(_ewk_view_priv_new): Check whether ecore_x can be used.
(_ewk_view_smart_add):
Change order of initialization to use base structure in _ewk_view_priv_new.
(ewk_view_cursor_set): Added to set cursor.
* UIProcess/API/efl/ewk_view_private.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123593
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kkristof@inf.u-szeged.hu [Wed, 25 Jul 2012 09:05:55 +0000 (09:05 +0000)]
[Qt] Unreviewed gardening.
Patch by Balazs Ankes <bank@inf.u-szeged.hu> on 2012-07-25
* platform/qt/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123592
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ryuan.choi@samsung.com [Wed, 25 Jul 2012 09:03:55 +0000 (09:03 +0000)]
[EFL][WK2] Update uri when the active URI is changed while loading.
https://bugs.webkit.org/show_bug.cgi?id=92001
Reviewed by Hajime Morita.
For now, ewk_view_uri_get just return the last uri of setter.
This patch updates the uri of ewk_view when it is changed while loading.
* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_uri_update):
Added to check whether current active URI has changed and send uri,changed
signal if it has changed.
(ewk_view_uri_set):
Called ewk_view_uri_update to make sure the active uri is updated when the
load operation is started.
(ewk_view_reload): Ditto.
(ewk_view_reload_bypass_cache): Ditto.
(ewk_view_load_finished): Ditto.
(ewk_view_load_provisional_redirect): Ditto.
(ewk_view_load_provisional_started): Ditto.
(ewk_view_html_string_load): Ditto.
* UIProcess/API/efl/ewk_view.h: Updated comment for uri,changed signal.
* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestEnvironment.cpp:
(EWK2UnitTest::EWK2UnitTestEnvironment::urlForResource):
Added to get url of custom resource for test.
* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestEnvironment.h:
* UIProcess/API/efl/tests/resources/redirect_uri_to_default.html:
Added to test ewk_view_uri_get when the page is redirected.
* UIProcess/API/efl/tests/test_ewk2_view.cpp: Ditto.
(onLoadFinishedForRedirection):
(TEST_F): Added new test case whether ewk_view_uri_get returns correct uri when
the page is redirected.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123591
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Wed, 25 Jul 2012 09:00:39 +0000 (09:00 +0000)]
[Qt] There are parallel GC related crashes regularly
https://bugs.webkit.org/show_bug.cgi?id=90957
Rubber-stamped by Zoltan Herczeg.
* wtf/Platform.h: Disable parallel GC temporarily on Qt until proper fix.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123590
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
morrita@google.com [Wed, 25 Jul 2012 08:42:44 +0000 (08:42 +0000)]
Another unreviewed win build fix against r123569.
* tests/IDBAbortOnCorruptTest.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123589
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zeno.albisser@nokia.com [Wed, 25 Jul 2012 08:35:59 +0000 (08:35 +0000)]
[Qt][WK2] Disable CopyToTexture for GraphicsSurfaceMac.
https://bugs.webkit.org/show_bug.cgi?id=92159
Disable CopyToTexture feature for GraphicsSurface on Mac.
While this is actually working, it is currently used for Tiles
that are single buffered, and therefore requires a call to glFlush.
This call blocks the GPU for about 40ms which would make smooth animations impossible.
Reviewed by Noam Rosenthal.
* platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp:
(WebCore::GraphicsSurface::platformCreate):
(WebCore::GraphicsSurface::platformImport):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123588
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 08:30:00 +0000 (08:30 +0000)]
[EFL][WK2] Add ewk_main.{cpp,h} to EFL WK2
https://bugs.webkit.org/show_bug.cgi?id=92101
Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-07-25
Reviewed by Kenneth Rohde Christiansen.
Added a centralized place for general initialization in UI process for EFL WK2.
Source/WebKit2:
* PlatformEfl.cmake:
* UIProcess/API/efl/EWebKit2.h:
* UIProcess/API/efl/ewk_main.cpp: Added.
(ewk_init): General initialization.
(ewk_shutdown): General freeing.
(_ewk_init_body): An aux function.
* UIProcess/API/efl/ewk_main.h: Added.
Tools:
* MiniBrowser/efl/main.c: Added using of newly added ewk_init() and ewk_shutdown() functions.
(main):
* WebKitTestRunner/efl/main.cpp: Ditto.
(main):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123587
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bashi@chromium.org [Wed, 25 Jul 2012 08:18:59 +0000 (08:18 +0000)]
[Chromium] Fix up includes in HarfBuzzNGFace.h
https://bugs.webkit.org/show_bug.cgi?id=92127
Reviewed by Hajime Morita.
Move constructors of FontPlatformData from headers to corresponding cpp files
so that we can use forward declaration for HarfBuzzNGFace instead of including HarfBuzzNGFace.h.
This way we can include hb.h in HarfBuzzNGFace.h.
No new tests. No changes in behavior.
* platform/graphics/FontPlatformData.cpp:
(WebCore::FontPlatformData::FontPlatformData): Moved from header file.
(WebCore):
* platform/graphics/FontPlatformData.h:
(WebCore):
(FontPlatformData): Moved to cpp file.
* platform/graphics/cocoa/FontPlatformDataCocoa.mm: Include HarfBuzzNGFace.h
* platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp:
(WebCore::FontPlatformData::FontPlatformData): Moved from header file.
(WebCore):
* platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h:
(WebCore):
(FontPlatformData): Moved to cpp file.
* platform/graphics/harfbuzz/ng/HarfBuzzNGFace.h: Include hb.h.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123586
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
morrita@google.com [Wed, 25 Jul 2012 08:00:53 +0000 (08:00 +0000)]
Unreviewed win build fix against r123569.
* tests/IDBAbortOnCorruptTest.cpp:
* tests/IDBDatabaseBackendTest.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123585
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Wed, 25 Jul 2012 07:42:03 +0000 (07:42 +0000)]
REGRESSION(r123505): Date.getYear() returns the same as Date.getFullYear()
https://bugs.webkit.org/show_bug.cgi?id=92218
Reviewed by Csaba Osztrogonác.
* runtime/DatePrototype.cpp:
(JSC::dateProtoFuncGetYear): Added the missing offset of 1900 to the return value.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123584
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zandobersek@gmail.com [Wed, 25 Jul 2012 07:32:07 +0000 (07:32 +0000)]
fast/events/panScroll-click-hyperlink.html test should be put in platform/win
https://bugs.webkit.org/show_bug.cgi?id=92111
Reviewed by Daniel Bates.
Move the test into platform/win directory where other pan scrolling tests reside,
and remove other ports' baselines as they just indicated that pan scrolling is not
supported on those platforms. chromium-win and qt-win platforms still pass the test
but should cope with the default baseline just fine.
* platform/chromium-linux/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
* platform/chromium-win/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
* platform/efl/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
* platform/gtk/TestExpectations:
* platform/mac/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
* platform/qt/fast/events/panScroll-click-hyperlink-expected.txt: Removed.
* platform/win/fast/events/panScroll-click-hyperlink.html: Renamed from LayoutTests/fast/events/panScroll-click-hyperlink.html.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123583
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
benjamin@webkit.org [Wed, 25 Jul 2012 07:22:48 +0000 (07:22 +0000)]
QualifiedName's HashSet should be big enough to hold at least all the static names
https://bugs.webkit.org/show_bug.cgi?id=91891
Patch by Benjamin Poulain <bpoulain@apple.com> && Joseph Pecoraro <pecoraro@apple.com> on 2012-07-24
Reviewed by Darin Adler.
Source/WebCore:
QualifiedName's table has a standard size of 64 buckets. When initializing WebKit,
we create 850 static QualifiedName for the standard names (HTMLNames, SVGNames etc).
The small base size forces us to grow and rehash the table several time on startup.
This patch solves the issue by defining the initial table size to the minimum size that
can hold all the static QualifiedName.
* dom/QualifiedName.cpp:
(QualifiedNameHashTraits):
* dom/make_names.pl:
(printNamesHeaderFile):
Source/WTF:
Add a static struct to compute the HashTable capacity for any given size at compile time.
This allow us to create HashTraits giving the minimumSize without hardcoding the values.
* wtf/HashTable.h:
(OneifyLowBits):
(UpperPowerOfTwoBound):
(HashTableCapacityForSize): Compute the HashTable capacity at compile time.
Tools:
Add a test for WTF::hashTableCapacityForSize.
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WTF/HashSet.cpp: Added.
(InitialCapacityTestHashTraits):
(TestWebKitAPI::testInitialCapacity):
(TestWebKitAPI::generateTestCapacityUpToSize):
(TestWebKitAPI::TEST):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123582
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kseo@webkit.org [Wed, 25 Jul 2012 06:52:43 +0000 (06:52 +0000)]
Remove anonymous namespace and make functions static.
https://bugs.webkit.org/show_bug.cgi?id=92214
Reviewed by Adam Barth.
Mark functions as static instead of enclosing them in anonymous namespaces.
One exception to this rule is when a function is passed as a template argument.
In this case, the function must have an external linkage.
No functional change. Covered by existing tests.
* html/parser/HTMLConstructionSite.cpp:
(WebCore::hasImpliedEndTag):
(WebCore::causesFosterParenting):
(WebCore::isAllWhitespace):
* html/parser/HTMLDocumentParser.cpp:
(WebCore):
(WebCore::tokenizerStateForContextElement):
* html/parser/HTMLElementStack.cpp:
(WebCore::isNumberedHeaderElement):
(WebCore::isRootNode):
(WebCore):
* html/parser/HTMLEntityParser.cpp:
(WebCore::isAlphaNumeric):
* html/parser/HTMLEntitySearch.cpp:
(WebCore::halfway):
* html/parser/HTMLPreloadScanner.cpp:
(WebCore):
* html/parser/HTMLTokenizer.cpp:
(WebCore::toLowerCase):
(WebCore::vectorEqualsString):
(WebCore::isEndTagBufferingState):
* html/parser/HTMLTreeBuilder.cpp:
(WebCore):
(WebCore::uninitializedPositionValue1):
(WebCore::isAllWhitespace):
(WebCore::isAllWhitespaceOrReplacementCharacters):
(WebCore::isNumberedHeaderTag):
(WebCore::isCaptionColOrColgroupTag):
(WebCore::isTableCellContextTag):
(WebCore::isTableBodyContextTag):
(WebCore::isSpecialNode):
(WebCore::isNonAnchorNonNobrFormattingTag):
(WebCore::isNonAnchorFormattingTag):
(WebCore::isFormattingTag):
(WebCore::closestFormAncestor):
(WebCore::mapLoweredLocalNameToName):
(WebCore::adjustSVGTagNameCase):
(WebCore::adjustAttributes):
(WebCore::adjustSVGAttributes):
(WebCore::adjustMathMLAttributes):
(WebCore::addNamesWithPrefix):
(WebCore::adjustForeignAttributes):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123581
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Wed, 25 Jul 2012 06:40:49 +0000 (06:40 +0000)]
The EWS bots get flaky when we hit the failure limit
https://bugs.webkit.org/show_bug.cgi?id=92212
Reviewed by Eric Seidel.
Previously we were missing some failure types, which means we didn't
notice that the bots were hitting the failure limit.
* Scripts/webkitpy/common/net/layouttestresults.py:
(LayoutTestResults.failing_test_results):
* Scripts/webkitpy/common/net/layouttestresults_unittest.py:
(LayoutTestResultsTest.test_results_from_string):
(LayoutTestResultsTest.test_tests_matching_failure_types):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123580
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
vsevik@chromium.org [Wed, 25 Jul 2012 06:01:25 +0000 (06:01 +0000)]
Unreviewed r123494 follow-up: fixed inspector undock icon.
* inspector/front-end/Images/statusbarButtonGlyphs.png:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123579
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yosin@chromium.org [Wed, 25 Jul 2012 05:53:29 +0000 (05:53 +0000)]
[Tests] Copy fast/forms/number/number-spinbutton-change-and-input-events.html to fast/forms/js/resources
https://bugs.webkit.org/show_bug.cgi?id=92209
Reviewed by Kent Tamura.
This patch copies test file fast/forms/number/number-spinbutton-change-and-input-events.html
to JavaScript code directory fast/forms/resources as common-spinbutton-change-and-input-events.js
for sharing code with other input types.
This patch is preparation of re-factoring.
* fast/forms/resources/common-spinbutton-change-and-input-events.js: Copied from LayoutTests/fast/forms/number/number-spinbutton-change-and-input-events.html.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123578
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kseo@webkit.org [Wed, 25 Jul 2012 05:47:29 +0000 (05:47 +0000)]
Read tag names and attributes from the saved tokens where possible.
https://bugs.webkit.org/show_bug.cgi?id=92079
Reviewed by Adam Barth.
Read tag names and attributes from the saved tokens, not from the DOM.
Also added convenient methods such as hasLocalName, hasTagName, localName,
isElementNode and isDocumentFragmentNode to HTMLStackItem class.
No new tests, covered by existing tests.
* html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLNames::hasImpliedEndTag):
(WebCore::HTMLNames::causesFosterParenting):
(WebCore::HTMLConstructionSite::generateImpliedEndTagsWithExclusion):
(WebCore::HTMLConstructionSite::generateImpliedEndTags):
(WebCore::HTMLConstructionSite::shouldFosterParent):
* html/parser/HTMLConstructionSite.h:
(WebCore::HTMLConstructionSite::currentStackItem):
* html/parser/HTMLElementStack.cpp:
(WebCore::HTMLNames::isNumberedHeaderElement):
(WebCore::HTMLNames::isRootNode):
(WebCore::HTMLNames::isScopeMarker):
(WebCore::HTMLNames::isListItemScopeMarker):
(WebCore::HTMLNames::isTableScopeMarker):
(WebCore::HTMLNames::isTableBodyScopeMarker):
(WebCore::HTMLNames::isTableRowScopeMarker):
(WebCore::HTMLNames::isForeignContentScopeMarker):
(WebCore::HTMLNames::isButtonScopeMarker):
(WebCore::HTMLNames::isSelectScopeMarker):
(WebCore::HTMLElementStack::ElementRecord::replaceElement):
(WebCore::HTMLElementStack::popUntilNumberedHeaderElementPopped):
(WebCore::HTMLElementStack::popUntilTableScopeMarker):
(WebCore::HTMLElementStack::popUntilTableBodyScopeMarker):
(WebCore::HTMLElementStack::popUntilTableRowScopeMarker):
(WebCore::HTMLElementStack::isMathMLTextIntegrationPoint):
(WebCore::HTMLElementStack::isHTMLIntegrationPoint):
(WebCore::HTMLElementStack::popUntilForeignContentScopeMarker):
(WebCore::HTMLElementStack::pushRootNode):
(WebCore::HTMLElementStack::oneBelowTop):
(WebCore::HTMLElementStack::topmost):
(WebCore):
(WebCore::inScopeCommon):
(WebCore::HTMLElementStack::hasNumberedHeaderElementInScope):
(WebCore::HTMLElementStack::inScope):
* html/parser/HTMLElementStack.h:
(WebCore::HTMLElementStack::topStackItem):
(HTMLElementStack):
(WebCore::isInHTMLNamespace):
* html/parser/HTMLStackItem.h:
(WebCore::HTMLStackItem::isDocumentFragmentNode):
(WebCore::HTMLStackItem::isElementNode):
(HTMLStackItem):
(WebCore::HTMLStackItem::hasLocalName):
(WebCore::HTMLStackItem::hasTagName):
(WebCore::HTMLStackItem::HTMLStackItem):
* html/parser/HTMLTreeBuilder.cpp:
(WebCore):
(WebCore::HTMLTreeBuilder::constructTreeFromAtomicToken):
(WebCore::HTMLTreeBuilder::processFakeEndTag):
(WebCore::HTMLTreeBuilder::processCloseWhenNestedTag):
(WebCore::HTMLTreeBuilder::processStartTagForInBody):
(WebCore::HTMLTreeBuilder::processStartTag):
(WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody):
(WebCore::HTMLTreeBuilder::furthestBlockForFormattingElement):
(WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
(WebCore::HTMLTreeBuilder::processEndTagForInTableBody):
(WebCore::HTMLTreeBuilder::processEndTagForInCell):
(WebCore::HTMLTreeBuilder::processEndTagForInBody):
(WebCore::HTMLTreeBuilder::processCaptionEndTagForInCaption):
(WebCore::HTMLTreeBuilder::processTrEndTagForInRow):
(WebCore::HTMLTreeBuilder::processEndTag):
(WebCore::HTMLTreeBuilder::processCharacterBuffer):
(WebCore::HTMLTreeBuilder::processEndOfFile):
(WebCore::HTMLTreeBuilder::shouldProcessTokenInForeignContent):
(WebCore::HTMLTreeBuilder::processTokenInForeignContent):
* html/parser/HTMLTreeBuilder.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123577
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 05:28:36 +0000 (05:28 +0000)]
Unreviewed. Rolled DEPS.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-24
* DEPS:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123576
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yosin@chromium.org [Wed, 25 Jul 2012 05:18:06 +0000 (05:18 +0000)]
[Tests] Rename fast/number/number-events.html to number-spinbutton-change-and-input-events.html
https://bugs.webkit.org/show_bug.cgi?id=92208
Reviewed by Kent Tamura.
This patch renames fast/forms/number/number-events.html to number-spinbutton-change-and-input-events.html
to make file name explains what test will be done.
* fast/forms/number/number-events-expected.txt: Removed.
* fast/forms/number/number-events.html: Removed.
* fast/forms/number/number-spinbutton-change-and-input-events-expected.txt: Copied from LayoutTests/fast/forms/number/number-events-expected.txt.
* fast/forms/number/number-spinbutton-change-and-input-events.html: Copied from LayoutTests/fast/forms/number/number-events.html.
* platform/qt/Skipped:
* platform/win/Skipped:
* platform/wincairo/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123575
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 05:04:10 +0000 (05:04 +0000)]
[chromium] Move renderingStats from WebView to WebWidget.
https://bugs.webkit.org/show_bug.cgi?id=92184
Patch by Dave Tu <dtu@chromium.org> on 2012-07-24
Reviewed by Adam Barth.
We are going to add some rendering stats that work in non-composited mode, so the renderingStats() method should be moved from WebView to WebWidget.
* public/WebView.h:
(WebKit):
(WebView):
* public/WebWidget.h:
(WebKit):
(WebWidget):
(WebKit::WebWidget::renderingStats):
* src/WebViewImpl.h:
(WebViewImpl):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123574
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yosin@chromium.org [Wed, 25 Jul 2012 05:00:54 +0000 (05:00 +0000)]
[Tests] Remove duplicated fast/forms/number/number-spinbutton-events.html
https://bugs.webkit.org/show_bug.cgi?id=92205
Reviewed by Kent Tamura.
This patch removes fast/forms/number/number-spinbutton-events.html
because fast/forms/number/number-events.html covers and checked more.
r108955 is an evidence of coverage.
* fast/forms/number/number-spinbutton-events-expected.txt: Removed.
* fast/forms/number/number-spinbutton-events.html: Removed.
* platform/efl/Skipped:
* platform/qt-arm/TestExpectations:
* platform/win/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123573
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hbono@chromium.org [Wed, 25 Jul 2012 04:51:55 +0000 (04:51 +0000)]
Avoid moving child objects multiple times when vertical scrollbar are shown at the left side.
https://bugs.webkit.org/show_bug.cgi?id=91756
Reviewed by Tony Chang.
Source/WebCore:
My r123067 moves the top-left origin of an RTL element right when its vertical
scrollbar is shown at its left side. (That is, r123067 moves all child objects
in the RTL element right.) This change also increases RenderBox::clientLeft()
at the same time, i.e. it also moves child objects right. Furthermore, my r109512
moves positioned objects in an RTL element right at the same time. This makes
WebKit move objects in an RTL element up to three times by the scrollbar width.
(Moving an absolute object right increases the scrollWidth value and it causes
this bug.) This change removes unnecessary code that moves objects right in my
r109512 and RenderBox::clientLeft().
Test: scrollbars/rtl/div-absolute.html
fast/block/float/026.html
fast/block/float/028.html
fast/overflow/unreachable-overflow-rtl-bug.html
* dom/Element.cpp:
(WebCore::Element::clientLeft): Increase clientLeft value by the width of a vertical scrollbar as written in the CSSOM specification.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::addOverflowFromPositionedObjects): Removed unnecessary code.
(WebCore::RenderBlock::determineLogicalLeftPositionForChild): Removed unnecessary code.
* rendering/RenderBox.h:
(WebCore::RenderBox::clientLeft): Removed unnecessary code.
LayoutTests:
This change adds a test that compares CSSOM properties of an RTL element which
includes positioned objects with the CSSOM properties of an LTR one. This change
also uses clientLeft properties in offsetX-offsetY.html to remove a hard-coded
value in the test and adds rebaselined results for Windows.
* fast/events/offsetX-offsetY.html: Replaced a hard-coded value 'borderLeft' with clientLeft.
* platform/chromium-linux/fast/block/float/026-expected.png:
* platform/chromium-linux/fast/block/float/028-expected.png:
* platform/chromium-win/fast/block/float/026-expected.png:
* platform/chromium-win/fast/block/float/028-expected.png:
* platform/chromium-win/fast/overflow/unreachable-overflow-rtl-bug-expected.png:
* platform/chromium-win/fast/overflow/unreachable-overflow-rtl-bug-expected.txt:
* scrollbars/rtl/div-absolute-expected.txt: Added.
* scrollbars/rtl/div-absolute.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123572
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Wed, 25 Jul 2012 04:42:44 +0000 (04:42 +0000)]
RenderBlock::positionForPoint can fail when the block or its children have a vertical writing mode
https://bugs.webkit.org/show_bug.cgi?id=92202
Reviewed by Beth Dakin.
Source/WebCore:
Test: fast/writing-mode/positionForPoint.html
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::positionForPoint): Fixed two issues, each of which are covered by
one of the sub-tests in the new regression test: (1) changed to compare children’s logical
bounds against pointInLogicalContents, i.e. compare childern’s horizontal bounds to the
point’s horizontal component; and (2) changed to use logicalTopForChild and
logicalHeightForChild, which account for this block’s writing mode, instead of logicalTop
and logicalBottom, which are based on the child’s writing mode.
LayoutTests:
* fast/writing-mode/positionForPoint-expected.txt: Added.
* fast/writing-mode/positionForPoint.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123571
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
morrita@google.com [Wed, 25 Jul 2012 04:13:41 +0000 (04:13 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=89179
Rendering LI having Shadow DOM seems weird
Reviewed by Dimitri Glazkov.
Source/WebCore:
This incorrect rendering happend because HTMLLIElement::attach()
wasn't aware of composed shadow subtree. This change makes it
aware of that using ComposedShadowTreeParentWalker.
Test: fast/dom/shadow/shadow-and-list-elements.html
* html/HTMLLIElement.cpp:
(WebCore::HTMLLIElement::attach):
LayoutTests:
* fast/dom/shadow/shadow-and-list-elements-expected.html: Added.
* fast/dom/shadow/shadow-and-list-elements.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123570
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 03:25:58 +0000 (03:25 +0000)]
IndexedDB: fix #include dependencies so IDBRequest isn't an include root
https://bugs.webkit.org/show_bug.cgi?id=92167
Patch by Alec Flett <alecflett@chromium.org> on 2012-07-24
Reviewed by Tony Chang.
Source/WebCore:
Remove implicit dependencies due to using IDBRequest.h, and fix all
places that break as a result.
* Modules/indexeddb/IDBCallbacks.h:
(WebCore):
* Modules/indexeddb/IDBObjectStore.cpp:
* Modules/indexeddb/IDBRequest.h:
* inspector/InspectorIndexedDBAgent.cpp:
Source/WebKit/chromium:
Remove implicit dependencies due to using IDBRequest.h, and fix all
places that break as a result.
* src/IDBCallbacksProxy.cpp:
* src/WebIDBDatabaseImpl.cpp:
* src/WebIDBTransactionImpl.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123569
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
keishi@webkit.org [Wed, 25 Jul 2012 02:35:01 +0000 (02:35 +0000)]
Move PagePopupClient helper functions so they can be shared
https://bugs.webkit.org/show_bug.cgi?id=92096
Reviewed by Kent Tamura.
Move PagePopupClient helper functions to a separate file,
so they can be shared with new PagePopupClients.
No new tests. Covered by fast/forms/date/calendar-picker-appearance.html
* WebCore.gypi: Added PagePopupClient.cpp
* html/shadow/CalendarPickerElement.cpp:
(WebCore::CalendarPickerElement::writeDocument): Modified to use PagePopupClient.
* page/PagePopupClient.cpp: Added.
(WebCore):
(WebCore::PagePopupClient::addJavaScriptString):
(WebCore::PagePopupClient::addProperty):
* page/PagePopupClient.h:
(WebCore::PagePopupClient::addString):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123568
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jer.noble@apple.com [Wed, 25 Jul 2012 02:31:27 +0000 (02:31 +0000)]
setting playbackRate on a MediaController doesn't change the playbackRate for slaved media
https://bugs.webkit.org/show_bug.cgi?id=92035
Reviewed by Darin Adler.
Source/WebCore:
Allow updatePlaybackRate() to change the MediaPlayer rate when the media element has a
current media controller.
Test: media/media-controller-playbackrate.html
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::updatePlaybackRate):
LayoutTests:
* media/media-controller-playbackrate-expected.txt: Added.
* media/media-controller-playbackrate.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123567
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
alexis.menard@openbossa.org [Wed, 25 Jul 2012 02:13:53 +0000 (02:13 +0000)]
[Qt] svg/as-border-image, svg/as-image, svg/as-object, svg/css rebaseline after new test fonts.
https://bugs.webkit.org/show_bug.cgi?id=92193
Unreviewed gardening.
These tests have been skipped because monospace fonts weren't properly used by
layout tests. After r121971, the test results are normal again.
* platform/qt-5.0/Skipped:
* platform/qt/svg/as-border-image/svg-as-border-image-2-expected.png:
* platform/qt/svg/as-border-image/svg-as-border-image-2-expected.txt:
* platform/qt/svg/as-border-image/svg-as-border-image-expected.png:
* platform/qt/svg/as-border-image/svg-as-border-image-expected.txt:
* platform/qt/svg/as-image/animated-svg-as-image-expected.png: Added.
* platform/qt/svg/as-image/animated-svg-as-image-expected.txt:
* platform/qt/svg/as-image/animated-svg-as-image-no-fixed-intrinsic-size-expected.png: Added.
* platform/qt/svg/as-image/animated-svg-as-image-no-fixed-intrinsic-size-expected.txt:
* platform/qt/svg/as-image/animated-svg-as-image-same-image-expected.png: Added.
* platform/qt/svg/as-image/animated-svg-as-image-same-image-expected.txt:
* platform/qt/svg/as-image/image-respects-pageScaleFactor-expected.png:
* platform/qt/svg/as-image/image-respects-pageScaleFactor-expected.txt:
* platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.png:
* platform/qt/svg/as-image/img-preserveAspectRatio-support-1-expected.txt:
* platform/qt/svg/as-image/img-preserveAspectRatio-support-2-expected.png:
* platform/qt/svg/as-image/img-preserveAspectRatio-support-2-expected.txt:
* platform/qt/svg/as-image/same-image-two-instances-expected.txt:
* platform/qt/svg/as-image/svg-image-change-content-size-expected.png:
* platform/qt/svg/as-image/svg-image-change-content-size-expected.txt:
* platform/qt/svg/as-object/svg-embedded-in-html-in-iframe-expected.txt:
* platform/qt/svg/css/composite-shadow-text-expected.png:
* platform/qt/svg/css/composite-shadow-text-expected.txt:
* platform/qt/svg/css/css-box-min-width-expected.png:
* platform/qt/svg/css/css-box-min-width-expected.txt:
* platform/qt/svg/css/text-shadow-multiple-expected.png:
* platform/qt/svg/css/text-shadow-multiple-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123566
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hayato@chromium.org [Wed, 25 Jul 2012 02:08:38 +0000 (02:08 +0000)]
Rename FocusScope to FocusNavigationScope.
https://bugs.webkit.org/show_bug.cgi?id=92062
Reviewed by Dimitri Glazkov.
FocusNavagationScope is better name than FocusScope since the
class is only used for controlling focus navigation.
No new tests - no functional changes.
* page/FocusController.cpp:
(WebCore::FocusNavigationScope::FocusNavigationScope):
(WebCore::FocusNavigationScope::rootNode):
(WebCore::FocusNavigationScope::owner):
(WebCore::FocusNavigationScope::focusNavigationScopeOf):
(WebCore::FocusNavigationScope::focusNavigationScopeOwnedByShadowHost):
(WebCore::FocusNavigationScope::focusNavigationScopeOwnedByIFrame):
(WebCore::FocusController::findFocusableNodeDecendingDownIntoFrameDocument):
(WebCore::FocusController::advanceFocusInDocumentOrder):
(WebCore::FocusController::findFocusableNodeAcrossFocusScope):
(WebCore::FocusController::findFocusableNodeRecursively):
(WebCore::FocusController::findFocusableNode):
(WebCore::FocusController::nextFocusableNode):
(WebCore::FocusController::previousFocusableNode):
* page/FocusController.h:
(FocusNavigationScope):
(FocusController):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123565
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caio.oliveira@openbossa.org [Wed, 25 Jul 2012 01:57:08 +0000 (01:57 +0000)]
[Qt] css2.1/t080* rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92191
Unreviewed.
* platform/qt-5.0/Skipped:
* platform/qt-5.0/css2.1/t0805-c5518-brdr-t-01-e-expected.txt: Removed.
* platform/qt-5.0/css2.1/t0805-c5519-brdr-r-00-a-expected.txt: Removed.
* platform/qt-5.0/css2.1/t0805-c5519-brdr-r-01-e-expected.txt: Removed.
* platform/qt-5.0/css2.1/t0805-c5520-brdr-b-01-e-expected.txt: Removed.
* platform/qt-5.0/css2.1/t0805-c5521-brdr-l-00-a-expected.txt: Removed.
* platform/qt-5.0/css2.1/t0805-c5521-brdr-l-01-e-expected.txt: Removed.
* platform/qt-5.0/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt: Removed.
* platform/qt/css2.1/t0801-c412-hz-box-00-b-a-expected.png:
* platform/qt/css2.1/t0801-c412-hz-box-00-b-a-expected.txt:
* platform/qt/css2.1/t0803-c5501-imrgn-t-00-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5501-imrgn-t-00-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5501-mrgn-t-00-b-a-expected.png:
* platform/qt/css2.1/t0803-c5501-mrgn-t-00-b-a-expected.txt:
* platform/qt/css2.1/t0803-c5502-imrgn-r-00-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5502-imrgn-r-00-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5502-imrgn-r-01-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5502-imrgn-r-01-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5502-imrgn-r-02-b-a-expected.png:
* platform/qt/css2.1/t0803-c5502-imrgn-r-02-b-a-expected.txt:
* platform/qt/css2.1/t0803-c5502-imrgn-r-03-b-a-expected.png:
* platform/qt/css2.1/t0803-c5502-imrgn-r-03-b-a-expected.txt:
* platform/qt/css2.1/t0803-c5502-imrgn-r-04-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5502-imrgn-r-04-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5502-imrgn-r-05-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5502-imrgn-r-05-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5502-imrgn-r-06-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5502-imrgn-r-06-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5502-mrgn-r-00-c-ag-expected.png:
* platform/qt/css2.1/t0803-c5502-mrgn-r-00-c-ag-expected.txt:
* platform/qt/css2.1/t0803-c5502-mrgn-r-01-c-a-expected.png:
* platform/qt/css2.1/t0803-c5502-mrgn-r-01-c-a-expected.txt:
* platform/qt/css2.1/t0803-c5502-mrgn-r-02-c-expected.png:
* platform/qt/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt:
* platform/qt/css2.1/t0803-c5502-mrgn-r-03-c-expected.png:
* platform/qt/css2.1/t0803-c5502-mrgn-r-03-c-expected.txt:
* platform/qt/css2.1/t0803-c5503-imrgn-b-00-b-a-expected.png:
* platform/qt/css2.1/t0803-c5503-imrgn-b-00-b-a-expected.txt:
* platform/qt/css2.1/t0803-c5503-mrgn-b-00-b-a-expected.png:
* platform/qt/css2.1/t0803-c5503-mrgn-b-00-b-a-expected.txt:
* platform/qt/css2.1/t0803-c5504-imrgn-l-00-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5504-imrgn-l-00-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5504-imrgn-l-01-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5504-imrgn-l-01-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5504-imrgn-l-02-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5504-imrgn-l-02-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5504-imrgn-l-03-b-a-expected.png:
* platform/qt/css2.1/t0803-c5504-imrgn-l-03-b-a-expected.txt:
* platform/qt/css2.1/t0803-c5504-imrgn-l-04-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5504-imrgn-l-04-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5504-imrgn-l-05-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5504-imrgn-l-05-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5504-imrgn-l-06-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5504-imrgn-l-06-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5504-mrgn-l-00-c-ag-expected.png:
* platform/qt/css2.1/t0803-c5504-mrgn-l-00-c-ag-expected.txt:
* platform/qt/css2.1/t0803-c5504-mrgn-l-01-c-a-expected.png:
* platform/qt/css2.1/t0803-c5504-mrgn-l-01-c-a-expected.txt:
* platform/qt/css2.1/t0803-c5504-mrgn-l-02-c-expected.png:
* platform/qt/css2.1/t0803-c5504-mrgn-l-02-c-expected.txt:
* platform/qt/css2.1/t0803-c5504-mrgn-l-03-c-expected.png:
* platform/qt/css2.1/t0803-c5504-mrgn-l-03-c-expected.txt:
* platform/qt/css2.1/t0803-c5505-imrgn-00-a-ag-expected.png:
* platform/qt/css2.1/t0803-c5505-imrgn-00-a-ag-expected.txt:
* platform/qt/css2.1/t0803-c5505-mrgn-00-b-ag-expected.png:
* platform/qt/css2.1/t0803-c5505-mrgn-00-b-ag-expected.txt:
* platform/qt/css2.1/t0803-c5505-mrgn-01-e-a-expected.png:
* platform/qt/css2.1/t0803-c5505-mrgn-01-e-a-expected.txt:
* platform/qt/css2.1/t0803-c5505-mrgn-02-c-expected.png:
* platform/qt/css2.1/t0803-c5505-mrgn-02-c-expected.txt:
* platform/qt/css2.1/t0803-c5505-mrgn-03-c-ag-expected.png:
* platform/qt/css2.1/t0803-c5505-mrgn-03-c-ag-expected.txt:
* platform/qt/css2.1/t080301-c411-vt-mrgn-00-b-expected.png:
* platform/qt/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt:
* platform/qt/css2.1/t0804-c5506-ipadn-t-00-b-a-expected.png:
* platform/qt/css2.1/t0804-c5506-ipadn-t-00-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5506-ipadn-t-01-b-a-expected.png:
* platform/qt/css2.1/t0804-c5506-ipadn-t-01-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5506-ipadn-t-02-b-a-expected.png:
* platform/qt/css2.1/t0804-c5506-ipadn-t-02-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5506-padn-t-00-b-a-expected.png:
* platform/qt/css2.1/t0804-c5506-padn-t-00-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5507-ipadn-r-00-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5507-ipadn-r-00-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5507-ipadn-r-01-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5507-ipadn-r-01-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5507-ipadn-r-02-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5507-ipadn-r-02-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5507-ipadn-r-03-b-a-expected.png:
* platform/qt/css2.1/t0804-c5507-ipadn-r-03-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5507-ipadn-r-04-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5507-ipadn-r-04-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5507-padn-r-00-c-ag-expected.png:
* platform/qt/css2.1/t0804-c5507-padn-r-00-c-ag-expected.txt:
* platform/qt/css2.1/t0804-c5507-padn-r-01-c-a-expected.png:
* platform/qt/css2.1/t0804-c5507-padn-r-01-c-a-expected.txt:
* platform/qt/css2.1/t0804-c5507-padn-r-02-f-expected.png:
* platform/qt/css2.1/t0804-c5507-padn-r-02-f-expected.txt:
* platform/qt/css2.1/t0804-c5507-padn-r-03-f-expected.png:
* platform/qt/css2.1/t0804-c5507-padn-r-03-f-expected.txt:
* platform/qt/css2.1/t0804-c5508-ipadn-b-00-b-a-expected.png:
* platform/qt/css2.1/t0804-c5508-ipadn-b-00-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5508-ipadn-b-01-f-a-expected.png:
* platform/qt/css2.1/t0804-c5508-ipadn-b-01-f-a-expected.txt:
* platform/qt/css2.1/t0804-c5508-ipadn-b-02-b-a-expected.png:
* platform/qt/css2.1/t0804-c5508-ipadn-b-02-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5508-ipadn-b-03-b-a-expected.png:
* platform/qt/css2.1/t0804-c5508-ipadn-b-03-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5509-ipadn-l-00-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5509-ipadn-l-00-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5509-ipadn-l-01-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5509-ipadn-l-01-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5509-ipadn-l-02-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5509-ipadn-l-02-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5509-ipadn-l-03-b-a-expected.png:
* platform/qt/css2.1/t0804-c5509-ipadn-l-03-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5509-ipadn-l-04-f-ag-expected.png:
* platform/qt/css2.1/t0804-c5509-ipadn-l-04-f-ag-expected.txt:
* platform/qt/css2.1/t0804-c5509-padn-l-00-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5509-padn-l-00-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5509-padn-l-01-b-a-expected.png:
* platform/qt/css2.1/t0804-c5509-padn-l-01-b-a-expected.txt:
* platform/qt/css2.1/t0804-c5509-padn-l-02-f-expected.png:
* platform/qt/css2.1/t0804-c5509-padn-l-02-f-expected.txt:
* platform/qt/css2.1/t0804-c5509-padn-l-03-f-g-expected.png:
* platform/qt/css2.1/t0804-c5509-padn-l-03-f-g-expected.txt:
* platform/qt/css2.1/t0804-c5510-ipadn-00-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5510-ipadn-00-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5510-padn-00-b-ag-expected.png:
* platform/qt/css2.1/t0804-c5510-padn-00-b-ag-expected.txt:
* platform/qt/css2.1/t0804-c5510-padn-01-e-a-expected.png:
* platform/qt/css2.1/t0804-c5510-padn-01-e-a-expected.txt:
* platform/qt/css2.1/t0804-c5510-padn-02-f-expected.png:
* platform/qt/css2.1/t0804-c5510-padn-02-f-expected.txt:
* platform/qt/css2.1/t0805-c5511-brdr-tw-00-b-expected.png:
* platform/qt/css2.1/t0805-c5511-brdr-tw-00-b-expected.txt:
* platform/qt/css2.1/t0805-c5511-brdr-tw-01-b-g-expected.png:
* platform/qt/css2.1/t0805-c5511-brdr-tw-01-b-g-expected.txt:
* platform/qt/css2.1/t0805-c5511-brdr-tw-02-b-expected.png:
* platform/qt/css2.1/t0805-c5511-brdr-tw-02-b-expected.txt:
* platform/qt/css2.1/t0805-c5511-brdr-tw-03-b-expected.png:
* platform/qt/css2.1/t0805-c5511-brdr-tw-03-b-expected.txt:
* platform/qt/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.png:
* platform/qt/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5512-brdr-rw-00-b-expected.png:
* platform/qt/css2.1/t0805-c5512-brdr-rw-00-b-expected.txt:
* platform/qt/css2.1/t0805-c5512-brdr-rw-01-b-g-expected.png:
* platform/qt/css2.1/t0805-c5512-brdr-rw-01-b-g-expected.txt:
* platform/qt/css2.1/t0805-c5512-brdr-rw-02-b-expected.png:
* platform/qt/css2.1/t0805-c5512-brdr-rw-02-b-expected.txt:
* platform/qt/css2.1/t0805-c5512-brdr-rw-03-b-expected.png:
* platform/qt/css2.1/t0805-c5512-brdr-rw-03-b-expected.txt:
* platform/qt/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.png:
* platform/qt/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5513-brdr-bw-00-b-expected.png:
* platform/qt/css2.1/t0805-c5513-brdr-bw-00-b-expected.txt:
* platform/qt/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.png:
* platform/qt/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.txt:
* platform/qt/css2.1/t0805-c5513-brdr-bw-02-b-expected.png:
* platform/qt/css2.1/t0805-c5513-brdr-bw-02-b-expected.txt:
* platform/qt/css2.1/t0805-c5513-brdr-bw-03-b-expected.png:
* platform/qt/css2.1/t0805-c5513-brdr-bw-03-b-expected.txt:
* platform/qt/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.png:
* platform/qt/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5514-brdr-lw-00-b-expected.png:
* platform/qt/css2.1/t0805-c5514-brdr-lw-00-b-expected.txt:
* platform/qt/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.png:
* platform/qt/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.txt:
* platform/qt/css2.1/t0805-c5514-brdr-lw-02-b-expected.png:
* platform/qt/css2.1/t0805-c5514-brdr-lw-02-b-expected.txt:
* platform/qt/css2.1/t0805-c5514-brdr-lw-03-b-expected.png:
* platform/qt/css2.1/t0805-c5514-brdr-lw-03-b-expected.txt:
* platform/qt/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.png:
* platform/qt/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5515-brdr-w-00-a-expected.png:
* platform/qt/css2.1/t0805-c5515-brdr-w-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5515-brdr-w-01-b-g-expected.png:
* platform/qt/css2.1/t0805-c5515-brdr-w-01-b-g-expected.txt:
* platform/qt/css2.1/t0805-c5515-brdr-w-02-b-expected.png:
* platform/qt/css2.1/t0805-c5515-brdr-w-02-b-expected.txt:
* platform/qt/css2.1/t0805-c5515-ibrdr-00-b-expected.png:
* platform/qt/css2.1/t0805-c5515-ibrdr-00-b-expected.txt:
* platform/qt/css2.1/t0805-c5516-brdr-c-00-a-expected.png:
* platform/qt/css2.1/t0805-c5516-brdr-c-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5516-ibrdr-c-00-a-expected.png:
* platform/qt/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5517-brdr-s-00-c-expected.png:
* platform/qt/css2.1/t0805-c5517-brdr-s-00-c-expected.txt:
* platform/qt/css2.1/t0805-c5517-ibrdr-s-00-a-expected.png:
* platform/qt/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5518-brdr-t-00-a-expected.png:
* platform/qt/css2.1/t0805-c5518-brdr-t-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5518-brdr-t-01-e-expected.png:
* platform/qt/css2.1/t0805-c5518-brdr-t-01-e-expected.txt:
* platform/qt/css2.1/t0805-c5518-ibrdr-t-00-a-expected.png:
* platform/qt/css2.1/t0805-c5518-ibrdr-t-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5519-brdr-r-00-a-expected.png:
* platform/qt/css2.1/t0805-c5519-brdr-r-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5519-brdr-r-01-e-expected.png:
* platform/qt/css2.1/t0805-c5519-brdr-r-01-e-expected.txt:
* platform/qt/css2.1/t0805-c5519-brdr-r-02-e-expected.png:
* platform/qt/css2.1/t0805-c5519-brdr-r-02-e-expected.txt:
* platform/qt/css2.1/t0805-c5519-ibrdr-r-00-a-expected.png:
* platform/qt/css2.1/t0805-c5519-ibrdr-r-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5520-brdr-b-00-a-expected.png:
* platform/qt/css2.1/t0805-c5520-brdr-b-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5520-brdr-b-01-e-expected.png:
* platform/qt/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
* platform/qt/css2.1/t0805-c5520-ibrdr-b-00-a-expected.png:
* platform/qt/css2.1/t0805-c5520-ibrdr-b-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5521-brdr-l-00-a-expected.png:
* platform/qt/css2.1/t0805-c5521-brdr-l-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5521-brdr-l-01-e-expected.png:
* platform/qt/css2.1/t0805-c5521-brdr-l-01-e-expected.txt:
* platform/qt/css2.1/t0805-c5521-brdr-l-02-e-expected.png:
* platform/qt/css2.1/t0805-c5521-brdr-l-02-e-expected.txt:
* platform/qt/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png:
* platform/qt/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt:
* platform/qt/css2.1/t0805-c5522-brdr-00-b-expected.png:
* platform/qt/css2.1/t0805-c5522-brdr-00-b-expected.txt:
* platform/qt/css2.1/t0805-c5522-brdr-01-b-g-expected.png:
* platform/qt/css2.1/t0805-c5522-brdr-01-b-g-expected.txt:
* platform/qt/css2.1/t0805-c5522-brdr-02-e-expected.png:
* platform/qt/css2.1/t0805-c5522-brdr-02-e-expected.txt:
* platform/qt/css2.1/t0805-c5522-ibrdr-00-a-expected.png:
* platform/qt/css2.1/t0805-c5522-ibrdr-00-a-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123564
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yosin@chromium.org [Wed, 25 Jul 2012 01:45:20 +0000 (01:45 +0000)]
[Tests] Re-factor some tests in fast/forms/number for sharing with other input types
https://bugs.webkit.org/show_bug.cgi?id=92081
Reviewed by Kent Tamura.
This patch moves JavaScript code from test HTML files into JavaScript
files for sharing JavaScript code with other input types.
* fast/forms/number/number-change-type-on-focus.html: Removed JavaScript code and changed to load JavaScript code from fast/forms/resources/common-change-type-on-focus.js.
* fast/forms/number/number-losing-renderer-on-click.html: Removed JavaScript code and changed to load JavaScript code from fast/forms/resources/common-losing-renderer-on-click.js.
* fast/forms/resources/common-change-type-on-focus.js: Remove HTML markup text.
* fast/forms/resources/common-losing-renderer-on-click.js: Remove HTML markup text.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123563
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rakuco@webkit.org [Wed, 25 Jul 2012 01:23:29 +0000 (01:23 +0000)]
[EFL] Unreviewed build fix.
* WebKitTestRunner/efl/EventSenderProxyEfl.cpp: Include unistd.h
for usleep(3).
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123562
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caio.oliveira@openbossa.org [Wed, 25 Jul 2012 01:14:51 +0000 (01:14 +0000)]
[Qt] css2.1/t170602* rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92188
Unreviewed.
* platform/qt-5.0/Skipped:
* platform/qt/css2.1/t170602-bdr-conflct-w-00-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-00-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-01-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-01-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-02-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-02-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-03-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-03-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-04-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-04-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-05-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-05-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-06-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-06-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-07-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-07-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-08-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-08-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-09-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-09-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-10-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-10-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-11-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-11-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-12-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-12-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-13-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-13-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-14-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-14-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-15-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-15-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-16-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-16-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-17-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-17-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-18-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-18-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-19-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-19-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-20-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-20-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-21-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-21-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-22-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-22-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-23-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-23-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-24-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-24-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-25-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-25-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-26-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-26-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-27-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-27-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-28-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-28-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-29-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-29-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-30-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-30-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-31-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-31-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-32-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-32-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-33-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-33-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-34-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-34-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-35-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-35-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-36-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-36-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-37-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-37-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-38-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-38-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-39-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-39-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-40-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-40-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-41-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-41-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-42-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-42-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-43-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-43-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-44-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-44-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-45-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-45-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-46-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-46-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-47-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-47-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-48-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-48-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-49-d-expected.png: Added.
* platform/qt/css2.1/t170602-bdr-conflct-w-49-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-50-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-50-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-51-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-51-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-52-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-52-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-53-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-53-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-54-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-54-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-55-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-55-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-56-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-56-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-57-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-57-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-58-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-58-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-59-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-59-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-60-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-60-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-61-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-61-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-62-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-62-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-63-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-63-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-64-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-64-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-65-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-65-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-66-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-66-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-67-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-67-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-68-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-68-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-69-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-69-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-70-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-70-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-71-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-71-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-72-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-72-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-73-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-73-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-74-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-74-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-75-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-75-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-76-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-76-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-77-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-77-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-78-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-78-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-79-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-79-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-80-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-80-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-81-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-81-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-82-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-82-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-83-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-83-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-84-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-84-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-85-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-85-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-86-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-86-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-87-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-87-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-88-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-88-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-89-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-89-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-90-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-90-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-91-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-91-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-92-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-92-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-93-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-93-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-94-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-94-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-95-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-95-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-96-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-96-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-97-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-97-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-98-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-98-d-expected.txt:
* platform/qt/css2.1/t170602-bdr-conflct-w-99-d-expected.png:
* platform/qt/css2.1/t170602-bdr-conflct-w-99-d-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123561
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
msaboff@apple.com [Wed, 25 Jul 2012 01:11:16 +0000 (01:11 +0000)]
Convert HTML parser to handle 8-bit resources without converting to UChar*
https://bugs.webkit.org/show_bug.cgi?id=90321
Reviewed by Geoffrey Garen.
Source/WebCore:
No new tests, no new functionality therefore covered by existing tests.
Changed the parsing of HTML to handle 8-bit strings without converting the
whole string to 16-bits. Primary change was to use the appropriate
character pointer type (LChar* or UChar*) depending on the source string.
This access is abstracted in SegmentedSubstring by getCurrentChar{8,16} and
incrementAndGetCurrentChar{8,16} methods. In SegmentedString, the advance()
and advanceAndUpdateLineNumber() methods have been refactored into a
state machine managed pair of function pointers. The possible functions
have not only the 8 and 16 bitness factored out, they also have the
"exclude line numbers" logic factored out for advanceAndUpdateLineNumber().
This provides a net speed-up even with the 8/16 bit testing.
Other changes involve using String methods to access and compare with the
source data.
* html/FTPDirectoryDocument.cpp:
(WebCore::FTPDirectoryDocumentParser::append): Changed to use currentChar()
instead of SegmentedString '*' operator.
* html/parser/HTMLEntityParser.cpp: Changed to use currentChar() instead of
SegmentedString '*' operator.
* html/parser/HTMLParserIdioms.cpp:
(WebCore::stripLeadingAndTrailingHTMLSpaces): Added 8-bit fast path.
* html/parser/HTMLSourceTracker.cpp:
(WebCore::HTMLSourceTracker::sourceForToken): Changed to use currentChar() instead of
SegmentedString '*' operator.
* loader/cache/CachedScript.cpp:
(WebCore::CachedScript::script): Updated to use new String::dataSize() method.
* platform/text/SegmentedString.cpp:
(WebCore::SegmentedString::SegmentedString):
(WebCore::SegmentedString::operator=):
(WebCore::SegmentedString::clear):
(WebCore::SegmentedString::append):
(WebCore::SegmentedString::prepend):
(WebCore::SegmentedString::advanceSubstring):
(WebCore::SegmentedString::advance): Changed to be a wrapper that invokes current
advance function.
(WebCore::SegmentedString::advance8): Fast path advance function for 8 bit data.
(WebCore::SegmentedString::advance16): Fast path advance function for 16 bit data.
(WebCore::SegmentedString::advanceAndUpdateLineNumber8IncludeLineNumbers): Fast
path advanceAndUpdateLineNumber for 8 bit data when we need to update the line number.
(WebCore::SegmentedString::advanceAndUpdateLineNumber16IncludeLineNumbers): Fast
path advanceAndUpdateLineNumber for 16 bit data when we need to update the line number.
(WebCore::SegmentedString::advanceSlowCase): Slow case advance function for both
8 and 16 bit advance.
(WebCore::SegmentedString::advanceAndUpdateLineNumberSlowCase): Slow case
advanceAndUpdateLineNumber function for both 8 and 16 bit data.
(WebCore::SegmentedString::advanceEmpty): Advance function when input has been exhausted.
* platform/text/SegmentedString.h:
(WebCore::SegmentedSubstring::SegmentedSubstring):
(WebCore::SegmentedSubstring::clear):
(SegmentedSubstring):
(WebCore::SegmentedSubstring::is8Bit): New getter.
(WebCore::SegmentedSubstring::appendTo):
(WebCore::SegmentedSubstring::getCurrentChar8): New getter for the 8 bit case.
(WebCore::SegmentedSubstring::getCurrentChar16): New getter for the 16 bit case.
(WebCore::SegmentedSubstring::incrementAndGetCurrentChar8): New wrapper functions
that pre-increments the 8 bit pointer and returns the next character.
(WebCore::SegmentedSubstring::incrementAndGetCurrentChar16): New wrapper functions
that pre-increments the 16 bit pointer and returns the next character.
(WebCore::SegmentedSubstring::currentSubString):
(WebCore::SegmentedSubstring::getCurrentChar):
(WebCore::SegmentedSubstring::incrementAndGetCurrentChar):
(WebCore::SegmentedString::SegmentedString):
(WebCore::SegmentedString::push):
(WebCore::SegmentedString::isEmpty):
(WebCore::SegmentedString::lookAhead):
(WebCore::SegmentedString::lookAheadIgnoringCase):
(WebCore::SegmentedString::advance):
(WebCore::SegmentedString::advanceAndUpdateLineNumber):
(WebCore::SegmentedString::advanceAndASSERT):
(WebCore::SegmentedString::advanceAndASSERTIgnoringCase):
(WebCore::SegmentedString::advancePastNonNewline):
(WebCore::SegmentedString::advancePastNewlineAndUpdateLineNumber):
(WebCore::SegmentedString::currentChar):
(WebCore::SegmentedString::setSlowCase): Set advance function pointers to slow case
functions.
(WebCore::SegmentedString::decrementAndCheckLength): Decrement substring length and
change to slow case functions when only one character left.
(WebCore::SegmentedString::setAdvanceFunctionPointers): Select appropriate advance
functions based on current substring.
(WebCore::SegmentedString::lookAheadInline): Changed to use String::startsWith().
(WebCore::SegmentedString::lookAheadSlowCase):
* xml/parser/CharacterReferenceParserInlineMethods.h:
(WebCore::consumeCharacterReference): Changed to use currentChar() instead of
SegmentedString '*' operator.
* xml/parser/MarkupTokenizerBase.h:
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::nextInputCharacter):
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::peek): Changed to use
currentChar() instead of SegmentedString '*' operator.
(WebCore::MarkupTokenizerBase::InputStreamPreprocessor::advance):
Source/WTF:
* wtf/text/WTFString.h:
(WTF::String::dataSize): New method to return the number of bytes
the string requires. This replaces a harcoded calculation based on
length and sizeof(UChar).
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123560
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Wed, 25 Jul 2012 01:07:21 +0000 (01:07 +0000)]
Add per-HashTable stats
https://bugs.webkit.org/show_bug.cgi?id=92185
Reviewed by Anders Carlsson.
Add per-HashTable stats, so we can look at the effectiveness of an individual HashTable.
* wtf/HashTable.h:
(WTF::HashTable::Stats::Stats):
Add a HashTable::Stats to hold the stats.
(WTF::HashTable::Stats::recordCollisionAtCount):
(WTF::HashTable::Stats::dumpStats):
Add versions of recordCollisionAtCount and dumpStats for per-HashTable version.
(WTF::HashTable):
Keep the stats, if enabled, in an OwnPtr, to not blow JSCell max size restrictions.
(WTF::lookup):
(WTF::lookupForWriting):
(WTF::fullLookupForWriting):
(WTF::add):
(WTF::reinsert):
(WTF::remove):
(WTF::rehash):
Keep track of the stats as the table is used.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123559
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zmo@google.com [Wed, 25 Jul 2012 00:48:31 +0000 (00:48 +0000)]
Gardening stuff, rebaseline.
Unreviewed.
* platform/chromium-mac/fast/hidpi: Added.
* platform/chromium-mac/fast/hidpi/broken-image-icon-hidpi-expected.png: Added.
* platform/chromium-mac/fast/hidpi/broken-image-with-size-hidpi-expected.png: Added.
* platform/chromium-mac/fast/hidpi/clip-text-in-hidpi-expected.png: Added.
* platform/chromium-mac/fast/hidpi/device-scale-factor-paint-expected.png: Added.
* platform/chromium-mac/fast/hidpi/focus-rings-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-as-background-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-background-dynamic-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-background-repeat-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-background-repeat-without-size-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-border-image-comparison-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-border-image-dynamic-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-border-image-simple-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-in-content-dynamic-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-out-of-order-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-simple-expected.png: Added.
* platform/chromium-mac/fast/hidpi/image-set-without-specified-width-expected.png: Added.
* platform/chromium-mac/fast/hidpi/resize-corner-hidpi-expected.png: Added.
* platform/chromium-mac/fast/hidpi/video-controls-in-hidpi-expected.png: Added.
* platform/chromium-mac/fast/hidpi/video-controls-in-hidpi-expected.txt: Added.
* platform/chromium-win/fast/hidpi: Added.
* platform/chromium-win/fast/hidpi/broken-image-icon-hidpi-expected.png: Added.
* platform/chromium-win/fast/hidpi/broken-image-icon-hidpi-expected.txt: Added.
* platform/chromium-win/fast/hidpi/broken-image-with-size-hidpi-expected.png: Added.
* platform/chromium-win/fast/hidpi/broken-image-with-size-hidpi-expected.txt: Added.
* platform/chromium-win/fast/hidpi/clip-text-in-hidpi-expected.png: Added.
* platform/chromium-win/fast/hidpi/clip-text-in-hidpi-expected.txt: Added.
* platform/chromium-win/fast/hidpi/device-scale-factor-paint-expected.png: Added.
* platform/chromium-win/fast/hidpi/focus-rings-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-as-background-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-as-background-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-background-dynamic-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-background-dynamic-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-background-repeat-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-background-repeat-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-background-repeat-without-size-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-background-repeat-without-size-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-border-image-comparison-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-border-image-comparison-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-border-image-dynamic-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-border-image-dynamic-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-border-image-simple-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-border-image-simple-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-in-content-dynamic-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-in-content-dynamic-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-out-of-order-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-out-of-order-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-simple-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-simple-expected.txt: Added.
* platform/chromium-win/fast/hidpi/image-set-without-specified-width-expected.png: Added.
* platform/chromium-win/fast/hidpi/image-set-without-specified-width-expected.txt: Added.
* platform/chromium-win/fast/hidpi/resize-corner-hidpi-expected.png: Added.
* platform/chromium-win/fast/hidpi/resize-corner-hidpi-expected.txt: Added.
* platform/chromium-win/fast/hidpi/video-controls-in-hidpi-expected.png: Added.
* platform/chromium-win/fast/hidpi/video-controls-in-hidpi-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123558
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 00:46:42 +0000 (00:46 +0000)]
WKContextGetGlobalStatistics() assigns wrong value to wkFrameCount in WKContextStatistics
https://bugs.webkit.org/show_bug.cgi?id=92173
Patch by Jae Hyun Park <jae.park@company100.net> on 2012-07-24
Reviewed by John Sullivan.
In WKContextGetGlobalStatistics(), wkViewCount in WebContext::Statistics
is assigned to wkFrameCount in WKContextStatistics.
wkFrameCount in WebContext:Statistics should be assigned to wkFrameCount in WKContextStatistics.
* UIProcess/API/C/WKContext.cpp:
(WKContextGetGlobalStatistics):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123557
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kbr@google.com [Wed, 25 Jul 2012 00:37:11 +0000 (00:37 +0000)]
[chromium] Hint garbage collector to run if page uses Canvas contexts
https://bugs.webkit.org/show_bug.cgi?id=76225
Reviewed by Kentaro Hara.
Source/WebCore:
Upon creating a canvas context, set a hint in the current isolate
indicating that a full GC should be done upon the next page
navigation.
This improves Chrome's robustness on some WebGL stress tests which
simulate real-world behavior by repeatedly navigating among
several samples. More general measures are being investigated, but
this change makes V8 behave the same as JSC on these stress tests.
JSC doesn't currently use generational garbage collection, so it
has more opportunities to discover unreferenced canvas contexts.
Test: fast/canvas/webgl/context-creation-and-destruction.html
* bindings/v8/V8Binding.cpp:
(WebCore::V8BindingPerIsolateData::V8BindingPerIsolateData):
Initialize per-isolate low memory hint.
* bindings/v8/V8Binding.h:
(V8BindingPerIsolateData):
(WebCore::V8BindingPerIsolateData::setLowMemoryNotificationHint):
Set a per-isolate hint to signal a low memory condition upon the next page navigation.
(WebCore::V8BindingPerIsolateData::clearLowMemoryNotificationHint):
Clear the previously set hint.
(WebCore::V8BindingPerIsolateData::isLowMemoryNotificationHint):
Get the previously set hint.
* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::hintForGCIfNecessary):
If necessary, send V8 a hint that it should GC.
(WebCore):
(WebCore::V8Proxy::clearForClose):
(WebCore::V8Proxy::clearForNavigation):
Call hintForGCIfNecessary.
* bindings/v8/V8Proxy.h:
(V8Proxy):
* bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
(WebCore::V8HTMLCanvasElement::getContextCallback):
Set a hint that we should GC upon the next page navigation.
LayoutTests:
This test doesn't directly exercise this code path yet, but it
needs to work regardless and also needs to be expanded.
* fast/canvas/webgl/context-creation-and-destruction-expected.txt: Added.
* fast/canvas/webgl/context-creation-and-destruction.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123556
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
alexis.menard@openbossa.org [Wed, 25 Jul 2012 00:28:46 +0000 (00:28 +0000)]
[Qt] svg/as-background-image rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92180
Unreviewed gardening.
These tests have been skipped because monospace fonts weren't properly used by
layout tests. After r121971, the test results are normal again.
* platform/qt-5.0/Skipped:
* platform/qt/svg/as-background-image/animated-svg-as-background-expected.png: Added.
* platform/qt/svg/as-background-image/animated-svg-as-background-expected.txt:
* platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png:
* platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-1-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-2-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-3-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-4-expected.png: Added.
* platform/qt/svg/as-background-image/svg-as-background-4-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-5-expected.png: Added.
* platform/qt/svg/as-background-image/svg-as-background-5-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-6-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-with-relative-size-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-with-viewBox-expected.txt:
* platform/qt/svg/as-background-image/svg-as-tiled-background-expected.txt:
* platform/qt/svg/as-background-image/svg-background-partial-redraw-expected.png:
* platform/qt/svg/as-background-image/svg-background-partial-redraw-expected.txt:
* platform/qt/svg/as-background-image/svg-width-100p-as-background-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123555
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Wed, 25 Jul 2012 00:27:19 +0000 (00:27 +0000)]
[Chromium] Support scrolling and zooming to focused input elements
https://bugs.webkit.org/show_bug.cgi?id=91661
Reviewed by Darin Fisher.
This patch introduces saveScrollAndScaleState and
restoreScrollAndScaleState, which can be used to save and restore the
scroll and scale state of the WebView, respectively. These functions
will be used by Chromium on Android to save the scale and scrolls state
before zoom into a text field so that we can "undo" the zoom if the
user didn't mean to zoom into the text field.
I wanted to write unit tests for these functions, but it wasn't clear
to me how to write the test because startPageScaleAnimation appears to
complete asynchronously.
* public/WebView.h:
(WebView):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::saveScrollAndScaleState):
(WebKit):
(WebKit::WebViewImpl::restoreScrollAndScaleState):
(WebKit::WebViewImpl::resetSavedScrollAndScaleState):
(WebKit::WebViewImpl::didCommitLoad):
* src/WebViewImpl.h:
(WebViewImpl):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123554
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 25 Jul 2012 00:25:53 +0000 (00:25 +0000)]
[chromium] Add time spent painting to GPU benchmarking renderingStats() API.
https://bugs.webkit.org/show_bug.cgi?id=90019
Patch by Dave Tu <dtu@chromium.org> on 2012-07-24
Reviewed by Adrienne Walker.
Source/Platform:
* chromium/public/WebRenderingStats.h:
(WebRenderingStats):
(WebKit::WebRenderingStats::WebRenderingStats):
Source/WebCore:
* platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.cpp:
(WebCore::BitmapCanvasLayerTextureUpdater::prepareToUpdate):
* platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h:
(BitmapCanvasLayerTextureUpdater):
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp:
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::prepareRect):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::prepareToUpdate):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::paintContentsRect):
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.h:
(Texture):
(BitmapSkPictureCanvasLayerTextureUpdater):
* platform/graphics/chromium/CanvasLayerTextureUpdater.cpp:
(WebCore::CanvasLayerTextureUpdater::paintContents):
* platform/graphics/chromium/CanvasLayerTextureUpdater.h:
(CanvasLayerTextureUpdater):
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::update):
* platform/graphics/chromium/ContentLayerChromium.h:
(ContentLayerChromium):
* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::update):
* platform/graphics/chromium/ImageLayerChromium.h:
(ImageLayerChromium):
* platform/graphics/chromium/LayerChromium.h:
(WebCore):
(WebCore::LayerChromium::update):
* platform/graphics/chromium/LayerTextureUpdater.h:
(WebCore):
(WebCore::LayerTextureUpdater::Texture::prepareRect):
(WebCore::LayerTextureUpdater::prepareToUpdate):
* platform/graphics/chromium/ScrollbarLayerChromium.cpp:
(WebCore::ScrollbarLayerChromium::updatePart):
(WebCore::ScrollbarLayerChromium::update):
* platform/graphics/chromium/ScrollbarLayerChromium.h:
(ScrollbarLayerChromium):
* platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.cpp:
(WebCore::SkPictureCanvasLayerTextureUpdater::prepareToUpdate):
* platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.h:
(SkPictureCanvasLayerTextureUpdater):
* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::updateTiles):
(WebCore::TiledLayerChromium::updateContentRect):
* platform/graphics/chromium/TiledLayerChromium.h:
(TiledLayerChromium):
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::updateAnimations):
(WebCore::CCLayerTreeHost::renderingStats):
(WebCore::CCLayerTreeHost::paintMasksForRenderSurface):
(WebCore::CCLayerTreeHost::paintLayerContents):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore):
(CCLayerTreeHost):
* platform/graphics/chromium/cc/CCRenderingStats.h:
(CCRenderingStats):
(WebCore::CCRenderingStats::CCRenderingStats):
Source/WebKit/chromium:
* src/WebLayerTreeView.cpp:
(WebKit::WebLayerTreeView::renderingStats):
* tests/CCLayerTreeHostTest.cpp:
* tests/CCTiledLayerTestCommon.cpp:
(WebKitTests::FakeLayerTextureUpdater::Texture::prepareRect):
(WebKitTests::FakeTiledLayerChromium::update):
* tests/CCTiledLayerTestCommon.h:
(Texture):
(FakeTiledLayerChromium):
* tests/Canvas2DLayerBridgeTest.cpp:
* tests/ContentLayerChromiumTest.cpp:
(WebKit::TEST):
* tests/TiledLayerChromiumTest.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123553
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caio.oliveira@openbossa.org [Wed, 25 Jul 2012 00:16:52 +0000 (00:16 +0000)]
[Qt] fast/block/positioning rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92174
Unreviewed.
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/fast/block/positioning/003-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/004-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/005-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/006-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/007-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/008-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/009-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/010-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/011-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/012-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/013-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/014-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/015-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/016-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/017-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/018-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/019-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/020-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/021-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/022-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/023-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/024-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/025-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/026-expected.png: Added.
* platform/qt/fast/block/positioning/027-expected.png: Added.
* platform/qt/fast/block/positioning/028-expected.png: Added.
* platform/qt/fast/block/positioning/029-expected.png: Added.
* platform/qt/fast/block/positioning/030-expected.png: Added.
* platform/qt/fast/block/positioning/031-expected.png: Added.
* platform/qt/fast/block/positioning/032-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/033-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/034-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/035-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/036-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/037-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/038-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/039-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/040-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/041-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/042-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/043-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/044-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/045-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/046-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/047-expected.png:
* platform/qt/fast/block/positioning/047-expected.txt:
* platform/qt/fast/block/positioning/048-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/050-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/052-expected.txt:
* platform/qt/fast/block/positioning/053-expected.png:
* platform/qt/fast/block/positioning/053-expected.txt:
* platform/qt/fast/block/positioning/054-expected.txt:
* platform/qt/fast/block/positioning/055-expected.png:
* platform/qt/fast/block/positioning/055-expected.txt:
* platform/qt/fast/block/positioning/057-expected.png:
* platform/qt/fast/block/positioning/057-expected.txt:
* platform/qt/fast/block/positioning/058-expected.png:
* platform/qt/fast/block/positioning/058-expected.txt:
* platform/qt/fast/block/positioning/059-expected.png:
* platform/qt/fast/block/positioning/059-expected.txt:
* platform/qt/fast/block/positioning/060-expected.png:
* platform/qt/fast/block/positioning/060-expected.txt:
* platform/qt/fast/block/positioning/061-expected.txt:
* platform/qt/fast/block/positioning/062-expected.png: Added.
* platform/qt/fast/block/positioning/abs-inside-inline-rel-expected.png:
* platform/qt/fast/block/positioning/abs-inside-inline-rel-expected.txt:
* platform/qt/fast/block/positioning/absolute-in-inline-ltr-3-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-ltr-3-expected.txt:
* platform/qt/fast/block/positioning/absolute-in-inline-short-ltr-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-short-ltr-expected.txt:
* platform/qt/fast/block/positioning/absolute-in-inline-short-rtl-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-short-rtl-expected.txt:
* platform/qt/fast/block/positioning/absolute-length-of-neg-666666-expected.png:
* platform/qt/fast/block/positioning/absolute-length-of-neg-666666-expected.txt:
* platform/qt/fast/block/positioning/absolute-position-direction-expected.png:
* platform/qt/fast/block/positioning/absolute-position-direction-expected.txt:
* platform/qt/fast/block/positioning/absolute-positioned-overconstrained-expected.png:
* platform/qt/fast/block/positioning/absolute-positioned-overconstrained-expected.txt:
* platform/qt/fast/block/positioning/absolute-positioning-no-scrollbar-expected.png: Added.
* platform/qt/fast/block/positioning/absolute-positioning-no-scrollbar-expected.txt:
* platform/qt/fast/block/positioning/absolute-with-html-border-quirks-expected.png:
* platform/qt/fast/block/positioning/absolute-with-html-border-quirks-expected.txt:
* platform/qt/fast/block/positioning/absolute-with-html-border-strict-expected.png:
* platform/qt/fast/block/positioning/absolute-with-html-border-strict-expected.txt:
* platform/qt/fast/block/positioning/auto-height-with-top-and-bottom-expected.png:
* platform/qt/fast/block/positioning/auto-height-with-top-and-bottom-expected.txt:
* platform/qt/fast/block/positioning/auto/001-expected.png:
* platform/qt/fast/block/positioning/auto/001-expected.txt:
* platform/qt/fast/block/positioning/auto/002-expected.png:
* platform/qt/fast/block/positioning/auto/002-expected.txt:
* platform/qt/fast/block/positioning/auto/003-expected.png:
* platform/qt/fast/block/positioning/auto/003-expected.txt:
* platform/qt/fast/block/positioning/auto/004-expected.png:
* platform/qt/fast/block/positioning/auto/004-expected.txt:
* platform/qt/fast/block/positioning/auto/005-expected.png:
* platform/qt/fast/block/positioning/auto/005-expected.txt:
* platform/qt/fast/block/positioning/auto/006-expected.png:
* platform/qt/fast/block/positioning/auto/006-expected.txt:
* platform/qt/fast/block/positioning/auto/007-expected.png:
* platform/qt/fast/block/positioning/auto/007-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/001-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/001-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/002-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/002-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/003-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/003-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/004-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/004-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/005-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/005-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/006-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/006-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/007-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/007-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/001-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/001-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/002-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/002-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/003-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/003-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/004-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/004-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/005-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/005-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/006-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/006-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/007-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/007-expected.txt:
* platform/qt/fast/block/positioning/child-of-absolute-with-auto-height-expected.png:
* platform/qt/fast/block/positioning/child-of-absolute-with-auto-height-expected.txt:
* platform/qt/fast/block/positioning/differing-writing-modes-expected.png:
* platform/qt/fast/block/positioning/differing-writing-modes-expected.txt:
* platform/qt/fast/block/positioning/differing-writing-modes-replaced-expected.png:
* platform/qt/fast/block/positioning/differing-writing-modes-replaced-expected.txt:
* platform/qt/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png:
* platform/qt/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.txt:
* platform/qt/fast/block/positioning/height-change-expected.png:
* platform/qt/fast/block/positioning/height-change-expected.txt:
* platform/qt/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png:
* platform/qt/fast/block/positioning/hiding-inside-relpositioned-inline-expected.txt:
* platform/qt/fast/block/positioning/inline-block-relposition-expected.png:
* platform/qt/fast/block/positioning/inline-block-relposition-expected.txt:
* platform/qt/fast/block/positioning/leftmargin-topmargin-expected.png:
* platform/qt/fast/block/positioning/leftmargin-topmargin-expected.txt:
* platform/qt/fast/block/positioning/negative-right-pos-expected.png:
* platform/qt/fast/block/positioning/negative-right-pos-expected.txt:
* platform/qt/fast/block/positioning/padding-percent-expected.png:
* platform/qt/fast/block/positioning/padding-percent-expected.txt:
* platform/qt/fast/block/positioning/pref-width-change-expected.txt:
* platform/qt/fast/block/positioning/relative-overconstrained-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/relative-overflow-block-expected.png:
* platform/qt/fast/block/positioning/relative-overflow-block-expected.txt:
* platform/qt/fast/block/positioning/relative-overflow-replaced-expected.png:
* platform/qt/fast/block/positioning/relative-overflow-replaced-expected.txt:
* platform/qt/fast/block/positioning/relative-overflow-replaced-float-expected.png:
* platform/qt/fast/block/positioning/relative-overflow-replaced-float-expected.txt:
* platform/qt/fast/block/positioning/relayout-on-position-change-expected.png:
* platform/qt/fast/block/positioning/relayout-on-position-change-expected.txt:
* platform/qt/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png:
* platform/qt/fast/block/positioning/rtl-fixed-positioning-expected.png:
* platform/qt/fast/block/positioning/rtl-static-positioning-expected.png:
* platform/qt/fast/block/positioning/rtl-static-positioning-expected.txt:
* platform/qt/fast/block/positioning/rtl-static-positioning-inline-block-expected.png:
* platform/qt/fast/block/positioning/rtl-static-positioning-inline-block-expected.txt:
* platform/qt/fast/block/positioning/static-distance-with-positioned-ancestor-expected.png:
* platform/qt/fast/block/positioning/static-distance-with-positioned-ancestor-expected.txt:
* platform/qt/fast/block/positioning/table-cell-static-position-expected.png:
* platform/qt/fast/block/positioning/table-cell-static-position-expected.txt:
* platform/qt/fast/block/positioning/trailing-space-test-expected.png:
* platform/qt/fast/block/positioning/trailing-space-test-expected.txt:
* platform/qt/fast/block/positioning/vertical-lr/001-expected.png:
* platform/qt/fast/block/positioning/vertical-lr/001-expected.txt:
* platform/qt/fast/block/positioning/vertical-rl/001-expected.png:
* platform/qt/fast/block/positioning/vertical-rl/001-expected.txt:
* platform/qt/fast/block/positioning/vertical-rl/fixed-positioning-expected.png:
* platform/qt/fast/block/positioning/window-height-change-expected.png:
* platform/qt/fast/block/positioning/window-height-change-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123552
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 24 Jul 2012 23:58:07 +0000 (23:58 +0000)]
[Qt] fast/block/float needs rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92150
Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-24
Reviewed by Alexis Menard.
* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/fast/block/float/001-expected.txt:
* platform/qt/fast/block/float/002-expected.png:
* platform/qt/fast/block/float/002-expected.txt:
* platform/qt/fast/block/float/003-expected.png:
* platform/qt/fast/block/float/003-expected.txt:
* platform/qt/fast/block/float/004-expected.png:
* platform/qt/fast/block/float/004-expected.txt:
* platform/qt/fast/block/float/005-expected.png:
* platform/qt/fast/block/float/005-expected.txt:
* platform/qt/fast/block/float/006-expected.png:
* platform/qt/fast/block/float/006-expected.txt:
* platform/qt/fast/block/float/007-expected.png:
* platform/qt/fast/block/float/007-expected.txt:
* platform/qt/fast/block/float/010-expected.png:
* platform/qt/fast/block/float/010-expected.txt:
* platform/qt/fast/block/float/011-expected.png:
* platform/qt/fast/block/float/011-expected.txt:
* platform/qt/fast/block/float/012-expected.png:
* platform/qt/fast/block/float/012-expected.txt:
* platform/qt/fast/block/float/013-expected.png:
* platform/qt/fast/block/float/013-expected.txt:
* platform/qt/fast/block/float/014-expected.png:
* platform/qt/fast/block/float/014-expected.txt:
* platform/qt/fast/block/float/015-expected.png:
* platform/qt/fast/block/float/015-expected.txt:
* platform/qt/fast/block/float/016-expected.png:
* platform/qt/fast/block/float/016-expected.txt:
* platform/qt/fast/block/float/017-expected.png:
* platform/qt/fast/block/float/017-expected.txt:
* platform/qt/fast/block/float/018-expected.png:
* platform/qt/fast/block/float/018-expected.txt:
* platform/qt/fast/block/float/020-expected.png:
* platform/qt/fast/block/float/020-expected.txt:
* platform/qt/fast/block/float/021-expected.png:
* platform/qt/fast/block/float/021-expected.txt:
* platform/qt/fast/block/float/022-expected.png:
* platform/qt/fast/block/float/022-expected.txt:
* platform/qt/fast/block/float/023-expected.png:
* platform/qt/fast/block/float/023-expected.txt:
* platform/qt/fast/block/float/024-expected.png:
* platform/qt/fast/block/float/024-expected.txt:
* platform/qt/fast/block/float/025-expected.png:
* platform/qt/fast/block/float/025-expected.txt:
* platform/qt/fast/block/float/027-expected.png:
* platform/qt/fast/block/float/027-expected.txt:
* platform/qt/fast/block/float/029-expected.png:
* platform/qt/fast/block/float/029-expected.txt:
* platform/qt/fast/block/float/030-expected.png:
* platform/qt/fast/block/float/030-expected.txt:
* platform/qt/fast/block/float/031-expected.png:
* platform/qt/fast/block/float/031-expected.txt:
* platform/qt/fast/block/float/032-expected.png:
* platform/qt/fast/block/float/032-expected.txt:
* platform/qt/fast/block/float/avoidance-percent-width-compat-expected.png: Added.
* platform/qt/fast/block/float/avoidance-percent-width-compat-expected.txt:
* platform/qt/fast/block/float/avoidance-percent-width-strict-expected.png:
* platform/qt/fast/block/float/avoidance-percent-width-strict-expected.txt:
* platform/qt/fast/block/float/avoiding-float-centered-expected.png:
* platform/qt/fast/block/float/avoiding-float-centered-expected.txt:
* platform/qt/fast/block/float/br-with-clear-expected.txt:
* platform/qt/fast/block/float/centered-float-avoidance-complexity-expected.png:
* platform/qt/fast/block/float/centered-float-avoidance-complexity-expected.txt:
* platform/qt/fast/block/float/clamped-right-float-expected.png:
* platform/qt/fast/block/float/clamped-right-float-expected.txt:
* platform/qt/fast/block/float/clear-element-too-wide-for-containing-block-expected.png:
* platform/qt/fast/block/float/clear-element-too-wide-for-containing-block-expected.txt:
* platform/qt/fast/block/float/dynamic-unfloat-pref-width-expected.png:
* platform/qt/fast/block/float/dynamic-unfloat-pref-width-expected.txt:
* platform/qt/fast/block/float/editable-text-overlapping-float-expected.png:
* platform/qt/fast/block/float/editable-text-overlapping-float-expected.txt:
* platform/qt/fast/block/float/fit_line_below_floats-expected.png:
* platform/qt/fast/block/float/fit_line_below_floats-expected.txt:
* platform/qt/fast/block/float/float-avoidance-expected.png:
* platform/qt/fast/block/float/float-avoidance-expected.txt:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.png:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.txt:
* platform/qt/fast/block/float/float-in-float-painting-expected.png:
* platform/qt/fast/block/float/float-in-float-painting-expected.txt:
* platform/qt/fast/block/float/floats-and-text-indent-expected.png:
* platform/qt/fast/block/float/floats-and-text-indent-expected.txt:
* platform/qt/fast/block/float/floats-and-text-indent-rl-expected.png:
* platform/qt/fast/block/float/floats-and-text-indent-rl-expected.txt:
* platform/qt/fast/block/float/intruding-float-add-in-sibling-block-on-static-position-expected.txt:
* platform/qt/fast/block/float/intruding-float-add-in-sibling-block-on-static-position2-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-absolute-position-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-absolute-position2-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-fixed-position-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-fixed-position2-expected.txt:
* platform/qt/fast/block/float/intruding-painted-twice-expected.png:
* platform/qt/fast/block/float/intruding-painted-twice-expected.txt:
* platform/qt/fast/block/float/marquee-shrink-to-avoid-floats-expected.png:
* platform/qt/fast/block/float/marquee-shrink-to-avoid-floats-expected.txt:
* platform/qt/fast/block/float/multiple-float-positioning-expected.png:
* platform/qt/fast/block/float/multiple-float-positioning-expected.txt:
* platform/qt/fast/block/float/nested-clearance-expected.png:
* platform/qt/fast/block/float/nested-clearance-expected.txt:
* platform/qt/fast/block/float/nestedAnonymousBlocks-expected.png:
* platform/qt/fast/block/float/nestedAnonymousBlocks-expected.txt:
* platform/qt/fast/block/float/nestedAnonymousBlocks2-expected.png:
* platform/qt/fast/block/float/nestedAnonymousBlocks2-expected.txt:
* platform/qt/fast/block/float/nopaint-after-layer-destruction-expected.png:
* platform/qt/fast/block/float/nopaint-after-layer-destruction-expected.txt:
* platform/qt/fast/block/float/nopaint-after-layer-destruction2-expected.png:
* platform/qt/fast/block/float/nopaint-after-layer-destruction2-expected.txt:
* platform/qt/fast/block/float/overhanging-after-height-decrease-expected.png:
* platform/qt/fast/block/float/overhanging-after-height-decrease-expected.txt:
* platform/qt/fast/block/float/overhanging-float-add-in-static-position-block-expected.txt:
* platform/qt/fast/block/float/overhanging-float-add-in-static-position-block2-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-absolute-position-block-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-absolute-position-block2-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block-expected.png:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block2-expected.png:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block2-expected.txt:
* platform/qt/fast/block/float/overhanging-tall-block-expected.txt:
* platform/qt/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png:
* platform/qt/fast/block/float/overlapping-floats-with-overflow-hidden-expected.txt:
* platform/qt/fast/block/float/shrink-to-avoid-float-complexity-expected.png:
* platform/qt/fast/block/float/shrink-to-avoid-float-complexity-expected.txt:
* platform/qt/fast/block/float/shrink-to-fit-width-expected.png:
* platform/qt/fast/block/float/shrink-to-fit-width-expected.txt:
* platform/qt/fast/block/float/table-relayout-expected.png:
* platform/qt/fast/block/float/table-relayout-expected.txt:
* platform/qt/fast/block/float/vertical-move-relayout-expected.png:
* platform/qt/fast/block/float/vertical-move-relayout-expected.txt:
* platform/qt/fast/block/float/width-update-after-clear-expected.png:
* platform/qt/fast/block/float/width-update-after-clear-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123551
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jianli@chromium.org [Tue, 24 Jul 2012 23:51:23 +0000 (23:51 +0000)]
[V8] Correct WebIDL type should be used in the testing IDL file
https://bugs.webkit.org/show_bug.cgi?id=92168
Reviewed by Kentaro Hara.
Updated bindings test.
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_strict_function):
* bindings/scripts/test/GObject/WebKitDOMTestObj.h:
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionStrictFunction):
* bindings/scripts/test/TestObj.idl:
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::enabledAtRuntimeMethod1Callback):
(WebCore::TestObjV8Internal::enabledAtRuntimeMethod2Callback):
(WebCore::TestObjV8Internal::enabledPerContextMethod1Callback):
(WebCore::TestObjV8Internal::enabledPerContextMethod2Callback):
(WebCore::TestObjV8Internal::strictFunctionCallback):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123550
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tkent@chromium.org [Tue, 24 Jul 2012 23:12:35 +0000 (23:12 +0000)]
Unreviewed, rolling out r123191.
http://trac.webkit.org/changeset/123191
https://bugs.webkit.org/show_bug.cgi?id=91804
It might cause another performance regression.
http://code.google.com/p/chromium/issues/detail?id=138410
* html/FormController.cpp:
(FormKeyGenerator):
(WebCore::createKey):
(WebCore::FormKeyGenerator::formKey):
(WebCore::FormKeyGenerator::willDeleteForm):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123547
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 24 Jul 2012 22:55:34 +0000 (22:55 +0000)]
[JSBinding] Merging jsUnsignedLongArrayToVector() to toNativeArray() using traits.
https://bugs.webkit.org/show_bug.cgi?id=90381
Patch by Vineet Chaudhary <rgf748@motorola.com> on 2012-07-24
Reviewed by Kentaro Hara.
We can remove jsUnsignedLongArrayToVector() implementaion
merging it to current and toNativeArray() traits.
Tests: TestObj.idl
There should be no behavoiral changes as just refactoring.
* Modules/vibration/NavigatorVibration.idl: Use sequence<T> as method param than T[]
* bindings/js/JSDOMBinding.cpp: Moved toJSSequence() to header file.
* bindings/js/JSDOMBinding.h:
(WebCore::toJSSequence): Moved toJSSequence() to header file.
(WebCore::jsArray): Renamed Traits to JSValueTraits
(WebCore::toNativeArray): Using traits.
* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
* bindings/js/JSMessagePortCustom.cpp:
(WebCore::fillMessagePortArray):
* bindings/scripts/CodeGeneratorJS.pm: Removed unsigned long[] specific binding code.
(AddIncludesForType):
(GenerateParametersCheckExpression):
(JSValueToNative):
(NativeToJSValue):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateParametersCheckExpression): Added check sequence<T> check for overloaded methods.
* bindings/scripts/test/JS/JSTestObj.cpp: Rebased binding test.
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod10):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
(WebCore::jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence):
* bindings/scripts/test/JS/JSTestObj.h: Rebased binding test.
* bindings/scripts/test/TestObj.idl: Added test for sequence<T> as method parameter.
* bindings/scripts/test/V8/V8TestObj.cpp: Rebased binding test.
(WebCore::TestObjV8Internal::overloadedMethod10Callback):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::overloadedMethodCallback):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123546
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 24 Jul 2012 22:54:03 +0000 (22:54 +0000)]
[EFL][WK2] Add unit tests for custom text encoding setting
https://bugs.webkit.org/show_bug.cgi?id=91983
Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-24
Reviewed by Dirk Pranke.
Add unit tests for get and set custom text encoding methods. Also, fix
a style nit for r123177.
* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_setting_encoding_custom_set): Fix a style nit - add newline
before return.
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123545
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Tue, 24 Jul 2012 22:51:05 +0000 (22:51 +0000)]
WinCairo build fix attempt.
* win/WebKit2CFLite.def:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123544
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Tue, 24 Jul 2012 22:34:51 +0000 (22:34 +0000)]
Windows build fix attempt.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123543
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kseo@webkit.org [Tue, 24 Jul 2012 22:34:31 +0000 (22:34 +0000)]
Remove an invalid assertion introduced in r123536. Unreviewed.
* xml/parser/MarkupTokenBase.h:
(WebCore::AtomicMarkupTokenBase::clearExternalCharacters):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123542
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zmo@google.com [Tue, 24 Jul 2012 22:33:14 +0000 (22:33 +0000)]
Unreviewed, rolling out r123504.
http://trac.webkit.org/changeset/123504
https://bugs.webkit.org/show_bug.cgi?id=92169
broke a bunch of text-related tests in chromium mac debug
(Requested by zhenyao on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-24
* platform/text/cf/StringCF.cpp:
(WTF::String::createCFString):
* platform/text/cf/StringImplCF.cpp:
(WTF::StringImpl::createCFString):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123541
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
atwilson@chromium.org [Tue, 24 Jul 2012 22:26:34 +0000 (22:26 +0000)]
Unreviewed chromium expectations change stop ignoring fast/hidpi changes.
* platform/chromium/TestExpectations:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123540
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dpranke@chromium.org [Tue, 24 Jul 2012 22:20:10 +0000 (22:20 +0000)]
make test-webkitpy at least kinda work in parallel on win32
https://bugs.webkit.org/show_bug.cgi?id=91700
Reviewed by Adam Barth.
This change makes the hoop-jumping we have to do to make running
new-run-webkit-tests in parallel on win32 generic so that we can
re-use it for test-webkitpy as well.
* Scripts/new-run-webkit-tests:
* Scripts/test-webkitpy:
* Scripts/webkitpy/common/multiprocessing_bootstrap.py: Copied from Tools/Scripts/new-run-webkit-tests.
(run):
* Scripts/webkitpy/test/main.py:
(main):
(Tester._log_exception):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123538
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kseo@webkit.org [Tue, 24 Jul 2012 22:19:44 +0000 (22:19 +0000)]
Ensure Noah's ark without reading the DOM tree.
https://bugs.webkit.org/show_bug.cgi?id=92065
Reviewed by Adam Barth.
Technically we shouldn't read attributes back from the DOM. If JavaScript changes
the attributes values, we could get a slightly wrong output here.
Read attributes from tokens saved in the active formatting element list.
No new tests, covered by existing tests.
* html/parser/HTMLFormattingElementList.cpp:
(WebCore::attributeCount):
(WebCore::HTMLFormattingElementList::append):
(WebCore::HTMLFormattingElementList::tryToEnsureNoahsArkConditionQuickly):
(WebCore::HTMLFormattingElementList::ensureNoahsArkCondition):
* html/parser/HTMLFormattingElementList.h:
(HTMLFormattingElementList):
* html/parser/HTMLStackItem.h:
(WebCore::HTMLStackItem::localName):
(HTMLStackItem):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123537
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kseo@webkit.org [Tue, 24 Jul 2012 22:12:54 +0000 (22:12 +0000)]
Clear the external characters pointer of an AtomicHTMLToken before the raw token is cleared.
https://bugs.webkit.org/show_bug.cgi?id=92056
Reviewed by Adam Barth.
AtomicHTMLToken keeps a pointer to the HTMLToken's buffer instead of copying the
characters for performance. Clear the external characters pointer before the raw token
is cleared to make sure that we won't have a dangling pointer.
No new tests - no functional changes.
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::constructTreeFromToken):
* xml/parser/MarkupTokenBase.h:
(WebCore::AtomicMarkupTokenBase::clearExternalCharacters):
(AtomicMarkupTokenBase):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123536
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jianli@chromium.org [Tue, 24 Jul 2012 22:08:52 +0000 (22:08 +0000)]
Add per-context setting for html notifications
https://bugs.webkit.org/show_bug.cgi?id=91295
Reviewed by Adam Barth.
Source/WebCore:
Added a new per-context setting to control the enabling of html notifications.
For chromium port, we're going to disable html notifications for web
pages, but still keep it enabled for extensions.
Also enhance V8 code generator to support V8EnabledPerContext attribute
for methods.
Updated the binding tests.
* Modules/notifications/NotificationCenter.cpp:
(WebCore::NotificationCenter::document): Expose document for being used by installPerContextProperties.
(WebCore):
* Modules/notifications/NotificationCenter.h:
(NotificationCenter):
* Modules/notifications/NotificationCenter.idl: Add V8EnabledPerContext attribute.
* bindings/scripts/CodeGeneratorV8.pm: V8EnabledPerContext now supports methods.
(GenerateHeader):
(IsStandardFunction):
(GenerateNonStandardFunction):
(GenerateImplementation):
(GenerateToV8Converters):
(GetContextEnableFunction):
* bindings/scripts/test/TestObj.idl: Add test case for V8EnabledPerContext methods.
* bindings/scripts/test/V8/V8TestObj.cpp: Update test result.
(WebCore::TestObjV8Internal::enabledAtContextMethod1Callback):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::enabledAtContextMethod2Callback):
(WebCore::V8TestObj::installPerContextProperties):
(WebCore::V8TestObj::wrapSlow):
* dom/ContextFeatures.cpp: Add a new per-context feature.
(WebCore::ContextFeatures::htmlNotificationsEnabled):
(WebCore):
* dom/ContextFeatures.h: Add a new per-context feature.
Source/WebKit/chromium:
Add new per-context feature for chromium port.
* public/WebPermissionClient.h:
(WebPermissionClient):
(WebKit::WebPermissionClient::allowHTMLNotifications):
* src/ContextFeaturesClientImpl.cpp:
(WebKit::ContextFeaturesClientImpl::askIfIsEnabled):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123535
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zmo@google.com [Tue, 24 Jul 2012 22:07:17 +0000 (22:07 +0000)]
Unreviewed, rolling out r123499.
http://trac.webkit.org/changeset/123499
https://bugs.webkit.org/show_bug.cgi?id=92161
Android fails to compile (Requested by zhenyao on #webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-07-24
Source/Platform:
* chromium/public/WebMediaStreamDescriptor.h:
(WebMediaStreamDescriptor):
* chromium/public/WebMediaStreamSource.h:
(WebMediaStreamSource):
Source/WebCore:
* GNUmakefile.list.am:
* Modules/mediastream/MediaStream.cpp:
(WebCore::MediaStream::MediaStream):
(WebCore::MediaStream::addTrack):
* Modules/mediastream/MediaStreamTrack.cpp:
(WebCore::MediaStreamTrack::create):
(WebCore::MediaStreamTrack::MediaStreamTrack):
(WebCore::MediaStreamTrack::~MediaStreamTrack):
(WebCore::MediaStreamTrack::setEnabled):
* Modules/mediastream/MediaStreamTrack.h:
(MediaStreamTrack):
* Modules/mediastream/MediaStreamTrack.idl:
* WebCore.gypi:
* dom/EventNames.h:
(WebCore):
* dom/EventTargetFactory.in:
* platform/chromium/support/WebMediaStreamDescriptor.cpp:
(WebKit):
(WebKit::WebMediaStreamDescriptor::sources):
* platform/chromium/support/WebMediaStreamSource.cpp:
* platform/mediastream/MediaStreamSource.cpp: Removed.
* platform/mediastream/MediaStreamSource.h:
(WebCore::MediaStreamSource::create):
(WebCore::MediaStreamSource::muted):
(WebCore::MediaStreamSource::setMuted):
(WebCore::MediaStreamSource::MediaStreamSource):
(MediaStreamSource):
* platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
(WebCore::MediaStreamCenterChromium::queryMediaStreamSources):
(WebCore::MediaStreamCenterChromium::didCreateMediaStream):
Source/WebKit/chromium:
* src/AssertMatchingEnums.cpp:
Tools:
* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/MockWebKitPlatformSupport.cpp:
(MockWebKitPlatformSupport::createMediaStreamCenter):
* DumpRenderTree/chromium/MockWebKitPlatformSupport.h:
(MockWebKitPlatformSupport):
* DumpRenderTree/chromium/MockWebMediaStreamCenter.cpp: Removed.
* DumpRenderTree/chromium/MockWebMediaStreamCenter.h: Removed.
LayoutTests:
* fast/mediastream/MediaStreamTrack-expected.txt: Removed.
* fast/mediastream/MediaStreamTrack.html: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123533
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
atwilson@chromium.org [Tue, 24 Jul 2012 22:01:02 +0000 (22:01 +0000)]
Unreviewed chromium expectations update from r123490.
* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-icon-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-with-size-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/clip-text-in-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/device-scale-factor-paint-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/focus-rings-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-as-background-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-dynamic-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-without-size-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-comparison-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-dynamic-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-simple-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-in-content-dynamic-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-out-of-order-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-simple-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-without-specified-width-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/resize-corner-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/video-controls-in-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/video-controls-in-hidpi-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123532
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dpranke@chromium.org [Tue, 24 Jul 2012 21:44:50 +0000 (21:44 +0000)]
nrwt: never finds binaries in the 'out' dir on chromium win
https://bugs.webkit.org/show_bug.cgi?id=91890
Reviewed by Tony Chang.
Attempt to fix this bug yet again; it turns out that --root and
--build-directory don't have the same meaning (--root should
include the configuration, --build-directory should not).
* Scripts/webkitpy/layout_tests/port/base.py:
(Port._build_path):
* Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort._static_build_path):
(ChromiumPort.default_results_directory):
(ChromiumPort._build_path):
(ChromiumPort):
(ChromiumPort._build_path_with_configuration):
(ChromiumPort._build_path_with_configuration.does):
(ChromiumPort._path_to_image_diff):
* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidPort._build_path):
(ChromiumAndroidPort):
(ChromiumAndroidPort._build_path_with_configuration):
(ChromiumAndroidPort._path_to_driver):
(ChromiumAndroidPort._path_to_forwarder):
(ChromiumAndroidPort._push_executable):
(ChromiumAndroidPort._push_fonts):
* Scripts/webkitpy/layout_tests/port/chromium_linux.py:
(ChromiumLinuxPort._determine_driver_path_statically):
(ChromiumLinuxPort._modules_to_search_for_symbols):
(ChromiumLinuxPort._path_to_driver):
* Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
(ChromiumLinuxPortTest.test_build_path):
* Scripts/webkitpy/layout_tests/port/chromium_mac.py:
(ChromiumMacPort._modules_to_search_for_symbols):
(ChromiumMacPort._path_to_driver):
(ChromiumMacPort._path_to_helper):
* Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
(ChromiumMacPortTest.test_build_path):
* Scripts/webkitpy/layout_tests/port/chromium_win.py:
(ChromiumWinPort._path_to_driver):
(ChromiumWinPort._path_to_helper):
(ChromiumWinPort._path_to_image_diff):
* Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
(ChromiumWinTest.test_build_path):
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123530
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caio.oliveira@openbossa.org [Tue, 24 Jul 2012 21:26:37 +0000 (21:26 +0000)]
[Qt] svg/batik rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92162
Unreviewed.
* platform/qt-5.0/Skipped:
* platform/qt-5.0/svg/batik/text/smallFonts-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/smallFonts-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textAnchor-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textAnchor-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textEffect-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textEffect-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textEffect3-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textEffect3-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textPosition-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textPosition2-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textPosition2-expected.txt: Removed.
* platform/qt/svg/batik/filters/filterRegions-expected.png:
* platform/qt/svg/batik/filters/filterRegions-expected.txt:
* platform/qt/svg/batik/masking/maskRegions-expected.png:
* platform/qt/svg/batik/masking/maskRegions-expected.txt:
* platform/qt/svg/batik/paints/patternPreserveAspectRatioA-expected.png:
* platform/qt/svg/batik/paints/patternPreserveAspectRatioA-expected.txt:
* platform/qt/svg/batik/paints/patternRegionA-expected.png:
* platform/qt/svg/batik/paints/patternRegionA-expected.txt:
* platform/qt/svg/batik/paints/patternRegions-expected.png:
* platform/qt/svg/batik/paints/patternRegions-expected.txt:
* platform/qt/svg/batik/paints/patternRegions-positioned-objects-expected.png:
* platform/qt/svg/batik/paints/patternRegions-positioned-objects-expected.txt:
* platform/qt/svg/batik/text/longTextOnPath-expected.png:
* platform/qt/svg/batik/text/longTextOnPath-expected.txt:
* platform/qt/svg/batik/text/smallFonts-expected.png:
* platform/qt/svg/batik/text/smallFonts-expected.txt:
* platform/qt/svg/batik/text/textAnchor-expected.png:
* platform/qt/svg/batik/text/textAnchor-expected.txt:
* platform/qt/svg/batik/text/textAnchor2-expected.png:
* platform/qt/svg/batik/text/textAnchor2-expected.txt:
* platform/qt/svg/batik/text/textAnchor3-expected.png:
* platform/qt/svg/batik/text/textAnchor3-expected.txt:
* platform/qt/svg/batik/text/textDecoration-expected.png:
* platform/qt/svg/batik/text/textDecoration-expected.txt:
* platform/qt/svg/batik/text/textDecoration2-expected.png:
* platform/qt/svg/batik/text/textDecoration2-expected.txt:
* platform/qt/svg/batik/text/textEffect-expected.png:
* platform/qt/svg/batik/text/textEffect-expected.txt:
* platform/qt/svg/batik/text/textEffect2-expected.png:
* platform/qt/svg/batik/text/textEffect2-expected.txt:
* platform/qt/svg/batik/text/textEffect3-expected.png:
* platform/qt/svg/batik/text/textEffect3-expected.txt:
* platform/qt/svg/batik/text/textFeatures-expected.png:
* platform/qt/svg/batik/text/textFeatures-expected.txt:
* platform/qt/svg/batik/text/textGlyphOrientationHorizontal-expected.png:
* platform/qt/svg/batik/text/textGlyphOrientationHorizontal-expected.txt:
* platform/qt/svg/batik/text/textLayout2-expected.png:
* platform/qt/svg/batik/text/textLayout2-expected.txt:
* platform/qt/svg/batik/text/textLength-expected.png:
* platform/qt/svg/batik/text/textLength-expected.txt:
* platform/qt/svg/batik/text/textOnPath-expected.png:
* platform/qt/svg/batik/text/textOnPath-expected.txt:
* platform/qt/svg/batik/text/textOnPath2-expected.png:
* platform/qt/svg/batik/text/textOnPath2-expected.txt:
* platform/qt/svg/batik/text/textOnPath3-expected.png:
* platform/qt/svg/batik/text/textOnPath3-expected.txt:
* platform/qt/svg/batik/text/textPCDATA-expected.png:
* platform/qt/svg/batik/text/textPCDATA-expected.txt:
* platform/qt/svg/batik/text/textPosition-expected.png:
* platform/qt/svg/batik/text/textPosition-expected.txt:
* platform/qt/svg/batik/text/textPosition2-expected.png:
* platform/qt/svg/batik/text/textPosition2-expected.txt:
* platform/qt/svg/batik/text/textProperties-expected.png:
* platform/qt/svg/batik/text/textProperties-expected.txt:
* platform/qt/svg/batik/text/textProperties2-expected.png:
* platform/qt/svg/batik/text/textProperties2-expected.txt:
* platform/qt/svg/batik/text/verticalTextOnPath-expected.png:
* platform/qt/svg/batik/text/verticalTextOnPath-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123527
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rwlbuis@webkit.org [Tue, 24 Jul 2012 21:09:44 +0000 (21:09 +0000)]
[BlackBerry] Do not call settings setters twice on page construction
https://bugs.webkit.org/show_bug.cgi?id=92157
Reviewed by Yong Li.
The WebPagePrivate init method sets some settings value that were
already set in didChangeSettings.
Also call didChangeSettings explicitly from init, before that we are
not calling it since the delegate is not set yet.
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123526
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jchaffraix@webkit.org [Tue, 24 Jul 2012 20:59:14 +0000 (20:59 +0000)]
Crash in RenderTableSection::layoutRows
https://bugs.webkit.org/show_bug.cgi?id=92145
Reviewed by Abhishek Arya.
Source/WebCore:
The crash came from the insertChildNode logic being confused and choosing the wrong
renderer for insertion. This is because after r123159, table anonymous wrappers can
be created as 'inline-table' and wouldn't pass the isAnonymousBlock() check.
This change also aligns the ancestor iteration with RenderBlock::addChildToAnonymousColumnBlocks.
Test: fast/table/crash-table-section-layoutRows.html
* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::insertChildNode):
Changed the code to always get the right child. There is no justification to not
walking up to the |owner|'s direct child in all cases.
LayoutTests:
* fast/table/crash-table-section-layoutRows-expected.txt: Added.
* fast/table/crash-table-section-layoutRows.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123525
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tony@chromium.org [Tue, 24 Jul 2012 20:53:19 +0000 (20:53 +0000)]
Make RenderBlock::paintChildren virtual so sub classes can change the paint order
https://bugs.webkit.org/show_bug.cgi?id=92042
Reviewed by Ojan Vafai.
The flexbox spec says that the order property should change the paint order of flex children.
To make that possible, make paintChildren virtual so RenderFlexibleBox can override it.
No new tests, this is just a refactoring.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintContents): Move some code out of paintChildren into paintContents.
(WebCore::RenderBlock::paintChildren): Make virtual and just have it be a simple for loop.
(WebCore::RenderBlock::paintChild): Move code out of paintChildren so subclasses can reuse.
* rendering/RenderBlock.h:
(RenderBlock): Make paintChildren virtual and protected so sub classes can call paintChild.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123524
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caio.oliveira@openbossa.org [Tue, 24 Jul 2012 20:46:31 +0000 (20:46 +0000)]
[Qt] svg/clip-path rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92158
Unreviewed.
Create a separate bug to track two tests that had wrong expected results before
the font change.
* platform/qt-5.0/Skipped:
* platform/qt/svg/clip-path/clip-path-pixelation-expected.png:
* platform/qt/svg/clip-path/clip-path-pixelation-expected.txt:
* platform/qt/svg/clip-path/clip-path-text-and-shape-expected.png:
* platform/qt/svg/clip-path/clip-path-text-and-shape-expected.txt:
* platform/qt/svg/clip-path/clip-path-text-and-stroke-expected.png:
* platform/qt/svg/clip-path/clip-path-text-and-stroke-expected.txt:
* platform/qt/svg/clip-path/clip-path-text-expected.png:
* platform/qt/svg/clip-path/clip-path-text-expected.txt:
* platform/qt/svg/clip-path/clip-path-tspan-and-stroke-expected.png:
* platform/qt/svg/clip-path/clip-path-tspan-and-stroke-expected.txt:
* platform/qt/svg/clip-path/clip-path-with-text-clipped-expected.png:
* platform/qt/svg/clip-path/clip-path-with-text-clipped-expected.txt:
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png:
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt:
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-expected.png: Removed.
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-expected.txt: Removed.
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Removed.
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123523
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
annacc@chromium.org [Tue, 24 Jul 2012 20:44:43 +0000 (20:44 +0000)]
Create SourceBuffer and SourceBufferList objects
https://bugs.webkit.org/show_bug.cgi?id=91771
Reviewed by Eric Carlson.
SourceBuffer and SourceBufferList objects are needed in order to
implement the new object-oriented MediaSource API:
http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html
No new tests - will be able to test after landing BUGWK91775
Adding new files to build files:
* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.am:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcproj/WebCoreCommon.vsprops:
* WebCore.vcproj/copyForwardingHeaders.cmd:
* WebCore.xcodeproj/project.pbxproj:
New objects:
* Modules/mediasource/SourceBuffer.cpp: Added.
* Modules/mediasource/SourceBuffer.h: Added.
* Modules/mediasource/SourceBuffer.idl: Added.
* Modules/mediasource/SourceBufferList.cpp: Added.
* Modules/mediasource/SourceBufferList.h: Added.
* Modules/mediasource/SourceBufferList.idl: Added.
New events:
* dom/EventNames.h:
(WebCore):
* dom/EventTarget.h:
(WebCore):
* dom/EventTargetFactory.in:
Object constructors:
* page/DOMWindow.idl:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123522
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zmo@google.com [Tue, 24 Jul 2012 20:33:13 +0000 (20:33 +0000)]
Rebaseline - gardening stuff.
Unreviewed.
* fast/canvas/webgl/framebuffer-object-attachment-expected.txt:
* fast/canvas/webgl/framebuffer-object-attachment.html:
* fast/canvas/webgl/resources/webgl-test-utils.js:
(WebGLTestUtils):
* platform/chromium-linux-x86/css3/selectors3/html: Removed.
* platform/chromium-linux-x86/css3/selectors3/xhtml: Removed.
* platform/chromium-linux-x86/css3/selectors3/xml: Removed.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/core: Removed.
* platform/chromium-linux/compositing/overflow/theme-affects-visual-overflow-expected.png:
* platform/chromium-linux/css1/box_properties/acid_test-expected.png:
* platform/chromium-linux/css2.1/t09-c5526c-display-00-e-expected.png:
* platform/chromium-linux/css3/selectors3/html/css3-modsel-25-expected.png:
* platform/chromium-linux/css3/selectors3/html/css3-modsel-70-expected.png:
* platform/chromium-linux/css3/selectors3/xhtml/css3-modsel-25-expected.png:
* platform/chromium-linux/css3/selectors3/xhtml/css3-modsel-70-expected.png:
* platform/chromium-linux/css3/selectors3/xml/css3-modsel-25-expected.png:
* platform/chromium-linux/css3/selectors3/xml/css3-modsel-70-expected.png:
* platform/chromium-linux/fast/block/basic/011-expected.png:
* platform/chromium-linux/fast/block/margin-collapse/103-expected.png:
* platform/chromium-linux/fast/css/non-standard-checkbox-size-expected.png:
* platform/chromium-linux/fast/forms/001-expected.png:
* platform/chromium-linux/fast/forms/basic-inputs-expected.png:
* platform/chromium-linux/fast/forms/box-shadow-override-expected.png:
* platform/chromium-linux/fast/forms/file/file-input-disabled-expected.png:
* platform/chromium-linux/fast/forms/form-element-geometry-expected.png:
* platform/chromium-linux/fast/forms/formmove-expected.png:
* platform/chromium-linux/fast/forms/formmove2-expected.png:
* platform/chromium-linux/fast/forms/indeterminate-expected.png:
* platform/chromium-linux/fast/forms/input-appearance-height-expected.png:
* platform/chromium-linux/fast/forms/input-value-expected.png:
* platform/chromium-linux/fast/inline/positionedLifetime-expected.png:
* platform/chromium-linux/fast/parser/bad-xml-slash-expected.png:
* platform/chromium-linux/fast/replaced/replaced-breaking-expected.png:
* platform/chromium-linux/fast/replaced/width100percent-checkbox-expected.png:
* platform/chromium-linux/fast/text/textIteratorNilRenderer-expected.png:
* platform/chromium-linux/fast/text/whitespace/normal-after-nowrap-breaking-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug1318-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug4527-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/captions1-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/captions2-expected.png:
* platform/chromium-mac-snowleopard/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Removed.
* platform/chromium-win-xp/fast/text/whitespace/normal-after-nowrap-breaking-expected.png: Removed.
* platform/mac-snowleopard/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Removed.
* platform/mac/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123521
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 24 Jul 2012 20:32:39 +0000 (20:32 +0000)]
[chromium] Add a bounding box member in WebGestureEvent
https://bugs.webkit.org/show_bug.cgi?id=92144
Patch by Terry Anderson <tdanderson@chromium.org> on 2012-07-24
Reviewed by Adam Barth.
The new |boundingBox| member will be used to store the touch region for a WebGestureEvent.
This will be useful for gesture target fuzzing across multiple different gesture types
(tap, long press, scroll, etc.)
* public/WebInputEvent.h:
(WebGestureEvent):
* src/WebInputEvent.cpp:
(SameSizeAsWebGestureEvent):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123520
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 24 Jul 2012 20:29:31 +0000 (20:29 +0000)]
[Qt] fast/block/basic needs rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92149
Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-24
Reviewed by Alexis Menard.
* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/fast/block/basic/001-expected.png:
* platform/qt/fast/block/basic/001-expected.txt:
* platform/qt/fast/block/basic/002-expected.png:
* platform/qt/fast/block/basic/002-expected.txt:
* platform/qt/fast/block/basic/003-expected.png:
* platform/qt/fast/block/basic/003-expected.txt:
* platform/qt/fast/block/basic/004-expected.png:
* platform/qt/fast/block/basic/004-expected.txt:
* platform/qt/fast/block/basic/005-expected.png:
* platform/qt/fast/block/basic/005-expected.txt:
* platform/qt/fast/block/basic/006-expected.png:
* platform/qt/fast/block/basic/006-expected.txt:
* platform/qt/fast/block/basic/007-expected.png:
* platform/qt/fast/block/basic/007-expected.txt:
* platform/qt/fast/block/basic/008-expected.png:
* platform/qt/fast/block/basic/008-expected.txt:
* platform/qt/fast/block/basic/009-expected.png:
* platform/qt/fast/block/basic/009-expected.txt:
* platform/qt/fast/block/basic/010-expected.png:
* platform/qt/fast/block/basic/010-expected.txt:
* platform/qt/fast/block/basic/011-expected.png:
* platform/qt/fast/block/basic/011-expected.txt:
* platform/qt/fast/block/basic/012-expected.png:
* platform/qt/fast/block/basic/012-expected.txt:
* platform/qt/fast/block/basic/013-expected.png:
* platform/qt/fast/block/basic/013-expected.txt:
* platform/qt/fast/block/basic/014-expected.png:
* platform/qt/fast/block/basic/014-expected.txt:
* platform/qt/fast/block/basic/015-expected.png:
* platform/qt/fast/block/basic/015-expected.txt:
* platform/qt/fast/block/basic/016-expected.png:
* platform/qt/fast/block/basic/016-expected.txt:
* platform/qt/fast/block/basic/018-expected.png:
* platform/qt/fast/block/basic/018-expected.txt:
* platform/qt/fast/block/basic/019-expected.png:
* platform/qt/fast/block/basic/019-expected.txt:
* platform/qt/fast/block/basic/020-expected.txt:
* platform/qt/fast/block/basic/021-expected.png:
* platform/qt/fast/block/basic/021-expected.txt:
* platform/qt/fast/block/basic/adding-near-anonymous-block-expected.png:
* platform/qt/fast/block/basic/adding-near-anonymous-block-expected.txt:
* platform/qt/fast/block/basic/minheight-expected.png:
* platform/qt/fast/block/basic/minheight-expected.txt:
* platform/qt/fast/block/basic/percent-height-inside-anonymous-block-expected.png:
* platform/qt/fast/block/basic/percent-height-inside-anonymous-block-expected.txt:
* platform/qt/fast/block/basic/quirk-height-expected.png:
* platform/qt/fast/block/basic/quirk-height-expected.txt:
* platform/qt/fast/block/basic/truncation-rtl-expected.png:
* platform/qt/fast/block/basic/truncation-rtl-expected.txt:
* platform/qt/fast/block/basic/white-space-pre-wraps-expected.png:
* platform/qt/fast/block/basic/white-space-pre-wraps-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123519
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
thakis@chromium.org [Tue, 24 Jul 2012 20:22:49 +0000 (20:22 +0000)]
[chromium/mac] Add cursor resource pngs to the pak file.
https://bugs.webkit.org/show_bug.cgi?id=92148
Reviewed by Tony Chang.
Once https://chromiumcodereview.appspot.com/
10817031/ has landed, they can be
removed from WebCore.gyp's mac_bundle_resources. Part of http://crbug.com/137588
* WebKit.grd:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123518
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caio.oliveira@openbossa.org [Tue, 24 Jul 2012 20:20:51 +0000 (20:20 +0000)]
[Qt] svg/carto.net rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92152
Unreviewed.
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt-5.0/svg/carto.net/window-expected.png: Removed.
* platform/qt-5.0/svg/carto.net/window-expected.txt: Removed.
* platform/qt/svg/carto.net/button-expected.png:
* platform/qt/svg/carto.net/button-expected.txt:
* platform/qt/svg/carto.net/colourpicker-expected.png:
* platform/qt/svg/carto.net/colourpicker-expected.txt:
* platform/qt/svg/carto.net/scrollbar-expected.png:
* platform/qt/svg/carto.net/scrollbar-expected.txt:
* platform/qt/svg/carto.net/selectionlist-expected.png:
* platform/qt/svg/carto.net/selectionlist-expected.txt:
* platform/qt/svg/carto.net/slider-expected.png:
* platform/qt/svg/carto.net/slider-expected.txt:
* platform/qt/svg/carto.net/tabgroup-expected.png:
* platform/qt/svg/carto.net/tabgroup-expected.txt:
* platform/qt/svg/carto.net/textbox-expected.png:
* platform/qt/svg/carto.net/textbox-expected.txt:
* platform/qt/svg/carto.net/window-expected.png:
* platform/qt/svg/carto.net/window-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123517
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jocelyn.turcotte@nokia.com [Tue, 24 Jul 2012 20:17:36 +0000 (20:17 +0000)]
[Qt] Make sure that an AC sync is triggered when the canvas contents is updated.
https://bugs.webkit.org/show_bug.cgi?id=92128
Reviewed by Kenneth Rohde Christiansen.
This would cause missed frames when animating an accelerated 2D canvas without
touching the document.
* WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp:
(WebCore::WebGraphicsLayer::setContentsNeedsDisplay):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123516
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Tue, 24 Jul 2012 20:15:40 +0000 (20:15 +0000)]
[Mac WK2] Improve text input logging
https://bugs.webkit.org/show_bug.cgi?id=92147
Reviewed by Andreas Kling.
* UIProcess/API/mac/WKView.mm:
(-[WKView insertText:replacementRange:]):
(-[WKView keyUp:]):
(-[WKView keyDown:]):
(-[WKView flagsChanged:]):
(-[WKView _executeSavedKeypressCommands]):
(-[WKView _notifyInputContextAboutDiscardedComposition]):
(-[WKView _interpretKeyEvent:savingCommandsTo:WebCore::]):
(-[WKView _updateSecureInputState]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123515
268f45cc-cd09-0410-ab3c-
d52691b4dbfc