[Webkit-unassigned] [Bug 191696] New: Getting the inferred background-repeat-[xy] values returns the longhand background-repeat value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 15 09:14:43 PST 2018


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

            Bug ID: 191696
           Summary: Getting the inferred background-repeat-[xy] values
                    returns the longhand background-repeat value
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bendean837 at gmail.com

Created attachment 354945

  --> https://bugs.webkit.org/attachment.cgi?id=354945&action=review

Illustration / reproduction

I can reproduce this bug on Chrome as well as Safari -- though not Firefox, which doesn't seem to support background-repeat-x or background-repeat-y.

Code to reproduce:
> var div = document.createElement("div");
> div.style = "background-repeat: no-repeat, repeat";
> console.log(div.style.backgroundRepeatX);
> console.log(div.style.backgroundRepeatY);

Expected
> "no-repeat"
> "repeat"

Actual:
> "no-repeat, repeat"
> "no-repeat, repeat"

Also see the attached html file.

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/20181115/381ce196/attachment.html>


More information about the webkit-unassigned mailing list