brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] CSS is fragile with nested (inline) CodeMirror editors #322

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

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:

core-ai-bot commented 3 years ago

Comment by peterflynn Tuesday Feb 28, 2012 at 20:02 GMT


There are a few potential fixes for this:

core-ai-bot commented 3 years ago

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.