[Webkit-unassigned] [Bug 229666] [CSS Cascade Layers] Compute order correctly for late added sublayers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 30 10:06:11 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=229666
--- Comment #5 from Antti Koivisto <koivisto at iki.fi> ---
> > Source/WebCore/style/RuleSet.h:193
> > + CascadeLayer& cascadeLayerForIdentifier(CascadeLayerIdentifier identifier) { return m_cascadeLayers[identifier - 1]; }
> > + const CascadeLayer& cascadeLayerForIdentifier(CascadeLayerIdentifier identifier) const { return m_cascadeLayers[identifier - 1]; }
>
> Maybe assert that identifier != 0
Didn't seem necessary since vector asserts against overflow.
--
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/20210830/dbc58203/attachment.htm>
More information about the webkit-unassigned
mailing list