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

fix(engine-core): handle stylesheets not rendered yet #4256

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

ravijayaramappa
Copy link
Contributor

Details

swapStyle() can be called on stylesheets that are yet to be rendered. This is valid especially in the case of salesforce platform where component definitions are (pre-)loaded and can be instantiated in the future, for example dynamic components.

Does this pull request introduce a breaking change?

  • 😮‍💨 No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • 🤞 No, it does not introduce an observable change.

GUS work item

W-15890472

@ravijayaramappa ravijayaramappa requested a review from a team as a code owner June 4, 2024 21:32
expectStyles(extractDataIds(elm).paragraph, {
display: 'block',
});
// Swap blockStyle to inlineStyle, which transitively be swapped to noneStyle
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
// Swap blockStyle to inlineStyle, which transitively be swapped to noneStyle
// Swap blockStyle to inlineStyle, which will transitively be swapped to noneStyle

@ravijayaramappa ravijayaramappa merged commit e6cabaf into master Jun 4, 2024
10 checks passed
@ravijayaramappa ravijayaramappa deleted the ravi/master/W-15890472/fix-style-swap branch June 4, 2024 23:05
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.

None yet

2 participants