The new <attachment> stuff added in <https://trac.webkit.org/changeset/180601> does not seem to work properly on Windows.
The following layout test is failing on Windows
The Failing looks like the following:
@@ -1,14 +1,10 @@
+CONSOLE MESSAGE: line 1: ReferenceError: Can't find variable: HTMLAttachmentElement
This tests that attachments have an instance type of HTMLElement.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS attachment is an instance of HTMLAttachmentElement
-PASS attachment.file is null
-Setting attachment.file to a file created from resources/test-file.txt
-PASS attachment.file is file
-PASS attachment.file.name is 'test-file.txt'
-PASS successfullyParsed is true
+FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined).
Failing test skipped on Windows in r180629. <https://trac.webkit.org/r180629>
Committed r180990: <http://trac.webkit.org/changeset/180990>
This needed two things:
1. Activate the feature on Windows.
2. Update baselines for Windows display metrics.
This broke Windows build:
1>C:\cygwin\home\buildbot\slave\win-release\build\Source\WebCore\css\CSSPrimitiveValueMappings.h(613): error C2065: 'CSSValueAttachment' : undeclared identifier (C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\Release\obj32\WebCore\DerivedSources\StyleBuilder.cpp)
(In reply to comment #4)
> This broke Windows build:
> release\build\Source\WebCore\css\CSSPrimitiveValueMappings.h(613): error
> C2065: 'CSSValueAttachment' : undeclared identifier
Fixed with a clean build. But see also Bug 142284, where we are fixing this problem permanently.