[wp-trac] [WordPress Trac] #32880: Twenty Fifteen: don't hyphenate input elements

WordPress Trac noreply at wordpress.org
Fri Jul 3 19:53:42 UTC 2015


#32880: Twenty Fifteen: don't hyphenate input elements
---------------------------+------------------
 Reporter:  lancewillett   |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.3
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------

Comment (by GaryJ):

 I get the need for consistency, but this is behaviour I've not seen
 before. Other browsers don't seem to exhibit it.

 Looking into it further, it seems to be inheriting it from the `.widget{}`
 ruleset. Changing the field type from `search` to `text` has no effect,
 and I can't reproduce in comment form fields. Disabling in `.widget{}`
 stops it though, so I'd rather see the application of hyphen styles being
 a bit more selective, to paragraphs, headings, list items and other
 textual elements, rather than to a block container.

 According to https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens, the
 `hyphens` property (CSS3 Working Draft) is supposed to be inherited, but
 that just suggests that blindly adding it to a container element may cause
 further problems that have not yet manifested.

 In short, IMHO it would be better to fix the cause, and not the symptom.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32880#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list