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
Bug 120283
Object style.visibility not coming as inherit when parent's visibility is changed
https://bugs.webkit.org/show_bug.cgi?id=120283
Summary
Object style.visibility not coming as inherit when parent's visibility is cha...
Jose Lejin PJ
Reported
2013-08-25 23:20:40 PDT
Try changing parent's visibility property dynamically, then its child style.visibility should come as 'inherit'. But its returning nothing. Please refer the attached test app.
Attachments
test case: dynamically change the visibility status to hidden, check the child element visibility status
(723 bytes, text/html)
2013-08-25 23:35 PDT
,
sheetanshu
no flags
Details
child visibility status should be 'inherit'
(723 bytes, text/html)
2013-08-25 23:57 PDT
,
sheetanshu
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
sheetanshu
Comment 1
2013-08-25 23:35:52 PDT
Created
attachment 209616
[details]
test case: dynamically change the visibility status to hidden, check the child element visibility status Visibility status of child element should be 'inherit'
sheetanshu
Comment 2
2013-08-25 23:54:34 PDT
Comment on
attachment 209616
[details]
test case: dynamically change the visibility status to hidden, check the child element visibility status >
><html> ><body> ><script type="text/javascript"> >function applyFocus() >{ > document.getElementById('menuId').focus(); >} ></script>
>
><body BGCOLOR="gray"> ><script type="text/javascript">
>
>setTimeout(disable,2000); > >function disable() >{ > document.getElementById("parentDiv").style.visibility="hidden" > alert("parentDiv visibility status:" + parentDiv.style.visibility); > alert("mySelect visibility status:" + childDiv.style.visibility); >}
>
></script>
>
><form> ><div id="parentDiv" style="position:absolute; left:100; top:100;"> > <textarea id ="childDiv" rows="4" cols="50" >Edit here .. > </textarea> ></div>
>
><br /> > <p>The above text area will be disbled after 2 secs..</p> ></body> ></html>
sheetanshu
Comment 3
2013-08-25 23:57:02 PDT
Created
attachment 209617
[details]
child visibility status should be 'inherit'
sheetanshu
Comment 4
2013-08-26 06:30:30 PDT
Comment on
attachment 209616
[details]
test case: dynamically change the visibility status to hidden, check the child element visibility status Obsolete
Ahmad Saleem
Comment 5
2022-05-30 14:50:04 PDT
I just tested this with Safari 15.5 and also with Chrome Canary 104 and Firefox Nightly 102, all browsers behave same across the attached test case. Should this be more of spec clarity issue rather than browser implementation issue to have desired result? Thanks!
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