I've recently noticed a problem with tabindex on anchor<a> tags.
The following line:
<a target="_blank"  tabindex="1" href="${send.help.url}" >${send.help}</a>
is being altered to:
<a target="_blank" href="${send.help.url}" >${send.help}</a>
in google apps script. Is there an exception case for  anchor tags that 
overrides the * behavior?

On Monday, April 7, 2014 3:25:27 PM UTC-4, [email protected] wrote:
>
> Revision: 5677 
> Author:   [email protected] <javascript:> 
> Date:     Mon Apr  7 19:25:13 2014 UTC 
> Log:      Whitelist modern tabindex=. 
> https://codereview.appspot.com/85040043 
>
> * tabindex is allowed on any element. 
> * tabindex="-1" is allowed. 
>
> For <https://code.google.com/p/google-caja/issues/detail?id=1155>. 
>
> [email protected] <javascript:> 
>
> http://code.google.com/p/google-caja/source/detail?r=5677 
>
> Modified: 
>   /trunk/src/com/google/caja/lang/html/html4-attributes-defs.json 
>   /trunk/src/com/google/caja/lang/html/html4-attributes-whitelist.json 
>
> ======================================= 
> --- 
> /trunk/src/com/google/caja/lang/html/html4-attributes-defs.json        Wed 
>   
> May  1 17:22:42 2013 UTC 
> +++ 
> /trunk/src/com/google/caja/lang/html/html4-attributes-defs.json        Mon 
>   
> Apr  7 19:25:13 2014 UTC 
> @@ -558,20 +558,9 @@ 
>         { "key": "TABLE::SUMMARY", 
>           "description": "purpose/structure for speech output", 
>           "optional": true }, 
> -      { "key": "A::TABINDEX", "description": "position in tabbing order", 
> -        "pattern": "[0-9]+", "optional": true }, 
> -      { "key": "AREA::TABINDEX", "description": "position in tabbing   
> order", 
> -        "pattern": "[0-9]+", "optional": true }, 
> -      { "key": "BUTTON::TABINDEX", "description": "position in tabbing   
> order", 
> -        "pattern": "[0-9]+", "optional": true }, 
> -      { "key": "INPUT::TABINDEX", "description": "position in tabbing   
> order", 
> -        "pattern": "[0-9]+", "optional": true }, 
> -      { "key": "OBJECT::TABINDEX", "description": "position in tabbing   
> order", 
> -        "pattern": "[0-9]+", "optional": true }, 
> -      { "key": "SELECT::TABINDEX", "description": "position in tabbing   
> order", 
> -        "pattern": "[0-9]+", "optional": true }, 
> -      { "key": "TEXTAREA::TABINDEX", "description": "position in tabbing 
>   
> order", 
> -        "pattern": "[0-9]+", "optional": true }, 
> +      { "key": "*::TABINDEX", "description": "position in tabbing order", 
> +        "pattern": "-1|[0-9]+", "optional": true, 
> +        "comment": "-1 and on-any-element are extensions/HTML5" }, 
>         { "key": "A::TARGET", "description": "render in this frame", 
>           "type": "FRAME_TARGET", "default": "_self", "optional": true }, 
>         { "key": "AREA::TARGET", "description": "render in this frame", 
> ======================================= 
> --- 
> /trunk/src/com/google/caja/lang/html/html4-attributes-whitelist.json         
>
> Mon Oct 15 18:33:58 2012 UTC 
> +++ 
> /trunk/src/com/google/caja/lang/html/html4-attributes-whitelist.json         
>
> Mon Apr  7 19:25:13 2014 UTC 
> @@ -193,12 +193,7 @@ 
>         "OL::START", 
>         "*::STYLE", 
>         "TABLE::SUMMARY", 
> -      "A::TABINDEX", 
> -      "AREA::TABINDEX", 
> -      "BUTTON::TABINDEX", 
> -      "INPUT::TABINDEX", 
> -      "SELECT::TABINDEX", 
> -      "TEXTAREA::TABINDEX", 
> +      "*::TABINDEX", 
>         "A::TARGET", 
>         "AREA::TARGET", 
>         "FORM::TARGET", 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to