New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 669098 link

Starred by 6 users

Issue metadata

Status: Duplicate
Merged: issue 670837
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

<legend>with float: left does not display correctly

Reported by currenci...@gmail.com, Nov 28 2016

Issue description

Chrome Version       : 55.0.2853.0 dev-m
URLs (if applicable) : https://jsfiddle.net/o98er0z2/3/
Other browsers tested: 
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: 10 OK
    Firefox: 49.0.2 OK
         IE: Edge 38.14393.0.0 OK

What steps will reproduce the problem?
(1) Create any form with a fieldset containing a legend which is floated
(2) View form in Chrome Dev 55
(3) Observe legend is missing

What is the expected result?

In chrome 54 and other browsers, the legend moves inside the border of the fieldset. Other styles can then be applied.

What happens instead?

The legend content does not display at all, but remains a block level element which causes issues in more complex layouts. In my web project the legend element causes major layout disruption with this bug.

Please provide any additional information below. Attach a screenshot if
possible.

In the JSFiddle provided, simply comment out the legend float: left rule and you will see the legend reappear in its default position.
 

Comment 1 by tkent@chromium.org, Nov 28 2016

Components: Blink>Layout
Labels: Needs-Bisect

Comment 2 by hdodda@chromium.org, Nov 29 2016

Cc: hdodda@chromium.org
Labels: -Needs-Bisect hasbisect-per-revision OS-Linux OS-Mac OS-Windows
Owner: glebl@chromium.org
Status: Assigned (was: Unconfirmed)
Using the per-revision bisect providing the bisect results,
Good build:55.0.2847.0(Revision:415522).
Bad build: 55.0.2845.0(Revision:416149)

You are probably looking for a change made after 415576 (known good), but no later than 415577 (first known bad).

CHANGELOG URL:

The script might not always return single CL as suspect as some perf builds might get missing due to failure.

 https://chromium.googlesource.com/chromium/src/+log/07605117e3929b21cf2cf14bbf913e22bc3cacc5..94405829a3ffa94bff257bb14650170f7422bad0

From the CL above, assigning the issue to the concern owner 

@glebl - Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner.

Review-Url: https://codereview.chromium.org/2215133005

Note : Issue is seen in latest beta , dev and canary channels.

Thanks!

Comment 3 by hdodda@chromium.org, Nov 29 2016

Labels: M-57
The same problem.
Floated legend with width is rendered before fieldset content with auto width
Screenshot from 2016-12-05 13:37:58.png
365 KB View Download
This seems to be a regression introduced in the 55.X release of Chrome. 54 rendered correctly. The attached images demonstrates actual and expected results with the html test case (fieldset.html).
fieldset.html
835 bytes View Download
actual-chrome55.png
75.0 KB View Download
expected-firefox.png
55.5 KB View Download

Comment 7 by dc83...@gmail.com, Dec 6 2016

Is Google working on fixing this or is this a new 'feature'? 

We have thousands of users on many many sites using Chrome and all of our pages use a float: left on the LEGEND to make it work with IE in just this situation.

Comment 8 by glebl@chromium.org, Dec 12 2016

Mergedinto: 670837
Status: Duplicate (was: Assigned)

Sign in to add a comment