[standards mode only] pressing button randomly toggles canvas scrollbars due to half-width overflow of border-collapse table borders

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: info, Unassigned)

Tracking

({testcase})

51 Branch
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
Created attachment 8840781 [details]
bug_firefox.html

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170125094131

Steps to reproduce:

I wrote a simple html page, i divided the page in 4 divs instead of use a table. each div has a button with no action.

I have notice that this strange behavior is present only if i use html5 doctype instead html4.


Actual results:

If i click on the button in the right-top corner div (button BB) the page will be resize randomly.


Expected results:

The page should keep the same size.

Updated

2 years ago
Component: Untriaged → Layout
Keywords: testcase
Product: Firefox → Core
Something strange is probably happening with the scrollable overflow area calculations, which is making the scrollbars appear and disappear (as we search for a layout that is either stable with scrollbars or stable without them).
And it seems like it might be related to the half-width-overflow of the border-collapsed borders.
Component: Layout → Layout: Tables
Summary: [DOCTYPE] if use html5, the buttons resize the page in randomly behavior → [standards mode only] pressing button randomly toggles canvas scrollbars due to half-width overflow of border-collapse table borders
You need to log in before you can comment on or make changes to this bug.