Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash getting keyframes of root font-size transition
This change fixes a bug where a transition on a root element would cause a crash if GetKeyframes() was called via javascript. The crash was caused by the parent style not being available in the style resolver state. This change adds a new function that initializes the parent style as the initial style, as was done to fix crbug.com/40703845 Bug: 387447929 Change-Id: Iaaef09b4cf003751082d1c818e55f4b9f792ab5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6142431 Reviewed-by: Kevin Ellis <[email protected]> Commit-Queue: Claire Chambers <[email protected]> Cr-Commit-Position: refs/heads/main@{#1411049}
- Loading branch information