WebKit-https.git
7 weeks agoUpdates to the isolated tree must happen before posting notifications to clients.
andresg_22@apple.com [Fri, 22 May 2020 21:03:59 +0000 (21:03 +0000)]
Updates to the isolated tree must happen before posting notifications to clients.
https://bugs.webkit.org/show_bug.cgi?id=212266

Reviewed by Chris Fleizach.

Multiple tests.

In AXObjectCache::notificationPostTimerFired we were updating the
isolated tree after the notifications were posted to the platform
clients. This caused that in some cases when the client requested info
as the result of those notifications, the isolated tree was out-of-date.
In this patch updateIsolatedTree is called before notifying platform clients.

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::notificationPostTimerFired):
(WebCore::AXObjectCache::postNotification):
(WebCore::AXObjectCache::postTextStateChangeNotification):
(WebCore::AXObjectCache::updateIsolatedTree):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262073 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoAttempt to fix the Catalina build after r262069.
aestes@apple.com [Fri, 22 May 2020 20:52:28 +0000 (20:52 +0000)]
Attempt to fix the Catalina build after r262069.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262072 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoExcessive hang time in iOS Safari under waitForDidUpdateActivityState
timothy_horton@apple.com [Fri, 22 May 2020 20:33:30 +0000 (20:33 +0000)]
Excessive hang time in iOS Safari under waitForDidUpdateActivityState
https://bugs.webkit.org/show_bug.cgi?id=212272
<rdar://problem/62787789>

Reviewed by Andy Estes.

* UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxy::waitForDidUpdateActivityState):
Make the view state change timeout equivalent on iOS and macOS.

We believe that it is preferable to paint white than block the UI
process main thread for half a second. Reduce the timeout on iOS
to be the same as it has been for years on macOS.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262071 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoExtended Color Cleanup: Make alpha premultiplication code more consistent and clear...
weinig@apple.com [Fri, 22 May 2020 20:16:20 +0000 (20:16 +0000)]
Extended Color Cleanup: Make alpha premultiplication code more consistent and clear regarding what works with extended colors
https://bugs.webkit.org/show_bug.cgi?id=212265

Reviewed by Simon Fraser.

- Adds premultiplied(const FloatComponents&) to do premutiplication directly on FloatComponents
  rather than doing it on the ints and losing precision.
- Makes non-FloatComponent alpha premultiplication all take place only for SimpleColors as that
  is what callers need. The existing premulitplication for ExtendedColors in blend() was incorrect
  as it never did a conversion to sRGB.
- Adds new toSRGBASimpleColorLossy() (to complement toSRGBAComponentsLossy()). Will make it easy
  to find all the conversions in the future.
- Broke non-premultiplying blend() out of blend() (removing parameter) and made a new blendWithoutPremultiply()
  function for it (no callers needed to make this decision dynamically).

* css/CSSGradientValue.cpp:
(WebCore::CSSGradientValue::computeStops):
Use blendWithoutPremultiply() explicitly.

* platform/graphics/Color.h:
* platform/graphics/Color.cpp:
(WebCore::makePremultipliedRGBA): Renamed from premultipliedARGBFromColor and now only operates on SimpleColors.
(WebCore::makeUnPremultipliedRGBA): Renamed from colorFromPremultipliedARGB and now only operates on SimpleColors.
(WebCore::colorFromPremultipliedARGB): Deleted.
(WebCore::premultipliedARGBFromColor): Deleted.

(WebCore::Color::toSRGBASimpleColorLossy const):
Added. Useful for finding all non-colorspace preserving users of the color channels.

(WebCore::blend):
(WebCore::blendWithoutPremultiply):
Split these out from each other. Made blend() use toSRGBASimpleColorLossy() and do all
operations on SimpleColors directly. The old code that preported to work with extended
colors was nonsense as it didn't actually take the colorspaces into account, just grabbed
the channels regardless of space.

* platform/graphics/cairo/ImageBufferCairoImageSurfaceBackend.cpp:
(WebCore::ImageBufferCairoImageSurfaceBackend::platformTransformColorSpace):
Adopt update premulitiplication names and stay in SimpleColor for entire conversion.

* platform/graphics/cairo/NativeImageCairo.cpp:
(WebCore::nativeImageSinglePixelSolidColor):
Adopt update premulitiplication names.

* platform/graphics/ColorUtilities.cpp:
(WebCore::premultiplied):
* platform/graphics/ColorUtilities.h:
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::drawBorder):
(WebCore::prepareFilterProgram):
(WebCore::TextureMapperGL::drawSolidColor):
Add and adopt premultiplied(const FloatComponents&).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262070 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[Apple Pay] Add new ApplePayInstallmentConfiguration members
aestes@apple.com [Fri, 22 May 2020 20:10:01 +0000 (20:10 +0000)]
[Apple Pay] Add new ApplePayInstallmentConfiguration members
https://bugs.webkit.org/show_bug.cgi?id=212160
<rdar://problem/60703650>

Reviewed by Alex Christensen.

Source/WebCore:

Test: http/tests/ssl/applepay/ApplePayInstallmentItems.https.html

* DerivedSources-input.xcfilelist:
* DerivedSources-output.xcfilelist:
* DerivedSources.make:
* SourcesCocoa.txt:
* WebCore.xcodeproj/project.pbxproj: Added IDLs, headers, and derived sources for
ApplePayInstallment{Item,ItemType,RetailChannel}.

* Modules/applepay/ApplePayInstallmentConfiguration.idl:
* Modules/applepay/ApplePayInstallmentConfigurationWebCore.h: Added items,
applicationMetadata, and retailChannel members. Added missing conditionals to
merchantIdentifier and referrerIdentifier.

* Modules/applepay/ApplePayInstallmentItem.h:
* Modules/applepay/ApplePayInstallmentItem.idl:
* Modules/applepay/ApplePayInstallmentItemType.h:
* Modules/applepay/ApplePayInstallmentItemType.idl:
* Modules/applepay/ApplePayInstallmentRetailChannel.h:
* Modules/applepay/ApplePayInstallmentRetailChannel.idl: Added.

* Modules/applepay/ApplePayRequestBase.cpp:
(WebCore::convertAndValidate): Changed to call PaymentInstallmentConfiguration::create,
returning an exception if present.

* Modules/applepay/PaymentInstallmentConfiguration.mm:
(WebCore::fromDecimalNumber): Allowed for a large maximum number of fractional digits to
support formatting high-precision currency and APRs (note that this formatter is only used
for test support).

(WebCore::applePayItemType):
(WebCore::platformItemType): Added to convert between PKInstallmentItemType and
ApplePayInstallmentItemType.

(WebCore::applePayRetailChannel):
(WebCore::platformRetailChannel): Added to convert between PKInstallmentRetailChannel and
ApplePayInstallmentRetailChannel.

(WebCore::makeNSArrayElement):
(WebCore::makeVectorElement): Added to convert between NSArray<PKPaymentInstallmentItem *>
and Vector<ApplePayInstallmentItem>.

(WebCore::createPlatformConfiguration): Added a parameter for passing in applicationMetadata
as an NSDictionary. Set properties on PKPaymentInstallmentConfiguration for new
ApplePayInstallmentConfiguration members.
(WebCore::PaymentInstallmentConfiguration::create): Added; converts the applicationMetadata
JSON string (if present) to an NSDictionary, returning a TypeError if the JSON string does
not deserialize to an NSDictionary (as PassKit requires).
(WebCore::PaymentInstallmentConfiguration::PaymentInstallmentConfiguration): Added a
parameter for passing in applicationMetadata as an NSDictionary. Made private.
(WebCore::PaymentInstallmentConfiguration::applePayInstallmentConfiguration const): Set
members on ApplePayInstallmentConfiguration for new PKPaymentInstallmentConfiguration
properties.

* Modules/applepay/PaymentInstallmentConfigurationWebCore.h:

Source/WebCore/PAL:

* pal/cocoa/PassKitSoftLink.h:
* pal/cocoa/PassKitSoftLink.mm: Added soft-linking macros for PKPaymentInstallmentItem.

Source/WTF:

* wtf/PlatformEnableCocoa.h: Defined ENABLE_APPLE_PAY_INSTALLMENT_IDENTIFIERS.

LayoutTests:

* http/tests/ssl/applepay/ApplePayInstallmentItems.https-expected.txt:
* http/tests/ssl/applepay/ApplePayInstallmentItems.https.html: Added.
* platform/mac-wk2/TestExpectations: Skipped test on Mojave and Catalina.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262069 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoAdd support for [no-]use-ccache option in build-jsc
pmatos@igalia.com [Fri, 22 May 2020 18:57:37 +0000 (18:57 +0000)]
Add support for [no-]use-ccache option in build-jsc
https://bugs.webkit.org/show_bug.cgi?id=212259

Reviewed by Mark Lam.

* Scripts/build-jsc:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262068 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoAdd SPI to unblock third party cookies from WKWebViews with ResourceLoadStatistics...
commit-queue@webkit.org [Fri, 22 May 2020 18:27:14 +0000 (18:27 +0000)]
Add SPI to unblock third party cookies from WKWebViews with ResourceLoadStatistics turned on
https://bugs.webkit.org/show_bug.cgi?id=212058
<rdar://problem/60595539>

Patch by Alex Christensen <achristensen@webkit.org> on 2020-05-22
Reviewed by John Wilander.

Source/WebCore:

* WebCore.xcodeproj/project.pbxproj:
* loader/CookieJar.cpp:
(WebCore::shouldRelaxThirdPartyCookieBlocking):
(WebCore::CookieJar::cookies const):
(WebCore::CookieJar::setCookies):
(WebCore::CookieJar::cookieRequestHeaderFieldValue const):
(WebCore::CookieJar::getRawCookies const):
* page/Page.cpp:
(WebCore::m_shouldRelaxThirdPartyCookieBlocking):
* page/Page.h:
(WebCore::Page::shouldRelaxThirdPartyCookieBlocking const):
* page/PageConfiguration.h:
* platform/network/CacheValidation.cpp:
(WebCore::cookieRequestHeaderFieldValue):
* platform/network/NetworkStorageSession.cpp:
(WebCore::NetworkStorageSession::shouldBlockCookies const):
(WebCore::NetworkStorageSession::maxAgeCacheCap):
* platform/network/NetworkStorageSession.h:
* platform/network/ShouldRelaxThirdPartyCookieBlocking.h: Added.
* platform/network/cf/NetworkStorageSessionCFNetWin.cpp:
(WebCore::NetworkStorageSession::setCookiesFromDOM const):
(WebCore::NetworkStorageSession::cookiesForDOM const):
(WebCore::NetworkStorageSession::cookieRequestHeaderFieldValue const):
(WebCore::NetworkStorageSession::getRawCookies const):
* platform/network/cocoa/NetworkStorageSessionCocoa.mm:
(WebCore::NetworkStorageSession::cookiesForURL const):
(WebCore::NetworkStorageSession::cookiesForSession const):
(WebCore::NetworkStorageSession::cookiesForDOM const):
(WebCore::NetworkStorageSession::cookieRequestHeaderFieldValue const):
(WebCore::NetworkStorageSession::setCookiesFromDOM const):
(WebCore::NetworkStorageSession::getRawCookies const):
* platform/network/curl/NetworkStorageSessionCurl.cpp:
(WebCore::NetworkStorageSession::setCookiesFromDOM const):
(WebCore::NetworkStorageSession::cookiesForDOM const):
(WebCore::NetworkStorageSession::getRawCookies const):
(WebCore::NetworkStorageSession::cookieRequestHeaderFieldValue const):
* platform/network/curl/ResourceHandleCurl.cpp:
(WebCore::ResourceHandle::createCurlRequest):
* platform/network/soup/NetworkStorageSessionSoup.cpp:
(WebCore::NetworkStorageSession::setCookiesFromDOM const):
(WebCore::NetworkStorageSession::getRawCookies const):
(WebCore::cookiesForSession):
(WebCore::NetworkStorageSession::cookiesForDOM const):
(WebCore::NetworkStorageSession::cookieRequestHeaderFieldValue const):

Source/WebKit:

This value makes NetworkDataTaskCocoa::blockCookies() not do anything for certain WKWebViews.

* NetworkProcess/NetworkDataTask.cpp:
(WebKit::NetworkDataTask::create):
* NetworkProcess/NetworkLoadParameters.h:
* NetworkProcess/NetworkResourceLoadParameters.cpp:
(WebKit::NetworkResourceLoadParameters::encode const):
(WebKit::NetworkResourceLoadParameters::decode):
* NetworkProcess/cocoa/NetworkDataTaskCocoa.h:
* NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
(WebKit::NetworkDataTaskCocoa::blockCookies):
(WebKit::NetworkDataTaskCocoa::unblockCookies):
(WebKit::NetworkDataTaskCocoa::NetworkDataTaskCocoa):
* Shared/WebPageCreationParameters.cpp:
(WebKit::WebPageCreationParameters::encode const):
(WebKit::WebPageCreationParameters::decode):
* Shared/WebPageCreationParameters.h:
* UIProcess/API/APIPageConfiguration.cpp:
(API::PageConfiguration::copy const):
* UIProcess/API/APIPageConfiguration.h:
(API::PageConfiguration::setAllowAllThirdPartyCookies):
(API::PageConfiguration::allowAllThirdPartyCookies const):
* UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration _allowAllThirdPartyCookies]):
(-[WKWebViewConfiguration _setAllowAllThirdPartyCookies:]):
* UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::creationParameters):
* WebProcess/Network/WebLoaderStrategy.cpp:
(WebKit::addParametersShared):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::m_limitsNavigationsToAppBoundDomains):

Tools:

I also add _test_waitForAlert to make tests less verbose.

