My favorites | Sign in
Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
             
New issue | Search
for
| Advanced search | Search tips
Issue 6208: Acid3 Linktest Failed
15 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 231
Owner:  all-bugs-test@chromium.org
Closed:  Jan 2009
Cc:  anantha@chromium.org, karen@chromium.org
Type-Bug
Pri-2
OS-All
Area-WebKit


Sign in to add a comment
 
Reported by Ubercow1337, Jan 09, 2009
Chrome Version       : 2.0.157.0 (7814)
URLs (if applicable) : http://acid3.acidtests.org/


What steps will reproduce the problem?
1. Run the Acid3 Test

What is the expected result?
The Acid3 passes

What happens instead?
There is a red LINKTEST FAILED

If my understanding of this test is correct:
The Acid3 is first creating a link to a page in an "a" tag
It then takes an iframe and navigates to that page
It is testing if a link changes it's visited state at runtime instead of loadtime
The test passes if the link shows up as visited which appears as hidden.

My opinion on this is that links need to be updated at runtime instead of being checked when the page 
is loaded


This is the javascript test:
// test 48: :link and :visited
      var iframe = document.getElementById("selectors");
      var number = (new Date()).valueOf();
      var a = document.createElement('a');
      a.appendChild(document.createTextNode('LINKTEST FAILED'));
      a.setAttribute('id', 'linktest');
      a.setAttribute('class', 'pending');
      a.setAttribute('href', iframe.getAttribute('src') + "?" + number);
      document.getElementsByTagName('map')[0].appendChild(a);
      iframe.setAttribute("onload", "document.getElementById('linktest').removeAttribute('class')");
      iframe.src = a.getAttribute("href");
      return 3; 

The CSS Related to it:
  #linktest:link { display: block; color: red; text-align: center; text-decoration: none; }
  #linktest.pending, #linktest:visited { display: none; }

Comment 1 by divilex@hotmail.com, Jan 11, 2009
On the latest builds (because of the new version of WebKit), the Acid3 test passes 
100/100 but the linktest fails. Why is this? When will this be fixed?
Comment 2 by phajdan...@chromium.org, Jan 12, 2009
(No comment was entered for this change.)
Status: Untriaged
Labels: -Area-Misc Area-WebKit
Comment 3 by aocampo@chromium.org, Jan 12, 2009
(No comment was entered for this change.)
Status: Duplicate
Cc: anan...@chromium.org
Mergedinto: 231
Comment 4 by kkooporation, May 25, 2009
Thanks :P
Sign in to add a comment