New issue
Advanced search Search tips

Issue 883541 link

Starred by 1 user

Issue metadata

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

Blocking:
issue 874753



Sign in to add a comment

<legend> blockifies specified 'display' value also when it's not a "rendered legend"

Project Member Reported by mpalmg...@mozilla.com, Sep 12

Issue description

Chrome Version: 70.0.3534.4 (Official Build) dev (64-bit)
OS: Linux

What steps will reproduce the problem?
(1)load the attached testcase
(2)
(3)

What is the expected result?
AB

What happens instead?
A
B

It appears the computed 'display' value is 'block' on the element that has style="display:inline", so A is as wide as the fieldset and thus pushes
the B to the next line.

Fwiw, the testcase renders correctly in Firefox and Edge.
 
legend-inline.html
328 bytes View Download
Blocking: 874753
Status: Available (was: Untriaged)
Related issue https://bugs.chromium.org/p/chromium/issues/detail?id=727378
Components: Blink>Layout
Yes, Blink determines the rendered legend during layout, not during box tree construction. This bug illustrates perfectly that this is the wrong thing to do.

Sign in to add a comment