Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Fixed: #1863 Selector width info is wrong when no space before '{' #2901

Open
core-ai-bot opened this issue Aug 29, 2021 · 6 comments

Comments

@core-ai-bot
Copy link
Member

Issue by WebsiteDeveloper
Saturday Mar 09, 2013 at 12:25 GMT
Originally opened as adobe/brackets#3082


Fixed: #1863 and also fixed a few other cases where selection was incorrect


WebsiteDeveloper included the following code: https://github.com/adobe/brackets/pull/3082/commits

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Mar 14, 2013 at 02:58 GMT


This looks good.

Can you add some unit tests to the CSSUtils tests with rules as follows:

  • rule with no whitespace between selector and opening brace
  • rule with the brace on the line following as the selector with no indent
  • rule with the brace on the line following as the selector and indented

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Mar 14, 2013 at 16:31 GMT


Done with initial review.

@core-ai-bot
Copy link
Member Author

Comment by WebsiteDeveloper
Thursday Mar 14, 2013 at 17:31 GMT


@redmunds i added the unit tests and also fixed a few more edge cases

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Mar 14, 2013 at 18:00 GMT


Done with second review.

@core-ai-bot
Copy link
Member Author

Comment by WebsiteDeveloper
Thursday Mar 14, 2013 at 18:19 GMT


@redmunds ready for final review

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Mar 14, 2013 at 21:19 GMT


Looks good. Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant