Side navigation
#15245 closed bug (wontfix)
Opened September 20, 2014 12:18PM UTC
Closed October 16, 2014 05:43PM UTC
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: | yanni4night@gmail.com |
Blocked by: | Blocking: |
Description
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:
window.getComputedStyle(p,null)['text-decoration']
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.
Attachments (0)
Change History (3)
Changed September 20, 2014 12:21PM UTC by comment:1
Changed September 20, 2014 12:43PM UTC by comment:2
I have pulled two requests for 1.x and 2.x on github to fix this:
Changed October 16, 2014 05:43PM UTC by comment:3
resolution: | → wontfix |
---|---|
status: | new → closed |
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.
I forgot the chromium bug:
https://code.google.com/p/chromium/issues/detail?id=342126