[Webkit-unassigned] [Bug 187052] initial keyword doesn't match initial -webkit-mask-box-image-slice and stroke-color values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 26 10:54:14 PDT 2018


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

--- Comment #1 from Geoffrey Sneddon <geoffers+webkit at gmail.com> ---
[["-webkit-mask-box-image-slice", "0 fill"],
 ["stroke-color", "rgba(0, 0, 0, 0)"]].forEach(([property, initial]) => {  
  ["", "initial", "inherit"].forEach((value) => {
    test(() => {
      const el = document.createElement("span");
      document.body.appendChild(el);
      el.style[property] = value;
      const cs = window.getComputedStyle(el);
      assert_equals(cs[property], initial);
    }, property + ": " + value);
  });
});

shows this is actually just the initial keyword generally?

Neither property has any defined value in html.css, so I don't know why there's any difference here.

Note that mask-border-slice, which per Compat -webkit-mask-box-image-slice is an alias of, should per spec have an initial value of 0 (as it gets with the initial keyword!) rather than the current "0 fill".

-- 
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/20180626/fef1c77a/attachment.html>


More information about the webkit-unassigned mailing list