Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
Claro theme
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2022 at 21:39 UTC
Updated:
30 Aug 2023 at 08:14 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
aditya4478 commentedComment #3
aditya4478 commentedComment #4
ckrinaComment #5
ckrinaComment #6
smustgrave commentedThis issue is being reviewed by the kind folks in Slack, #need-reveiw-queue. We are working to keep the size of Needs Review queue [2700+ issues] to around 200, following Review a patch or merge require as a guide.
Was discussed in slack #frontend channel slightly with @ckrina and @quietone
Moving to postponed as there are still some decisions to be made about how to go about these changes and what's needed in the follow up.
Comment #7
aditya4478 commentedComment #8
stanzin commentedComment #9
smustgrave commentedSome weird indent in the .css file
Also as this seems to be different from #3 will need screenshots.
Please include interdiffs between patches as well.
Thanks!
Comment #10
santosh_verma commentedworking on it
Comment #11
gauravvvv commentedUpdated the logical properties and selectors, please review
Comment #12
Harish1688 commentedHi,
After applying the patch 3303551-11.patch, the following points were observed:
1. CSS Logical Properties and nesting are utilized appropriately.
2. The UI and hover/focus states remain unchanged, showing no difference in behavior compared to the previous version.
Screenshot attached
looks good to RTBC
Comment #13
smustgrave commentedBelieve this could go under .form-element--type-select also.
Also there are some missing spacing before the brackets. Super nitpicky but if the above is being fixed those should be too.
Comment #14
gauravvvv commentedAddressed #13, attached interdiff for same
Comment #15
smustgrave commentedFor the sceenshots please
Comment #16
Harish1688 commentedhi,
As per #15 request attached the image in issue summary.
The UI should remain visually consistent before/after the patch applied, with no need to compare the screens before and after screen.
Comment #17
smustgrave commentedVerified the nesting seems seems good.
Found a random issue, not caused by this change, maybe will be fixed by the tooltip ticket though
Comment #18
lauriiiI don't think we should be removing these properties because they have been added intentionally to make select elements work consistently in high contrast mode.
Nit: missing space before {
Comment #19
Harish1688 commentedHi,
As pr last comment #18, looking the two point.
1. After applying the #18 patch, tested the UI on High contrast mode but not found any inconsistently. so removing the properties, not put any impact on the UI. attached the reference images.
2. Missing space is resolved in 3303551-19.patch patch.
After patch in select box in high contrast mode.


Comment #20
gauravvvv commentedUpdated some logical properties, also restored the code from comment #18. Attached interdiff for same please review.
Comment #21
aditya4478 commentedAll tests are passed,
LGTM ! :-)
Comment #22
lauriiiThere was a small regression to some weight select fields because of extra space had sneaked into a selector. Addressed that, and moved the no-touchevents related styles inside the
.form-element--type-selectblock.Comment #24
lauriiiCommitted 29107b5 and pushed to 11.x. Thanks!