* TestWebKitAPI/Tests/WebKitCocoa/Download.mm:
(TEST):
* TestWebKitAPI/Tests/WebKitCocoa/NetworkProcess.mm:
(TEST):
* TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm:
(TestWebKitAPI::TEST):
* TestWebKitAPI/cocoa/HTTPServer.h:
(TestWebKitAPI::Connection::Connection):
* TestWebKitAPI/cocoa/HTTPServer.mm:
(TestWebKitAPI::HTTPServer::HTTPServer):
(TestWebKitAPI::dataFromString):
(TestWebKitAPI::nullTerminatedRequest):
(TestWebKitAPI::HTTPServer::request const):
(TestWebKitAPI::Connection::receive const):
(TestWebKitAPI::Connection::send const):
* TestWebKitAPI/cocoa/TestUIDelegate.h:
* TestWebKitAPI/cocoa/TestUIDelegate.mm:
(-[WKWebView _test_waitForAlert]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262066 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[WKTR] Make TestController::resetStateToConsistentValues() more robust against failur...
cdumez@apple.com [Fri, 22 May 2020 18:19:03 +0000 (18:19 +0000)]
[WKTR] Make TestController::resetStateToConsistentValues() more robust against failures to navigate to about:blank
https://bugs.webkit.org/show_bug.cgi?id=212268
<rdar://problem/63493074>

Reviewed by Geoffrey Garen.

Make TestController::resetStateToConsistentValues() more robust against failures to navigate to about:blank.

In <rdar://problem/63493074>, we have evidence that TestController::resetStateToConsistentValues() sometimes
fails to load about:blank, likely due to an unresponsive WebProcess. When this happens, WebKitTestRunner
reports the test as timing out and logs this on stderr:
"""
<unknown> - TestController::run - Failed to reset state to consistent values
#PROCESS UNRESPONSIVE - com.apple.WebKit.WebContent.Development (pid 57421)
"""

This is unfortunate because this does not indicate that anything is particularly wrong with the test in
question. Rather, it indicates that the WebProcess is unresponsive (likely due to a hang caused by a
previous test), which prevents WebKitTestRunner to reset the state in order to run the test.

I propose that if we fail to load about:blank once, we log an error message to stderr but then terminate
the WebProcess and try once again, to make WebKitTestRunner more robust.
I have verified the change locally, by injecting a script in resetStateToConsistentValues() that causes
a WebProcess hang. Before my change, the test would time out and the same logging as in
<rdar://problem/63493074> would show. After my change though, the test would pass successfully despite the
WebProcess hang.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262065 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoCheckpoint inlined call return handler needs an exception check when dispatching
keith_miller@apple.com [Fri, 22 May 2020 18:01:21 +0000 (18:01 +0000)]
Checkpoint inlined call return handler needs an exception check when dispatching
https://bugs.webkit.org/show_bug.cgi?id=212104

Reviewed by Yusuke Suzuki.

JSTests:

* stress/for-of-done-getter-osr-exits-inlined-to-value-getter-with-exception.js: Added.
(let.d.get done):
(let.d.get value):
(foo):
(catch):

Source/JavaScriptCore:

* llint/LLIntSlowPaths.cpp:
(JSC::LLInt::dispatchToNextInstruction):
(JSC::LLInt::slow_path_checkpoint_osr_exit_from_inlined_call):
(JSC::LLInt::slow_path_checkpoint_osr_exit):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262064 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[GTK] jhbuild is broken with GCC 10.0
changseok@webkit.org [Fri, 22 May 2020 17:35:43 +0000 (17:35 +0000)]
[GTK] jhbuild is broken with GCC 10.0
https://bugs.webkit.org/show_bug.cgi?id=212256

Reviewed by Carlos Alberto Lopez Perez.

GCC 10.0 enables -fno-common as default, so many 'multiple definitions' failures occur
in building dependencies via jhbuild. This patch addresses them by back-porting patches
from corresponding source repositories.

* gstreamer/jhbuild.modules:
* gstreamer/patches/libsrtp-Fix-building-with-gcc-10.patch: Added.
* gstreamer/patches/orc-satisfy-fno-common-under-gcc10.patch: Added.
* gtk/jhbuild.modules:
* gtk/patches/at-spi2-atk-tests-Replace-common-variable-with-usual-external.patch: Added.
* gtk/patches/at-spi2-atk-tests-fix-child_pid-reference.patch: Added.
* gtk/patches/mesa-gallium-build-fix-to-make-gcc-10-happy.patch: Added.
* gtk/patches/xserver-Fix-building-with-fno-common.patch: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262063 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoGardening after r262056
clopez@igalia.com [Fri, 22 May 2020 17:32:05 +0000 (17:32 +0000)]
Gardening after r262056

Unreviewed.

* TestExpectations: Skip a test that crashes on debug.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262062 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoDon't put out-of-flow boxes in anonymous flex/grid items
obrufau@igalia.com [Fri, 22 May 2020 16:45:36 +0000 (16:45 +0000)]
Don't put out-of-flow boxes in anonymous flex/grid items
https://bugs.webkit.org/show_bug.cgi?id=205386

Reviewed by Manuel Rego Casasnovas.

Source/WebCore:

A single anonymous flex/grid item should just contain a contiguous
sequence of text runs.

This patch is based on https://crrev.com/533825 from Chromium.

Tests: imported/w3c/web-platform-tests/css/css-flexbox/anonymous-flex-item-004.html
       imported/w3c/web-platform-tests/css/css-grid/grid-items/anonymous-grid-item-001.html

* rendering/updating/RenderTreeBuilderBlock.cpp:
(WebCore::RenderTreeBuilder::Block::attachIgnoringContinuation):

LayoutTests:

Expect tests to pass.

* TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262061 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[Cocoa] fast/text/font-collection.html is failing
mmaxfield@apple.com [Fri, 22 May 2020 16:42:58 +0000 (16:42 +0000)]
[Cocoa] fast/text/font-collection.html is failing
https://bugs.webkit.org/show_bug.cgi?id=212172
<rdar://problem/63466187>

Unreviewed.

The test is failing because the collection font file placed one of its table
directories after the table data. This is a valid file, so this patch doesn't
delete the test, but it also duplicates the test with a new collection font
file that doesn't have this construction. The duplicate test should pass on
all OSes.

* fast/text/font-collection-2-expected.html: Copied from LayoutTests/fast/text/font-collection.html.
* fast/text/font-collection-2.html: Added. Add some extra characters just to
  make sure things are working properly.
* fast/text/font-collection-expected.html:
* fast/text/font-collection.html: Ditto.
* fast/text/resources/collection2.ttc: Added.
* platform/ios/TestExpectations:
* platform/mac/TestExpectations:
* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262060 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoCannot style ::selection for a flex container
ryanhaddad@apple.com [Fri, 22 May 2020 16:41:19 +0000 (16:41 +0000)]
Cannot style ::selection for a flex container
https://bugs.webkit.org/show_bug.cgi?id=209822

Unreviewed test gardening.

Add baselines for macOS and iOS.

* platform/ios/editing/selection/selection-display-block-sibling-expected.txt: Added.
* platform/ios/editing/selection/selection-display-flex-expected.txt: Added.
* platform/mac/editing/selection/selection-display-block-sibling-expected.txt: Added.
* platform/mac/editing/selection/selection-display-flex-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262059 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoRegression(r254859) DOM storage event gets fired at the frame that caused the storage...
cdumez@apple.com [Fri, 22 May 2020 15:17:10 +0000 (15:17 +0000)]
Regression(r254859) DOM storage event gets fired at the frame that caused the storage modification
https://bugs.webkit.org/show_bug.cgi?id=211503
<rdar://problem/62983284>

Reviewed by Maciej Stachowiak.

Source/WebKit:

r254859 refactored StorageAreaMap's dispatchSessionStorageEvent() &
dispatchLocalStorageEvent() to share more code by moving that code to
a new framesForEventDispatching() static function. However,
framesForEventDispatching() was always using the session storage no
matter the call site. It should be using the local storage when called
from dispatchLocalStorageEvent().

Test: storage/domstorage/events/storage-event-not-in-originator.html

* WebProcess/WebStorage/StorageAreaMap.cpp:
(WebKit::framesForEventDispatching):
(WebKit::StorageAreaMap::dispatchSessionStorageEvent):
(WebKit::StorageAreaMap::dispatchLocalStorageEvent):

LayoutTests:

Add layout test coverage.

* storage/domstorage/events/resources/storage-event-not-in-originator-frame.html: Added.
* storage/domstorage/events/storage-event-not-in-originator-expected.txt: Added.
* storage/domstorage/events/storage-event-not-in-originator.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262058 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[Flatpak SDK] Add bubblewrap ... wrapper
commit-queue@webkit.org [Fri, 22 May 2020 14:58:41 +0000 (14:58 +0000)]
[Flatpak SDK] Add bubblewrap ... wrapper
https://bugs.webkit.org/show_bug.cgi?id=212077

Patch by Philippe Normand <pnormand@igalia.com> on 2020-05-22
Reviewed by Carlos Alberto Lopez Perez.

The bind-mounts are now handled through webkit-bwrap.

* flatpak/flatpakutils.py:
(WebkitFlatpak.execute_command):
(WebkitFlatpak.run_in_sandbox):
* flatpak/webkit-bwrap: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262057 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[css-grid] Update WPT imported tests and deduplicate common tests
clopez@igalia.com [Fri, 22 May 2020 14:12:53 +0000 (14:12 +0000)]
[css-grid] Update WPT imported tests and deduplicate common tests
https://bugs.webkit.org/show_bug.cgi?id=212187

Reviewed by Javier Fernandez.

LayoutTests/imported/w3c:

patch

* resources/resource-files.json:
* web-platform-tests/css/css-grid/META.yml:
* web-platform-tests/css/css-grid/abspos/absolute-positioning-definite-sizes-001.html:
* web-platform-tests/css/css-grid/abspos/absolute-positioning-grid-container-containing-block-001.html:
* web-platform-tests/css/css-grid/abspos/absolute-positioning-grid-container-parent-001.html:
* web-platform-tests/css/css-grid/abspos/descendant-static-position-001-expected.html: Added.
* web-platform-tests/css/css-grid/abspos/descendant-static-position-001.html: Added.
* web-platform-tests/css/css-grid/abspos/descendant-static-position-002-expected.html: Added.
* web-platform-tests/css/css-grid/abspos/descendant-static-position-002.html: Added.
* web-platform-tests/css/css-grid/abspos/descendant-static-position-003-expected.html: Added.
* web-platform-tests/css/css-grid/abspos/descendant-static-position-003.html: Added.
* web-platform-tests/css/css-grid/abspos/descendant-static-position-004-expected.html: Added.
* web-platform-tests/css/css-grid/abspos/descendant-static-position-004.html: Added.
* web-platform-tests/css/css-grid/abspos/empty-grid-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/abspos/empty-grid-001.html: Added.
* web-platform-tests/css/css-grid/abspos/grid-positioned-children-writing-modes-001-expected.html:
* web-platform-tests/css/css-grid/abspos/grid-positioned-children-writing-modes-001.html:
* web-platform-tests/css/css-grid/abspos/grid-positioned-items-background-001.html:
* web-platform-tests/css/css-grid/abspos/grid-positioned-items-background-rtl-001.html:
* web-platform-tests/css/css-grid/abspos/grid-positioned-items-implicit-grid-001.html:
* web-platform-tests/css/css-grid/abspos/grid-positioned-items-implicit-grid-line-001.html:
* web-platform-tests/css/css-grid/abspos/grid-positioned-items-unknown-named-grid-line-001.html:
* web-platform-tests/css/css-grid/abspos/grid-sizing-positioned-items-001.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-001.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-002.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-003.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-004.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-005.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-006.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-007.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-008.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-009.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-010.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-011.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-012.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-013.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-014.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-015.html:
* web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-016.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-001.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-002.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-003.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-004.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-005.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-006.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-007.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-008.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-009.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-010.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-011.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-012.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-013.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-014.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-015.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-descendants-016.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-items-crash.html: Added.
* web-platform-tests/css/css-grid/abspos/positioned-grid-items-should-not-create-implicit-tracks-001.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-items-should-not-take-up-space-001.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-items-sizing-001-expected.html:
* web-platform-tests/css/css-grid/abspos/positioned-grid-items-sizing-001.html:
* web-platform-tests/css/css-grid/abspos/support/positioned-grid-descendants.js:
(export.runTests):
* web-platform-tests/css/css-grid/abspos/support/w3c-import.log:
* web-platform-tests/css/css-grid/abspos/w3c-import.log:
* web-platform-tests/css/css-grid/alignment/grid-align-baseline-expected.txt: Added.
* web-platform-tests/css/css-grid/alignment/grid-align-baseline-vertical-expected.txt: Added.
* web-platform-tests/css/css-grid/alignment/grid-align-baseline-vertical.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-align-baseline.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-lr.html:
* web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-rl.html:
* web-platform-tests/css/css-grid/alignment/grid-align-content-distribution.html:
* web-platform-tests/css/css-grid/alignment/grid-align-content-vertical-lr.html:
* web-platform-tests/css/css-grid/alignment/grid-align-content-vertical-rl.html:
* web-platform-tests/css/css-grid/alignment/grid-align-content.html:
* web-platform-tests/css/css-grid/alignment/grid-align-justify-margin-border-padding-vertical-lr.html:
* web-platform-tests/css/css-grid/alignment/grid-align-justify-margin-border-padding-vertical-rl.html:
* web-platform-tests/css/css-grid/alignment/grid-align-justify-margin-border-padding.html:
* web-platform-tests/css/css-grid/alignment/grid-align-justify-overflow.html:
* web-platform-tests/css/css-grid/alignment/grid-align-justify-stretch-with-orthogonal-flows.html:
* web-platform-tests/css/css-grid/alignment/grid-align-justify-stretch.html:
* web-platform-tests/css/css-grid/alignment/grid-align-stretching-replaced-items.html:
* web-platform-tests/css/css-grid/alignment/grid-align.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-001.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-002.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-003.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-004.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-005.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-006.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-007.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-008.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-009.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-010.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-011.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-012.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-013.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-014.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-015.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-016.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-017.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-018.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-019.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-020.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-021.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-022.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-023.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-024.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-025.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-026.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-027.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-028.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-029.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-030.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-031.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-032.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-033.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-034.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-035.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-implies-size-change-036.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-005.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-006.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-007.html:
* web-platform-tests/css/css-grid/alignment/grid-alignment-style-changes-008.html:
* web-platform-tests/css/css-grid/alignment/grid-baseline-001-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-expected.html.
* web-platform-tests/css/css-grid/alignment/grid-baseline-001.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline.html.
* web-platform-tests/css/css-grid/alignment/grid-baseline-002-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-margins-1-expected.html.
* web-platform-tests/css/css-grid/alignment/grid-baseline-002.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-margins-1.html.
* web-platform-tests/css/css-grid/alignment/grid-baseline-003-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-margins-2-expected.html.
* web-platform-tests/css/css-grid/alignment/grid-baseline-003.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-margins-2.html.
* web-platform-tests/css/css-grid/alignment/grid-baseline-004-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-must-respect-grid-order-expected.txt.
* web-platform-tests/css/css-grid/alignment/grid-baseline-004.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-must-respect-grid-order.html.
* web-platform-tests/css/css-grid/alignment/grid-baseline-align-cycles-001-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-baseline-align-cycles-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-block-axis-alignment-auto-margins-001.html:
* web-platform-tests/css/css-grid/alignment/grid-block-axis-alignment-auto-margins-002.html:
* web-platform-tests/css/css-grid/alignment/grid-block-axis-alignment-auto-margins-003.html:
* web-platform-tests/css/css-grid/alignment/grid-block-axis-alignment-auto-margins-004.html:
* web-platform-tests/css/css-grid/alignment/grid-block-axis-alignment-auto-margins-005.html:
* web-platform-tests/css/css-grid/alignment/grid-block-axis-alignment-auto-margins-006.html:
* web-platform-tests/css/css-grid/alignment/grid-block-axis-alignment-auto-margins-007.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-001.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-002.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-003.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-004.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-005.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-006.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-007.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-008.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-009.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-010.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-011.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-012.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-013.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-014.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-015.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-016.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-positioned-items-017.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-sticky-positioned-items-001.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-alignment-sticky-positioned-items-002.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-self-baseline-synthesized-001.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-self-baseline-synthesized-002.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-self-baseline-synthesized-003.html:
* web-platform-tests/css/css-grid/alignment/grid-column-axis-self-baseline-synthesized-004.html:
* web-platform-tests/css/css-grid/alignment/grid-container-auto-margins-scrollbars-001-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-container-scroll-accounts-for-auto-margin-expected.html.
* web-platform-tests/css/css-grid/alignment/grid-container-auto-margins-scrollbars-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-container-baseline-001.html:
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-and-self-alignment-001-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-content-alignment-and-self-alignment-expected.txt.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-and-self-alignment-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-and-self-alignment-002-expected.txt: Added.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-and-self-alignment-002.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-auto-sized-tracks-001-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-content-alignment-stretch-only-valid-for-auto-sized-tracks-expected.txt.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-auto-sized-tracks-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-overflow-001-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-content-alignment-overflow-expected.txt.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-overflow-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-second-pass-001.html:
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-second-pass-002.html:
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-with-span-001-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-content-alignment-with-span-expected.txt.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-with-span-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-with-span-vertical-lr-001-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-content-alignment-with-span-vertical-lr-expected.txt.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-with-span-vertical-lr-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-with-span-vertical-rl-001-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-content-alignment-with-span-vertical-rl-expected.txt.
* web-platform-tests/css/css-grid/alignment/grid-content-alignment-with-span-vertical-rl-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-fit-content-tracks-dont-stretch-001.html:
* web-platform-tests/css/css-grid/alignment/grid-gutters-and-alignment.html:
* web-platform-tests/css/css-grid/alignment/grid-inline-axis-alignment-auto-margins-001.html:
* web-platform-tests/css/css-grid/alignment/grid-inline-axis-alignment-auto-margins-002.html:
* web-platform-tests/css/css-grid/alignment/grid-inline-axis-alignment-auto-margins-003.html:
* web-platform-tests/css/css-grid/alignment/grid-inline-axis-alignment-auto-margins-004.html:
* web-platform-tests/css/css-grid/alignment/grid-inline-axis-alignment-auto-margins-005.html:
* web-platform-tests/css/css-grid/alignment/grid-inline-axis-alignment-auto-margins-006.html:
* web-platform-tests/css/css-grid/alignment/grid-inline-axis-alignment-auto-margins-007.html:
* web-platform-tests/css/css-grid/alignment/grid-item-alignment-with-orthogonal-flows-vertical-lr.html:
* web-platform-tests/css/css-grid/alignment/grid-item-alignment-with-orthogonal-flows-vertical-rl.html:
* web-platform-tests/css/css-grid/alignment/grid-item-alignment-with-orthogonal-flows.html:
* web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment-vertical-lr.html:
* web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment-vertical-rl.html:
* web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment.html:
* web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-001-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-002-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-002.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-003-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-003.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-004-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-004.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-mixed-baseline-001-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-mixed-baseline-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-mixed-baseline-002-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-mixed-baseline-002.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-mixed-baseline-003-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-mixed-baseline-003.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-mixed-baseline-004-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-mixed-baseline-004.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-self-baseline-001-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-item-self-baseline-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-001.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-002.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-003.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-004.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-005.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-006.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-007.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-008.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-009.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-010.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-011.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-012.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-013.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-014.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-015.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-016.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-positioned-items-017.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-sticky-positioned-items-001.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-alignment-sticky-positioned-items-002.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-self-baseline-synthesized-001.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-self-baseline-synthesized-002.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-self-baseline-synthesized-003.html:
* web-platform-tests/css/css-grid/alignment/grid-row-axis-self-baseline-synthesized-004.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-baseline-with-grid-001-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-baseline-with-grid-001.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-baseline-with-grid-002-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-baseline-with-grid-002.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-baseline-with-grid-003-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-baseline-with-grid-003.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-baseline-with-grid-004-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-baseline-with-grid-004.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-001.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-002.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-003.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-004.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-005.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-006.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-007.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-008.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-009.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-010.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-011.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-non-static-positioned-items-012.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-001.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-002.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-003.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-004.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-005.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-006.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-007.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-008.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-009.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-010.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-011.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-012.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-013.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-014.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-015.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-positioned-items-with-margin-border-padding-016.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-001.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-002.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-003.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-004.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-005.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-006.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-007.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-008.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-009.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-010.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-011.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-012.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-013.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-014.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-015.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-016.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-input-range-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-input-range.html: Added.
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-001.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-002.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-003.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-004.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-005.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-006.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-007.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-008.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-009.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-010.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-011.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-012.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-013.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-014.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-015.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-lr-016.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-001.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-002.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-003.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-004.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-005.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-006.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-007.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-008.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-009.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-010.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-011.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-012.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-013.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-014.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-015.html:
* web-platform-tests/css/css-grid/alignment/grid-self-alignment-stretch-vertical-rl-016.html:
* web-platform-tests/css/css-grid/alignment/grid-self-baseline-not-applied-if-sizing-cyclic-dependency-001.html:
* web-platform-tests/css/css-grid/alignment/grid-self-baseline-not-applied-if-sizing-cyclic-dependency-002.html:
* web-platform-tests/css/css-grid/alignment/grid-self-baseline-not-applied-if-sizing-cyclic-dependency-003.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-001-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-self-baseline-01-expected.html.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-001.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-002-b-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-self-baseline-02-b-expected.html.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-002-b.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-002-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-002.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-003-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-003.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-004-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-004.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-005-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-self-baseline-05-expected.html.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-005.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-006-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-006.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-007-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-self-baseline-07-expected.html.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-007.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-001.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-002.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-003.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-004.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-005.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-006.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-007.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-008.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-009.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-010.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-011.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-changes-grid-area-size-012.html:
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-001-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-001.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-002-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-002.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-003-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-003.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-004-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-004.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-005-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-005.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-006-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-006.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-007-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-self-baseline-horiz-07-expected.html.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-007.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-001-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-001.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-002-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-002.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-003-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-003.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-004-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-004.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-005-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-005.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-006-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-006.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-007-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-007.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-001-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-001.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-002-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-002.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-003-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-003.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-004-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-004.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-005-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-005.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-006-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-006.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-007-expected.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-007.html: Added.
* web-platform-tests/css/css-grid/alignment/self-baseline/w3c-import.log:
* web-platform-tests/css/css-grid/alignment/test-expected.txt: Removed.
* web-platform-tests/css/css-grid/alignment/w3c-import.log:
* web-platform-tests/css/css-grid/animation/grid-template-columns-001-expected.html: Added.
* web-platform-tests/css/css-grid/animation/grid-template-columns-001.html: Added.
* web-platform-tests/css/css-grid/animation/grid-template-columns-interpolation-expected.txt: Added.
* web-platform-tests/css/css-grid/animation/grid-template-columns-interpolation.html: Added.
* web-platform-tests/css/css-grid/animation/grid-template-rows-001-expected.html: Added.
* web-platform-tests/css/css-grid/animation/grid-template-rows-001.html: Added.
* web-platform-tests/css/css-grid/animation/grid-template-rows-interpolation-expected.txt: Added.
* web-platform-tests/css/css-grid/animation/grid-template-rows-interpolation.html: Added.
* web-platform-tests/css/css-grid/animation/w3c-import.log: Added.
* web-platform-tests/css/css-grid/anonymous-grid-items-001-expected.html: Added.
* web-platform-tests/css/css-grid/anonymous-grid-items-001.html: Added.
* web-platform-tests/css/css-grid/chrome-bug-001-expected.html: Added.
* web-platform-tests/css/css-grid/chrome-bug-001.html: Added.
* web-platform-tests/css/css-grid/chrome-crash-001-expected.txt: Added.
* web-platform-tests/css/css-grid/chrome-crash-001.html: Added.
* web-platform-tests/css/css-grid/grid-child-percent-basis-resize-1-expected.html: Added.
* web-platform-tests/css/css-grid/grid-child-percent-basis-resize-1.html: Added.
* web-platform-tests/css/css-grid/grid-definition/explicit-grid-size-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/explicit-grid-size-001.html: Renamed from LayoutTests/fast/css-grid-layout/explicit-grid-size.html.
* web-platform-tests/css/css-grid/grid-definition/flex-content-distribution-001-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/flex-content-distribution-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/flex-content-distribution-001.html: Renamed from LayoutTests/fast/css-grid-layout/flex-content-distribution.html.
* web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-columns-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-columns-001.html: Renamed from LayoutTests/fast/css-grid-layout/flex-content-resolution-columns.html.
* web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-columns-002-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-columns-002.html: Renamed from LayoutTests/fast/css-grid-layout/flex-and-minmax-content-resolution-columns.html.
* web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-rows-001-expected.txt: Copied from LayoutTests/fast/css-grid-layout/grid-container-percentage-columns-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-rows-001.html: Renamed from LayoutTests/fast/css-grid-layout/flex-content-resolution-rows.html.
* web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-rows-002-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/flex-and-minmax-content-resolution-rows-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-rows-002.html: Renamed from LayoutTests/fast/css-grid-layout/flex-and-minmax-content-resolution-rows.html.
* web-platform-tests/css/css-grid/grid-definition/flex-factor-sum-less-than-1-001-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-definition/flex-factor-sum-less-than-1-001.html: Renamed from LayoutTests/fast/css-grid-layout/flex-factor-sum-less-than-1.html.
* web-platform-tests/css/css-grid/grid-definition/flex-item-grid-container-percentage-rows-001-expected.html: Renamed from LayoutTests/fast/css-grid-layout/flex-item-grid-container-percentage-rows-expected.html.
* web-platform-tests/css/css-grid/grid-definition/flex-item-grid-container-percentage-rows-001.html: Added.
* web-platform-tests/css/css-grid/grid-definition/fr-unit-expected.html:
* web-platform-tests/css/css-grid/grid-definition/fr-unit-with-percentage-expected.html:
* web-platform-tests/css/css-grid/grid-definition/fr-unit-with-percentage.html:
* web-platform-tests/css/css-grid/grid-definition/fr-unit.html:
* web-platform-tests/css/css-grid/grid-definition/grid-add-item-with-positioned-items-crash.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-add-positioned-block-item-after-inline-item-crash.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-fill-columns-001-expected.txt: Copied from LayoutTests/fast/css-grid-layout/grid-container-percentage-columns-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-fill-columns-001.html: Renamed from LayoutTests/fast/css-grid-layout/grid-auto-fill-columns.html.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-fill-rows-001-expected.txt: Copied from LayoutTests/fast/css-grid-layout/grid-container-percentage-columns-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-fill-rows-001.html: Renamed from LayoutTests/fast/css-grid-layout/grid-auto-fill-rows.html.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-fit-columns-001-expected.txt: Copied from LayoutTests/fast/css-grid-layout/grid-container-percentage-columns-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-fit-columns-001.html: Renamed from LayoutTests/fast/css-grid-layout/grid-auto-fit-columns.html.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-fit-rows-001-expected.txt: Copied from LayoutTests/fast/css-grid-layout/grid-container-percentage-columns-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-fit-rows-001.html: Renamed from LayoutTests/fast/css-grid-layout/grid-auto-fit-rows.html.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-intrinsic-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-intrinsic-001.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-002.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003-expected.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-multiple-values-003.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-auto-repeat-positioned-container-expected.html.
* web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001.html: Renamed from LayoutTests/fast/css-grid-layout/grid-auto-repeat-positioned-container.html.
* web-platform-tests/css/css-grid/grid-definition/grid-change-fit-content-argument-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-change-intrinsic-size-with-auto-repeat-tracks-001-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-change-intrinsic-size-with-auto-repeat-tracks-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/grid-change-intrinsic-size-with-auto-repeat-tracks-001.html: Renamed from LayoutTests/fast/css-grid-layout/grid-change-intrinsic-size-with-auto-repeat-tracks.html.
* web-platform-tests/css/css-grid/grid-definition/grid-inline-support-flexible-lengths-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-support-flexible-lengths-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-support-grid-template-areas-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-support-grid-template-columns-rows-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-support-grid-template-columns-rows-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-support-named-grid-lines-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-support-named-grid-lines-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-support-repeat-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-support-repeat-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.tentative-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.tentative.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-inline-template-columns-rows-resolved-values-001.html.
* web-platform-tests/css/css-grid/grid-definition/grid-limits-001.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-002.html:
* web-platform-tests/css/css-grid/grid-definition/grid-support-flexible-lengths-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-support-flexible-lengths-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-support-grid-template-columns-rows-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-support-grid-template-columns-rows-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-support-named-grid-lines-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-support-named-grid-lines-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-support-named-grid-lines-002.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003-expected.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-support-named-grid-lines-003.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-support-repeat-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-support-repeat-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-support-repeat-002.html:
* web-platform-tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001-expected.html:
* web-platform-tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-template-columns-rows-changes-001-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-template-columns-rows-changes-001.html: Added.
* web-platform-tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001-expected.txt:
* web-platform-tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.html:
* web-platform-tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.tentative-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001-expected.txt.
* web-platform-tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.tentative.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-template-columns-rows-resolved-values-001.html.
* web-platform-tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001-expected.html:
* web-platform-tests/css/css-grid/grid-definition/grid-template-rows-fit-content-001.html:
* web-platform-tests/css/css-grid/grid-definition/support/w3c-import.log:
* web-platform-tests/css/css-grid/grid-definition/w3c-import.log:
* web-platform-tests/css/css-grid/grid-item-non-auto-height-stretch-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-item-non-auto-height-stretch-001.html: Added.
* web-platform-tests/css/css-grid/grid-item-non-auto-height-stretch-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-item-non-auto-height-stretch-002.html: Added.
* web-platform-tests/css/css-grid/grid-item-non-auto-height-stretch-003-expected.html: Added.
* web-platform-tests/css/css-grid/grid-item-non-auto-height-stretch-003.html: Added.
* web-platform-tests/css/css-grid/grid-item-non-auto-height-stretch-004-expected.html: Added.
* web-platform-tests/css/css-grid/grid-item-non-auto-height-stretch-004.html: Added.
* web-platform-tests/css/css-grid/grid-items/anonymous-grid-item-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-automatic-minimum-intrinsic-aspect-ratio-001-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-automatic-minimum-intrinsic-aspect-ratio-expected.txt.
* web-platform-tests/css/css-grid/grid-items/grid-automatic-minimum-intrinsic-aspect-ratio-001.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-inline-items-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-items-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-items-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-items-inline-blocks-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-001-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-002-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-003-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-004-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-004.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-005-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-auto-placement-005.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-painting-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-painting-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-painting-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-painting-004.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-order-property-painting-005.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-004.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-005.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-overlapped-items-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-overlapped-items-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-overlapped-items-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-overlapped-items-004.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-overlapped-items-005.html:
* web-platform-tests/css/css-grid/grid-items/grid-inline-z-axis-ordering-overlapped-items-006.html:
* web-platform-tests/css/css-grid/grid-items/grid-item-margins-and-writing-modes-001-expected.html: Renamed from LayoutTests/imported/blink/fast/css-grid-layout/grid-item-margins-and-writing-modes-expected.html.
* web-platform-tests/css/css-grid/grid-items/grid-item-margins-and-writing-modes-001.html: Renamed from LayoutTests/imported/blink/fast/css-grid-layout/grid-item-margins-and-writing-modes.html.
* web-platform-tests/css/css-grid/grid-items/grid-item-overflow-auto-max-height-percentage-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-overflow-auto-max-height-percentage.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-percentage-sizes-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-percentage-sizes-001.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-percentage-sizes-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-percentage-sizes-002.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-percentage-sizes-003-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-percentage-sizes-003.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-rel-pos-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-rel-pos-001.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-rel-pos-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-rel-pos-002.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-script-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-item-script-001.html: Added.
* web-platform-tests/css/css-grid/grid-items/grid-items-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-items-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-items-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-items-inline-blocks-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-items-relative-offsets-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-items-relative-offsets-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-minimum-size-grid-items-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-minimum-size-grid-items-013.html:
* web-platform-tests/css/css-grid/grid-items/grid-minimum-size-grid-items-021.html:
* web-platform-tests/css/css-grid/grid-items/grid-minimum-size-grid-items-022.html:
* web-platform-tests/css/css-grid/grid-items/grid-minimum-size-grid-items-023.html:
* web-platform-tests/css/css-grid/grid-items/grid-minimum-size-grid-items-024.html:
* web-platform-tests/css/css-grid/grid-items/grid-minimum-size-grid-items-025.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-001-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-002-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-003-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-004-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-004.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-005-expected.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-auto-placement-005.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-painting-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-painting-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-painting-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-painting-004.html:
* web-platform-tests/css/css-grid/grid-items/grid-order-property-painting-005.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-004.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-005.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-overlapped-items-001.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-overlapped-items-002.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-overlapped-items-003.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-overlapped-items-004.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-overlapped-items-005.html:
* web-platform-tests/css/css-grid/grid-items/grid-z-axis-ordering-overlapped-items-006.html:
* web-platform-tests/css/css-grid/grid-items/percentage-size-subitems-001-expected.html:
* web-platform-tests/css/css-grid/grid-items/remove-svg-grid-item-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/remove-svg-grid-item-001.html: Added.
* web-platform-tests/css/css-grid/grid-items/support/w3c-import.log:
* web-platform-tests/css/css-grid/grid-items/w3c-import.log:
* web-platform-tests/css/css-grid/grid-layout-properties-expected.txt:
* web-platform-tests/css/css-grid/grid-layout-properties.html:
* web-platform-tests/css/css-grid/grid-model/column-property-should-not-apply-on-grid-container-001-expected.html: Renamed from LayoutTests/fast/css-grid-layout/column-property-should-not-apply-on-grid-container-expected.html.
* web-platform-tests/css/css-grid/grid-model/column-property-should-not-apply-on-grid-container-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/compute-intrinsic-widths-scrollbar-001-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-model/compute-intrinsic-widths-scrollbar-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/display-grid-expected.html:
* web-platform-tests/css/css-grid/grid-model/display-grid.html:
* web-platform-tests/css/css-grid/grid-model/display-inline-grid-expected.html:
* web-platform-tests/css/css-grid/grid-model/display-inline-grid.html:
* web-platform-tests/css/css-grid/grid-model/fixed-width-intrinsic-width-should-exclude-scrollbar-001-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-model/fixed-width-intrinsic-width-should-exclude-scrollbar-001.html: Renamed from LayoutTests/fast/css-grid-layout/fixed-width-intrinsic-width-should-exclude-scrollbar-width-in-grid.html.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-002.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-003-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-003.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-004-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-004.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-005-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-005.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-006-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-006.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-007-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-007.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-008-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-008.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-button-001-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-model/grid-button-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-container-margin-border-padding-scrollbar-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/grid-model/grid-container-margin-border-padding-scrollbar-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbar-001-expected.html:
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbar-001.html:
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbar-vertical-lr-001-expected.html:
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbar-vertical-lr-001.html:
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbar-vertical-rl-001-expected.html:
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbar-vertical-rl-001.html:
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbars-sizing-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbars-sizing-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbars-sizing-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-container-scrollbars-sizing-002.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-display-grid-001.html:
* web-platform-tests/css/css-grid/grid-model/grid-display-inline-grid-001.html:
* web-platform-tests/css/css-grid/grid-model/grid-float-001.html:
* web-platform-tests/css/css-grid/grid-model/grid-float-002-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-model/grid-float-002.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-floats-no-intrude-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-floats-no-intrude-002.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-gutters-and-flex-content-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/grid-model/grid-gutters-and-flex-content-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-gutters-and-tracks-001-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-model/grid-gutters-and-tracks-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-gutters-as-percentage-001-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-model/grid-gutters-as-percentage-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-inline-float-001.html:
* web-platform-tests/css/css-grid/grid-model/grid-inline-vertical-align-001.html:
* web-platform-tests/css/css-grid/grid-model/grid-layout-stale-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-layout-stale-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-layout-stale-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-layout-stale-002.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-margins-no-collapse-002-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-item-margins-not-collapse-expected.html.
* web-platform-tests/css/css-grid/grid-model/grid-margins-no-collapse-002.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-min-max-height-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/grid-model/grid-min-max-height-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-overflow-padding-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-overflow-padding-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-overflow-padding-002-expected.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-overflow-padding-002.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-size-shrink-to-fit-001-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-model/grid-size-shrink-to-fit-001.html: Added.
* web-platform-tests/css/css-grid/grid-model/grid-support-display-001.html:
* web-platform-tests/css/css-grid/grid-model/grid-vertical-align-001.html:
* web-platform-tests/css/css-grid/grid-model/w3c-import.log:
* web-platform-tests/css/css-grid/grid-tracks-stretched-with-different-flex-factors-sum-expected.txt: Added.
* web-platform-tests/css/css-grid/grid-tracks-stretched-with-different-flex-factors-sum.html: Added.
* web-platform-tests/css/css-grid/implicit-grids/grid-support-grid-auto-columns-rows-003-expected.html: Added.
* web-platform-tests/css/css-grid/implicit-grids/grid-support-grid-auto-columns-rows-003.html: Added.
* web-platform-tests/css/css-grid/implicit-grids/w3c-import.log:
* web-platform-tests/css/css-grid/layout-algorithm/auto-margins-ignored-during-track-sizing-001-expected.html: Renamed from LayoutTests/fast/css-grid-layout/auto-margins-ignored-during-track-sizing-expected.html.
* web-platform-tests/css/css-grid/layout-algorithm/auto-margins-ignored-during-track-sizing-001.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/flex-and-intrinsic-sizes-001-expected.txt: Added.
* web-platform-tests/css/css-grid/layout-algorithm/flex-and-intrinsic-sizes-001.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/flex-sizing-columns-min-max-width-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/layout-algorithm/flex-sizing-columns-min-max-width-001.html: Renamed from LayoutTests/fast/css-grid-layout/flex-sizing-columns-min-max-width.html.
* web-platform-tests/css/css-grid/layout-algorithm/flex-sizing-rows-min-max-height-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/layout-algorithm/flex-sizing-rows-min-max-height-001.html: Renamed from LayoutTests/fast/css-grid-layout/flex-sizing-rows-min-max-height.html.
* web-platform-tests/css/css-grid/layout-algorithm/grid-automatic-minimum-for-auto-columns-001-expected.txt: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-automatic-minimum-for-auto-columns-001.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-automatic-minimum-for-auto-rows-001-expected.txt: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-automatic-minimum-for-auto-rows-001.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-container-percentage-001-expected.txt: Copied from LayoutTests/fast/css-grid-layout/grid-container-percentage-columns-expected.txt.
* web-platform-tests/css/css-grid/layout-algorithm/grid-container-percentage-001.html: Renamed from LayoutTests/fast/css-grid-layout/grid-container-percentage-columns.html.
* web-platform-tests/css/css-grid/layout-algorithm/grid-container-percentage-002-expected.txt: Renamed from LayoutTests/fast/css-grid-layout/grid-container-percentage-columns-expected.txt.
* web-platform-tests/css/css-grid/layout-algorithm/grid-container-percentage-002.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-content-distribution-must-account-for-track-sizing-001.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-content-distribution-must-account-for-track-sizing-002.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-content-distribution-must-account-for-track-sizing-003.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-content-distribution-must-account-for-track-sizing-004.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-gutters-001.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-gutters-002.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-flex-track-intrinsic-sizes-001-expected.txt: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-flex-track-intrinsic-sizes-001.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-flex-track-intrinsic-sizes-002-expected.txt: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-flex-track-intrinsic-sizes-002.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-intrinsic-size-with-orthogonal-items.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-item-margin-auto-columns-rows-001-expected.txt: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-item-margin-auto-columns-rows-001.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-item-margin-auto-columns-rows-vertical-lr-001-expected.txt: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-item-margin-auto-columns-rows-vertical-lr-001.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-item-margin-auto-columns-rows-vertical-rl-001-expected.txt: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-item-margin-auto-columns-rows-vertical-rl-001.html: Added.
* web-platform-tests/css/css-grid/layout-algorithm/grid-percent-cols-filled-shrinkwrap-001-expected.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-percent-cols-filled-shrinkwrap-001.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-percent-cols-spanned-shrinkwrap-001-expected.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-percent-cols-spanned-shrinkwrap-001.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-percent-rows-filled-shrinkwrap-001-expected.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-percent-rows-filled-shrinkwrap-001.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-percent-rows-spanned-shrinkwrap-001-expected.html:
* web-platform-tests/css/css-grid/layout-algorithm/grid-percent-rows-spanned-shrinkwrap-001.html:
* web-platform-tests/css/css-grid/layout-algorithm/w3c-import.log:
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-content-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-content-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-content-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-content-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-content-003-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-content-003.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-content-004-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-content-004.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-tracks-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-tracks-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-tracks-multi-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-tracks-multi-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-tracks-stretch-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-tracks-stretch-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-tracks-stretch-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-align-tracks-stretch-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-003-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-003.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-004-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-004.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-005-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-005.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-006-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-fragmentation-006.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-gap-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-gap-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-item-content-baseline-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-item-content-baseline-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-item-self-baseline-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-item-self-baseline-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-item-self-baseline-002a-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-item-self-baseline-002a.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-item-self-baseline-002b-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-item-self-baseline-002b.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-placement-named-lines-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-placement-named-lines-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-placement-named-lines-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-placement-named-lines-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-template-columns-computed-withcontent-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/parsing/grid-template-columns-computed-withcontent-expected.txt.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-grid-template-columns-computed-withcontent.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/parsing/grid-template-columns-computed-withcontent.html.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-003-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-003.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-004-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-004.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-005-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-005.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-006-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-intrinsic-sizing-006.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-003-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-003.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-004-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-004.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-005-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-005.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-006-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-006.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-007-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-item-placement-007.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-content-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-content-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-content-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-content-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-content-003-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-content-003.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-content-004-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-content-004.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-tracks-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-tracks-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-tracks-multi-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-tracks-multi-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-tracks-stretch-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-tracks-stretch-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-tracks-stretch-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-justify-tracks-stretch-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-order-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-order-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-order-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-order-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-parsing-expected.txt: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-parsing.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-subgrid-001-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-subgrid-001.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-subgrid-002-expected.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/masonry-subgrid-002.html: Added.
* web-platform-tests/css/css-grid/masonry.tentative/w3c-import.log: Added.
* web-platform-tests/css/css-grid/parsing/grid-area-invalid-expected.txt:
* web-platform-tests/css/css-grid/parsing/grid-area-invalid.html:
* web-platform-tests/css/css-grid/parsing/grid-shorthand-valid-expected.txt:
* web-platform-tests/css/css-grid/parsing/grid-shorthand-valid.html:
* web-platform-tests/css/css-grid/parsing/grid-template-columns-computed-withcontent-expected.txt:
* web-platform-tests/css/css-grid/parsing/grid-template-columns-computed-withcontent.html:
* web-platform-tests/css/css-grid/parsing/grid-template-columns-invalid-expected.txt:
* web-platform-tests/css/css-grid/parsing/grid-template-columns-invalid.html:
* web-platform-tests/css/css-grid/parsing/grid-template-repeat-auto-computed-withcontent-001-expected.txt: Added.
* web-platform-tests/css/css-grid/parsing/grid-template-repeat-auto-computed-withcontent-001.html: Added.
* web-platform-tests/css/css-grid/parsing/grid-template-repeat-auto-computed-withcontent-002-expected.txt: Added.
* web-platform-tests/css/css-grid/parsing/grid-template-repeat-auto-computed-withcontent-002.html: Added.
* web-platform-tests/css/css-grid/parsing/grid-template-rows-computed-withcontent-expected.txt:
* web-platform-tests/css/css-grid/parsing/grid-template-rows-computed-withcontent.html:
* web-platform-tests/css/css-grid/parsing/grid-template-rows-invalid-expected.txt:
* web-platform-tests/css/css-grid/parsing/grid-template-rows-invalid.html:
* web-platform-tests/css/css-grid/parsing/grid-template-shorthand-valid-expected.txt:
* web-platform-tests/css/css-grid/parsing/grid-template-shorthand-valid.html:
* web-platform-tests/css/css-grid/parsing/w3c-import.log:
* web-platform-tests/css/css-grid/placement/grid-auto-flow-sparse-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/placement/grid-auto-flow-sparse-001.html: Added.
* web-platform-tests/css/css-grid/placement/grid-auto-placement-implicit-tracks-001-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-max-size-001-expected.txt.
* web-platform-tests/css/css-grid/placement/grid-auto-placement-implicit-tracks-001.html: Added.
* web-platform-tests/css/css-grid/placement/grid-container-change-grid-tracks-recompute-child-positions-001-expected.txt: Added.
* web-platform-tests/css/css-grid/placement/grid-container-change-grid-tracks-recompute-child-positions-001.html: Added.
* web-platform-tests/css/css-grid/placement/grid-container-change-named-grid-recompute-child-positions-001-expected.txt: Added.
* web-platform-tests/css/css-grid/placement/grid-container-change-named-grid-recompute-child-positions-001.html: Renamed from LayoutTests/fast/css-grid-layout/grid-container-change-named-grid-lines-recompute-child.html.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-002-expected.xht: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-002.html: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-003-expected.xht: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-003.html: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-004-expected.xht: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-004.html: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-005-expected.xht: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-005.html: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-006-expected.xht: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-006.html: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-007-expected.html: Added.
* web-platform-tests/css/css-grid/placement/grid-placement-using-named-grid-lines-007.html: Added.
* web-platform-tests/css/css-grid/placement/grid-template-areas-must-keep-named-columns-order-001-expected.html: Added.
* web-platform-tests/css/css-grid/placement/grid-template-areas-must-keep-named-columns-order-001.html: Added.
* web-platform-tests/css/css-grid/placement/w3c-import.log:
* web-platform-tests/css/css-grid/subgrid/abs-pos-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/abs-pos-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/abs-pos-002-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/abs-pos-002.html: Added.
* web-platform-tests/css/css-grid/subgrid/abs-pos-003-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/abs-pos-003.html: Added.
* web-platform-tests/css/css-grid/subgrid/auto-track-sizing-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/auto-track-sizing-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/baseline-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/baseline-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/contain-strict-nested-subgrid-crash.html: Added.
* web-platform-tests/css/css-grid/subgrid/contain-strict-subgrid-crash.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-002-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-002.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-003-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-003.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-004-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-004.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-005-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-005.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-006-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-006.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-007-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-007.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-008-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-008.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-009-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-009.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-larger-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-larger-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-larger-002-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-larger-002.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-normal-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-normal-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-smaller-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-gap-smaller-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/grid-template-computed-nogrid-expected.txt: Added.
* web-platform-tests/css/css-grid/subgrid/grid-template-computed-nogrid.html: Added.
* web-platform-tests/css/css-grid/subgrid/item-percentage-height-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/item-percentage-height-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-002-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-002.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-003-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-003.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-004-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-004.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-005-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-005.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-006-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-006.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-007-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-007.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-008-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/line-names-008.html: Added.
* web-platform-tests/css/css-grid/subgrid/orthogonal-writing-mode-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/orthogonal-writing-mode-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/orthogonal-writing-mode-002-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/orthogonal-writing-mode-002.html: Added.
* web-platform-tests/css/css-grid/subgrid/orthogonal-writing-mode-003-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/orthogonal-writing-mode-003.html: Added.
* web-platform-tests/css/css-grid/subgrid/orthogonal-writing-mode-004-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/orthogonal-writing-mode-004.html: Added.
* web-platform-tests/css/css-grid/subgrid/parent-repeat-auto-fit-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/parent-repeat-auto-fit-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/parent-repeat-auto-fit-002-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/parent-repeat-auto-fit-002.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-002-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-002.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-003-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-003.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-004-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-004.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-005-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-005.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-006-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-006.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-007-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-007.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-008-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/repeat-auto-fill-008.html: Added.
* web-platform-tests/css/css-grid/subgrid/subgrid-item-block-size-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/subgrid-item-block-size-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/subgrid-mbp-overflow-001-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/subgrid-mbp-overflow-001.html: Added.
* web-platform-tests/css/css-grid/subgrid/subgrid-mbp-overflow-002-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/subgrid-mbp-overflow-002.html: Added.
* web-platform-tests/css/css-grid/subgrid/subgrid-mbp-overflow-003-expected.html: Added.
* web-platform-tests/css/css-grid/subgrid/subgrid-mbp-overflow-003.html: Added.
* web-platform-tests/css/css-grid/subgrid/w3c-import.log: Added.
* web-platform-tests/css/css-grid/support/grid-alignment.css: Removed.
* web-platform-tests/css/css-grid/support/grid-child-utils.js: Added.
(GridChildHelper):
(GridChildHelper.prototype.runTest):
* web-platform-tests/css/css-grid/support/grid.css: Removed.
* web-platform-tests/css/css-grid/support/style-change.js: Removed.
* web-platform-tests/css/css-grid/support/w3c-import.log:
* web-platform-tests/css/css-grid/table-grid-item-dynamic-001-expected.html: Added.
* web-platform-tests/css/css-grid/table-grid-item-dynamic-001.html: Added.
* web-platform-tests/css/css-grid/test-plan/index.html:
* web-platform-tests/css/css-grid/w3c-import.log:

LayoutTests:

This updates the WPT css-flexbox imported tests and deduplicates
our old versions of this tests in favor of the WPT ones.

Below is the complete list of tests deduplicated.
Format is: WPT-test-name => old-test(s) removed

imported/w3c/web-platform-tests/css/css-grid/abspos/empty-grid-001.html => fast/css-grid-layout/empty-grid.html
imported/w3c/web-platform-tests/css/css-grid/abspos/positioned-grid-items-crash.html => imported/blink/fast/css-grid-layout/positioned-grid-items-crash.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-baseline-001.html => fast/css-grid-layout/grid-baseline.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-baseline-002.html => fast/css-grid-layout/grid-baseline-margins-1.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-baseline-003.html => fast/css-grid-layout/grid-baseline-margins-2.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-baseline-004.html => fast/css-grid-layout/grid-baseline-must-respect-grid-order.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-container-auto-margins-scrollbars-001.html => fast/css-grid-layout/grid-container-scroll-accounts-for-auto-margin.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-content-alignment-and-self-alignment-001.html => fast/css-grid-layout/grid-content-alignment-and-self-alignment.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-content-alignment-and-self-alignment-002.html => fast/css-grid-layout/grid-content-alignment-and-self-alignment-spanning.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-content-alignment-auto-sized-tracks-001.html => fast/css-grid-layout/grid-content-alignment-stretch-only-valid-for-auto-sized-tracks.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-content-alignment-overflow-001.html => fast/css-grid-layout/grid-content-alignment-overflow.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-content-alignment-with-span-001.html => fast/css-grid-layout/grid-content-alignment-with-span.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-content-alignment-with-span-vertical-lr-001.html => fast/css-grid-layout/grid-content-alignment-with-span-vertical-lr.html
imported/w3c/web-platform-tests/css/css-grid/alignment/grid-content-alignment-with-span-vertical-rl-001.html => fast/css-grid-layout/grid-content-alignment-with-span-vertical-rl.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-001.html => fast/css-grid-layout/grid-self-baseline-01.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-002-b.html => fast/css-grid-layout/grid-self-baseline-02-b.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-002.html => fast/css-grid-layout/grid-self-baseline-02.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-003.html => fast/css-grid-layout/grid-self-baseline-03.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-004.html => fast/css-grid-layout/grid-self-baseline-04.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-005.html => fast/css-grid-layout/grid-self-baseline-05.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-006.html => fast/css-grid-layout/grid-self-baseline-06.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-007.html => fast/css-grid-layout/grid-self-baseline-07.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-001.html => fast/css-grid-layout/grid-self-baseline-horiz-01.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-002.html => fast/css-grid-layout/grid-self-baseline-horiz-02.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-003.html => fast/css-grid-layout/grid-self-baseline-horiz-03.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-004.html => fast/css-grid-layout/grid-self-baseline-horiz-04.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-005.html => fast/css-grid-layout/grid-self-baseline-horiz-05.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-006.html => fast/css-grid-layout/grid-self-baseline-horiz-06.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-horiz-007.html => fast/css-grid-layout/grid-self-baseline-horiz-07.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-001.html => fast/css-grid-layout/grid-self-baseline-vertical-lr-01.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-002.html => fast/css-grid-layout/grid-self-baseline-vertical-lr-02.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-003.html => fast/css-grid-layout/grid-self-baseline-vertical-lr-03.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-004.html => fast/css-grid-layout/grid-self-baseline-vertical-lr-04.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-005.html => fast/css-grid-layout/grid-self-baseline-vertical-lr-05.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-006.html => fast/css-grid-layout/grid-self-baseline-vertical-lr-06.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-lr-007.html => fast/css-grid-layout/grid-self-baseline-vertical-lr-07.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-001.html => fast/css-grid-layout/grid-self-baseline-vertical-rl-01.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-002.html => fast/css-grid-layout/grid-self-baseline-vertical-rl-02.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-003.html => fast/css-grid-layout/grid-self-baseline-vertical-rl-03.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-004.html => fast/css-grid-layout/grid-self-baseline-vertical-rl-04.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-005.html => fast/css-grid-layout/grid-self-baseline-vertical-rl-05.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-006.html => fast/css-grid-layout/grid-self-baseline-vertical-rl-06.html
imported/w3c/web-platform-tests/css/css-grid/alignment/self-baseline/grid-self-baseline-vertical-rl-007.html => fast/css-grid-layout/grid-self-baseline-vertical-rl-07.html
imported/w3c/web-platform-tests/css/css-grid/anonymous-grid-items-001.html => fast/css-grid-layout/anonymous-grid-items.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/explicit-grid-size-001.html => fast/css-grid-layout/explicit-grid-size.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/flex-content-distribution-001.html => fast/css-grid-layout/flex-content-distribution.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-columns-001.html => fast/css-grid-layout/flex-content-resolution-columns.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-columns-002.html => fast/css-grid-layout/flex-and-minmax-content-resolution-columns.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-rows-001.html => fast/css-grid-layout/flex-content-resolution-rows.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/flex-content-resolution-rows-002.html => fast/css-grid-layout/flex-and-minmax-content-resolution-rows.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/flex-factor-sum-less-than-1-001.html => fast/css-grid-layout/flex-factor-sum-less-than-1.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/flex-item-grid-container-percentage-rows-001.html => fast/css-grid-layout/flex-item-grid-container-percentage-rows.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-add-item-with-positioned-items-crash.html => fast/css-grid-layout/grid-add-item-with-positioned-items.html imported/blink/fast/css-grid-layout/grid-add-item-with-positioned-items.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-add-positioned-block-item-after-inline-item-crash.html => fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html imported/blink/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-fill-columns-001.html => fast/css-grid-layout/grid-auto-fill-columns.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-fill-rows-001.html => fast/css-grid-layout/grid-auto-fill-rows.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-fit-columns-001.html => fast/css-grid-layout/grid-auto-fit-columns.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-fit-rows-001.html => fast/css-grid-layout/grid-auto-fit-rows.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-intrinsic-001.html => fast/css-grid-layout/grid-auto-repeat-intrinsic.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-auto-repeat-positioned-container-001.html => fast/css-grid-layout/grid-auto-repeat-positioned-container.html
imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-change-intrinsic-size-with-auto-repeat-tracks-001.html => fast/css-grid-layout/grid-change-intrinsic-size-with-auto-repeat-tracks.html
imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-automatic-minimum-intrinsic-aspect-ratio-001.html => fast/css-grid-layout/grid-automatic-minimum-intrinsic-aspect-ratio.html
imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-margins-and-writing-modes-001.html => imported/blink/fast/css-grid-layout/grid-item-margins-and-writing-modes.html
imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-script-001.html => imported/blink/fast/css-grid-layout/grid-element-bad-cast-addchild.html
imported/w3c/web-platform-tests/css/css-grid/grid-items/remove-svg-grid-item-001.html => imported/blink/fast/css-grid-layout/grid-element-remove-svg-child.html
imported/w3c/web-platform-tests/css/css-grid/grid-model/column-property-should-not-apply-on-grid-container-001.html => fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html
imported/w3c/web-platform-tests/css/css-grid/grid-model/compute-intrinsic-widths-scrollbar-001.html => fast/css-grid-layout/compute-intrinsic-widths-scrollbar.html
imported/w3c/web-platform-tests/css/css-grid/grid-model/fixed-width-intrinsic-width-should-exclude-scrollbar-001.html => fast/css-grid-layout/fixed-width-intrinsic-width-should-exclude-scrollbar-width-in-grid.html
imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-container-margin-border-padding-scrollbar-001.html => fast/css-grid-layout/grid-container-margin-border-padding-scrollbar.html
imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-container-scrollbars-sizing-002.html => fast/css-grid-layout/grid-container-width-should-include-scroll-bar-width.html
imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-float-002.html => fast/css-grid-layout/floating-not-effect-on-grid-items.html
imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-floats-no-intrude-002.html => fast/css-grid-layout/float-not-protruding-into-next-grid-item.html
imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-margins-no-collapse-002.html => fast/css-grid-layout/grid-item-margins-not-collapse.html
imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/auto-margins-ignored-during-track-sizing-001.html => fast/css-grid-layout/auto-margins-ignored-during-track-sizing.html
imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/flex-sizing-columns-min-max-width-001.html => fast/css-grid-layout/flex-sizing-columns-min-max-width.html
imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/flex-sizing-rows-min-max-height-001.html => fast/css-grid-layout/flex-sizing-rows-min-max-height.html
imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-automatic-minimum-for-auto-columns-001.html => fast/css-grid-layout/grid-automatic-minimum-for-auto-columns.html
imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-automatic-minimum-for-auto-rows-001.html => fast/css-grid-layout/grid-automatic-minimum-for-auto-rows.html
imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-container-percentage-001.html => fast/css-grid-layout/grid-container-percentage-columns.html
imported/w3c/web-platform-tests/css/css-grid/placement/grid-container-change-named-grid-recompute-child-positions-001.html => fast/css-grid-layout/grid-container-change-named-grid-lines-recompute-child.html

* TestExpectations:
* fast/css-grid-layout/anonymous-grid-items-expected.html: Removed.
* fast/css-grid-layout/anonymous-grid-items.html: Removed.
* fast/css-grid-layout/auto-margins-ignored-during-track-sizing.html: Removed.
* fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html: Removed.
* fast/css-grid-layout/compute-intrinsic-widths-scrollbar-expected.txt: Removed.
* fast/css-grid-layout/compute-intrinsic-widths-scrollbar.html: Removed.
* fast/css-grid-layout/empty-grid-expected.txt: Removed.
* fast/css-grid-layout/empty-grid.html: Removed.
* fast/css-grid-layout/explicit-grid-size-expected.txt: Removed.
* fast/css-grid-layout/fixed-width-intrinsic-width-should-exclude-scrollbar-width-in-grid-expected.txt: Removed.
* fast/css-grid-layout/flex-and-minmax-content-resolution-columns-expected.txt: Removed.
* fast/css-grid-layout/flex-content-resolution-columns-expected.txt: Removed.
* fast/css-grid-layout/flex-content-resolution-rows-expected.txt: Removed.
* fast/css-grid-layout/flex-factor-sum-less-than-1-expected.txt: Removed.
* fast/css-grid-layout/flex-item-grid-container-percentage-rows.html: Removed.
* fast/css-grid-layout/flex-sizing-columns-min-max-width-expected.txt: Removed.
* fast/css-grid-layout/flex-sizing-rows-min-max-height-expected.txt: Removed.
* fast/css-grid-layout/float-not-protruding-into-next-grid-item-expected.html: Removed.
* fast/css-grid-layout/float-not-protruding-into-next-grid-item.html: Removed.
* fast/css-grid-layout/floating-not-effect-on-grid-items-expected.txt: Removed.
* fast/css-grid-layout/floating-not-effect-on-grid-items.html: Removed.
* fast/css-grid-layout/grid-add-item-with-positioned-items-expected.txt: Removed.
* fast/css-grid-layout/grid-add-item-with-positioned-items.html: Removed.
* fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item-expected.txt: Removed.
* fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html: Removed.
* fast/css-grid-layout/grid-auto-fill-columns-expected.txt: Removed.
* fast/css-grid-layout/grid-auto-fill-rows-expected.txt: Removed.
* fast/css-grid-layout/grid-auto-fit-columns-expected.txt: Removed.
* fast/css-grid-layout/grid-auto-fit-rows-expected.txt: Removed.
* fast/css-grid-layout/grid-auto-repeat-intrinsic-expected.txt: Removed.
* fast/css-grid-layout/grid-auto-repeat-intrinsic.html: Removed.
* fast/css-grid-layout/grid-automatic-minimum-for-auto-columns-expected.txt: Removed.
* fast/css-grid-layout/grid-automatic-minimum-for-auto-columns.html: Removed.
* fast/css-grid-layout/grid-automatic-minimum-for-auto-rows-expected.txt: Removed.
* fast/css-grid-layout/grid-automatic-minimum-for-auto-rows.html: Removed.
* fast/css-grid-layout/grid-automatic-minimum-intrinsic-aspect-ratio.html: Removed.
* fast/css-grid-layout/grid-container-change-named-grid-lines-recompute-child-expected.txt: Removed.
* fast/css-grid-layout/grid-container-margin-border-padding-scrollbar-expected.txt: Removed.
* fast/css-grid-layout/grid-container-margin-border-padding-scrollbar.html: Removed.
* fast/css-grid-layout/grid-container-scroll-accounts-for-auto-margin.html: Removed.
* fast/css-grid-layout/grid-container-width-should-include-scroll-bar-width-expected.txt: Removed.
* fast/css-grid-layout/grid-container-width-should-include-scroll-bar-width.html: Removed.
* fast/css-grid-layout/grid-content-alignment-and-self-alignment-spanning-expected.txt: Removed.
* fast/css-grid-layout/grid-content-alignment-and-self-alignment-spanning.html: Removed.
* fast/css-grid-layout/grid-content-alignment-and-self-alignment.html: Removed.
* fast/css-grid-layout/grid-content-alignment-overflow.html: Removed.
* fast/css-grid-layout/grid-content-alignment-stretch-only-valid-for-auto-sized-tracks.html: Removed.
* fast/css-grid-layout/grid-content-alignment-with-span-vertical-lr.html: Removed.
* fast/css-grid-layout/grid-content-alignment-with-span-vertical-rl.html: Removed.
* fast/css-grid-layout/grid-content-alignment-with-span.html: Removed.
* fast/css-grid-layout/grid-item-margins-not-collapse.html: Removed.
* fast/css-grid-layout/grid-self-baseline-01.html: Removed.
* fast/css-grid-layout/grid-self-baseline-02-b.html: Removed.
* fast/css-grid-layout/grid-self-baseline-02-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-02.html: Removed.
* fast/css-grid-layout/grid-self-baseline-03-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-03.html: Removed.
* fast/css-grid-layout/grid-self-baseline-04-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-04.html: Removed.
* fast/css-grid-layout/grid-self-baseline-05.html: Removed.
* fast/css-grid-layout/grid-self-baseline-06-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-06.html: Removed.
* fast/css-grid-layout/grid-self-baseline-07.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-01-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-01.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-02-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-02.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-03-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-03.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-04-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-04.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-05-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-05.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-06-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-06.html: Removed.
* fast/css-grid-layout/grid-self-baseline-horiz-07.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-01-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-01.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-02-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-02.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-03-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-03.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-04-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-04.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-05-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-05.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-06-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-06.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-07-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-lr-07.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-01-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-01.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-02-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-02.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-03-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-03.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-04-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-04.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-05-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-05.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-06-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-06.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-07-expected.html: Removed.
* fast/css-grid-layout/grid-self-baseline-vertical-rl-07.html: Removed.
* imported/blink/fast/css-grid-layout/grid-add-item-with-positioned-items-expected.txt: Removed.
* imported/blink/fast/css-grid-layout/grid-add-item-with-positioned-items.html: Removed.
* imported/blink/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item-expected.txt: Removed.
* imported/blink/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html: Removed.
* imported/blink/fast/css-grid-layout/grid-element-bad-cast-addchild-expected.txt: Removed.
* imported/blink/fast/css-grid-layout/grid-element-bad-cast-addchild.html: Removed.
* imported/blink/fast/css-grid-layout/grid-element-remove-svg-child-expected.txt: Removed.
* imported/blink/fast/css-grid-layout/grid-element-remove-svg-child.html: Removed.
* imported/blink/fast/css-grid-layout/positioned-grid-items-crash-expected.txt: Removed.
* imported/blink/fast/css-grid-layout/positioned-grid-items-crash.html: Removed.
* platform/ios-simulator/TestExpectations:
* platform/ios-wk1/TestExpectations:
* platform/ios/TestExpectations:
* platform/mac/TestExpectations:
* platform/wincairo/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262056 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoREGRESSION (r261978): Cannot click on links with trackpad on iPad
timothy_horton@apple.com [Fri, 22 May 2020 13:56:36 +0000 (13:56 +0000)]
REGRESSION (r261978): Cannot click on links with trackpad on iPad
https://bugs.webkit.org/show_bug.cgi?id=212262

Reviewed by Andy Estes.

No new tests; our current WKMouseGestureRecognizer testing strategy
unfortunately bypasses this particular problem.

* UIProcess/ios/WKMouseGestureRecognizer.mm:
(-[WKMouseGestureRecognizer _hoverEntered:withEvent:]):
(-[WKMouseGestureRecognizer _hoverMoved:withEvent:]):
(-[WKMouseGestureRecognizer _hoverExited:withEvent:]):
(-[WKMouseGestureRecognizer _hoverCancelled:withEvent:]):
Don't call super in any of the hover callbacks now that we derive from
UIHoverGestureRecognizer. We want to wholly own the state of the gesture,
including differences from UIHoverGestureRecognizer behavior such as
remaining in the recognizing state while the trackpad button is pressed.
We don't need any of the code in the default implementation, so just
override it entirely. This returns behavior to what it was like before r261978.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262055 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoFix non-unified builds for i386 build
pmatos@igalia.com [Fri, 22 May 2020 12:50:28 +0000 (12:50 +0000)]
Fix non-unified builds for i386 build
https://bugs.webkit.org/show_bug.cgi?id=212258

Reviewed by Adrian Perez de Castro.

* API/JSContextRef.cpp:
* bytecode/IntrinsicGetterAccessCase.cpp:
* inspector/InjectedScriptHost.cpp:
* llint/LLIntData.cpp:
* llint/LLIntThunks.cpp:
* runtime/Exception.cpp:
* runtime/ExecutableBase.cpp:
* runtime/JSBigInt.cpp:
* runtime/JSInternalPromiseConstructor.cpp:
* runtime/JSString.cpp:
* runtime/ScopedArgumentsTable.cpp:
* runtime/ScriptExecutable.cpp:
* runtime/SparseArrayValueMap.cpp:
* runtime/StructureRareData.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262054 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoFix typo in JSCVirtualMachine documentation
pmatos@igalia.com [Fri, 22 May 2020 11:29:24 +0000 (11:29 +0000)]
Fix typo in JSCVirtualMachine documentation

Unreviewed Typo Fix.

* API/glib/JSCVirtualMachine.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262053 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[Flatpak SDK] CCACHE_ env vars are not forwarded to the sandbox environment
jfernandez@igalia.com [Fri, 22 May 2020 11:28:36 +0000 (11:28 +0000)]
[Flatpak SDK] CCACHE_ env vars are not forwarded to the sandbox environment
https://bugs.webkit.org/show_bug.cgi?id=212257

Reviewed by Philippe Normand.

Added the "CCACHE" prefix to the ones the SDK should keep from the
user's environment, and forwarded to the Flatpak sandbox.

* flatpak/flatpakutils.py:
(WebkitFlatpak.run_in_sandbox):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262052 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoiOS: Pressing tab in the Mail subject field moves focus to the body, but pressing...
timothy_horton@apple.com [Fri, 22 May 2020 11:15:00 +0000 (11:15 +0000)]
iOS: Pressing tab in the Mail subject field moves focus to the body, but pressing shift tab doesn't move it back
https://bugs.webkit.org/show_bug.cgi?id=212243
<rdar://problem/59127764>

Reviewed by Wenson Hsieh.

Source/WebCore:

New API Tests: WebKit.ShiftTabTakesFocusFromEditableWebView and WebKit.TabDoesNotTakeFocusFromEditableWebView

* page/FocusController.cpp:
(WebCore::FocusController::relinquishFocusToChrome):
(WebCore::FocusController::advanceFocusInDocumentOrder):
* page/FocusController.h:
Factor out the code that decides whether the Chrome might accept focus,
and transfers focus out to the Chrome, for use in EventHandler.

* page/EventHandler.cpp:
(WebCore::EventHandler::defaultTabEventHandler):
In the case where we are shift-tabbing out of an editable web view,
allow focus to pass to the Chrome. Previously, we would not allow this,
because tabKeyCyclesThroughElements is false in editable web views.
However, focus exiting the web view entirely needn't be covered by
"cycles through elements" behavior.
We can't do this for plain "tab", because that needs to be allowed to
insert a tab character instead.

Tools:

* TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
(-[FocusDelegate _webView:takeFocus:]):
(-[FocusDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
(TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262051 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[WPE] Gardening, update test expectations after r262047
dpino@igalia.com [Fri, 22 May 2020 08:37:29 +0000 (08:37 +0000)]
[WPE] Gardening, update test expectations after r262047
https://bugs.webkit.org/show_bug.cgi?id=212255

Unreviewed gardening.

Gardened WPE failures that were already gardened in GTK test expectations
by moving them to GLib test expectations.

* platform/glib/TestExpectations:
* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262050 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoCannot style ::selection for a flex container
commit-queue@webkit.org [Fri, 22 May 2020 08:34:29 +0000 (08:34 +0000)]
Cannot style ::selection for a flex container
https://bugs.webkit.org/show_bug.cgi?id=209822

Patch by Tyler Wilcock <twilco.o@protonmail.com> on 2020-05-22
Reviewed by Antti Koivisto.

Source/WebCore:

When needing to query for pseudostyles, RenderText used to unconditionally check the parent's pseudostyles.  The parent of
RenderText objects is often an anonymous box, depending on the presence of siblings, `display` type, etc.  This is problematic
as pseudostyles are associated with an element of the DOM, meaning RenderText elements would often fail to find any pseudostyle
thanks to their anonymous parent.

This patch changes RenderText to traverse its tree of ancestry upwards until it finds a non-anonymous ancestor and gets those pseudostyles,
rather than unconditionally trying to get pseudostyles from its direct parent.

Blink does something similar when retrieving pseudostyles:

https://github.com/chromium/chromium/blob/793cb59c18334f8b506863192bf630776da0f4d2/third_party/blink/renderer/core/paint/selection_painting_utils.cc#L54

Tests: editing/selection/selection-display-block-sibling.html
       editing/selection/selection-display-flex.html

* rendering/RenderObject.cpp:
(WebCore::RenderObject::firstNonAnonymousAncestor const):
* rendering/RenderObject.h:
* rendering/RenderText.h:
(WebCore::RenderText::getCachedPseudoStyle const): getCachedPseudoStyle from first non-anonymous ancestor, rather than only checking the direct parent.
(WebCore::RenderText::selectionBackgroundColor const): Retrieve selectionBackgroundColor from first non-anonymous ancestor rather than only checking the direct parent.
(WebCore::RenderText::selectionForegroundColor const): Retrieve selectionForegroundColor from first non-anonymous ancestor rather than only checking the direct parent.
(WebCore::RenderText::selectionEmphasisMarkColor const): Retrieve selectionEmphasisMarkColor from first non-anonymous ancestor rather than only checking the direct parent.
(WebCore::RenderText::selectionPseudoStyle const): Retrieve selectionPseudoStyle from first non-anonymous ancestor rather than only checking the direct parent.

LayoutTests:

Add tests verifying ::selection pseudoelement styling is properly applied on direct text-children of a `display: flex;` div and on
direct text-children of a `display: block` div with siblings.

* editing/selection/selection-display-block-sibling.html: Added.
* editing/selection/selection-display-flex.html: Added.
* platform/gtk/editing/selection/selection-display-block-sibling-expected.png: Added.
* platform/gtk/editing/selection/selection-display-block-sibling-expected.txt: Added.
* platform/gtk/editing/selection/selection-display-flex-expected.png: Added.
* platform/gtk/editing/selection/selection-display-flex-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262049 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[WPE] Gardening, update test expectations after r261992
dpino@igalia.com [Fri, 22 May 2020 06:24:07 +0000 (06:24 +0000)]
[WPE] Gardening, update test expectations after r261992
https://bugs.webkit.org/show_bug.cgi?id=212254

r261992 enabled several tests under fast/ directory. Many tests that
were meant to fail are passing now. Most of these tests were passing
already in GTK, so I moved the entries for the common tests passing to GLib
and leave local to WPE the tests passing in that platform.

* platform/glib/TestExpectations:
* platform/gtk/TestExpectations:
* platform/wpe/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262048 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoDataTransfer.files contains multiple files when pasting a single image with multiple...
wenson_hsieh@apple.com [Fri, 22 May 2020 04:42:47 +0000 (04:42 +0000)]
DataTransfer.files contains multiple files when pasting a single image with multiple representations
https://bugs.webkit.org/show_bug.cgi?id=212245
<rdar://problem/60240436>

Reviewed by Tim Horton.

Source/WebCore:

When pasting or dropping a single image that is backed by multiple representations in NSPasteboard (or
UIPasteboard), we currently report more than one `File` to the page via `DataTransfer.files`. This is because
`Pasteboard::read(PasteboardFileReader&)`, which is responsible for converting the contents of the pasteboard
into a list of files, currently iterates over every pasteboard type and adds each of them as a file. This is
wrong when an item has multiple type representations.

To differentiate the case where a single item has multiple representations from the case where it has multiple
pasteboard items, we use `allPasteboardItemInfo()` instead to grab a per-item list of types from the pasteboard
on Cocoa platforms, and only create at most 1 file per item using the highest fidelity type that contains data.

Test: PasteImage.PasteImageWithMultipleRepresentations

* platform/cocoa/PasteboardCocoa.mm:
(WebCore::Pasteboard::read):

Tools:

* DumpRenderTree/mac/DumpRenderTreePasteboard.mm:
(-[LocalPasteboard _clearContentsWithoutUpdatingChangeCount]):
(-[LocalPasteboard _addTypesWithoutUpdatingChangeCount:owner:]):
(-[LocalPasteboard writeObjects:]):
(-[LocalPasteboard pasteboardItems]):

Adjust DumpRenderTree's LocalPasteboard so that it lazily populates the pasteboard when constructing
NSPasteboardItems. To do this, we need to make a few adjustments:

1.      When reifying NSPasteboardItems from LocalPasteboard, ask the owner (WebHTMLView) to provide pasteboard
        data for each pasteboard type that was promised by WebKit, but was not eagerly written to the pasteboard.

2.      Cache pasteboard items that were created, so that we don't repeatedly ask WebHTMLView to provide
        pasteboard data. WebHTMLView doesn't currently support this, and suffers from a bug where TIFF data may
        only be provided once. This was fixed for WebKit2, but not for WebKit1.

3.      Maintain a separate hash list of original pasteboard types (which may not be UTIs) that were handed to
        LocalPasteboard by WebKit. We use these original types in step (1).

* TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm:

Add a new API test to verify that one file is exposed via the DataTranfer when the pasteboard contains a single
image with two image representations, but two files are exposed when the pasteboard contains two images, each
with a single representation.

(writeImageDataToPasteboard):

Overload this helper method with two additional variants: one that takes a dictionary of pasteboard types to
data, and another that takes an array of dictionaries, each representing a single item's types and data.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262047 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoFix rare scrolling thread crash firing the m_delayedRenderingUpdateDetectionTimer...
simon.fraser@apple.com [Fri, 22 May 2020 04:12:28 +0000 (04:12 +0000)]
Fix rare scrolling thread crash firing the m_delayedRenderingUpdateDetectionTimer timer
https://bugs.webkit.org/show_bug.cgi?id=212250

Reviewed by Tim Horton.

It seems that we can fire the m_delayedRenderingUpdateDetectionTimer timer after the
ScrollingTree has been destroyed (possibly because it's destroyed on another thread
and CFRunLoopTimerRef isn't threadsafe), so explicitly clear the timer in invalidate()
while holding m_treeMutex.

* page/scrolling/ThreadedScrollingTree.cpp:
(WebCore::ThreadedScrollingTree::invalidate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262046 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoExtended Color Cleanup: Move Color coder definitions to Color to allow for future...
weinig@apple.com [Fri, 22 May 2020 03:52:07 +0000 (03:52 +0000)]
Extended Color Cleanup: Move Color coder definitions to Color to allow for future encaspulation improvements
https://bugs.webkit.org/show_bug.cgi?id=212247

Reviewed by Simon Fraser.

Move IPC encoder/decoder definitions from WebKit down into Color itself to move closer
to making Color::rgb() private.

Source/WebCore:

* platform/graphics/Color.h:
(WebCore::Color::encode const):
(WebCore::Color::decode):

Source/WebKit:

* Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<Color>::encode): Deleted.
(IPC::ArgumentCoder<Color>::decode): Deleted.
* Shared/WebCoreArgumentCoders.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262045 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoPVRTC compressed textures are failing with ANGLE backend
dino@apple.com [Fri, 22 May 2020 03:26:30 +0000 (03:26 +0000)]
PVRTC compressed textures are failing with ANGLE backend
https://bugs.webkit.org/show_bug.cgi?id=212240
<rdar://problem/63517385>

Reviewed by Ken Russell (representing ANGLE).

Source/ThirdParty/ANGLE:

The values used for the PVRTC formats were incorrect.

* src/libANGLE/formatutils.cpp:
(gl::BuildInternalFormatInfoMap):

LayoutTests:

Merge the upstream change to this test.

* webgl/1.0.3/resources/webgl_test_files/conformance/extensions/webgl-compressed-texture-pvrtc.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262044 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoScrolling thread scrolls on sync-scrolling scrollers don't get to the main thread
simon.fraser@apple.com [Fri, 22 May 2020 02:21:06 +0000 (02:21 +0000)]
Scrolling thread scrolls on sync-scrolling scrollers don't get to the main thread
https://bugs.webkit.org/show_bug.cgi?id=212225

Fix builds that use Nicosia after r262041.

* page/scrolling/nicosia/ScrollingTreeFrameScrollingNodeNicosia.cpp:
(WebCore::ScrollingTreeFrameScrollingNodeNicosia::currentScrollPositionChanged):
* page/scrolling/nicosia/ScrollingTreeFrameScrollingNodeNicosia.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262043 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoFix some thread safety issues with ScrollController timers
simon.fraser@apple.com [Fri, 22 May 2020 02:18:09 +0000 (02:18 +0000)]
Fix some thread safety issues with ScrollController timers
https://bugs.webkit.org/show_bug.cgi?id=212238

Reviewed by Wenson Hsieh.

There were some problems with the timers fired by ScrollController, used for rubber-banding
and scroll snap.

First, they could fire on the main thread when we intended them to fire on the scrolling thread.
This happened because in r260716 I made the scrolling tree commit on the main thread, so we'd
construct the ScrollingTreeScrollingNodeDelegateMac and its ScrollController there and its
timers would grab the main thread runloop. Fix by creating the timers on demand.

Secondly, the timer callbacks called into scrolling tree code, but without taking
the scrolling tree lock,
and without any guarantee that the node would stay alive for the duration of the callback.
Fix by having the ScrollControllerClient create the timers, allowing the client to have
a callback wrapper that locks, and to ensure object lifetime (or make a weak ref). Now
that scrolling tree nodes could be extended by a pending timer, we need to explicitly
clear the timers when nodes are removed from the tree.

Finally, rename some confusingly named ScrollControllerClient functions.

* page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::commitTreeState):
* page/scrolling/ScrollingTree.h:
(WebCore::ScrollingTree::treeMutex):
* page/scrolling/ScrollingTreeNode.h:
(WebCore::ScrollingTreeNode::wasBeRemovedFromTree):
* page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h:
* page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
(WebCore::ScrollingTreeFrameScrollingNodeMac::wasBeRemovedFromTree):
* page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.h:
* page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.mm:
(WebCore::ScrollingTreeOverflowScrollingNodeMac::wasBeRemovedFromTree):
* page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h:
* page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm:
(WebCore::ScrollingTreeScrollingNodeDelegateMac::nodeWillBeDestroyed):
(WebCore::ScrollingTreeScrollingNodeDelegateMac::createTimer):
(WebCore::ScrollingTreeScrollingNodeDelegateMac::didStopRubberbandSnapAnimation):
(WebCore::ScrollingTreeScrollingNodeDelegateMac::willStartScrollSnapAnimation):
(WebCore::ScrollingTreeScrollingNodeDelegateMac::didStopScrollSnapAnimation):
(WebCore::ScrollingTreeScrollingNodeDelegateMac::stopSnapRubberbandTimer): Deleted.
(WebCore::ScrollingTreeScrollingNodeDelegateMac::startScrollSnapTimer): Deleted.
(WebCore::ScrollingTreeScrollingNodeDelegateMac::stopScrollSnapTimer): Deleted.
* platform/ScrollAnimator.cpp:
(WebCore::ScrollAnimator::createTimer):
* platform/ScrollAnimator.h:
* platform/cocoa/ScrollController.h:
(WebCore::ScrollControllerTimer::ScrollControllerTimer):
(WebCore::ScrollControllerClient::willStartRubberBandSnapAnimation):
(WebCore::ScrollControllerClient::didStopRubberbandSnapAnimation):
(WebCore::ScrollControllerClient::willStartScrollSnapAnimation):
(WebCore::ScrollControllerClient::didStopScrollSnapAnimation):
(WebCore::ScrollControllerClient::startSnapRubberbandTimer): Deleted.
(WebCore::ScrollControllerClient::stopSnapRubberbandTimer): Deleted.
(WebCore::ScrollControllerClient::startScrollSnapTimer): Deleted.
(WebCore::ScrollControllerClient::stopScrollSnapTimer): Deleted.
* platform/cocoa/ScrollController.mm:
(WebCore::ScrollController::ScrollController):
(WebCore::ScrollController::stopAllTimers):
(WebCore::ScrollController::handleWheelEvent):
(WebCore::ScrollController::snapRubberBandTimerFired):
(WebCore::ScrollController::isRubberBandInProgress const):
(WebCore::ScrollController::isScrollSnapInProgress const):
(WebCore::ScrollController::startSnapRubberbandTimer):
(WebCore::ScrollController::stopSnapRubberbandTimer):
(WebCore::ScrollController::snapRubberBand):
(WebCore::ScrollController::scheduleStatelessScrollSnap):
(WebCore::ScrollController::statelessSnapTransitionTimerFired):
(WebCore::ScrollController::startScrollSnapTimer):
(WebCore::ScrollController::stopScrollSnapTimer):
* platform/mac/ScrollAnimatorMac.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262042 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoScrolling thread scrolls on sync-scrolling scrollers don't get to the main thread
simon.fraser@apple.com [Fri, 22 May 2020 02:17:57 +0000 (02:17 +0000)]
Scrolling thread scrolls on sync-scrolling scrollers don't get to the main thread
https://bugs.webkit.org/show_bug.cgi?id=212225

Reviewed by Tim Horton.

Some scrolls on nodes with synchronousScrollingReasons failed to set the m_scrolledSinceLastCommit bit,
because ScrollingTreeFrameScrollingNodeMac::currentScrollPositionChanged() bypassed a call to the superclass.

Fix by passing ScrollingLayerPositionAction so that it can just call super.

This will be tested by existing tests after some upcoming scroll snap changes.

* page/scrolling/ScrollingTreeScrollingNode.cpp:
(WebCore::ScrollingTreeScrollingNode::currentScrollPositionChanged):
* page/scrolling/ScrollingTreeScrollingNode.h:
* page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h:
* page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
(WebCore::ScrollingTreeFrameScrollingNodeMac::currentScrollPositionChanged):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262041 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoVarious compile-time boolean flags could/should be marked constexpr
rmorisset@apple.com [Fri, 22 May 2020 02:17:54 +0000 (02:17 +0000)]
Various compile-time boolean flags could/should be marked constexpr
https://bugs.webkit.org/show_bug.cgi?id=212244

Reviewed by Mark Lam.

Source/JavaScriptCore:

This trivial patch saves roughly 16kB from the JavaScriptCore binary in release mode.

* b3/B3OptimizeAssociativeExpressionTrees.cpp:
* b3/air/AirAllocateRegistersByGraphColoring.cpp:
* b3/air/AirSimplifyCFG.cpp:
(JSC::B3::Air::simplifyCFG):
* b3/air/AirTmpWidth.cpp:
(JSC::B3::Air::TmpWidth::recompute):
* dfg/DFGPredictionPropagationPhase.cpp:
* heap/GCIncomingRefCountedInlines.h:
(JSC::GCIncomingRefCounted<T>::filterIncomingReferences):
* heap/Heap.cpp:
(JSC::Heap::updateAllocationLimits):
* wasm/WasmEntryPlan.cpp:

Source/WTF:

* wtf/ParkingLot.cpp:

Tools:

* TestWebKitAPI/Tests/WTF/Condition.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262040 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoRemove AssemblerBufferWithConstantPool.h (as it has been dead for years)
rmorisset@apple.com [Fri, 22 May 2020 00:39:30 +0000 (00:39 +0000)]
Remove AssemblerBufferWithConstantPool.h (as it has been dead for years)
https://bugs.webkit.org/show_bug.cgi?id=212241

Reviewed by Yusuke Suzuki.

* CMakeLists.txt:
* JavaScriptCore.xcodeproj/project.pbxproj:
* assembler/AssemblerBufferWithConstantPool.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262039 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoFix issues of the Picture-in-Picture API under stress tests
peng.liu6@apple.com [Fri, 22 May 2020 00:20:29 +0000 (00:20 +0000)]
Fix issues of the Picture-in-Picture API under stress tests
https://bugs.webkit.org/show_bug.cgi?id=212191

Reviewed by Eric Carlson.

Source/WebCore:

The current implementation of the Picture-in-Picture API is not robust under stress tests.
Changing the video presentation mode of a video element between inline and picture-in-picture
continuously may corrupt the internal states of the video element.

This patch refactors the approach to tracking the progress of video presentation mode changes
and make sure no new requestPictureInPicture() or exitPictureInPicture() will trigger
a presentation mode change unless the previous operations are completed.

This patch also removes the code for testing purposes in the HTMLVideoElement class.

Covered by existing tests.

* html/HTMLMediaElement.h:
* html/HTMLVideoElement.cpp:
(WebCore::toPresentationMode):
(WebCore::HTMLVideoElement::setFullscreenMode):
(WebCore::HTMLVideoElement::fullscreenModeChanged):
(WebCore::HTMLVideoElement::didEnterFullscreen):
(WebCore::HTMLVideoElement::didExitFullscreen):
(WebCore::HTMLVideoElement::setPictureInPictureObserver):
(WebCore::HTMLVideoElement::setVideoFullscreenFrame):
(WebCore::HTMLVideoElement::didBecomeFullscreenElement): Deleted.
(WebCore::HTMLVideoElement::setPictureInPictureAPITestEnabled): Deleted.
* html/HTMLVideoElement.h:

* testing/Internals.cpp:
(WebCore::Internals::setPictureInPictureAPITestEnabled): Deleted.
* testing/Internals.h:
* testing/Internals.idl:
Remove setPictureInPictureAPITestEnabled().

Source/WebKit:

* UIProcess/Cocoa/VideoFullscreenManagerProxy.mm:
(WebKit::VideoFullscreenManagerProxy::enterFullscreen):
Mock the behavior of the VideoFullscreenInterface[AVKit|Mac] regarding
the Picture-in-Picture mode support.

* WebProcess/cocoa/VideoFullscreenManager.mm:
(WebKit::VideoFullscreenManager::didEnterFullscreen):
(WebKit::VideoFullscreenManager::didCleanupFullscreen):
Add callbacks for the end of entering/exiting fullscreen.

LayoutTests:

Refactor the layout tests for the Picture-in-Picture API with the Mock VideoPresentation Mode.

* media/picture-in-picture/picture-in-picture-api-css-selector-expected.txt:
* media/picture-in-picture/picture-in-picture-api-css-selector.html:
* media/picture-in-picture/picture-in-picture-api-enter-pip-1-expected.txt:
* media/picture-in-picture/picture-in-picture-api-enter-pip-1.html:
* media/picture-in-picture/picture-in-picture-api-enter-pip-2-expected.txt:
* media/picture-in-picture/picture-in-picture-api-enter-pip-2.html:
* media/picture-in-picture/picture-in-picture-api-enter-pip-3-expected.txt:
* media/picture-in-picture/picture-in-picture-api-enter-pip-3.html:
* media/picture-in-picture/picture-in-picture-api-enter-pip-4-expected.txt:
* media/picture-in-picture/picture-in-picture-api-enter-pip-4.html:
* media/picture-in-picture/picture-in-picture-api-events-expected.txt:
* media/picture-in-picture/picture-in-picture-api-events.html:
* media/picture-in-picture/picture-in-picture-api-exit-pip-1-expected.txt:
* media/picture-in-picture/picture-in-picture-api-exit-pip-1.html:
* media/picture-in-picture/picture-in-picture-api-exit-pip-2-expected.txt:
* media/picture-in-picture/picture-in-picture-api-exit-pip-2.html:
* media/picture-in-picture/picture-in-picture-api-pip-window-expected.txt:
* media/picture-in-picture/picture-in-picture-api-pip-window.html:
* media/picture-in-picture/picture-in-picture-events-expected.txt:
* media/picture-in-picture/picture-in-picture-events.html:
* media/picture-in-picture/picture-in-picture-interruption-expected.txt:
* media/picture-in-picture/picture-in-picture-interruption.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262038 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoFix misspelling -- m_releaseNetwrokActivityTimer --> m_releaseNetworkActivityTimer
commit-queue@webkit.org [Fri, 22 May 2020 00:13:11 +0000 (00:13 +0000)]
Fix misspelling -- m_releaseNetwrokActivityTimer --> m_releaseNetworkActivityTimer
https://bugs.webkit.org/show_bug.cgi?id=212237

Patch by Tyler Wilcock <twilco.o@protonmail.com> on 2020-05-21
Reviewed by Simon Fraser.

No new tests required -- simply fixing a misspelling.

* UIProcess/Cocoa/NavigationState.h: Rename m_releaseNetwrokActivityTimer to m_releaseNetworkActivityTimer
* UIProcess/Cocoa/NavigationState.mm: Rename m_releaseNetwrokActivityTimer to m_releaseNetworkActivityTimer
(WebKit::NavigationState::NavigationState):
(WebKit::NavigationState::releaseNetworkActivity):
(WebKit::NavigationState::didChangeIsLoading):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262037 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoRoll ANGLE to 2020-05-21
commit-queue@webkit.org [Fri, 22 May 2020 00:12:18 +0000 (00:12 +0000)]
Roll ANGLE to 2020-05-21
https://bugs.webkit.org/show_bug.cgi?id=212228

Patch by Kenneth Russell <kbr@chromium.org> on 2020-05-21
Reviewed by Dean Jackson.

Roll ANGLE to 96a80283cc0fe604d03c0bc0b3f9eb100edd22f9 in the
upstream repository using jdarpinian's excellent update-angle.sh
script.

Manually undo the fix from Bug 210992, which was fixed differently
upstream.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262036 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoExtended Color Cleanup: Remove trivial uses of Color::rgb()
weinig@apple.com [Thu, 21 May 2020 23:33:16 +0000 (23:33 +0000)]
Extended Color Cleanup: Remove trivial uses of Color::rgb()
https://bugs.webkit.org/show_bug.cgi?id=212231

Source/WebCore:

Reviewed by Darin Adler

Replaces a few unnecessary uses of Color::rgb():
- Uses of an idiom where code round-tripped a Color via Color(myColor.rgb()). This is
  not compatible with extended colors and seems to be unnecessary.
- Uses of colorWithOverrideAlpha(). This function requires a SimpleColor, so required
  using color.rgb(). We can't transition to Color::colorWithAlpha due to a slightly
  different rounding of the alpha, so a new function Color::colorWithAlphaUsingAlternativeRounding
  was added to which implements the alternative rounding. A later change can reconcile
  the two versions.
- Creation of D2D1::ColorF. D2D1::ColorF has a constructor that takes a four floats that
  is used instead.
- Comparing two colors using rgb() for each to avoid comparing the semantic bit. equalIgnoringSemanticColor
  exists for just this use.

* editing/cocoa/HTMLConverter.mm:
(HTMLConverterCaches::colorPropertyValueForNode):
* html/HTMLElement.cpp:
(WebCore::HTMLElement::addHTMLColorToStyle):
* html/canvas/CanvasRenderingContext2DBase.cpp:
(WebCore::CanvasRenderingContext2DBase::setStrokeStyle):
(WebCore::CanvasRenderingContext2DBase::setFillStyle):
(WebCore::CanvasRenderingContext2DBase::setShadow):
* html/canvas/CanvasStyle.cpp:
(WebCore::CanvasStyle::createFromStringWithOverrideAlpha):
* html/track/InbandGenericTextTrack.cpp:
(WebCore::InbandGenericTextTrack::updateCueFromCueData):
* platform/graphics/Color.cpp:
(WebCore::Color::colorWithAlphaMultipliedByUsingAlternativeRounding const):
(WebCore::Color::colorWithAlpha const):
(WebCore::Color::colorWithAlphaUsingAlternativeRounding const):
(WebCore::colorWithOverrideAlpha): Deleted.
* platform/graphics/Color.h:
(WebCore::colorWithOverrideAlpha): Deleted.
* platform/graphics/cairo/CairoOperations.cpp:
(WebCore::Cairo::prepareCairoContextSource):
* platform/graphics/filters/FEFlood.cpp:
(WebCore::FEFlood::platformApplySoftware):
* platform/graphics/win/ColorDirect2D.cpp:
(WebCore::Color::operator D2D1_COLOR_F const):
(WebCore::Color::operator D2D1_VECTOR_4F const):
* platform/graphics/win/GraphicsContextDirect2D.cpp:
(WebCore::GraphicsContext::colorWithGlobalAlpha const):
* platform/mac/ThemeMac.mm:
(WebCore::drawCellFocusRingWithFrameAtTime):
* rendering/RenderThemeIOS.mm:
(WebCore::RenderThemeIOS::paintFileUploadIconDecorations):
* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::platformFocusRingColor const):
* rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):
* svg/SVGStopElement.cpp:
(WebCore::SVGStopElement::stopColorIncludingOpacity const):

Source/WebKit:

Reviewed by Darin Adler.

* UIProcess/API/ios/WKWebViewIOS.mm:
(scrollViewBackgroundColor):
Replace colorWithOverrideAlpha() with Color::colorWithAlphaUsingAlternativeRounding() to avoid
unnecessary use of Color::rgb()

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262035 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoRename some variables in Bitmap API test for consistency and better readability.
mark.lam@apple.com [Thu, 21 May 2020 23:16:43 +0000 (23:16 +0000)]
Rename some variables in Bitmap API test for consistency and better readability.
https://bugs.webkit.org/show_bug.cgi?id=212235

Reviewed by Saam Barati.

This patch renames the following:
    bitmap0 => bitmapZeroes
    bitmapFilled => bitmapOnes
    bitmap3 => bitmap2Clone
    bitmapSmallZeroed => smallBitmapZeroes
    bitmapSmallFilled => smallBitmapOnes
    bitmapSmall1 => smallBitmap1
    bitmapSmall2 => smallBitmap2

Apart from these renamings, there are no other code changes.

* TestWebKitAPI/Tests/WTF/Bitmap.cpp:
(TestWebKitAPI::testBitmapSize):
(TestWebKitAPI::testBitmapConstructedEmpty):
(TestWebKitAPI::testBitmapSetGet):
(TestWebKitAPI::testBitmapTestAndSet):
(TestWebKitAPI::testBitmapTestAndClear):
(TestWebKitAPI::testBitmapConcurrentTestAndSet):
(TestWebKitAPI::testBitmapConcurrentTestAndClear):
(TestWebKitAPI::testBitmapClear):
(TestWebKitAPI::testBitmapClearAll):
(TestWebKitAPI::testBitmapInvert):
(TestWebKitAPI::testBitmapFindRunOfZeros):
(TestWebKitAPI::testBitmapCount):
(TestWebKitAPI::testBitmapIsEmpty):
(TestWebKitAPI::testBitmapIsFull):
(TestWebKitAPI::testBitmapMerge):
(TestWebKitAPI::testBitmapFilter):
(TestWebKitAPI::testBitmapExclude):
(TestWebKitAPI::testBitmapConcurrentFilter):
(TestWebKitAPI::testBitmapSubsumes):
(TestWebKitAPI::testBitmapForEachSetBit):
(TestWebKitAPI::testBitmapFindBit):
(TestWebKitAPI::testBitmapIteration):
(TestWebKitAPI::testBitmapMergeAndClear):
(TestWebKitAPI::testBitmapSetAndClear):
(TestWebKitAPI::testBitmapSetEachNthBit):
(TestWebKitAPI::testBitmapOperatorEqual):
(TestWebKitAPI::testBitmapOperatorNotEqual):
(TestWebKitAPI::testBitmapOperatorAssignment):
(TestWebKitAPI::testBitmapOperatorBitOrAssignment):
(TestWebKitAPI::testBitmapOperatorBitAndAssignment):
(TestWebKitAPI::testBitmapOperatorBitXorAssignment):
(TestWebKitAPI::testBitmapHash):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262034 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[css-grid] Don't create renderers for whitespace nodes
obrufau@igalia.com [Thu, 21 May 2020 22:59:01 +0000 (22:59 +0000)]
[css-grid] Don't create renderers for whitespace nodes
https://bugs.webkit.org/show_bug.cgi?id=212220

Reviewed by Manuel Rego Casasnovas.

LayoutTests/imported/w3c:

Import WPT test.

* web-platform-tests/css/css-grid/grid-items/w3c-import.log:
* web-platform-tests/css/css-grid/grid-items/whitespace-in-grid-item-001-expected.html: Added.
* web-platform-tests/css/css-grid/grid-items/whitespace-in-grid-item-001.html: Added.

Source/WebCore:

Even with 'white-space: pre' we shouldn't create RenderTexts
for whitespace-only nodes in grid layout, according to
https://drafts.csswg.org/css-grid/#grid-items

This patch is based on https://codereview.chromium.org/16888008

Tests: fast/text/simple-line-layout-with-zero-sized-font.html
       imported/w3c/web-platform-tests/css/css-grid/grid-items/whitespace-in-grid-item-001.html

* rendering/updating/RenderTreeUpdater.cpp:
(WebCore::RenderTreeUpdater::textRendererIsNeeded):

LayoutTests:

Update test expectation.

* fast/text/simple-line-layout-with-zero-sized-font-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262033 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoUse an OptionSet instead of uint8_t for MessageFlags
achristensen@apple.com [Thu, 21 May 2020 22:30:01 +0000 (22:30 +0000)]
Use an OptionSet instead of uint8_t for MessageFlags
https://bugs.webkit.org/show_bug.cgi?id=212230
<rdar://problem/63496543>

Reviewed by Darin Adler.

I also reduce the encoding size of OptionSet.

* Platform/IPC/ArgumentCoders.h:
(IPC::ArgumentCoder<OptionSet<T>>::encode):
(IPC::ArgumentCoder<OptionSet<T>>::decode):
* Platform/IPC/Decoder.cpp:
(IPC::Decoder::isSyncMessage const):
(IPC::Decoder::shouldDispatchMessageWhenWaitingForSyncReply const):
(IPC::Decoder::shouldUseFullySynchronousModeForTesting const):
* Platform/IPC/Decoder.h:
* Platform/IPC/Encoder.cpp:
(IPC::Encoder::isSyncMessage const):
(IPC::Encoder::shouldDispatchMessageWhenWaitingForSyncReply const):
(IPC::Encoder::setIsSyncMessage):
(IPC::Encoder::setShouldDispatchMessageWhenWaitingForSyncReply):
(IPC::Encoder::setFullySynchronousModeForTesting):
(IPC::Encoder::messageFlags):
(IPC::Encoder::messageFlags const):
* Platform/IPC/Encoder.h:
* Platform/IPC/MessageFlags.h:
(): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262032 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[GTK] Gardening, update expectations after r262016
dpino@igalia.com [Thu, 21 May 2020 22:25:00 +0000 (22:25 +0000)]
[GTK] Gardening, update expectations after r262016
https://bugs.webkit.org/show_bug.cgi?id=212234

Unreviewed gardening.

* platform/glib/TestExpectations:
* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262031 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoAdd more Bitmap methods.
mark.lam@apple.com [Thu, 21 May 2020 22:12:43 +0000 (22:12 +0000)]
Add more Bitmap methods.
https://bugs.webkit.org/show_bug.cgi?id=212190
<rdar://problem/63481333>

Reviewed by Robin Morisset.

Source/WTF:

Specifically,
    setEachNthBit - sets every Nth bit starting at a specified start bit
    operator=     - assignment
    operator|=    - bit or and assignment
    operator&=    - bit and and assignment
    operator^=    - bit xor and assignment

* wtf/Bitmap.h:

Tools:

Added test coverage for the new WTF::Bitmap methods.

* TestWebKitAPI/Tests/WTF/Bitmap.cpp:
(TestWebKitAPI::testBitmapSetEachNthBit):
(TestWebKitAPI::testBitmapOperatorAssignment):
(TestWebKitAPI::testBitmapOperatorBitOrAssignment):
(TestWebKitAPI::testBitmapOperatorBitAndAssignment):
(TestWebKitAPI::testBitmapOperatorBitXorAssignment):
(TestWebKitAPI::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262030 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoUpdate description.
dino@apple.com [Thu, 21 May 2020 21:25:06 +0000 (21:25 +0000)]
Update description.

* platform/ios/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262029 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoFix rare crash in TileGrid::platformCALayerShowRepaintCounter()
simon.fraser@apple.com [Thu, 21 May 2020 21:20:53 +0000 (21:20 +0000)]
Fix rare crash in TileGrid::platformCALayerShowRepaintCounter()
https://bugs.webkit.org/show_bug.cgi?id=212182
<rdar://problem/55618414>

Reviewed by Darin Adler.

Crash data suggest that owner() can be null in platformCALayerShowRepaintCounter(),
so null-check in these functions.

* platform/graphics/ca/TileGrid.cpp:
(WebCore::TileGrid::platformCALayerDeviceScaleFactor const):
(WebCore::TileGrid::platformCALayerShowDebugBorders const):
(WebCore::TileGrid::platformCALayerShowRepaintCounter const):
(WebCore::TileGrid::isUsingDisplayListDrawing const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262028 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoUnreviewed. Mark some webgl video tests as skipped
dino@apple.com [Thu, 21 May 2020 21:20:27 +0000 (21:20 +0000)]
Unreviewed. Mark some webgl video tests as skipped
now that they timeout rather than failing instantly.

* platform/ios/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262027 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoIncorrect location.origin in blob workers
youenn@apple.com [Thu, 21 May 2020 20:40:03 +0000 (20:40 +0000)]
Incorrect location.origin in blob workers
https://bugs.webkit.org/show_bug.cgi?id=211876
<rdar://problem/63284717>

Reviewed by Sihui Liu.

Source/WebCore:

Instead of computing the origin from the location URL in worker, get it directly from the WorkerGlobalScope origin.
This ensures we unwrap properly blob URLs.

Test: http/tests/security/contentSecurityPolicy/worker-blob-location.html

* workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::location const):
* workers/WorkerLocation.cpp:
(WebCore::WorkerLocation::origin const):
* workers/WorkerLocation.h:
(WebCore::WorkerLocation::create):
(WebCore::WorkerLocation::url const):
(WebCore::WorkerLocation::WorkerLocation):

LayoutTests:

* http/tests/security/contentSecurityPolicy/worker-blob-location-expected.txt: Added.
* http/tests/security/contentSecurityPolicy/worker-blob-location.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262026 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoUnreviewed test gardening, remove expectations for tests that are consistently passing.
ryanhaddad@apple.com [Thu, 21 May 2020 20:27:36 +0000 (20:27 +0000)]
Unreviewed test gardening, remove expectations for tests that are consistently passing.

* platform/ios-wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262025 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoStorage Access API: Allow configurable storage access scope
wilander@apple.com [Thu, 21 May 2020 20:22:39 +0000 (20:22 +0000)]
Storage Access API: Allow configurable storage access scope
https://bugs.webkit.org/show_bug.cgi?id=212114
<rdar://problem/63423063>

Reviewed by Alex Christensen.

The scope of storage access as per-frame or per-page was discussed in the
standards process here: https://github.com/privacycg/storage-access/issues/3

The decision was to have per-page storage access by default. Recent feedback
from Google and conversation with Mozilla suggest that we might want to
support the caller choosing the scope.

This patch adds support for different scope configurations while keeping the
existing default as per-frame. A later patch will switch the default and add
test cases for per-page scope.

Source/WebCore:

A new struct is added WebCore::RequestStorageAccessResult which carries full
information about the storage access request result.

A new enum is added WebCore::StorageAccessScope to encode per-frame and
per-page access.

No new tests. No changed functionality. Tests already exist.

* dom/DocumentStorageAccess.cpp:
(WebCore::DocumentStorageAccess::requestStorageAccess):
* dom/DocumentStorageAccess.h:
(WebCore::RequestStorageAccessResult::encode const):
(WebCore::RequestStorageAccessResult::decode):
* page/ChromeClient.h:
(WebCore::ChromeClient::requestStorageAccess):

Source/WebKit:

Most of the changes is piping through the new enum
WebCore::StorageAccessScope from the call side to encode per-frame and
per-page access, and piping through the new struct
WebCore::RequestStorageAccessResult on the return side which carries full
information about the storage access request result.

* NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp:
(WebKit::CompletionHandler<void):
* NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.h:
* NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.cpp:
(WebKit::ResourceLoadStatisticsMemoryStore::requestStorageAccess):
(WebKit::ResourceLoadStatisticsMemoryStore::requestStorageAccessUnderOpener):
(WebKit::ResourceLoadStatisticsMemoryStore::grantStorageAccess):
(WebKit::ResourceLoadStatisticsMemoryStore::grantStorageAccessInternal):
* NetworkProcess/Classifier/ResourceLoadStatisticsMemoryStore.h:
* NetworkProcess/Classifier/ResourceLoadStatisticsStore.h:
* NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:
(WebKit::WebResourceLoadStatisticsStore::requestStorageAccess):
(WebKit::WebResourceLoadStatisticsStore::requestStorageAccessEphemeral):
(WebKit::WebResourceLoadStatisticsStore::grantStorageAccess):
(WebKit::WebResourceLoadStatisticsStore::grantStorageAccessEphemeral):
(WebKit::WebResourceLoadStatisticsStore::grantStorageAccessInStorageSession):
    Renamed from WebResourceLoadStatisticsStore::grantStorageAccess()
    to reduce confusion since we already have another function called
    WebResourceLoadStatisticsStore::grantStorageAccess().
(WebKit::WebResourceLoadStatisticsStore::callGrantStorageAccessHandler):
* NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h:
* NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::requestStorageAccess):
* NetworkProcess/NetworkConnectionToWebProcess.h:
* NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* Scripts/webkit/messages.py:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::requestStorageAccess):
* WebProcess/WebCoreSupport/WebChromeClient.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::requestStorageAccess):
* WebProcess/WebPage/WebPage.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262024 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoNull Ptr Deref @ WebCore::ResourceResponse::platformLazyInit
commit-queue@webkit.org [Thu, 21 May 2020 20:14:36 +0000 (20:14 +0000)]
Null Ptr Deref @ WebCore::ResourceResponse::platformLazyInit
https://bugs.webkit.org/show_bug.cgi?id=212224

