Opened 9 years ago
Closed 9 years ago
#35421 closed defect (bug) (fixed)
Default Themes: Fieldset Chrome bug
Reported by: | obenland | Owned by: | obenland |
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | Cc: |
Description
Webkit browsers set the min-width of fieldset
elements to -webkit-min-content
. min-content is the smallest measure that would fit around its content if all soft wrap opportunities within the box were taken.
On small screens it can happen that fieldset
contains elements that are wider than the content area, resulting in fieldset
overflowing to accommodate those elements. A good example for that is the Elements post on Theme Preview at wp-themes.com.
This bug occurs in 2013, 2014, 2015, and 2016.
Attachments (9)
Change History (17)
#2
@
9 years ago
@obeland, thanks for the report and the patch. I'll test them through.
@chris_dev: Thanks, but @obeland has already attached a patch :) And, for the next time, please order property alphabetically for consistency and make your patch from the root.
@obenland Hi, I tested it with twentysixteen v1.1
I added min-width: inherit; inside of fieldset.
If my solution is correct, I will fix other default theme as well.