New issue
Advanced search Search tips

Issue 921702 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Static position for abspos not updated when display changes

Project Member Reported by obru...@igalia.com, Jan 14

Issue description

Chrome Version: 71.0.3578.98
OS: Ubuntu 18.04

What steps will reproduce the problem?
(1) Render an abspos element with `display:block` in its static position
(2) Due to `display:block`, it won't appear in the same line as preceding text
(3) Set `display` to `inline` with JavaScript

What is the expected result?
The static position is in the same line as preceding text, just like if `display` had been `inline` from the very beginning

What happens instead?
The abspos element remains in the next line.

It works well with LayoutNG.

 
testcase-staticpos.htm
586 bytes View Download

Comment 1 by e...@chromium.org, Jan 18 (5 days ago)

Labels: Fixed-In-LayoutNG
Status: Available (was: Untriaged)

Sign in to add a comment