Patch by Pinki Gyanchandani <pgyanchandani@apple.com> on 2020-05-21
Reviewed by Geoffrey Garen.

Source/WebKitLegacy/mac:

Its possible that client can cancel the load implicitly or explicitly after its informed that load is committed, but code continues to assume that
loading is still in progress. This was cause of crash.
Added nullptr check before dereferencing the documentLoader, after client calls the commit load.

* WebView/WebHTMLRepresentation.mm:
(-[WebHTMLRepresentation receivedData:withDataSource:]):

LayoutTests:

Added a regression test.

* media/continue-load-after-client-cancellation-crash-expected.txt: Added.
* media/continue-load-after-client-cancellation-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262023 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[PlayStation] Add minimal WKView API to enable TestWebKitAPI
yoshiaki.jitsukawa@sony.com [Thu, 21 May 2020 19:52:41 +0000 (19:52 +0000)]
[PlayStation] Add minimal WKView API to enable TestWebKitAPI
https://bugs.webkit.org/show_bug.cgi?id=211868

Reviewed by Alex Christensen.

Enable TestWebKitAPI

.:

* Source/cmake/OptionsPlayStation.cmake:
Disable FullScreen API and ContextMenus.

Source/WebCore:

* PlatformPlayStation.cmake:
Add WebKitRequirements library to WebCore_CopySharedLibs.

