[wp-trac] [WordPress Trac] #40375: ADMIN

WordPress Trac noreply at wordpress.org
Fri Apr 7 04:46:26 UTC 2017


#40375: ADMIN
--------------------------+------------------------------
 Reporter:  adminhoang    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * focuses:  javascript, docs, administration, template, performance =>
     administration


Old description:

> /*
> Display [] by the item with the accesskey
>
> by Dan Rasmussen <http://danrasmussen.org>
> August 2008.
>
> Based on
> http://blog.andrewbeacock.com/2007/06/firefox-hack-to-display-
> accesskey.html
>
> I've modified the original to look (reasonably) good and be visible
> whether the background color of the web page is light or dark.
>
> Licensed under the Creative Commons Attribution 3.0 license:
> http://creativecommons.org/licenses/by/3.0/
> */
>
> a[accesskey]:after,
> button[accesskey]:after,
> input[accesskey]:after,
> label[accesskey]:after,
> legend[accesskey]:after,
> textarea[accesskey]:after {
>     margin-left: 0.3em;
>     background-color: black;
>     color: white;
>     font-size: 125%;
>     padding: .125em .125em;
>     content: "[" attr(accesskey) "]";
> }

New description:

 {{{
 /*
 Display [] by the item with the accesskey

 by Dan Rasmussen <http://danrasmussen.org>
 August 2008.

 Based on
 http://blog.andrewbeacock.com/2007/06/firefox-hack-to-display-
 accesskey.html

 I've modified the original to look (reasonably) good and be visible
 whether the background color of the web page is light or dark.

 Licensed under the Creative Commons Attribution 3.0 license:
 http://creativecommons.org/licenses/by/3.0/
 */

 a[accesskey]:after,
 button[accesskey]:after,
 input[accesskey]:after,
 label[accesskey]:after,
 legend[accesskey]:after,
 textarea[accesskey]:after {
     margin-left: 0.3em;
     background-color: black;
     color: white;
     font-size: 125%;
     padding: .125em .125em;
     content: "[" attr(accesskey) "]";
 }
 }}}

--

Comment:

 Hi @adminhoang, welcome to WordPress Trac!

 This Trac is used for enhancements and bug reporting for the WordPress
 core software.

 Could you clarify what you are trying to do?

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


More information about the wp-trac mailing list