Opened 8 months ago
Closed 3 months ago
#22366 closed defect (bug) (fixed)
Twenty Eleven: Set non-WP images to max-width 100%
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | philiparthurmoore, xoodrew@…, knut@… |
Description
If an image doesn't have a WordPress-generated class, we should be able to safely set its max width value to 100%. If the image does have a WP-generated class, we can leave it at 97.5% to accommodate border and padding rules.
Attachments (2)
Change History (11)
comment:1
DrewAPicture
— 8 months ago
comment:3
follow-up:
↓ 4
lancewillett
— 7 months ago
- Milestone changed from Awaiting Review to Future Release
I think we should implement this on WP.com first, then let it soak in a while.
Recommend fixing 3.6 early.
comment:4
in reply to:
↑ 3
DrewAPicture
— 7 months ago
- Cc xoodrew@… added
Replying to lancewillett:
I think we should implement this on WP.com first, then let it soak in a while.
Recommend fixing 3.6 early.
Seems sensible. Let's do that.
comment:6
lancewillett
— 4 months ago
- Milestone changed from Future Release to 3.6
comment:7
lancewillett
— 3 months ago
- Keywords commit added
This has been working on WP.com for 2 weeks, should be safe to commit to core since no issues reported.
lancewillett
— 3 months ago
comment:8
lancewillett
— 3 months ago
Patch also adds better handling for images inside captions, fixing misalignment.
comment:9
lancewillett
— 3 months ago
- Owner set to lancewillett
- Resolution set to fixed
- Status changed from new to closed
In 23654:
Seems reasonable enough, as long as we don't do it inline.