Skip to content

Commit

Permalink
feat: deprecate color.filteredRectStack, color.getRectStack, and dom.…
Browse files Browse the repository at this point in the history
…visuallyContains (#3859)
  • Loading branch information
straker authored Jan 18, 2023
1 parent 45a08b6 commit 3be2bad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/commons/color/filtered-rect-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import incompleteData from './incomplete-data';

/**
* Get filtered stack of block and inline elements, excluding line breaks
* @deprecated use color.getBackgroundStack instead
* @method filteredRectStack
* @memberof axe.commons.color
* @param {Element} elm
Expand Down
1 change: 1 addition & 0 deletions lib/commons/color/get-rect-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import getTextElementStack from '../dom/get-text-element-stack';

/**
* Get relevant stacks of block and inline elements, excluding line breaks
* @deprecated use color.getBackgroundStack instead
* @method getRectStack
* @memberof axe.commons.color
* @param {Element} elm
Expand Down
1 change: 1 addition & 0 deletions lib/commons/dom/visually-contains.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { getNodeFromTree, getScroll } from '../../core/utils';
/**
* Checks whether a parent element visually contains its child, either directly or via scrolling.
* Assumes that |parent| is an ancestor of |node|.
* @deprecated
* @method visuallyContains
* @memberof axe.commons.dom
* @instance
Expand Down

0 comments on commit 3be2bad

Please sign in to comment.