Opened 12 years ago
Closed 12 years ago
#21740 closed defect (bug) (fixed)
Twenty Twelve: Review overflow attributes
Reported by: | obenland | Owned by: | lancewillett |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | |
Focuses: | Cc: |
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)
#2
follow-up:
↓ 3
@
12 years ago
Thanks! :)
To reproduce, check the comment form text with Open Sans activated.
#3
in reply to:
↑ 2
@
12 years ago
Replying to obenland:
To reproduce, check the comment form text with Open Sans activated.
Thanks, reproduced in Firefox: 21740.comment-form.png
#4
follow-up:
↓ 5
@
12 years 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 toarticle.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.
#5
in reply to:
↑ 4
@
12 years 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.
Related: http://themes.trac.wordpress.org/ticket/9199#comment:15
Couldn't reproduce though.