Bug 14814 - [S60] When user focused the different links, the other sections are not hidden
Summary: [S60] When user focused the different links, the other sections are not hidden
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: S60 Emulator S60 3rd edition
: P2 Blocker
Assignee: Nobody
URL:
Keywords: PlatformOnly
Depends on:
Blocks:
 
Reported: 2007-07-30 11:45 PDT by Sornalatha Rathnasamy
Modified: 2008-04-09 11:39 PDT (History)
0 users

See Also:


Attachments
3.2 patch (1.09 KB, patch)
2007-07-30 11:56 PDT, Sornalatha Rathnasamy
zalan: review+
Details | Formatted Diff | Diff
3.1 patch (1.20 KB, patch)
2007-07-30 11:57 PDT, Sornalatha Rathnasamy
zalan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sornalatha Rathnasamy 2007-07-30 11:45:06 PDT
TSW Id : ELTA-756J4Z

- Use case:

- Steps to reproduce:

- Actual outcome:
When user focused the different links, the other sections are not hidden.

- Expected outcome:
Please see Global Test Specification for Terminals (TST Browsing) for Expected Results.

- Other info:
Tested with  WAP APN


sample test case:

<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body>
<div>
<a href="" id="link1" onfocus="link1();" onblur="linkNone();">link 1</a>
<a href="http://www.google.com" id="link2" onfocus="link2();" onblur="linkNone();">link 

2</a>
<a href="http://www.google.com" id="link3" onfocus="link3();" onblur="linkNone();">link 

3</a>
</div>

<div id="section1">this is section 1</div>
<div id="section2">this is section 2</div>
<div id="section3">this is section 3</div>

<script type="text/javascript">

function link1(){
alert("on focus called");
  document.getElementById("section1").style.visibility = 'visible';
  document.getElementById("section2").style.visibility = 'hidden';
  document.getElementById("section3").style.visibility = 'hidden';
}

function link2(){
  document.getElementById("section1").style.visibility = 'hidden';
  document.getElementById("section2").style.visibility = 'visible';
  document.getElementById("section3").style.visibility = 'hidden';
}

function link3(){
  document.getElementById("section1").style.visibility = 'hidden';
  document.getElementById("section2").style.visibility = 'hidden';
  document.getElementById("section3").style.visibility = 'visible';
}

function linkNone(){
  document.getElementById("section1").style.visibility = 'visible';
  document.getElementById("section2").style.visibility = 'visible';
  document.getElementById("section3").style.visibility = 'visible';
}

</script>
</body>
</html>




This is a SS and blocks type approval.
Comment 1 Sornalatha Rathnasamy 2007-07-30 11:56:36 PDT
Created attachment 15745 [details]
3.2 patch
Comment 2 Sornalatha Rathnasamy 2007-07-30 11:57:43 PDT
Created attachment 15746 [details]
3.1 patch
Comment 3 zalan 2007-08-01 12:49:26 PDT
Comment on attachment 15745 [details]
3.2 patch

r=me
Comment 4 zalan 2007-08-01 12:49:46 PDT
Comment on attachment 15746 [details]
3.1 patch

r=me
Comment 5 zalan 2007-08-01 12:51:40 PDT
3.1->r24805
ccb->r24806
Comment 6 Bradley Morrison 2008-04-09 11:39:39 PDT
Bulk closing of all s60 platform bugs. 

Sorry for the noise!