Closed (works as designed)
Project:
Drupal core
Version:
11.x-dev
Component:
Claro theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2021 at 15:53 UTC
Updated:
14 Dec 2023 at 18:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Pooja Ganjage commentedHi thomas.frobieter,
I don't see content-box defined anywhere in claro theme.
Would you please help me out for this.
Regards Pooja.
Comment #3
thomas.frobieterHi @pooja-ganjage,
you're right, 'content-box' is the browsers default value, Claro MAY need to add 'border-box' as its default.
Maybe I'm wrong, but I think it's worth to discuss. Inside my "webdesign-bubble" it's a default thing, I don't see any benefit using content-box, because you often need to subtract the padding (& border-width) from the width & height.
Comment #4
Pooja Ganjage commentedHi @thomas.frobieter,
I was go through the Claro theme and it has already defined whenever it's needed 'border-box'.
Comment #5
idebr commentedComment #10
gauravvvv commentedI have attached the patch, please review
Comment #11
smustgrave commentedChanges seems simple enough.
Comment #13
swatidhurandhar commentedI have created a new patch since #10 was failing through some test cases.
Comment #14
viren18febs commentedComment #15
smustgrave commented11.x is the current development branch and #10 still applies
Comment #17
gauravvvv commentedRandom failure, restoring status
Comment #18
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request. Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
Comment #21
nod_restoring status, credited for target version update
Comment #22
nod_I do not understand what this changes practically.
The IS mentions that it causes unnecessary calculations but there is no simplifications in the code at all. I'm tempted to close this issue as "works as designed" if we don't have any other change in this MR.
Comment #23
nod_Comment #24
smustgrave commentedPer #22 since there hasn't been any follow up.