[Webkit-unassigned] [Bug 182484] document.bgColor setter should do nothing when root is not html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 19 23:44:30 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=182484

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #1 from Ahmad Saleem <zlip.792 at gmail.com> ---
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!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220820/80c8f8df/attachment.htm>


More information about the webkit-unassigned mailing list