-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Show details after each test finish in text-orientation.js #6949
Conversation
@kojiishi as the author of this test, you probably want to review this change. |
Build PASSEDStarted: 2017-08-21 06:02:49 Unstable ResultsBrowser: "Safari 10.0" (failures allowed)View in: WPT PR Status | TravisCI
|
There was a problem hiding this 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!
Build PASSEDStarted: 2017-08-21 06:02:49 Failing Jobs
Unstable ResultsBrowser: "Safari 10.0" (failures allowed)View in: WPT PR Status | TravisCI
|
Thanks for reviewing. |
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.