[Webkit-unassigned] [Bug 25297] New: <object type="text/html"> shows scrollbars even when overflow : hidden is specified

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 20 11:25:07 PDT 2009


           Summary: <object type="text/html"> shows scrollbars even when
                    overflow : hidden is specified
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://zetafleet.com/dev/bugs/webkit/html-embedded-
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bugs.webkit.org at zetafleet.com

Since <object type="text/html"> is the XHTML Strict DTD replacement for
<iframe>, it would be good if a mechanism similar to iframe’s scrolling="no"
property was provided, since the embedded page can not always be changed to
include “html,body{overflow:hidden;}” (in particular, pages from 3rd party
ad networks).

WebKit should probably do what Gecko does and ensure that scrollbars do not
appear when overflow : hidden is specified on the <object>. (I am pretty sure
this is the correct behaviour under CSS 2.1, but I am not an expert at reading
the CSS spec. :))

Alternatively, a <param> could be used that is directly analogous to the
<iframe> attribute (eg. <param name="scrolling" value="no" />).

Either way, currently, WebKit does not offer feature parity in this area for
the old <iframe> functionality, and this causes layout ugliness on XHTML 1.0
Strict pages.

See URL for testcase.

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