Source/WebKit:

* Platform/IPC/Connection.h:
* Platform/IPC/unix/ConnectionUnix.cpp:
(IPC::Connection::platformInvalidate):
(IPC::Connection::open):
Add SocketMonitor to monitor received messages.

* UIProcess/API/APIProcessPoolConfiguration.cpp:
(API::ProcessPoolConfiguration::copy):
* UIProcess/API/APIProcessPoolConfiguration.h:
Add PlayStation specific members: WebProcess and NetworkProcess paths, and user ID.

* UIProcess/Launcher/ProcessLauncher.h:
Add PlayStation specific members: Process path and user ID.

* NetworkProcess/EntryPoint/playstation/NetworkProcessMain.cpp: Copied from Tools\TestWebKitAPI\playstation\main.cpp.
(loadLibraryOrExit):
(main):
* PlatformPlayStation.cmake:
* Shared/API/c/playstation/WKEventPlayStation.cpp: Added.
(WKKeyboardEventMake):
(WKMouseEventMake):
(WKWheelEventMake):
* Shared/API/c/playstation/WKEventPlayStation.h: Added.
* UIProcess/API/C/playstation/WKAPICastPlayStation.h:
(WebKit::toAPI<>):
(WebKit::toImpl<>):
* UIProcess/API/C/playstation/WKContextConfigurationPlayStation.cpp: Copied from Tools\TestWebKitAPI\playstation\PlatformUtilitiesPlayStation.cpp.
(WKContextConfigurationSetWebProcessPath):
(WKContextConfigurationCopyWebProcessPath):
(WKContextConfigurationSetNetworkProcessPath):
(WKContextConfigurationCopyNetworkProcessPath):
(WKContextConfigurationSetUserId):
(WKContextConfigurationGetUserId):
* UIProcess/API/C/playstation/WKContextConfigurationPlayStation.h: Copied from Source\WebKit\UIProcess\API\C\playstation\WKView.h.
* UIProcess/API/C/playstation/WKPagePrivatePlayStation.cpp: Added.
(WKPageHandleKeyboardEvent):
(WKPageHandleMouseEvent):
(WKPageHandleWheelEvent):
* UIProcess/API/C/playstation/WKPagePrivatePlayStation.h: Copied from Source\WebKit\UIProcess\API\C\playstation\WKView.h.
* UIProcess/API/C/playstation/WKView.cpp: Copied from Source\WebKit\WebProcess\InjectedBundle\playstation\InjectedBundlePlayStation.cpp.
(WKViewCreate):
(WKViewGetPage):
* UIProcess/API/C/playstation/WKView.h:
* UIProcess/Launcher/playstation/ProcessLauncherPlayStation.cpp:
(WebKit::defaultProcessPath):
(WebKit::ProcessLauncher::launchProcess):
(WebKit::ProcessLauncher::terminateProcess):
(WebKit::ProcessLauncher::platformInvalidate):
* UIProcess/Network/NetworkProcessProxy.cpp:
(WebKit::NetworkProcessProxy::getLaunchOptions):
* UIProcess/WebProcessPool.h:
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::getLaunchOptions):
* UIProcess/playstation/PageClientImpl.cpp: Added.
(WebKit::PageClientImpl::PageClientImpl):
(WebKit::PageClientImpl::createDrawingAreaProxy):
(WebKit::PageClientImpl::setViewNeedsDisplay):
(WebKit::PageClientImpl::requestScroll):
(WebKit::PageClientImpl::viewScrollPosition):
(WebKit::PageClientImpl::viewSize):
(WebKit::PageClientImpl::isViewWindowActive):
(WebKit::PageClientImpl::isViewFocused):
(WebKit::PageClientImpl::isViewVisible):
(WebKit::PageClientImpl::isViewInWindow):
(WebKit::PageClientImpl::processDidExit):
(WebKit::PageClientImpl::didRelaunchProcess):
(WebKit::PageClientImpl::pageClosed):
(WebKit::PageClientImpl::preferencesDidChange):
(WebKit::PageClientImpl::toolTipChanged):
(WebKit::PageClientImpl::didCommitLoadForMainFrame):
(WebKit::PageClientImpl::handleDownloadRequest):
(WebKit::PageClientImpl::didChangeContentSize):
(WebKit::PageClientImpl::setCursor):
(WebKit::PageClientImpl::setCursorHiddenUntilMouseMoves):
(WebKit::PageClientImpl::didChangeViewportProperties):
(WebKit::PageClientImpl::registerEditCommand):
(WebKit::PageClientImpl::clearAllEditCommands):
(WebKit::PageClientImpl::canUndoRedo):
(WebKit::PageClientImpl::executeUndoRedo):
(WebKit::PageClientImpl::wheelEventWasNotHandledByWebCore):
(WebKit::PageClientImpl::convertToDeviceSpace):
(WebKit::PageClientImpl::convertToUserSpace):
(WebKit::PageClientImpl::screenToRootView):
(WebKit::PageClientImpl::rootViewToScreen):
(WebKit::PageClientImpl::accessibilityScreenToRootView):
(WebKit::PageClientImpl::rootViewToAccessibilityScreen):
(WebKit::PageClientImpl::doneWithKeyEvent):
(WebKit::PageClientImpl::createPopupMenuProxy):
(WebKit::PageClientImpl::enterAcceleratedCompositingMode):
(WebKit::PageClientImpl::exitAcceleratedCompositingMode):
(WebKit::PageClientImpl::updateAcceleratedCompositingMode):
(WebKit::PageClientImpl::fullScreenManagerProxyClient):
(WebKit::PageClientImpl::didFinishLoadingDataForCustomContentProvider):
(WebKit::PageClientImpl::navigationGestureDidBegin):
(WebKit::PageClientImpl::navigationGestureWillEnd):
(WebKit::PageClientImpl::navigationGestureDidEnd):
(WebKit::PageClientImpl::willRecordNavigationSnapshot):
(WebKit::PageClientImpl::didRemoveNavigationGestureSnapshot):
(WebKit::PageClientImpl::didFirstVisuallyNonEmptyLayoutForMainFrame):
(WebKit::PageClientImpl::didFinishLoadForMainFrame):
(WebKit::PageClientImpl::didFailLoadForMainFrame):
(WebKit::PageClientImpl::didSameDocumentNavigationForMainFrame):
(WebKit::PageClientImpl::didChangeBackgroundColor):
(WebKit::PageClientImpl::isPlayingAudioWillChange):
(WebKit::PageClientImpl::isPlayingAudioDidChange):
(WebKit::PageClientImpl::refView):
(WebKit::PageClientImpl::derefView):
(WebKit::PageClientImpl::didRestoreScrollPosition):
(WebKit::PageClientImpl::userInterfaceLayoutDirection):
(WebKit::PageClientImpl::requestDOMPasteAccess):
* UIProcess/playstation/PageClientImpl.h: Added.
* UIProcess/playstation/WebProcessPoolPlayStation.cpp:
(WebKit::WebProcessPool::platformInitialize):
* UIProcess/playstation/PlayStationWebView.cpp: Copied from Source\WebKit\UIProcess\playstation\WebProcessPoolPlayStation.cpp.
(WebKit::PlayStationWebView::create):
(WebKit::PlayStationWebView::PlayStationWebView):
(WebKit::PlayStationWebView::~PlayStationWebView):
(WebKit::PlayStationWebView::isActive const):
(WebKit::PlayStationWebView::isFocused const):
(WebKit::PlayStationWebView::isVisible const):
* UIProcess/playstation/PlayStationWebView.h: Copied from Source\WebKit\WebProcess\InjectedBundle\playstation\InjectedBundlePlayStation.cpp.
(WebKit::PlayStationWebView::page):
* WebProcess/EntryPoint/playstation/WebProcessMain.cpp: Copied from Tools\TestWebKitAPI\playstation\main.cpp.
(loadLibraryOrExit):
(main):
* WebProcess/InjectedBundle/playstation/InjectedBundlePlayStation.cpp:
(WebKit::InjectedBundle::initialize):
(WebKit::InjectedBundle::setBundleParameter):
* WebProcess/WebPage/AcceleratedSurface.cpp:
(WebKit::AcceleratedSurface::create):

