Provide more helpful box-sizing guidance for third party coexistence #10387
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The box-sizing guidance for third party co-existence was made more general on #10278 (previously it was quite specific to Google Maps - see #9175).
However the 'problem' is very common as noted on #10278 (I just discovered two more - the ZenDesk support widget and the Janrain Engage sign-in widget), but the latest guidance in the Third Party box-sizing doc is a bit weak on two points:
As a suggestion to improve the section and make it a bit more helpful, I've reworded the description to be clearer about the symptoms and situations this problem might arise, and added another solution for when the first does not apply.
What you think of this version?
NB1: I tried to avoid mentioning third party products specifically, but I think the example required it.
NB2: Calling this section "Third Party Support" is a bit of a misnomer as it is more about "Third Party Coexistence" but I refrained from conflating the issue. Worth changing perhaps?