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

fix scrolling when page has negative margins (#2601) #3923

Merged
merged 3 commits into from
Jul 2, 2019

Conversation

AlexKamaev
Copy link
Contributor

@AlexKamaev AlexKamaev commented Jun 24, 2019

The problem appears if:

  1. Body has overflow: auto (here it implicitly has overflow-y auto)
  2. Body has defined height
  3. Body has a child with negative margin
    This markup leads to incorrect calculations of html scrollHeight

@AlexKamaev
Copy link
Contributor Author

@testcafe-build-bot retest

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev AlexKamaev closed this Jun 24, 2019
@AlexKamaev AlexKamaev reopened this Jun 24, 2019
@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev AlexKamaev changed the title [WIP]fix scrolling when page has negative margins (#2601) fix scrolling when page has negative margins (#2601) Jun 26, 2019
@AlexKamaev
Copy link
Contributor Author

ping

@helen-dikareva
Copy link
Collaborator

I'm in progress (have been reading a long feed in the original issue)

return runTests('testcafe-fixtures/index.js');
});
});

Copy link
Collaborator

Choose a reason for hiding this comment

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

Two extra lines

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev
Copy link
Contributor Author

@testcafe-build-bot retest

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev
Copy link
Contributor Author

I hope that tests will not be so flaky after this pull #3939
I'll rebase and restart these tests after the 3939 is merged

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

1 similar comment
@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@AndreyBelym AndreyBelym merged commit 7a97fe0 into DevExpress:master Jul 2, 2019
kirovboris pushed a commit to kirovboris/testcafe-phoenix that referenced this pull request Dec 18, 2019
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.

None yet

4 participants