WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
76845
Absolute positioned element inside relative positioned element does not update display when innerHTML changes
https://bugs.webkit.org/show_bug.cgi?id=76845
Summary
Absolute positioned element inside relative positioned element does not updat...
Bella
Reported
2012-01-23 11:20:24 PST
Created
attachment 123582
[details]
Repro example I have a container with position: relative, and inside of it a text area and a position: absolute div. The text area has a keyup event listener which updates the innerHTML of the div. To see the issue, try typing in the text area. Notice the display of the div is not updated. The issue goes away when either of the positioning styles is removed. The bug started appearing around the release of Chome 18, and is reproducible in both Chrome and WebKit.
Attachments
Repro example
(495 bytes, text/html)
2012-01-23 11:20 PST
,
Bella
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
David Barr
Comment 1
2012-03-21 20:28:26 PDT
Confirmed. Google Chrome 19.0.1076.0 (Official Build 127890) canary OS Mac OS X WebKit 536.4 (@111385)
David Barr
Comment 2
2012-03-21 20:42:59 PDT
Also confirmed: Safari Version 5.1.2 (6534.52.7,
r110761
) Note that s/innerHTML/innerText/ with the attached repro works just fine.
Brent Fulgham
Comment 3
2022-07-12 16:30:18 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
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