My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 306: Regression in test_js1.html: Text that should be hidden is not
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  grick23
Closed:  Sep 18
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by bradneuberg, Sep 17, 2009
In test_js1.html when the Flash renderer is being run:

http://brad.com:8080/tests/browser-tests/test_js1.html?svg.render.forceflash=true

In the first image the text 'This text should be hidden' is visible at the
end of the tests. It should be hidden.

This comes from the testStyle() method in test_js.js:

// make some text invisible
  text = getDoc('mySVG').createElementNS(svgns, 'text');
  text.appendChild(getDoc('mySVG').createTextNode('This text should be hidden',
                                                  true));
  text.setAttribute('x', 50);
  text.setAttribute('y', 300);
  svg = getRoot('mySVG');
  svg.appendChild(text);
  text.style.visibility = 'hidden';
  assertEquals('text.style.visibility == hidden', 'hidden',
               text.style.visibility);
  console.log('FIRST IMAGE: You should _not_ see the text '
              + '"This text should be hidden"');

Basically it appears that the text.style.visibility line has regressed.

This might be related to  Issue 305 .
Comment 1 by grick23, Sep 18, 2009
Fixed in r872.
Sorry about that. I needed to move the filters and alpha to the right sprite for that
funny text GlowFilter workaround.
Status: Fixed
Sign in to add a comment

Hosted by Google Code