Unit Tests: CSSUtils.getInfoAtPos() ignores prefixes#6824
Unit Tests: CSSUtils.getInfoAtPos() ignores prefixes#6824RaymondLim merged 1 commit intoadobe:masterfrom
Conversation
|
@RaymondLim Do you know why CSSUtils ignores prefixes? |
|
@oslego Does this cause a bug with the Shapes editor, or were you just reporting this as a Brackets bug? |
|
I believe the problem is mainly with CodeMirror, since it doesn't add the prefixes to the properties. Is easy to see with the highlighting. The prefixes are always black, and the properties not. |
|
@TomMalbran You're right! But we can also work around in our CSSUtils.js to collect the prefix and then pass that info to the hint providers. |
|
It does impact the shapes editor, but it's not a critical bug. I wanted to Reporting this as a generic bug, which may influence future extensions. On Monday, February 10, 2014, Randy Edmunds notifications@github.com
|
|
Reassign it to me. |
|
Looks good. Merging. |
Unit Tests: CSSUtils.getInfoAtPos() ignores prefixes
Is there any reason to ignore prefixes in CSS properties?
Any prefix-like notation is dropped (-webkit- or -xxx-) and the remainder is served as PROP_NAME. This yields false-positives for things like
-xxx-transform: value.Attached test to highlight the issue.
This is for #6861