[Webkit-unassigned] [Bug 261552] getComputedStyle(elt).backgroundBlendMode returns only the first property of a list (background-blend-mode)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 11 00:38:31 PDT 2023


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

--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
https://searchfox.org/wubkat/rev/e21786e1635702a6ca7c1e30290f32e8a97fec23/Source/WebCore/css/ComputedStyleExtractor.cpp#4101-4109

    case CSSPropertyBackgroundBlendMode: {
        auto& layers = style.backgroundLayers();
        if (!layers.next())
            return createConvertingToCSSValueID(layers.blendMode());
        CSSValueListBuilder list;
        for (auto* currLayer = &layers; currLayer; currLayer = currLayer->next())
            list.append(createConvertingToCSSValueID(currLayer->blendMode()));
        return CSSValueList::createSpaceSeparated(WTFMove(list));
    }

-- 
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/20231011/f2e560cc/attachment.htm>


More information about the webkit-unassigned mailing list