Open core-ai-bot opened 3 years ago
Comment by peterflynn Tuesday Feb 28, 2012 at 20:02 GMT
There are a few potential fixes for this:
<style scoped>
feature, if implemented in our browser. Similar effect to shadow DOM but possibly less complicated. According to this page, scoped
is not implemented in any browser yet but a jQuery polyfill plugin is available.Comment by njx Tuesday Mar 20, 2012 at 18:24 GMT
QRB closing. We don't have a need to fix this until one of the cases above occurs. However, it's good that we have all the info in this bug so we can find it in the future if we need it.
Issue by peterflynn Tuesday Feb 28, 2012 at 19:56 GMT Originally opened as https://github.com/adobe/brackets/issues/324
See comment in brackets_codemirror_override.less. Basically, the use of descendant selectors for some of CodeMirror's CSS styling is dangerous because when an editor is nested it may unintentionally match against classes set on the outer editor too.
I've fixed this for cursor visibility and selection color, specifically in the case of one-level nesting. But we could still see problems in scenarios not covered by that fix: