Title: CSS Attribute Selectors Don't Respond to Changed State · Issue #6122 · NativeScript/NativeScript · GitHub
Open Graph Title: CSS Attribute Selectors Don't Respond to Changed State · Issue #6122 · NativeScript/NativeScript
X Title: CSS Attribute Selectors Don't Respond to Changed State · Issue #6122 · NativeScript/NativeScript
Description: Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo? Yes. Couldn't find similar issue/discussion Tell us about the problem I'd expect CSS attribute selector rules to kick in wh...
Open Graph Description: Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo? Yes. Couldn't find similar issue/discussion Tell us about the problem I'd expect CS...
X Description: Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo? Yes. Couldn't find similar issue/discussion Tell us about the problem I'd e...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/6122
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CSS Attribute Selectors Don't Respond to Changed State","articleBody":"\u003c!--\r\nWe appreciate your feedback! While we are doing all we can to take care of every issue, sometimes we get overwhelmed. That's why\r\n - issues that are not constructive or describe problems that cannot be reproduced will be closed\r\n - feature requests or bug reports with unanswered questions regarding the behavior/reproduction for more than 20 days will be closed \r\n--\u003e\r\n\r\n### Did you verify this is a real problem by searching the [NativeScript Forum](http://forum.nativescript.org) and the [other open issues in this repo](https://github.com/NativeScript/nativescript/issues)?\r\n- _Yes_. Couldn't find similar issue/discussion\r\n\r\n### Tell us about the problem\r\nI'd expect **CSS** attribute selector rules to kick in when there's a change and they become valid/true, however that is not the case.\r\n\r\nFor example the rule, `.label[occupied=\"true\"] { background-color: red; }` will not produce a **red** label unless the condition is _true_ to begin with. \r\n\r\nToggling between `.label` and `.label.occupied` will work as expected though.\r\n\r\n- [Playground example](https://play.nativescript.org/?template=play-js\u0026id=iyrT7x)\r\n\r\n### Which platform(s) does your issue occur on?\r\niOS/Android/Both\r\n- iOS\r\n\r\n### Please provide the following version numbers that your issue occurs with:\r\n- CLI: 4.1.1\r\n- Modules: 4.1.0 \r\n- iOS Runtime: 4.1.1\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/mudlabs","@type":"Person","name":"mudlabs"},"datePublished":"2018-07-26T06:33:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/6122/NativeScript/issues/6122"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b8ed201b-3b1b-6352-ac34-dd655b69b2e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E524:B3582:39D7364:4DD7F5C:697319B5 |
| html-safe-nonce | ccd7eca2d718856d2a99ab3fc5e0768e0d6478dfcce4f9e628c1b943ff342bec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTI0OkIzNTgyOjM5RDczNjQ6NEREN0Y1Qzo2OTczMTlCNSIsInZpc2l0b3JfaWQiOiI0MzUxMDk3OTI5MDA3ODMxNDc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4b5374921bdc5cc30daec7f829e81659602127c17256c231e8b023c8b9be2e5c |
| hovercard-subject-tag | issue:344712421 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/6122/issue_layout |
| twitter:image | https://opengraph.githubassets.com/14c00faf52532196507f6444e0b3ca5afa4266e8c0c5f1e11c11b15c5f2920a7/NativeScript/NativeScript/issues/6122 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/14c00faf52532196507f6444e0b3ca5afa4266e8c0c5f1e11c11b15c5f2920a7/NativeScript/NativeScript/issues/6122 |
| og:image:alt | Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo? Yes. Couldn't find similar issue/discussion Tell us about the problem I'd expect CS... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mudlabs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width