See https://github.com/w3c/web-platform-tests/pull/9231 https://pulls.web-platform-tests.org/job/23888.12 Failing tests: document color attributes when the root element is a test element (createHTMLDocument) FAIL: 10 assert_equals: new_body.attributes.length expected 0 but got 5 document color attributes when the root element is a test element (iframe) FAIL: 10 assert_equals: new_body.attributes.length expected 0 but got 5
Following commit fixed this in Chrome / Blink: https://chromium.googlesource.com/chromium/src.git/+/1ea529fb98afe5d0386ab3444df28795fa924cb0 This is current Webkit Source: https://github.com/WebKit/WebKit/blob/9702a9c388b409636ec9d4ccc08558558037973a/Source/WebCore/dom/Document.cpp#L8394 https://github.com/WebKit/WebKit/blob/9702a9c388b409636ec9d4ccc08558558037973a/Source/WebCore/dom/Document.cpp#L8400 https://github.com/WebKit/WebKit/blob/9702a9c388b409636ec9d4ccc08558558037973a/Source/WebCore/dom/Document.cpp#L8414 etc. ______ Safari passes all document.body tests on WPT: https://wpt.fyi/results/html/dom/documents/dom-tree-accessors?label=master&label=experimental&aligned&view=subtest&q=document.body.html Also these tests from pull requests from Comment 0: https://wpt.fyi/results/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis?label=master&label=experimental&aligned&view=subtest&q=document-color-01.html ____ I think Safari pass all test results now. I will leave for others to confirm whether something else is needed or not. Thanks!
Yeah, this looks config changed.