New issue
Advanced search Search tips

Issue 812981 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Task

Blocked on:
issue 819372



Sign in to add a comment

[LayoutNG] After changing parent node's inline style, NGPhysicalFragment of child node has wrong style

Project Member Reported by xiaoche...@chromium.org, Feb 16 2018

Issue description

Chrome Version: ToT @ r537167
OS: All

What steps will reproduce the problem?
(1) Add DCHECK_EQ(box_fragment_.Style().Visibility(), box_fragment_.GetLayoutObject()->Style()->Visibility()) in NGBoxFragmentPainter::VisibleToHitTestRequest()
(2) Load the attached repro.html with LayoutNG enabled

What is the expected result?

Shouldn't hit DCHECK

What happens instead?

DCHECK hit. Furthermore, |box_fragment_.Style().Visibility()| is the incorrect value |EVisibility::kVisible|.
 
Forgot attachment...
repro.html
491 bytes View Download
Blockedon: 819372

Sign in to add a comment