Bug Tracker

Opened 8 years ago

Closed 8 years ago

#15245 closed bug (wontfix)

jQuery('text-decoration') on Chrome 31~36 returns "text-decoration-line" and "text-decoration-color" which are not expected yet

Reported by: yanni4night Owned by:
Priority: low Milestone: 1.next/2.next
Component: css Version: 2.1.1
Keywords: text-decoration Cc: [email protected]
Blocked by: Blocking:


Chrome supports "text-decoration-line" and "text-decoration-color" but it has a bug that we cannot set them,for example:

document.querySelector("p").style.textDecoration="underline solid rgba(0,255,0,1)";

That changes nothing.

What is worse,we cannot set,but we can get:


We get

"underline solid rgba(0,255,0,1)"


This issue is fixed since Chrome 37 as I know.I think jQuery 1.x and 2.x should fix it on Chrome 31~36.

Change History (3)

comment:1 Changed 8 years ago by yanni4night

comment:2 Changed 8 years ago by yanni4night

I have pulled two requests for 1.x and 2.x on github to fix this:

https://github.com/jquery/jquery/pull/1659 https://github.com/jquery/jquery/pull/1660

comment:3 Changed 8 years ago by dmethvin

Resolution: wontfix
Status: newclosed

Since Chrome 37 is released and it will be a while before the next jQuery release, it doesn't make sense to attempt a fix now.

Note: See TracTickets for help on using tickets.