![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
box-sizing-polyfill
Advanced tools
This box-sizing polyfill is based on previous work done by Erik Arvidsson, which he published in 2002 on WebFX.
This box-sizing polyfill is based on previous work done by Erik Arvidsson, which he published in 2002 on WebFX.
Since there were some edge/heavy usage cases where it broke I started pushing it further. And since the original was not aware of IE8 I also added feature-detection for box-sizing, to do nothing when detected positive.
During that I also borrowed dimension measuring techniques from Dean Edwards' IE7.js script.
Add the behavior/HTC after every box-sizing: border-box; that you assign:
box-sizing: border-box; *behavior: url(/scripts/boxsizing.htc);
If you prefix the behavior
property with a star, like seen above, it will only be seen by IE6 & IE7, not by IE8+ (it's a hack) which is better for the performance on those newer browsers.
The URL to the HTC file must be relative to your HTML(!) document, not relative to your CSS. That's why I'd advise you to use absolute paths like in the example.
Please make sure to check your server configuration and update it to use the correct content-type if needed. You can do this in a .htaccess file:
AddType text/x-component .htc
FAQs
This box-sizing polyfill is based on previous work done by Erik Arvidsson, which he published in 2002 on WebFX.
The npm package box-sizing-polyfill receives a total of 6 weekly downloads. As such, box-sizing-polyfill popularity was classified as not popular.
We found that box-sizing-polyfill demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.