LayoutSize for svg root is only updated in one dimension |
||||
Issue descriptionThis was found in https://codereview.chromium.org/2454913003/. The change above caused svg/custom/masking-clipping-hidpi.svg to fail because the Layout dimensions for the svg document were only updated in one dimension. See comments in Patch Set 9 for more details.
,
Sep 11 2017
This seems simple to fix.
,
Feb 2 2018
I guess this might be taking the IsDocumentElement() code-path [1] in LayoutSVGRoot::ComputeReplacedLogicalHeight, which resolves against LayoutView::ViewLogicalHeightForPercentages. So if the height isn't updated it essentially mean that the underlying height that it uses isn't updated either. [1] ...which I'm not quite sure why it's there - if it wasn't I think we'd still resolve against the available height of the (I)CB - which is the visible height of the LayoutView (indirectly FrameView).
,
Feb 2 2018
Hmm, actually that case was added more recently than this bug was reported, by https://codereview.chromium.org/2835153002/, which looks like it may have fixed this bug (no bug ref though, +szager)
,
Dec 10
Closing per c#4. |
||||
►
Sign in to add a comment |
||||
Comment 1 by e...@chromium.org
, Sep 8 2017Status: Untriaged (was: Available)