Summary: | innerText doesn't return display:none or visibility:hidden text | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Derk-Jan Hartman <hartman.wiki> | ||||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED INVALID | ||||||||
Severity: | Minor | CC: | ahmad.saleem792, ap, bfulgham, getspoolblog, idollash, kangax, marakoneczek, marcus, mitz, nishgau28, promotools, rniwa, sam, wadechew029 | ||||||
Priority: | P4 | ||||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
Attachments: |
|
Description
Derk-Jan Hartman
2007-07-29 13:03:13 PDT
Created attachment 15725 [details] Test case from Comment #0 Both Safari 2.0.4 (419.3) with original WebKit and Safari 3 Public Beta v. 3.0.2 (522.12) with a local debug build of WebKit r24749 on Mac OS X 10.4.10 (8R218) both result in: Actual td.innerText = 'June 2, 2005' Firefox 2.0.0.5 on 10.4.10: Actual td.innerText = 'undefined' As a work around, you can can use the textContent attribute to get the same result as innerText on IE. This workaround is now used in wikipedia http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=24647 However, i still think that if we implement IE specific behaviour, it should either work exactly like that, or not be implemented at all. Thank you for the workaround. I will soon try that and will update you on my website http://www.soundadvicefl.com/. Will it work for any other browser? Created attachment 461506 [details]
Safari 15.6 matches with other browsers
I am not able to reproduce this bug and as can be seen from attached screenshot, all browsers (Chrome Canary 106, Firefox Nightly 105 and Safari 15.6) match each other in test case. I am going to mark this as "RESOLVED CONFIGURATION CHANGED".
If this is still present, please ignore my comment and reopen. Thanks!
Our behavior hasn't changed, but no changes are expected as all current browsers align. |