Opened 10 months ago
Closed 10 months ago
#21740 closed defect (bug) (fixed)
Twenty Twelve: Review overflow attributes
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | lancewillett |
Description
Let's double-check where overflow attributes are really necessary and where they might interfere with the Theme.
We should be leaving only the essential rules for clearing floats and remove the rest.
Attachments (1)
Change History (7)
comment:1
SergeyBiryukov
— 10 months ago
comment:2
follow-up:
↓ 3
obenland
— 10 months ago
Thanks! :)
To reproduce, check the comment form text with Open Sans activated.
SergeyBiryukov
— 10 months ago
comment:3
in reply to:
↑ 2
SergeyBiryukov
— 10 months ago
Replying to obenland:
To reproduce, check the comment form text with Open Sans activated.
Thanks, reproduced in Firefox: 21740.comment-form.png
comment:4
follow-up:
↓ 5
obenland
— 10 months ago
I'd like to remove the attribute from the following selectors:
- .widget-area .widget: Maybe change that, so that floats could still be used in text widgets. But other than that it seems not to be needed here. Plus it kills the bottom-shadow of the 'Search' button.
- footer[role="contentinfo"]: Nothing floats in the footer.
- .image-attachment: Let's move the overflow attribute to article.attachment, so the image shadow does not get cut off.
- .comments-meta article: Doesn't have any effect. And while we're there: .comments-area article p is redundant.
- #respond form p: Nothing floating there either, but causing above mentioned bug
I'd like to add the attribute to the following selector:
- .entry-content: We pass the "Clearing Floats" Unit Tests only due to clearing help by .entry-meta. We get busted in an Aside when the last element is floated, since the background color doesn't wrap. If accepted, we should also add a word-wrap attribute and an override for image attachements.
Both will probably need more testing then, too.
comment:5
in reply to:
↑ 4
lancewillett
— 10 months ago
Replying to obenland:
I'd like to remove the attribute from the following selectors:
Makes sense for all these (noting .comments-area article not -meta), thanks for the notes.
I'd like to add the attribute to the following selector:
Could you explain this one further? I'm not sure I see the importance of it. Maybe a new ticket with screenshots and examples. Otherwise I'd vote to leave it as is for now.
comment:6
lancewillett
— 10 months ago
- Owner set to lancewillett
- Resolution set to fixed
- Status changed from new to closed
In [21725]:
Related: http://themes.trac.wordpress.org/ticket/9199#comment:15
Couldn't reproduce though.