Skip to content

Conversation

@adrianaixba
Copy link
Collaborator

Surface css properties in ImageElements artifact. Move property validation logic to audits.

First item of #11642

@adrianaixba adrianaixba requested a review from a team as a code owner November 24, 2020 17:26
@adrianaixba adrianaixba requested review from patrickhulce and removed request for a team November 24, 2020 17:26
@google-cla google-cla bot added the cla: yes label Nov 24, 2020
*/
usesSrcSetDensityDescriptor: boolean;
/** `object-fit` CSS property. */
ObjectFit: string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
ObjectFit: string;
cssComputedObjectFit: string;

WDYT to match the other cssComputed* property convention?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I like this! Makes a lot more sense and matches other properties 👍

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.

change itself looks good! 🎉

just a few leftover minor comments

@patrickhulce
Copy link
Collaborator

sorry @adrianaixba you'll have some conflicts with #11695 landing now, looks great though! :)

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