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

Show details after each test finish in text-orientation.js #6949

Merged
merged 1 commit into from
Aug 22, 2017

Conversation

upsuper
Copy link
Member

@upsuper upsuper commented Aug 21, 2017

This change makes the details be added to the page after each test is done. This can improve the performance of this test significantly when we don't get expected result for many characters.

This is because getBoundingClientRect basically need a synchronous flush on the document. If we add some element into the document every time before calling that, we are flushing the document for each character, which can be really slow. By collecting the failure info on a detached element, we can avoid such synchronous flush.

@upsuper
Copy link
Member Author

upsuper commented Aug 21, 2017

@kojiishi as the author of this test, you probably want to review this change.

@ghost
Copy link

ghost commented Aug 21, 2017

Build PASSED

Started: 2017-08-21 06:02:49
Finished: 2017-08-21 06:36:28

Unstable Results

Browser: "Safari 10.0" (failures allowed)

View in: WPT PR Status | TravisCI

Test Subtest Results Messages
/css/css-writing-modes-3/text-orientation-script-001.html   TIMEOUT: 10

Copy link
Contributor

@kojiishi kojiishi left a comment

Choose a reason for hiding this comment

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

lgtm, thank you for doing this!

@kojiishi kojiishi merged commit 122f8e1 into web-platform-tests:master Aug 22, 2017
@ghost
Copy link

ghost commented Aug 22, 2017

Build PASSED

Started: 2017-08-21 06:02:49
Finished: 2017-08-21 06:36:28

Failing Jobs

  • MicrosoftEdge:14.14393
  • safari:10.0

Unstable Results

Browser: "Safari 10.0" (failures allowed)

View in: WPT PR Status | TravisCI

Test Subtest Results Messages
/css/css-writing-modes-3/text-orientation-script-001.html   TIMEOUT: 10

@upsuper upsuper deleted the text-orientation branch August 22, 2017 09:57
@upsuper
Copy link
Member Author

upsuper commented Aug 22, 2017

Thanks for reviewing.

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.

5 participants