Source/WTF:

* wtf/PlatformPlayStation.cmake:
Link libc as a system library.

Tools:

* TestWebKitAPI/PlatformPlayStation.cmake:
* TestWebKitAPI/PlatformWebView.h:
* TestWebKitAPI/playstation/PlatformUtilitiesPlayStation.cpp:
(TestWebKitAPI::Util::createInjectedBundlePath):
(TestWebKitAPI::Util::createURLForResource):
* TestWebKitAPI/playstation/PlatformWebViewPlayStation.cpp:
(TestWebKitAPI::PlatformWebView::PlatformWebView):
(TestWebKitAPI::PlatformWebView::~PlatformWebView):
(TestWebKitAPI::PlatformWebView::initialize):
(TestWebKitAPI::PlatformWebView::resizeTo):
(TestWebKitAPI::PlatformWebView::page const):
(TestWebKitAPI::PlatformWebView::simulateSpacebarKeyPress):
(TestWebKitAPI::PlatformWebView::simulateMouseMove):
(TestWebKitAPI::PlatformWebView::simulateRightClick):
(TestWebKitAPI::PlatformWebView::simulateButtonClick):
* TestWebKitAPI/playstation/main.cpp:
(loadLibraryOrExit):
(main):
Add PlayStation Platform support.

* TestWebKitAPI/Tests/WebKit/WKPreferences.cpp:
(TestWebKitAPI::TEST):
Use the same expected default font preferences as GTK's.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262022 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoLayout test media/video-fullscreen-only-playback.html is a flaky failure
peng.liu6@apple.com [Thu, 21 May 2020 19:04:06 +0000 (19:04 +0000)]
Layout test media/video-fullscreen-only-playback.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=212171

Reviewed by Jer Noble.

* media/video-fullscreen-only-playback.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262021 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agocompositing/show-composited-iframe-on-back-button.html is a flaky timing out
cdumez@apple.com [Thu, 21 May 2020 19:00:26 +0000 (19:00 +0000)]
compositing/show-composited-iframe-on-back-button.html is a flaky timing out
https://bugs.webkit.org/show_bug.cgi?id=212221
<rdar://problem/63493074>

Reviewed by Alex Christensen.

I am unable to reproduce the flakiness locally so this is a speculative fix.
Stop using testRunner.queueLoad() / testRunner.queueBackNavigation() and instead
just navigate to page-cache-helper.html in JS, by setting window.location.
Also, call testRunner.waitUntilDone() and call testRunner.notifyDone() when the
page comes out of the back/forward cache.

* compositing/show-composited-iframe-on-back-button.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262019 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[macOS] TestWebKitAPI.WebKit.HTTPReferer is a flaky failure
achristensen@apple.com [Thu, 21 May 2020 18:52:06 +0000 (18:52 +0000)]
[macOS] TestWebKitAPI.WebKit.HTTPReferer is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=212180

Reviewed by Darin Adler.

Sometimes an HTTP request takes more than one call to nw_connection_receive to receive entirely.
Add a new abstraction Connection that wraps an nw_connection_t and knows how to read an entire request.
Use strnstr instead of null terminating and using strstr.

* TestWebKitAPI/Tests/WebKitCocoa/Download.mm:
(TEST):
* TestWebKitAPI/Tests/WebKitCocoa/NetworkProcess.mm:
(TEST):
* TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm:
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerTCPServer.h:
* TestWebKitAPI/cocoa/HTTPServer.h:
(TestWebKitAPI::Connection::receiveHTTPRequest):
(TestWebKitAPI::Connection::Connection):
* TestWebKitAPI/cocoa/HTTPServer.mm:
(TestWebKitAPI::HTTPServer::HTTPServer):
(TestWebKitAPI::dataFromString):
(TestWebKitAPI::vectorFromData):
(TestWebKitAPI::HTTPServer::respondToRequests):
(TestWebKitAPI::HTTPServer::request const):
(TestWebKitAPI::Connection::receiveHTTPRequest const):
(TestWebKitAPI::Connection::send const):
(TestWebKitAPI::Connection::terminate const):
(TestWebKitAPI::nullTerminatedRequest): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262018 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoUse @isUndefinedOrNull instead of abstract equality with null
shvaikalesh@gmail.com [Thu, 21 May 2020 18:37:50 +0000 (18:37 +0000)]
Use @isUndefinedOrNull instead of abstract equality with null
https://bugs.webkit.org/show_bug.cgi?id=210954

Reviewed by Yusuke Suzuki.

JSTests:

* test262/expectations.yaml: Mark 16 test cases as passing.

Source/JavaScriptCore:

This patch:

a) Replaces 2 `!== @undefined` comparisons in String.prototype.{replace,replaceAll}
with @isUndefinedOrNull() as per spec [1], aligning JSC with V8 and SpiderMonkey.

b) Replaces 3 `!= @undefined` and 7 `!= null` comparisons with @isUndefinedOrNull()
as only the latter is correct with [[IsHTMLDDA]] aka MasqueradesAsUndefined objects [2].

c) Removes @isDictionary() since it is unused, easy to inline and its name is quite
misleading: one might expect it to perform Structure::isDictionary().

[1]: https://tc39.es/ecma262/#sec-getmethod (step 3)
[2]: https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot

* builtins/ArrayConstructor.js:
* builtins/GlobalOperations.js:
(globalPrivate.isDictionary): Deleted.
* builtins/RegExpPrototype.js:
(Symbol.split): Unobservable as there is `=== null` check in @regExpExec.
* builtins/StringPrototype.js:
(match):
(replace):
(replaceAll):
(search):
(split):
* builtins/TypedArrayConstructor.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262017 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoASSERTION FAILED: m_wrapper on fast/events/scoped/editing-commands.html
cdumez@apple.com [Thu, 21 May 2020 18:03:36 +0000 (18:03 +0000)]
ASSERTION FAILED: m_wrapper on fast/events/scoped/editing-commands.html
https://bugs.webkit.org/show_bug.cgi?id=209862
<rdar://problem/61164607>

Reviewed by Darin Adler.

Make sure ScopedEventQueue keeps its event targets alive using a GCReachableRef<Node>
so that it keeps alive both the target and its JS wrapper.

No new tests, covered by existing test.

* dom/ScopedEventQueue.cpp:
(WebCore::ScopedEventQueue::enqueueEvent):
(WebCore::ScopedEventQueue::dispatchEvent const):
(WebCore::ScopedEventQueue::dispatchAllEvents):
* dom/ScopedEventQueue.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262016 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoSQLite database fails to close in SQLiteIDBBackingStore::databaseNameFromFile
sihui_liu@apple.com [Thu, 21 May 2020 18:02:57 +0000 (18:02 +0000)]
SQLite database fails to close in SQLiteIDBBackingStore::databaseNameFromFile
https://bugs.webkit.org/show_bug.cgi?id=212090

