Closed Bug 308036 Opened 19 years ago Closed 19 years ago

blocking of <embed type="application/x-shockwave-flash"> in userChrome.css impossible !

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: xenite, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

After I upgraded to Firefox 1.5 beta 1 I noticed that Firefox no longer block
shockwave flash. I created this testcase to find out why it no longer works.
Even when I try to use an additional attribute it still doesn't work:

testcase.htm:
<html><head><title>test</title></head>
<body>
  <embed type="application/x-shockwave-flash" test="block"></embed>
</body>
</html>

here is my userChrome.css file:
embed[type="application/x-shockwave-flash"],
embed[test="block"]
{
  display:none !important;
  visibility:hidden !important;
}


Reproducible: Always

Steps to Reproduce:
1. add a rule for the <embed type="application/x-shockwave-flash"> tag to the
   userChrome.css file and restart Firefox.
2. go to a site that uses shockwave flash
3. 

Actual Results:  
Firefox tells me that 'additional plugins are required to display all the media
on this page.'

Expected Results:  
Firefox should have blocked the shockwave flash object(s).
WFM (in userContent.css)
The original reporter wasn't using the appropriate css file.  Resolving INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.