Skip to content

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

Merged
devtools-bot merged 81 commits into
masterfrom
image-elements-css-sizing
Aug 5, 2020
Merged

core(image-elements): collect CSS sizing, ShadowRoot, & position#11188
devtools-bot merged 81 commits into
masterfrom
image-elements-css-sizing

Conversation

@lemcardenas

@lemcardenas lemcardenas commented Jul 29, 2020

Copy link
Copy Markdown
Contributor

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

Comment thread lighthouse-core/gather/gatherers/image-elements.js Outdated
Comment thread lighthouse-core/audits/unsized-images.js Outdated

@connorjclark connorjclark left a comment

Copy link
Copy Markdown
Collaborator

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>

@patrickhulce patrickhulce left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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.

6 participants