Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5b848d9183ab8c666ae5ca856b5c753fa67f3d70
      
https://github.com/WebKit/WebKit/commit/5b848d9183ab8c666ae5ca856b5c753fa67f3d70
  Author: Ahmad Saleem <[email protected]>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M Source/WebCore/dom/Position.cpp

  Log Message:
  -----------
  Refactor m_offset to align with Webkit styling in Position.cpp

Refactor m_offset to align with Webkit styling in Position.cpp
https://bugs.webkit.org/show_bug.cgi?id=249090

Reviewed by Ryosuke Niwa.

This patch is to refactor code around 'negative offset' by changing it to 
Webkit Styling
to use negation (!) rather than (==) or (>) etc.

* Source/WebCore/dom/Position.cpp:
(Position::parentAnchorEquivalent): Update m_offset
(Position::atFirstEditingPositionForNode): Ditto
(Position::atStartOfTree): Ditto

Canonical link: https://commits.webkit.org/257717@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to