Skip to content

[css-sizing][responsive-frame] Should frame-sizing apply to <object> elements? #13584

@kojiishi

Description

@kojiishi

This is a follow up to the discussion on Jan 28.

smfr: this is just about iframe and also object?
chrisl: why would object be different?
iank_: can take it as an issue
fantasai: does svg have different behavior between iframe and object
dbholbert: it does

@smfr @svgeesus @fantasai @dholbert @bfgeek

The current behaviors are as below (simple tests for the SVG sizing):

Content Type<iframe><object>
HTML Fixed viewport, defaults to 300x150. No auto-resize.
SVG Fixed viewport, defaults to 300x150. No auto-resize. Acts as a replaced element; auto-resizes to intrinsic dimensions.

One way to say is to apply to both elements, because they have the same behavior for HTML today.

Another way is to apply only to <iframe>, because it has security sandbox, and it's better suited for HTML.

I don't have a strong opinion, anyone?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions