Bento: Fix unrecognized DOM attributes #36151
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates:
allowTransparency
due to Remove allow transparency facebook/react#10823allowfullscreen
removedexpanded
from final render state ofBentoAccordionSection
keyboardSelectMode
from final render state ofBentoSelector
thumbnailSrc
from final render state of slide children ofBentoBaseCarousel
ariaLabel
prop toaria-label
onBentoVideo
In a follow up PR, the
expanded
prop should be removed from final render state ofBentoAccordionSection
, but it is not done so in this PR because it is more involved and has implications on the AMP mode shims.The following changes specifically were not made as the left hand side is preferred for preact and the right hand is preferred for react, therefore we need our build to account for these instead of changes to the sourcecode:
allowfullscreen
->allowFullScreen
class
->className
datetime
->dateTime
frameborder
->frameBorder
srcset
->srcSet
Partial for #35553