[Webkit-unassigned] [Bug 242775] New: shorthand serialization for background and mask should not include "initial" in the middle of the value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 14 16:25:24 PDT 2022


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

            Bug ID: 242775
           Summary: shorthand serialization for background and mask should
                    not include "initial" in the middle of the value
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com

For example:

<!DOCTYPE html>
<style>
div { background: none; background-position: initial; }
</style>
<pre id=log></pre>
<script>
log.textContent = "background: " + document.styleSheets[0].cssRules[0].style.getPropertyValue("background");
</script>

This outputs "background: none initial initial", which is not valid.

-- 
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/20220714/77d2e02f/attachment.htm>


More information about the webkit-unassigned mailing list