broken image placeholder does not scale correctly inside a flexbox |
|||||||
Issue descriptionhttp://jsbin.com/bodaleqowi/edit?html,output Even though the <img> element is sized the same as the flexbox (as it should be), the placeholder borders are not stretched with it. That's due to this code: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp?q=alttext-container&sq=package:chromium&dr=C&l=91 // If the image has specified dimensions allow the alt-text container expand to fill them. if (newStyle->width().isSpecifiedOrIntrinsic() && newStyle->height().isSpecifiedOrIntrinsic()) { placeHolder->setInlineStyleProperty(CSSPropertyWidth, 100, CSSPrimitiveValue::UnitType::Percentage); placeHolder->setInlineStyleProperty(CSSPropertyHeight, 100, CSSPrimitiveValue::UnitType::Percentage); } This does not take flexbox into account.
,
Aug 3 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 4 2017
Might be an easy fix.
,
Aug 6
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 6
Our behavior matches Firefox. Am I missing something here?
,
Aug 20
The NextAction date has arrived: 2018-08-20
,
Aug 20
Still need to know what the expected behavior is. Closing. Will reopen if feedback is received.
,
Aug 20
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by e...@chromium.org
, Aug 2 2016Status: Available (was: Untriaged)