New issue
Advanced search Search tips

Issue 872114 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Using JS to change the style "-webkit-background-clip", it will ignore the prefix "-webkit"

Reported by skyline0...@gmail.com, Aug 8

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
1. open this link: https://jsfiddle.net/5tgz21wx/5/
2. inspect the div element

What is the expected behavior?
the style of the div should be "-webkit-background-clip: text"

What went wrong?
the style of the div is "background-clip: text",but this style only works with the prefix "-webkit"

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 67.0.3396.99  Channel: n/a
OS Version: OS X 10.13.6
Flash Version:
 
Labels: Needs-Milestone
Sorry my fault,actually the issue title should be: Using CSSOM to set the style "-webkit-background-clip", something wrong within the syncing process between style IDL attribute (CSSStyleDeclaration) and content attribtue (string).
Components: Blink>CSS
Cc: phanindra.mandapaka@chromium.org
Labels: Needs-Feedback Triaged-ET
Tested this issue on latest chrome version 68.0.3440.106 using Mac 10.13.6. 
Steps: 
---------
1. Launched reported chrome 
2. Navigated to given URL "https://jsfiddle.net/5tgz21wx/5/ "
3. Inspected the div element
As we are seen the same behavior on firefox and chrome browser.. 

@Reporter: As we are not sure about the issue if possible provide specific steps/ screen-cast for better triaging it.Could you please upgrade to latest chrome stable 68.0.3440.106, you can download latest chrome builds 
here:" https://www.chromium.org/getting-involved/dev-channel ". Let us know whether issue still persists

Thanks..!
here is the issue why I found it:https://github.com/vuejs/vue/issues/8612#issuecomment-411285808

at this commit, Justineo gives all the inputs and outputs,Thanks~~
Project Member

Comment 6 by sheriffbot@chromium.org, Aug 9

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: shend@chromium.org futhark@chromium.org
Status: Available (was: Unconfirmed)
It's implemented as an alias in Gecko and presumably Edge according to https://bugzilla.mozilla.org/show_bug.cgi?id=759568

According to https://compat.spec.whatwg.org/#the-webkit-background-clip-property it shouldn't be. It would probably be a good idea to align with Gecko and Edge and change the spec to make it an alias instead of trying to serialize with the correct property name.


Sign in to add a comment