Reorder/clean up HTMLImageFallbackHelper::CreateAltTextShadowTree
This reorders the construction sequence so that the created subtrees or nodes are inserted after they've had their attributes (and other things) set. In the context of the bug referenced the interesting bit is setting the is-fallback-image flag on the HTMLImageElement before inserting it. Bug: 1000273 Change-Id: Ica4d7d50709c9338b4df6e3c4a4ce1f22d5c3924 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1789811 Auto-Submit: Fredrik Söderquist <fs@opera.com> Commit-Queue: Stephen Chenney <schenney@chromium.org> Reviewed-by:Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#694751}
Showing
Please register or sign in to comment