linkedin / linkedin/css-blocks

Handle case sensitivity and insensitivity in state selectors

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
@css-blocks/core bug
Dominant language
TypeScript
Stars
6.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Saving this for posterity – I believe we may have bugs with case insensitivity in state selectors! Need to validate if there is unexpected behavior here and if so, come up with a strategy to resolve.

```html


```
```css
[state|name="value"] { ... } /* Case sensitive selector */
[state|name="value" i] { ... } /* Case insensitive selector */
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the HTML and CSS selector examples in the issue, then trace the TypeScript state-selector handling to determine whether matching is case-sensitive or supports the CSS case-insensitivity flag. Done means the behavior is validated, the expected case rules are defined, and a concrete resolution strategy is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.