New issue
Advanced search Search tips

Issue 671953 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Generated content breaks some invariants in HTMLImageElement

Project Member Reported by engedy@chromium.org, Dec 7 2016

Issue description

The special casing for generated content in HTMLImageElement::createLayoutObject() breaks the invariant that the layout object attached to this element will always be appropriate for |m_layoutDisposition|.

This makes for rather puzzling code in ensureFallbackForGeneratedContent().

Layout test to reproduce such a scenario: images/content-url-broken-image-with-alt-text.html.
 

Comment 1 by hayato@chromium.org, Aug 28 2017

Components: -Blink>DOM Blink>HTML
Components: Blink>Layout
I guess this is a layout thing?

Sign in to add a comment