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

core(image-elements): collect CSS sizing, ShadowRoot, & position #11188

Merged
merged 81 commits into from Aug 5, 2020

Conversation

lemcardenas
Copy link
Contributor

@lemcardenas lemcardenas commented Jul 29, 2020

Summary

This PR adds new logic to collect extra information (CSS sizing, ShadowRoot info, & positioning) in the image-elements gatherer. Additionally, this PR adds a few changes to the unsized-images audit (the only audit so far that uses image-element's CSS sizing, ShadowRoot info, & positioning). There is also the addition of a smoke test within the byte-efficiency tests for the gatherer + unsized-images changes.

These changes are required before switching unsized-images to be in the default config.

Related Issues/PRs

#11115 #10085

Copy link
Collaborator

@connorjclark connorjclark left a comment

Choose a reason for hiding this comment

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

just one nit but lgtm

Co-authored-by: Connor Clark <cjamcl@google.com>
Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@patrickhulce patrickhulce changed the title core(image-elements): collect CSS sizing, ShadowRoot info, & positioning core(image-elements): collect CSS sizing, ShadowRoot, & position Aug 4, 2020
@patrickhulce
Copy link
Collaborator

@lemcardenas you should be able to rebase this now to get it to autoland :)

@devtools-bot devtools-bot merged commit e0f7d51 into master Aug 5, 2020
@devtools-bot devtools-bot deleted the image-elements-css-sizing branch August 5, 2020 16:42
radum added a commit to radum/lighthouse that referenced this pull request Aug 13, 2020
* upstream/master: (42 commits)
  docs: add Code of Conduct to project (GoogleChrome#11212)
  docs(readme): add related project: lighthouse-viewer (GoogleChrome#11250)
  core(font-size): remove deprecated DOM.getFlattenedDocument (GoogleChrome#11248)
  misc: fix typo in method name (GoogleChrome#11239)
  i18n: make double dollar validation less strict (GoogleChrome#10299)
  misc: rephrase comments to be more inclusive (GoogleChrome#11228)
  misc: tweak gcp scripts to work in google corp (GoogleChrome#11233)
  v6.2.0 (GoogleChrome#11232)
  report: correctly display CLS in budget table (GoogleChrome#11209)
  report: vertically center thumbnails (GoogleChrome#11220)
  i18n: import (GoogleChrome#11225)
  tests: istanbul ignore inpage function (GoogleChrome#11229)
  deps(snyk): update script to prune <0.0.0 and update snapshot (GoogleChrome#11223)
  core(stacks): timeout stack detection (GoogleChrome#11172)
  core(config): unsized-images to default (GoogleChrome#11217)
  core(image-elements): collect CSS sizing, ShadowRoot, & position (GoogleChrome#11188)
  core: add FormElements gatherer (GoogleChrome#11062)
  new_audit: report animations not run on compositor (GoogleChrome#11105)
  tests: update chromestatus expecatations (GoogleChrome#11221)
  deps: update dot-prop secondary dependency (GoogleChrome#11198)
  ...
lemcardenas added a commit that referenced this pull request Aug 25, 2020
patrickhulce pushed a commit that referenced this pull request Aug 26, 2020
…pact (#11317)

* Revert "core(config): unsized-images to default (#11217)"
This reverts commit 97a2375.

* Revert "core(image-elements): collect CSS sizing, ShadowRoot, & position (#11188)"
This reverts commit e0f7d51.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants