Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(empty-heading): use virtual node #3582

Merged
merged 27 commits into from
Aug 9, 2022

Conversation

dbowling
Copy link
Contributor

@dbowling dbowling commented Aug 2, 2022

  • use virtual node

References: #3473 and #3482

empty-heading-matches should use getRole() to account for presentation conflict resolution #3482
empty-heading-matches should use getRole() to account for presentation conflict resolution #3482
@dbowling dbowling dismissed a stale review via 8be5db2 August 8, 2022 15:48
flatTreeSetup(fixture);
assert.isFalse(rule.matches(h1));
it('should return true on headings with their role changes to an invalid role', function () {
var vNode = queryFixture('<h1 role="bruce" id="target"></h1>');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhh, good ol' role=bruce

@dbowling dbowling merged commit 115b75c into develop Aug 9, 2022
@dbowling dbowling deleted the chore/issue-3473/empty-heading branch August 9, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

empty-heading-matches should use getRole() to account for presentation conflict resolution
2 participants