Reviewed by Darin Adler.

We should finish SQLite statement before closing database.

* Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:
(WebCore::IDBServer::SQLiteIDBBackingStore::databaseNameFromFile):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262015 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoAdd an option that exposes functions on the global object to turn on and off the...
sbarati@apple.com [Thu, 21 May 2020 17:44:13 +0000 (17:44 +0000)]
Add an option that exposes functions on the global object to turn on and off the sampling profiler and the super sampler
https://bugs.webkit.org/show_bug.cgi?id=212178

Reviewed by Yusuke Suzuki.

When profiling things like Speedometer inside the browser, it's important to
to only enable the super sampler and the sampling profiler around the code
that you want profiled. Otherwise, you will be profiling things that aren't
relevant to the benchmark score. This patch adds a new option, exposeProfilersOnGlobalObject,
which when true, will expose JS functions on the global object that allow
enabling/disabling the super sampler and the sampling profiler. This way,
we can change the Speedometer source code locally such that these profilers
are only sampling code accounted for in the benchmark score.

* bytecode/SuperSampler.cpp:
(JSC::initializeSuperSampler):
(JSC::enableSuperSampler):
(JSC::disableSuperSampler):
* bytecode/SuperSampler.h:
* jsc.cpp:
(jscmain):
* runtime/JSGlobalObject.cpp:
(JSC::enableSamplingProfiler):
(JSC::disableSamplingProfiler):
(JSC::enableSuperSampler):
(JSC::disableSuperSampler):
(JSC::JSGlobalObject::init):
* runtime/OptionsList.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262014 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[JSC] Fix 32bit JSBigInt with INT32_MAX < x <= UINT32_MAX
ysuzuki@apple.com [Thu, 21 May 2020 17:21:14 +0000 (17:21 +0000)]
[JSC] Fix 32bit JSBigInt with INT32_MAX < x <= UINT32_MAX
https://bugs.webkit.org/show_bug.cgi?id=212193

Reviewed by Mark Lam.

In 32bit architecture, we are creating one-length JSBigInt for INT32_MIN <= x <= INT32_MAX, and two-length JSBigInt otherwise.
This is wrong since one-length JSBigInt should cover from -UINT32_MAX <= x <= UINT32_MAX.

This patch fixes the bug and cleans up createFrom(VM&, int64_t). And it also adds JSBigInt::createFrom(VM&, uint64_t) in preparation for [1]
Currently, this path is not used while it was used previously because BigIntConstructor starts using JSBigInt::createFrom(VM&, double). But this
will be used in [1], and simply the existing implementation is wrong.

[1]: https://bugs.webkit.org/show_bug.cgi?id=190800

* runtime/JSBigInt.cpp:
(JSC::JSBigInt::createFromImpl):
(JSC::JSBigInt::createFrom):
* runtime/JSBigInt.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262012 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoLayoutTest compositing/video/video-poster.html is a flaky failure
jacob_uphoff@apple.com [Thu, 21 May 2020 17:03:27 +0000 (17:03 +0000)]
LayoutTest compositing/video/video-poster.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=168953

Unreviewed test gardening.

* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262011 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoREGRESSION (r261277): [ Mac iOS ] webrtc/datachannel/gather-candidates-networkprocess...
tsavell@apple.com [Thu, 21 May 2020 17:00:55 +0000 (17:00 +0000)]
REGRESSION (r261277): [ Mac iOS ] webrtc/datachannel/gather-candidates-networkprocess-crash.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=212218

Unreviewed test gardening.

* platform/ios/TestExpectations:
* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262010 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[GTK] webaudio/codec-tests/aac/vbr-128kbps-44khz.html is failing
dpino@igalia.com [Thu, 21 May 2020 16:50:02 +0000 (16:50 +0000)]
[GTK] webaudio/codec-tests/aac/vbr-128kbps-44khz.html is failing
https://bugs.webkit.org/show_bug.cgi?id=211770

Unreviewed gardening.

Test just needs to update audio baseline for target platform.

* platform/glib/TestExpectations:
* platform/gtk/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262009 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[ iOS & macOS ] media/track/track-cue-missing.html is a flaky failure
jacob_uphoff@apple.com [Thu, 21 May 2020 16:42:57 +0000 (16:42 +0000)]
[ iOS & macOS ] media/track/track-cue-missing.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=212219

Unreviewed test gardening.

* platform/ios-wk2/TestExpectations:
* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262008 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[ macOS ] REGRESSION: media/video-isplayingtoautomotiveheadunit.html is a flaky failure
jacob_uphoff@apple.com [Thu, 21 May 2020 16:22:09 +0000 (16:22 +0000)]
[ macOS ] REGRESSION: media/video-isplayingtoautomotiveheadunit.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=212215

Unreviewed test gardening.

* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262007 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoSome http/tests/in-app-browser-privacy/ tests are timing out or failing
katherine_cheney@apple.com [Thu, 21 May 2020 16:16:41 +0000 (16:16 +0000)]
Some http/tests/in-app-browser-privacy/ tests are timing out or failing
https://bugs.webkit.org/show_bug.cgi?id=212176
<rdar://problem/63452877>

Reviewed by Maciej Stachowiak.

These tests rely on a new network session load for each test resource.
When run in iterations, caching occurs, and the resource does not get
a new network session. This patch adds a random decoration value and
reloads each resource to ensure it is not cached.

* http/tests/in-app-browser-privacy/app-bound-domain-gets-app-bound-session.html:
* http/tests/in-app-browser-privacy/non-app-bound-domain-does-not-get-app-bound-session.html:
* http/tests/in-app-browser-privacy/non-app-bound-iframe-under-app-bound-domain-is-app-bound.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262006 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoAddress post review comments from Mitz after r262004.
cdumez@apple.com [Thu, 21 May 2020 16:12:41 +0000 (16:12 +0000)]
Address post review comments from Mitz after r262004.

* Shared/mac/AuxiliaryProcessMac.mm:
(WebKit::sandboxDataVaultParentDirectory):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262005 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[WK2] WebKit abandons compiled sandbox profiles
cdumez@apple.com [Thu, 21 May 2020 16:08:50 +0000 (16:08 +0000)]
[WK2] WebKit abandons compiled sandbox profiles
https://bugs.webkit.org/show_bug.cgi?id=212177
<rdar://problem/54613619>

Reviewed by Saam Barati.

WebKit generates new compiled sandbox profiles whenever sandbox profiles are updated or
whenever webkit directories change (which is super common for WebKitTestRunner). Previous
compiled sandbox profiles do not get deleted and therefore may accumulate.

To address the issue, we now save compiled sandbox profiles under _CS_DARWIN_USER_TEMP_DIR
instead of _CS_DARWIN_USER_CACHE_DIR. The system takes care of deleting the files under
_CS_DARWIN_USER_TEMP_DIR upon reboot or if they have not been accessed for 3 days.

* Shared/mac/AuxiliaryProcessMac.mm:
(WebKit::sandboxDataVaultParentDirectory):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262004 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoDispatch pending events only for current page
dougk@apple.com [Thu, 21 May 2020 16:04:12 +0000 (16:04 +0000)]
Dispatch pending events only for current page
https://bugs.webkit.org/show_bug.cgi?id=211975
<rdar://problem/58942759>

Reviewed by Chris Dumez.

Document::implicitClose() should not dispatch events globally. The EventSender class operates as a singleton pattern
for each event queue, so to add some means to restrict which documents are handling events, we can send the current
page pointer and only dispatch the event if the event is for the same page. Other events are simply re-enqueued
to be triggered at a later time.

* dom/Document.cpp:
(WebCore::Document::implicitClose):
* dom/EventSender.h:
(WebCore::EventSender::timerFired):
(WebCore::EventSender<T>::dispatchPendingEvents):
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::dispatchPendingLoadEvents):
* html/HTMLLinkElement.h:
* html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::dispatchPendingLoadEvents):
* html/HTMLStyleElement.h:
* loader/ImageLoader.cpp:
(WebCore::ImageLoader::dispatchPendingBeforeLoadEvents):
(WebCore::ImageLoader::dispatchPendingLoadEvents):
(WebCore::ImageLoader::dispatchPendingErrorEvents):
* loader/ImageLoader.h:
(WebCore::ImageLoader::document):
* xml/parser/XMLDocumentParser.cpp:
(WebCore::XMLDocumentParser::append):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262003 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoUnreviewed, fix the iOS 13.4 build after r261978
wenson_hsieh@apple.com [Thu, 21 May 2020 15:42:19 +0000 (15:42 +0000)]
Unreviewed, fix the iOS 13.4 build after r261978

Source/WebKit:

* Platform/spi/ios/UIKitSPI.h:

Only declare `_UIHoverEventRespondable` if HAVE(UI_HOVER_EVENT_RESPONDABLE) is defined.

* UIProcess/ios/WKMouseGestureRecognizer.mm:

If `_UIHoverEventRespondable` is not present, fall back to declaring internal methods on
`UIHoverGestureRecognizer`.

Source/WTF:

Add a `HAVE()` macro to guard usages of _UIHoverEventRespondable.

* wtf/PlatformHave.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262000 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[macOS] Scrolling synchronization part 2: Have the scrolling thread detect when the...
simon.fraser@apple.com [Thu, 21 May 2020 15:35:21 +0000 (15:35 +0000)]
[macOS] Scrolling synchronization part 2: Have the scrolling thread detect when the main thread is slow to respond to start a rendering update
https://bugs.webkit.org/show_bug.cgi?id=212175

Reviewed by Tim Horton.

The scrolling thread now detects when a main thread rendering update is taking too long, going into
desynchronized mode when that happens.

However, there's another state that needs to be handled, which is the main thread being busy and
taking too long to start the rendering update. The scrolling thread gets a "displayDidRefresh" ping
and expects that the main thread will get the same ping, and use it to start the rendering update,
but a busy main thread won't respond to this ping promptly.

Detect this with a short-duration (1ms) timer that fires on the scrolling thread; if the timer fires
we go into desynchronized mode until the next update. The timer is canceled if the scrolling thread
receives the willStartRenderingUpdate().

* page/scrolling/ThreadedScrollingTree.cpp:
(WebCore::ThreadedScrollingTree::waitForRenderingUpdateCompletionOrTimeout):
(WebCore::ThreadedScrollingTree::scheduleDelayedRenderingUpdateDetectionTimer):
(WebCore::ThreadedScrollingTree::delayedRenderingUpdateDetectionTimerFired):
(WebCore::ThreadedScrollingTree::displayDidRefreshOnScrollingThread):
* page/scrolling/ThreadedScrollingTree.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261999 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[ConnectionUnix] Set MSG_NOSIGNAL to avoid SIGPIPE
yoshiaki.jitsukawa@sony.com [Thu, 21 May 2020 15:27:19 +0000 (15:27 +0000)]
[ConnectionUnix] Set MSG_NOSIGNAL to avoid SIGPIPE
https://bugs.webkit.org/show_bug.cgi?id=211719

Reviewed by Don Olmstead.

Set MSG_NOSIGNAL to sendmsg()/resvmsg() in order to avoid
SIGPIPE when the other process disappears.
* Platform/IPC/unix/ConnectionUnix.cpp:
(IPC::readBytesFromSocket):
(IPC::Connection::sendOutputMessage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261998 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoREGRESSION (r253926): webgl/2.0.0/conformance2/buffers/get-buffer-sub-data.html is...
commit-queue@webkit.org [Thu, 21 May 2020 15:26:46 +0000 (15:26 +0000)]
REGRESSION (r253926): webgl/2.0.0/conformance2/buffers/get-buffer-sub-data.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=205667

Patch by Kenneth Russell <kbr@chromium.org> on 2020-05-21
Reviewed by Alexey Proskuryakov.

Remove get-buffer-sub-data.html suppression since it's now passing
reliably.

* TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261997 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoSource/WebCore:
svillar@igalia.com [Thu, 21 May 2020 14:45:18 +0000 (14:45 +0000)]
Source/WebCore:
[css-grid] [css-flex] Width of table as grid/flex item is infinite when the sum of columns' width exceed 100%
https://bugs.webkit.org/show_bug.cgi?id=191365

Reviewed by Manuel Rego Casasnovas.

Automatic table layout algorithm generates infinite width tables
(tableMaxWidth to be more exact) when the sum of the columns percentages
exceed the 100% value and there is at least one non-percentage based
column with positive width as in those cases it's impossible to fulfill
the table constrains. That should not be done in the case of the table
being a flex or a grid item because they both define new formatting
contexts.

Based on Blink's crrev.com/1095220 by <mstensho@chromium.org>

* rendering/AutoTableLayout.cpp:
(WebCore::shouldScaleColumnsForParent): return false when the table is
either a grid or a flex item.

LayoutTests:
[css-grid] width of table in a grid is incorrect when table cell has width:100%
https://bugs.webkit.org/show_bug.cgi?id=191365

Reviewed by Manuel Rego Casasnovas.

* TestExpectations: Unskipped 3 tests that are now passing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261996 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[WPE] Gardening, update WAV baseline for webaudio test
dpino@igalia.com [Thu, 21 May 2020 14:41:12 +0000 (14:41 +0000)]
[WPE] Gardening, update WAV baseline for webaudio test
https://bugs.webkit.org/show_bug.cgi?id=212212

Unreviewed gardening.

Baseline was updated on r261878 and since then the test started
failing. The test wasn't failing before though. In conclusion, it
seems the update from r261878 wasn't needed for this test.

* platform/wpe/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261995 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[ macOS debug ] REGRESSION: fast/layoutformattingcontext/table-basic-row-baseline...
zalan@apple.com [Thu, 21 May 2020 14:28:06 +0000 (14:28 +0000)]
[ macOS debug ] REGRESSION: fast/layoutformattingcontext/table-basic-row-baseline-with-nested-table.html is a flaky crash
https://bugs.webkit.org/show_bug.cgi?id=212139
<rdar://problem/63447683>

Reviewed by Antti Koivisto.

Source/WebCore:

Uninitialized row baseline value caused unexpected cell height in nested tables.

* layout/tableformatting/TableFormattingContext.cpp:
(WebCore::Layout::TableFormattingContext::setUsedGeometryForRows):
* layout/tableformatting/TableGrid.h:

LayoutTests:

* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261994 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoFurther non-unified build fixes
pmatos@igalia.com [Thu, 21 May 2020 13:58:04 +0000 (13:58 +0000)]
Further non-unified build fixes
https://bugs.webkit.org/show_bug.cgi?id=212195

Reviewed by Adrian Perez de Castro.

* bytecode/InstanceOfStatus.cpp:
* heap/MarkedSpace.cpp:
* runtime/ObjectInitializationScope.cpp:
* runtime/ThrowScope.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261993 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoUnreviewed WPE gardening. Enabling a few subdirectories under fast/,
zandobersek@gmail.com [Thu, 21 May 2020 13:19:31 +0000 (13:19 +0000)]
Unreviewed WPE gardening. Enabling a few subdirectories under fast/,
providing the necessary baselines as well as test expectations.

* platform/wpe/TestExpectations:
* platform/wpe/fast/attachment: 8 baselines added.
* platform/wpe/fast/fast-mobile-scrolling: 2 baselines added.
* platform/wpe/fast/scrolling: 2 baselines added.
* platform/wpe/fast/spatial-navigation: 1 baseline added.
* platform/wpe/fast/text: 211 baselines added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261992 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[LFC][TFC] Collapse in-between cell borders
zalan@apple.com [Thu, 21 May 2020 12:33:00 +0000 (12:33 +0000)]
[LFC][TFC] Collapse in-between cell borders
https://bugs.webkit.org/show_bug.cgi?id=212183

Reviewed by Antti Koivisto.

Source/WebCore:

This patch expands border collapsing to in-between cell borders.

Test: fast/layoutformattingcontext/table-simple-border-collapse3.html

* layout/tableformatting/TableFormattingContext.cpp:
(WebCore::Layout::TableFormattingContext::layoutCell):
* layout/tableformatting/TableFormattingContext.h:
* layout/tableformatting/TableFormattingContextGeometry.cpp:
(WebCore::Layout::TableFormattingContext::Geometry::computedCellBorder const):
(WebCore::Layout::TableFormattingContext::Geometry::intrinsicWidthConstraintsForCell):

LayoutTests:

* fast/layoutformattingcontext/table-simple-border-collapse3-expected.html: Added.
* fast/layoutformattingcontext/table-simple-border-collapse3.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261991 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoEXT_color_buffer_half_float not exposed on iOS
commit-queue@webkit.org [Thu, 21 May 2020 10:50:54 +0000 (10:50 +0000)]
EXT_color_buffer_half_float not exposed on iOS
https://bugs.webkit.org/show_bug.cgi?id=212181

Patch by Kenneth Russell <kbr@chromium.org> on 2020-05-21
Reviewed by Dean Jackson.

Remove OES_texture_half_float requirement for advertising
EXT_color_buffer_half_float in ANGLE. This is implicit in ES 3.0.

* src/libANGLE/renderer/gl/formatutilsgl.cpp:
(rx::nativegl::BuildInternalFormatInfoMap):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261990 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[WPE] Gardening, remove tests passing after 261987
dpino@igalia.com [Thu, 21 May 2020 10:38:47 +0000 (10:38 +0000)]
[WPE] Gardening, remove tests passing after 261987
https://bugs.webkit.org/show_bug.cgi?id=212196

Unreviewed gardening.

* platform/wpe/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261989 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[GTK] Gardening, remove tests passing after r261986
dpino@igalia.com [Thu, 21 May 2020 10:08:57 +0000 (10:08 +0000)]
[GTK] Gardening, remove tests passing after r261986
https://bugs.webkit.org/show_bug.cgi?id=212194

Unreviewed gardening.

* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261988 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoArray.prototype.concat is incorrect with objects whose "length" exceeds 2 ** 32 - 1
shvaikalesh@gmail.com [Thu, 21 May 2020 08:41:21 +0000 (08:41 +0000)]
Array.prototype.concat is incorrect with objects whose "length" exceeds 2 ** 32 - 1
https://bugs.webkit.org/show_bug.cgi?id=212167

Reviewed by Saam Barati.

JSTests:

* stress/array-prototype-concat-of-long-spliced-arrays.js:
* stress/array-prototype-concat-of-long-spliced-arrays2.js:
* test262/expectations.yaml: Mark 4 test cases as passing.

Source/JavaScriptCore:

This patch increases "length" limit of Array.prototype.concat result to @MAX_SAFE_INTEGER
and changes thrown error to TypeError, aligning JSC with the spec [1], V8, and SpiderMonkey.

Also, adds missing @MAX_SAFE_INTEGER overflow check in Array.from [2] (we implement similar
checks in other methods). SunSpider and microbenchmarks/concat-append-one.js are both neutral.

[1]: https://tc39.es/ecma262/#sec-array.prototype.concat (steps 5.c.iii, 5.d.ii)
[2]: https://tc39.es/ecma262/#sec-array.from (step 5.e.i)

* builtins/ArrayConstructor.js:
(from):
* builtins/ArrayPrototype.js:
(globalPrivate.concatSlowPath):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261987 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[GStreamer][GTK][WPE] Expose and honor the media content types requiring hardware...
eocanha@igalia.com [Thu, 21 May 2020 07:47:05 +0000 (07:47 +0000)]
[GStreamer][GTK][WPE] Expose and honor the media content types requiring hardware support setting
https://bugs.webkit.org/show_bug.cgi?id=211950

Reviewed by Adrian Perez de Castro.

Source/WebCore:

Provide the needed information about media content types requiring hardware support
when asking the MediaPlayer about what types are supported. This was already being done
from HTMLMediaElement for player selection, but not in MediaSource nor in
MediaSource::addSourceBuffer() when the webpage used the MSE API to check type support.
In order to ask for the mediaContentTypesRequiringHardwareSupport setting we need a
reference to the current Document in all the places where we need to check type support.

* Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::addSourceBuffer): Provide hardware content types extra info.
(WebCore::MediaSource::isTypeSupported): Get hardware content types extra info from
ScriptExecutionContext and provide it to a new refactored private version of
isTypeSupported() which can also be reused from addSourceBuffer().
* Modules/mediasource/MediaSource.h: Changed isTypeSupported() prototype to take
ScriptExecutionContext and added a new overloaded version of the method.
* Modules/mediasource/MediaSource.idl: isTypeSupported() now provides a reference to
ScriptExecutionContext. It's the only way to access the required document settings from a
static method.
* platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::isContentTypeSupported const): Factor ContentType
discrimination logic common to MediaPlayerPrivateGStreamer and
MediaPlayerPrivateGStreamerMSE.
* platform/graphics/gstreamer/GStreamerRegistryScanner.h: Added new method.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::supportsType): Provide hardware content types extra
info when asking for type support.
* platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp:
(WebCore::MediaPlayerPrivateGStreamerMSE::supportsType): Ditto.

Source/WebKit:

Expose mediaContentTypesRequiringHardwareSupport as a setting on WPE and WebKitGTK.

* UIProcess/API/glib/WebKitSettings.cpp:
(_WebKitSettingsPrivate::_WebKitSettingsPrivate):
(webKitSettingsSetProperty):
(webKitSettingsGetProperty):
(webkit_settings_class_init):
(webkit_settings_get_media_content_types_requiring_hardware_support):
(webkit_settings_set_media_content_types_requiring_hardware_support):
* UIProcess/API/gtk/WebKitSettings.h:
* UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt:
* UIProcess/API/gtk/docs/webkit2gtk-docs.sgml:
* UIProcess/API/wpe/WebKitSettings.h:
* UIProcess/API/wpe/docs/wpe-1.0-sections.txt:

Tools:

Exercise the new mediaContentTypesRequiringHardwareSupport setting.

* TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
(testWebKitSettings):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261986 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[macOS] Scrolling synchronization part 1: Have the scrolling thread wait half a frame...
simon.fraser@apple.com [Thu, 21 May 2020 06:47:24 +0000 (06:47 +0000)]
[macOS] Scrolling synchronization part 1: Have the scrolling thread wait half a frame for the main thread to complete the rendering update
https://bugs.webkit.org/show_bug.cgi?id=212168

Reviewed by Tim Horton.

Source/WebCore:

Currently the scrolling thread is a free-running thread that moves layers around in response
to wheel events, and asynchronously posts data about scrolled layers back to the main thread.
That results in an almost guaranteed lack of synchronization between the displayed layer
positions, and the web-exposed values for scroll position (element.scrollTop, window.pageYOffset etc).
This is a frequent source of stuttering or jumpy web content when scrolling.

