WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
53515
zeroing box-flex value after document load causes content to stay unexpectedly wide
https://bugs.webkit.org/show_bug.cgi?id=53515
Summary
zeroing box-flex value after document load causes content to stay unexpectedl...
Andy Huang
Reported
2011-02-01 11:51:31 PST
Created
attachment 80798
[details]
CSS test case tested on WebKit version: 534.17+ Setting an element's box-flex value to zero after a document has already loaded does not shrink the element to size as expected. Instead, the element retains its former flexed size while neighboring elements are pushed beyond their parent container's bounds. Having an element with an initial box-flex of zero does behave correctly, as does modifying an element's box-flex value immediately following document load. The problem only manifests when JavaScript modifies the value some time after the document has loaded using an event handler.
Attachments
CSS test case
(1.57 KB, application/xhtml+xml)
2011-02-01 11:51 PST
,
Andy Huang
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-07-12 14:17:56 PDT
Safari fails this test. Chrome and Firefox match.
Radar WebKit Bug Importer
Comment 2
2022-07-12 14:18:12 PDT
<
rdar://problem/96909945
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug