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 issue in gentest where border-<edge> would add a border to test #1496

Closed
wants to merge 1 commit into from

Conversation

joevilches
Copy link
Contributor

Summary:
Gentest code has a problem where we try to apply a border in our test when the web browser is not actually adding one. This happens when we do something like border-top: 10px. This will actually set the style of the border to initial which is just none, so nothing renders. This is causing at least 1 test to pass when it actually fails.

I changed it so we ignore setting this value if the style is one of these values. I then re-ran the gentest code and excluded the now failing test (which gets fixed in my static stack).

Reviewed By: NickGerleman

Differential Revision: D51831754

Summary:
Gentest code has a problem where we try to apply a border in our test when the web browser is not actually adding one. This happens when we do something like `border-top: 10px`. This will actually set the style of the border to `initial` which is just `none`, so nothing renders. This is causing at least 1 test to pass when it actually fails.

I changed it so we ignore setting this value if the style is one of these values. I then re-ran the gentest code and excluded the now failing test (which gets fixed in my static stack).

Reviewed By: NickGerleman

Differential Revision: D51831754
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51831754

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c93734f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants