[Webkit-unassigned] [Bug 19646] New: CSS style "display:none; " ignored by "object" and "embed" HTML tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 17 18:59:42 PDT 2008


           Summary: CSS style "display:none;" ignored by "object" and
                    "embed" HTML tags
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tq_sub at mac.com

The "display: none;" style has no visible effect on either the "object" tag or
the "embed" tag. This has been true for many versions, ever since Safari 1, and
I've sent in a bug report through Safari way back then. As far as I've noticed,
this behavior has not changed during each version since then, so likely these
tags have never complied with the style "display: none;".

The reason I've noticed it not working is because I've created a custom CSS
style sheet and have selected it within Safari's preferences, and the content
within these tags have continued to be displayed every version. I have also
used a reduced style sheet to test only the "object" or "embed" tags with the
style "display: none;" when visiting various web pages.

I haven't found any documentation suggesting "object" and "embed" tags should
be exceptional and ignore "display:none;", so I"m pretty sure this isn't
standard behavior.

I've tried using "display: none;" within the tag, within the document, and in a
separate style sheet document, but the tags will not disappear. I've tried
using IDs and classes, and also referencing by attributes such as width and
height, but nothing will get an "object" tag or an "embed" tag to acknowledge
and comply with the style.

Have noticed <a http="https://bugs.webkit.org/show_bug.cgi?id=15081">bug#
15081</a> describes the problem (different OS version) and provides a suitable
reduction. However, the "Plug-ins" category doesn't seem appropriate since this
really seems something do with the CSS style not being applied.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list