The first step to fixing this is to synchronize the scrolling thread layer positions
and the main thread state for the case where the main thread is responsive enough to
render once per frame. This is achieved as follow:
    - When the main thread is starting a rendering update, Page::updateRendering() informs
      the scrolling tree via ScrollingCoordinatorMac::willStartRenderingUpdate(). This
      atomically waits for the scrolling thread to take the m_treeMutex (via a BinarySemaphore)
      and starts waiting on the m_stateCondition Condition. Now the main thread pulls the
      state of the scrolling tree via synchronizeStateFromScrollingTree() and uses it for
      the rendering update.
    - If the rendering update finishes within half a frame (8ms), then m_stateCondition
      is released, and the scrolling thread assumes that the main thread is going to
      commit layers rapidly enough to preserve 60fps scrolling.
    - If the rendering update takes too long, m_stateCondition times out, and the scrolling
      thread applies layer positions, triggering a CA commit on that thread.

We no longer apply layer positions directly when handling wheel events.

synchronizeStateFromScrollingTree() has to only pull state from nodes that have moved on the scrolling thread,
so track that via ScrollingTreeScrollingNode::scrolledSinceLastCommit() and adjust the visitor function to
make it available during scrolling tree traversal.

* page/Page.cpp:
(WebCore::Page::updateRendering):
(WebCore::Page::finalizeRenderingUpdate):
* page/scrolling/AsyncScrollingCoordinator.cpp:
(WebCore::AsyncScrollingCoordinator::synchronizeStateFromScrollingTree):
* page/scrolling/AsyncScrollingCoordinator.h:
* page/scrolling/ScrollingCoordinator.h:
(WebCore::ScrollingCoordinator::willStartRenderingUpdate):
(WebCore::ScrollingCoordinator::didCompleteRenderingUpdate):
(WebCore::ScrollingCoordinator::synchronizeStateFromScrollingTree): Deleted.
* page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::handleWheelEvent):
(WebCore::ScrollingTree::traverseScrollingTreeRecursive):
(WebCore::ScrollingTree::commitTreeState):
(WebCore::ScrollingTree::updateTreeFromStateNodeRecursive):
(WebCore::ScrollingTree::applyLayerPositionsInternal):
(WebCore::ScrollingTree::nominalFramesPerSecond):
* page/scrolling/ScrollingTree.h:
* page/scrolling/ScrollingTreeNode.h:
(WebCore::ScrollingTreeNode::didCompleteCommitForNode):
* page/scrolling/ScrollingTreeScrollingNode.cpp:
(WebCore::ScrollingTreeScrollingNode::didCompleteCommitForNode):
(WebCore::ScrollingTreeScrollingNode::currentScrollPositionChanged):
* page/scrolling/ScrollingTreeScrollingNode.h:
* page/scrolling/ThreadedScrollingTree.cpp:
(WebCore::ThreadedScrollingTree::willStartRenderingUpdate):
(WebCore::ThreadedScrollingTree::maxAllowableRenderingUpdateDurationForSynchronization):
(WebCore::ThreadedScrollingTree::waitForRenderingUpdateCompletionOrTimeout):
(WebCore::ThreadedScrollingTree::didCompleteRenderingUpdate):
(WebCore::ThreadedScrollingTree::displayDidRefreshOnScrollingThread):
* page/scrolling/ThreadedScrollingTree.h:
(WebCore::ThreadedScrollingTree::treeMutex):
* page/scrolling/mac/ScrollingCoordinatorMac.h:
* page/scrolling/mac/ScrollingCoordinatorMac.mm:
(WebCore::ScrollingCoordinatorMac::willStartRenderingUpdate):
(WebCore::ScrollingCoordinatorMac::didCompleteRenderingUpdate):

Source/WTF:

Some new trace points for scrolling thread activity.

* wtf/SystemTracing.h:

Tools:

Some new trace points for scrolling thread activity.

* Tracing/SystemTracePoints.plist:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261985 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoREGRESSION (iOS 13.4.1): SpeechSynthesisUtterance.onend event won't fire on cancel().
cfleizach@apple.com [Thu, 21 May 2020 05:46:51 +0000 (05:46 +0000)]
REGRESSION (iOS 13.4.1): SpeechSynthesisUtterance.onend event won't fire on cancel().
https://bugs.webkit.org/show_bug.cgi?id=211776
<rdar://problem/63130249>

Reviewed by Per Arne Vollan.

With the move to having speech synthesis happen in the client, the cancel case hits a snag.
We cancel the speech job and clear out the current utterance. By the time the cancel callback comes back,
the current utterance is gone and nothing happens.

The fix is to process the speechError event immediately and not wait on the speech synthesizer -- which seems sane,
since we're just cancelling a speech job.

* Modules/speech/SpeechSynthesis.cpp:
(WebCore::SpeechSynthesis::cancel):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261984 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[WinCairo] Unreviewed test gardening
Hironori.Fujii@sony.com [Thu, 21 May 2020 04:16:37 +0000 (04:16 +0000)]
[WinCairo] Unreviewed test gardening

* platform/wincairo/TestExpectations:
* platform/wincairo/css1/text_properties/text_indent-expected.txt:
* platform/wincairo/css2.1/20110323/margin-applies-to-006-expected.txt:
* platform/wincairo/css2.1/t1601-c547-indent-01-d-expected.txt:
* platform/wincairo/editing/selection/mixed-editability-10-expected.txt:
* platform/wincairo/fast/css/font-weight-1-expected.txt:
* platform/wincairo/fast/text/atsui-spacing-features-expected.txt:
* platform/wincairo/fast/text/crash-complex-text-surrogate-expected.txt:
* platform/wincairo/fast/text/hyphenate-limit-lines-expected.txt:
* platform/wincairo/fast/text/international/hindi-whitespace-expected.txt:
* platform/wincairo/fast/text/midword-break-before-surrogate-pair-2-expected.txt:
* platform/wincairo/fast/text/whitespace/pre-break-word-expected.txt:
* platform/wincairo/fast/text/word-break-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261983 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[Win] Unreviewed test gardening.
zalan@apple.com [Thu, 21 May 2020 02:54:03 +0000 (02:54 +0000)]
[Win] Unreviewed test gardening.

* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261982 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoDictation context should be an object identifier, not a type-punned pointer
darin@apple.com [Thu, 21 May 2020 01:59:23 +0000 (01:59 +0000)]
Dictation context should be an object identifier, not a type-punned pointer
https://bugs.webkit.org/show_bug.cgi?id=212174

Reviewed by Anders Carlsson.

Source/WebCore:

* Headers.cmake: Added DictationContext.h.
* Sources.txt: Removed DictationAlternative.cpp.
* WebCore.xcodeproj/project.pbxproj: Added DictationContext.h, removed DictationAlternative.cpp.

* dom/DocumentMarker.h: Use DictationContext instead of uint64_t.
* editing/AlternativeTextController.cpp:
(WebCore::AlternativeTextController::timerFired): Ditto.
* editing/AlternativeTextController.h: Ditto.

* editing/DictationAlternative.h: Use DictationContext instead of uint64_t, but also
use CharacterRange rather than two "unsigned" values. Also convert into a simple
struct without constructors; don't really need those.

* editing/DictationAlternative.cpp: Removed.

* editing/DictationCommand.cpp:
(WebCore::DictationCommand::collectDictationAlternativesInRange): Updated for
changes to DictationAlternative.

* editing/DictationContext.h: Added.

* editing/Editor.h: Forward declare DictationAlternative rather than including
its header.

* editing/cocoa/AlternativeTextContextController.h: Use a pair of maps to bind NSTextAlternatives
objects to object identifiers. Remove unnecessary explicit constructor and destructor. Also removed
unnecessary use of WTF_MAKE_FAST_ALLOCATED, since this is only used as a data member of another
class. Removed unused invalidContext constant.
* editing/cocoa/AlternativeTextContextController.mm: Removed the unneeded includes.
This file treats NSTextAlternatives as an opaque Objective-C type and so doesn't need
any details of that class.
(WebCore::AlternativeTextContextController::addAlternatives): Changed to return a
DictationContext and use two maps, using HashMap::ensure to avoid double hashing.
(WebCore::AlternativeTextContextController::alternativesForContext): Added a null check.
(WebCore::AlternativeTextContextController::removeAlternativesForContext): Ditto. Also
updated to remove from both maps.
(WebCore::AlternativeTextContextController::clear): Clear both maps.

* editing/cocoa/AlternativeTextUIController.h: Since this header is used only from Objective-C,
removed use of OBJC_CLASS. Put showAlternatives inside a macOS-specific block. Use DictationContext
instead of uint64_t.
* editing/cocoa/AlternativeTextUIController.mm:
(WebCore::AlternativeTextUIController::addAlternatives): Use DictationContext instead of uint64_t.
(WebCore::AlternativeTextUIController::alternativesForContext): Ditto.
(WebCore::AlternativeTextUIController::showAlternatives): Ditto.
(WebCore::AlternativeTextUIController::handleAcceptedAlternative): Ditto.
(WebCore::AlternativeTextUIController::removeAlternatives): Ditto.

* page/AlternativeTextClient.h: Use DictationContext instead of uint64_t.

Source/WebKit:

* Scripts/webkit/messages.py: Added DictationContext to the list of types that are
not C++ classes.

* Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<DictationAlternative>::encode): Updated for change to
DictationAlternative structure.
(IPC::ArgumentCoder<DictationAlternative>::decode): Ditto.

* UIProcess/Cocoa/PageClientImplCocoa.h: Use DictationContext instead of uint64_t.
* UIProcess/Cocoa/PageClientImplCocoa.mm:
(WebKit::PageClientImplCocoa::addDictationAlternatives): Ditto.
(WebKit::PageClientImplCocoa::removeDictationAlternatives): Ditto.
(WebKit::PageClientImplCocoa::dictationAlternatives): Ditto.
* UIProcess/Cocoa/WebPageProxyCocoa.mm:
(WebKit::WebPageProxy::insertDictatedTextAsync): Ditto.
* UIProcess/PageClient.h: Ditto.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::showDictationAlternativeUI): Ditto.
(WebKit::WebPageProxy::removeDictationAlternatives): Ditto.
(WebKit::WebPageProxy::dictationAlternatives): Ditto.
* UIProcess/WebPageProxy.h: Ditto.
* UIProcess/WebPageProxy.messages.in: Ditto.
* UIProcess/ios/PageClientImplIOS.h: Ditto.
* UIProcess/ios/PageClientImplIOS.mm:
(WebKit::PageClientImpl::showDictationAlternativeUI): Ditto.
* UIProcess/mac/PageClientImplMac.h: Ditto.
* UIProcess/mac/PageClientImplMac.mm:
(WebKit::PageClientImpl::showDictationAlternativeUI): Ditto.

* UIProcess/mac/WebPageProxyMac.mm: Removed unneeded include of
DictationAlternative.h.

* WebProcess/WebCoreSupport/WebAlternativeTextClient.h: Use DictationContext
instead of uint64_t. Also marked class final and made everything private.
* WebProcess/WebCoreSupport/mac/WebAlternativeTextClient.cpp:
(WebKit::WebAlternativeTextClient::removeDictationAlternatives): Ditto.
(WebKit::WebAlternativeTextClient::showDictationAlternativeUI): Ditto.
(WebKit::WebAlternativeTextClient::dictationAlternatives): Ditto.

Source/WebKitLegacy/mac:

* WebCoreSupport/WebAlternativeTextClient.h: Use DictationContext instead of uint64_t.
* WebCoreSupport/WebAlternativeTextClient.mm:
(WebAlternativeTextClient::removeDictationAlternatives): Ditto.
(WebAlternativeTextClient::showDictationAlternativeUI): Ditto.
(WebAlternativeTextClient::dictationAlternatives): Ditto.

* WebView/WebHTMLView.mm: Added include of DictationAlternative.h, now needed because
it's forward declared in Editor.h.
* WebView/WebView.mm: Ditto.
(-[WebView _getWebCoreDictationAlternatives:fromTextAlternatives:]): Updated for change
to DictationAlternative.
(-[WebView _showDictationAlternativeUI:forDictationContext:]): Use DictationContext
instead of uint64_t.
(-[WebView _removeDictationAlternatives:]): Ditto.
(-[WebView _dictationAlternatives:]): Ditto.
* WebView/WebViewInternal.h: Updated for the above.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261981 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[LFC][TFC] Preferred width computation should take border collapsing into account
zalan@apple.com [Thu, 21 May 2020 01:58:33 +0000 (01:58 +0000)]
[LFC][TFC] Preferred width computation should take border collapsing into account
https://bugs.webkit.org/show_bug.cgi?id=212141

Reviewed by Antti Koivisto.

Source/WebCore:

Test: fast/layoutformattingcontext/table-simple-border-collapse2.html

* layout/tableformatting/TableFormattingContext.cpp:
(WebCore::Layout::TableFormattingContext::computedPreferredWidthForColumns):
* layout/tableformatting/TableFormattingContext.h:
(WebCore::Layout::TableFormattingContext::Geometry::Geometry):
* layout/tableformatting/TableFormattingContextGeometry.cpp:
(WebCore::Layout::TableFormattingContext::Geometry::intrinsicWidthConstraintsForCell):

LayoutTests:

* fast/layoutformattingcontext/table-simple-border-collapse2-expected.html: Added.
* fast/layoutformattingcontext/table-simple-border-collapse2.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261980 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoRepaint issues when the login field collapses on music.apple.com
zalan@apple.com [Thu, 21 May 2020 01:44:12 +0000 (01:44 +0000)]
Repaint issues when the login field collapses on music.apple.com
https://bugs.webkit.org/show_bug.cgi?id=212101
<rdar://problem/62874369>

Reviewed by Simon Fraser.

Source/WebCore:

RenderWidgets (e.g iframe) are painted on integral pixel boundaries. When we issue the repaints on such renderers, we need to
make sure that the repaint rectangles are also snapped to integral pixel values.
Currently trunk only covers the case when the renderer itself is positioned on a subpixel position (e.g when the containing block's content box has a non-integral position value).
This patch ensures that we repaint the RenderWidgets properly when a non-direct ancestor puts the renderer on a subpixel position.

Test: fast/repaint/iframe-on-subpixel-position.html

* page/FrameView.h:
* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeVisibleRectInContainer const):
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::setContentsNeedDisplay):
(WebCore::RenderLayerBacking::setContentsNeedDisplayInRect):
* rendering/RenderObject.h:
* testing/Internals.cpp:
(WebCore::Internals::enableSubframeRepaintTracking): add subframe repaint tracking
(WebCore::Internals::disableSubframeRepaintTracking):
* testing/Internals.h:
* testing/Internals.idl:

LayoutTests:

* fast/repaint/iframe-on-subpixel-position-expected.txt: Added.
* fast/repaint/iframe-on-subpixel-position.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261979 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoWKMouseGestureRecognizer should be implemented without using UIKit internals
timothy_horton@apple.com [Thu, 21 May 2020 01:19:54 +0000 (01:19 +0000)]
WKMouseGestureRecognizer should be implemented without using UIKit internals
https://bugs.webkit.org/show_bug.cgi?id=212173
<rdar://problem/61163726>

Reviewed by Wenson Hsieh.

Source/WebKit:

* Platform/spi/ios/UIKitSPI.h:
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView gestureRecognizer:shouldReceiveTouch:]):
* UIProcess/ios/WKMouseGestureRecognizer.h:
* UIProcess/ios/WKMouseGestureRecognizer.mm:
(-[WKMouseGestureRecognizer _hoverEntered:withEvent:]):
(-[WKMouseGestureRecognizer initWithTarget:action:]): Deleted.
(-[WKMouseGestureRecognizer setView:]): Deleted.
(-[WKMouseGestureRecognizer _wantsHoverEvents]): Deleted.
(-[WKMouseGestureRecognizer canPreventGestureRecognizer:]): Deleted.
(-[WKMouseGestureRecognizer canBePreventedByGestureRecognizer:]): Deleted.
Reimplement WKMouseGestureRecognizer as a UIHoverGestureRecognizer subclass,
so we can decouple ourselves a bit from UIKit internals.

Source/WTF:

* wtf/PlatformHave.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261978 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[iOS] Fix message filter sandbox violation
pvollan@apple.com [Thu, 21 May 2020 00:52:35 +0000 (00:52 +0000)]
[iOS] Fix message filter sandbox violation
https://bugs.webkit.org/show_bug.cgi?id=212100
<rdar://problem/63407155>

Reviewed by Brent Fulgham.

A message needs to be added to the message filter in the WebContent sandbox on iOS.

* Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261977 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoOES_texture_half_float_linear unavailable on WebGL 1.0 on iOS with ANGLE
dino@apple.com [Thu, 21 May 2020 00:35:02 +0000 (00:35 +0000)]
OES_texture_half_float_linear unavailable on WebGL 1.0 on iOS with ANGLE
https://bugs.webkit.org/show_bug.cgi?id=212170

Patch by Kenneth Russell <kbr@chromium.org> on 2020-05-20
Reviewed by Dean Jackson.

Source/ThirdParty/ANGLE:

Now that FP16 luminance/alpha texture formats are correctly
emulated on ES 3.0, advertise them as filterable.

* src/libANGLE/renderer/gl/formatutilsgl.cpp:
(rx::nativegl::BuildInternalFormatInfoMap):

LayoutTests:

Remove failure expectation for oes-texture-half-float-linear.html
in the WebGL 2.0 conformance suite.

* platform/ios-simulator/webgl/2.0.0/conformance/extensions/oes-texture-half-float-linear-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261976 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoOES_texture_float / OES_texture_half_float unavailable in WebGL 1.0 on iOS Simulator...
commit-queue@webkit.org [Thu, 21 May 2020 00:16:47 +0000 (00:16 +0000)]
OES_texture_float / OES_texture_half_float unavailable in WebGL 1.0 on iOS Simulator with ANGLE
https://bugs.webkit.org/show_bug.cgi?id=210524

Patch by Kenneth Russell <kbr@chromium.org> on 2020-05-20
Reviewed by Dean Jackson.

Source/ThirdParty/ANGLE:

Emulate LUMINANCE, ALPHA and LUMINANCE_ALPHA floating-point
textures on top of RED / RG textures when the underlying
OES_texture_float/half_float OpenGL ES extensions are unavailable.

This makes the conformance/extensions/oes-texture{-half}-float*
tests run and pass in the iOS Simulator.

This change is being reviewed upstream in the ANGLE repository and
is only being uploaded here for testing purposes. It will be
rolled in with the next ANGLE update.

* src/libANGLE/renderer/gl/TextureGL.cpp:
(rx::TextureGL::setSwizzle):
* src/libANGLE/renderer/gl/formatutilsgl.cpp:
(rx::nativegl::BuildInternalFormatInfoMap):
(rx::nativegl::IsLUMAFormat):
(rx::nativegl::EmulateLUMAFormat):
(rx::nativegl::EmulateLUMA):
(rx::nativegl::GetNativeInternalFormat):
(rx::nativegl::GetNativeFormat):
(rx::nativegl::GetNativeType):
(rx::nativegl::GetTexImageFormat):
(rx::nativegl::GetTexSubImageFormat):

LayoutTests:

Remove expected failure for
webgl/2.0.0/conformance/extensions/oes-texture-float-expected.txt
on ios-simulator. Enable
fast/canvas/webgl/oes-texture-half-float-uint16.html on iOS.

* platform/ios-simulator/webgl/2.0.0/conformance/extensions/oes-texture-float-expected.txt: Removed.
* platform/ios/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261975 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoComputed min-width/height for auto depends on box
obrufau@igalia.com [Thu, 21 May 2020 00:12:45 +0000 (00:12 +0000)]
Computed min-width/height for auto depends on box
https://bugs.webkit.org/show_bug.cgi?id=209651

Reviewed by Manuel Rego Casasnovas.

LayoutTests/imported/w3c:

Update test expectations.

* web-platform-tests/css/css-flexbox/getcomputedstyle/flexbox_computedstyle_min-auto-size-expected.txt:
* web-platform-tests/css/css-grid/grid-items/grid-item-min-auto-size-001-expected.txt:

Source/WebCore:

Resolved value of min-width and min-height for auto min sizing of flex
and grid items may be 'auto'. We based this on the computed style of the
shadow including parent. Instead we should rely on whether the element
will actually be a rendered flex/grid item.

The difference matters e.g. when the parent has 'display: contents' and
thus is not a flex nor grid container, but the element can still be a
flex or grid item, depending on the grand-parent.

This patch is based on https://crrev.com/540901 from Chromium.

Tests: imported/w3c/web-platform-tests/css/css-flexbox/getcomputedstyle/flexbox_computedstyle_min-auto-size.html
       imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-min-auto-size-001.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::isFlexOrGridItem):
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261974 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago(r261946) [ iOS ] fast/frames/didBecomeCurrentDocumentInFrame-crash.html is failing
cdumez@apple.com [Thu, 21 May 2020 00:02:31 +0000 (00:02 +0000)]
(r261946) [ iOS ] fast/frames/didBecomeCurrentDocumentInFrame-crash.html is failing
https://bugs.webkit.org/show_bug.cgi?id=212179
<rdar://problem/63469486>

Unreviewed, add testRunner.dumpAsText() call in the test to get nicer expected
result.

* fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt:
* fast/frames/didBecomeCurrentDocumentInFrame-crash.html:
* platform/win/fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261973 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[iOS] Layout tests in editing/pasteboard sporadically crash
wenson_hsieh@apple.com [Wed, 20 May 2020 23:42:20 +0000 (23:42 +0000)]
[iOS] Layout tests in editing/pasteboard sporadically crash
https://bugs.webkit.org/show_bug.cgi?id=212169
<rdar://problem/63361966>

Reviewed by Tim Horton.

Add some missing entitlements.

* TestWebKitAPI/Configurations/TestWebKitAPI-iOS.entitlements:
* WebKitTestRunner/Configurations/WebKitTestRunnerApp-iOS.entitlements:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261972 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoDisable support for BeforeLoadEvent
ryanhaddad@apple.com [Wed, 20 May 2020 23:38:32 +0000 (23:38 +0000)]
Disable support for BeforeLoadEvent
https://bugs.webkit.org/show_bug.cgi?id=212140

Unreviewed test gardening.

Update baselines for Windows.

* platform/win/fast/events/event-attribute-expected.txt:
* platform/win/fast/frames/didBecomeCurrentDocumentInFrame-crash-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261971 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks ago[macOS] Tests in fast/events and fast/forms are no longer crashing
mmaxfield@apple.com [Wed, 20 May 2020 23:34:50 +0000 (23:34 +0000)]
[macOS] Tests in fast/events and fast/forms are no longer crashing
https://bugs.webkit.org/show_bug.cgi?id=212164
<rdar://problem/33522420>

Unreviewed.

* platform/mac-wk1/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261970 268f45cc-cd09-0410-ab3c-d52691b4dbfc

7 weeks agoplatform/mac/media/media-source/media-source-change-source.html is a flaky failure
ryanhaddad@apple.com [Wed, 20 May 2020 23:30:34 +0000 (23:30 +0000)]
platform/mac/media/media-source/media-source-change-source.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=212091

Unreviewed test gardening.

* platform/mac-wk2/TestExpectations: Mark test as flaky.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261969 268f45cc-cd09-0410-ab3c-d52691b4dbfc