Opened 3 years ago
Closed 16 months ago
#55362 closed enhancement (wontfix)
Twenty Thirteen : Invalid use of display and float together in style.css file
Reported by: | kajalgohel | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.6 |
Component: | Bundled Theme | Keywords: | has-screenshots has-patch close |
Focuses: | css | Cc: |
Description
In the theme Twenty Thirteen, there is an invalid use of float and display inline-block together in the CSS style sheet.
.attachment .entry-title { display: inline-block; float: left; font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif; margin: 0; }
.comment-reply-title small a { color: #131310; display: inline-block; float: right; height: 16px; overflow: hidden; width: 16px; }
Attachments (4)
Change History (15)
#3
@
3 years ago
- Keywords needs-testing removed
- Version set to 3.6
Test Report
Env
- Web Server: Apache (Linux)
- WordPress: 6.0-alpha-52448-src
- Browser: Chrome
- OS: Windows 10
- Theme: Twenty Thirteen
- Plugins: None activated.
Steps to test
- View a post on the frontend.
- Scroll to the comments section.
- Add a comment.
- Click "Reply" under the comment you just created. The
X
button should appear to the right. - Apply 55362.patch.
- Refresh the page.
- Click "Reply". The
X
button should not have changed in any way.
Tested in responsive mode also.
Results
- No visible regressions.
- 55362.patch seems to cleanly remove the unnecessary use of
inline-block
andfloat
per MDN Reference: float.
Notes
- In related ticket #55338, @sabernhardt highlighted that the change is not necessary and linked to the same MDN reference on
float
.
#4
@
3 years ago
- Focuses css added
Adding css
focus to get feedback on whether this change should be made.
#5
@
3 years ago
Thanks for testing Colin.
It would be good to see some additional OS/Browser combinations so I'll hold off committing for now.
This ticket was mentioned in Slack in #core-css by peterwilsoncc. View the logs.
3 years ago
#7
@
3 years ago
- Keywords close added
There's a discussion on #55338 as to whether a similar change should be made to Twenty Eleven or whether the ticket should be closed as wontfix.
It seems sensible to make the same decision for both this and the other ticket.
This ticket was mentioned in Slack in #core-themes by peterwilsoncc. View the logs.
3 years ago
#9
@
2 years ago
- Milestone changed from 6.0 to 6.1
With 6.0 Beta 1 released yesterday, I'm moving this ticket, and #55338 to the 6.1 milestone pending further discussion on whether this change is desired.
#11
@
16 months ago
- Milestone Future Release deleted
- Resolution set to wontfix
- Status changed from new to closed
The proposal to retire old themes is not finalized yet, but I'll count that as the decision to close these two minor enhancement tickets.
display: inline-block property is removed, and design is not breaking. display: none override the display: inline-block property