[Webkit-unassigned] [Bug 243915] New: `background-repeat` is incorrectly exposed through inline style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 12 20:17:04 PDT 2022


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

            Bug ID: 243915
           Summary: `background-repeat` is incorrectly exposed through
                    inline style
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

This testcase fails in WebKit:

    <div id="target" style="background-repeat: no-repeat;"></div>
    <script>
        let target = document.getElementById('target');
        target.textContent = target.style.length + ' rules';
    </script>

reporting `0 rules`. Other browsers correctly find one rule.

This causes failures on https://css3test.com which uses this technique to detect support for style properties.

The bug relates to how webkit expands `background-repeat` to `background-repeat-x` and `background-repeat-y`.

-- 
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/20220813/bad2d9ce/attachment.htm>


More information about the webkit-unassigned mailing list