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

report(edge): fix support for edge #6459

Merged
merged 10 commits into from
Nov 4, 2018
Merged

report(edge): fix support for edge #6459

merged 10 commits into from
Nov 4, 2018

Conversation

wardpeet
Copy link
Collaborator

@wardpeet wardpeet commented Nov 2, 2018

Summary

Edge has some bugs related to css variables & calc function in the transform rule. Edge doesn't support fill="hsl()" colors inside svg

  • fixed chevron svg css
  • fixed lighthouse logo location
  • convert hsl colors to hex in svg fill attributes
  • add summary & details collapse polyfill

demo:
http://wardpeet-filestorage.surge.sh/lh-store/pr-6459/report.html

Related Issues/PRs

#6444

@wardpeet
Copy link
Collaborator Author

wardpeet commented Nov 2, 2018

this PR is dependant on #6456

One error is still present and that's the detail arrows which are added by the polyfill:
image

lighthouse-core/report/html/report-styles.css Outdated Show resolved Hide resolved
lighthouse-core/report/html/report-styles.css Outdated Show resolved Hide resolved
lighthouse-core/report/html/report-styles.css Outdated Show resolved Hide resolved
lighthouse-core/report/html/report-styles.css Show resolved Hide resolved
lighthouse-core/report/html/report-template.html Outdated Show resolved Hide resolved
@wardpeet
Copy link
Collaborator Author

wardpeet commented Nov 2, 2018

some screenshots:
image

image

@wardpeet
Copy link
Collaborator Author

wardpeet commented Nov 2, 2018

there is still an issue with the tooltips which disappear to fast. Which might be better todo in another PR.
lh-edge-popup

@paulirish
Copy link
Member

doing the tooltips in a sep PR sgtm

@@ -123,6 +125,11 @@
100% { opacity: 0.6;}
}

/* Edge doesn't recognize these, so we preemptively set to display:block */
details, summary {
display: block;
Copy link
Contributor

Choose a reason for hiding this comment

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

That's pretty weird, will it be fixed?

@paulirish paulirish merged commit 5d815b7 into master Nov 4, 2018
@paulirish paulirish deleted the bug/report-ui-edge branch November 4, 2018 01:38
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.

3 participants