[Webkit-unassigned] [Bug 209054] Remove AffectedByDrag style flag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 13 10:25:05 PDT 2020


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

Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #393490|review?                     |review+
              Flags|                            |

--- Comment #2 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 393490
  --> https://bugs.webkit.org/attachment.cgi?id=393490
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393490&action=review

Dragging is under tested, so some manual testing of this is warranted.

> Source/WebCore/dom/Element.h:318
> +    bool isDragged() const { return isUserActionElement() && isUserActionElementDragged(); }

isDragged is weird. isBeingDragged?

> Source/WebCore/dom/Element.h:324
> +    void setDragged(bool);

setIsBeingDragged?

> Source/WebCore/dom/Node.h:612
> +        ChildrenAffectedByForwardPositionalRules = 1 << 1,
> +        DescendantsAffectedByForwardPositionalRules = 1 << 2,
> +        ChildrenAffectedByBackwardPositionalRules = 1 << 3,
> +        DescendantsAffectedByBackwardPositionalRules = 1 << 4,
> +        ChildrenAffectedByPropertyBasedBackwardPositionalRules = 1 << 5,

I would align the = but that's just me.

-- 
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/20200313/8cb9663d/attachment-0001.htm>


More information about the webkit-unassigned mailing list