-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome 16 / Safari 6 supported border-image-width
CSS property
#25285
Merged
caugner
merged 2 commits into
mdn:main
from
queengooborg:css/properties/border-image-width/webkit-corrections
Dec 10, 2024
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure it is not supported with version 15 (like the property itself?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'm certain -- I used the collector and tested each version of Chrome to track down the exact version number!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following evaluates to
false
in Chrome 15, and totrue
in Chrome 18:This indicates to me that
border-image-width
was only supported from Chrome 18.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See also:
![image](https://private-user-images.githubusercontent.com/495429/392544498-5d016544-6915-4182-89da-72f61f2293c9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzU3NTQsIm5iZiI6MTczOTI3NTQ1NCwicGF0aCI6Ii80OTU0MjkvMzkyNTQ0NDk4LTVkMDE2NTQ0LTY5MTUtNDE4Mi04OWRhLTcyZjYxZjIyOTNjOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxMjA0MTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zOTY3NmJjNDNlYmJmNTBmYjYyYzU5MTU0NWY4NTlkZThhMTI3ZmUyODg5Mzg4MWU4YjgxYTFjYmNmODBlOWI2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.fk8AHWMc9njSQNGd2x5We7taGtBFlBR55RSqJfF-55c)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chrome 16 starts supporting the property, Chrome 18 the
auto
value:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the collector test fails in Chrome 16, because
div.style['border-image-width']
is"auto auto auto auto"
when setting it to"auto"
. I guess this could be worth a note about Chrome expanding the short-hand in Chrome 16/17, but it looks like Chrome 16 actually supports this value.PS: Have you considered capturing some context (here: the actual value, in other cases: the error that calling e.g. a method throws) in the collector test results?