[Webkit-unassigned] [Bug 247856] Simplify includesAdjacentEdges in BorderEdge.h
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 13 08:09:06 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=247856
Tim Nguyen (:ntim) <ntim at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ntim at apple.com
Summary|Simplified BoxPainter edge |Simplify
|adjacency test |includesAdjacentEdges in
| |BorderEdge.h
--- Comment #1 from Tim Nguyen (:ntim) <ntim at apple.com> ---
(In reply to Ahmad Saleem from comment #0)
> I am raising this bug so if this can be applied in Webkit context.
Yep, the equivalent would be:
flags.containsAny({ BoxSideFlag::Top, BoxSideFlag::Bottom })
&& flags.containsAny({ BoxSideFlag::Left, BoxSideFlag::Right })
--
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/20221113/a1fa830d/attachment-0001.htm>
More information about the webkit-unassigned
mailing list