[wp-trac] [WordPress Trac] #31253: Images should be forced to fit inside the editor
WordPress Trac
noreply at wordpress.org
Fri Feb 6 23:24:04 UTC 2015
#31253: Images should be forced to fit inside the editor
--------------------------+------------------
Reporter: iseulde | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------
Description changed by iseulde:
Old description:
> I think it would be best if images and captions have a `max-width:
> 100%;`.
>
> This appeared to be a bit of a problem on iOS... Another bug, again.
> Inside iframes, Safari on iOS doesn't obey `max-width` if a `width` is
> set on the element. It does work if a width attribute is used though. The
> only solution seems to be overwriting with `width: auto;`.
>
> Related:
>
> [[TicketQuery(id=30696|31250)]]
New description:
I think it would be best if images and captions have a `max-width: 100%;`.
This appeared to be a bit of a problem on iOS... Another bug, again.
Inside iframes, Safari on iOS doesn't obey `max-width` if a `width` is set
on the element. It does work if a width attribute is used though. The only
solution seems to be overwriting with `width: auto;`.
Related:
[[TicketQuery(id=30696|31250|24968)]]
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31253#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list