Bug 67856
Summary: | Emit warning in console when using vendor prefix that has become standardized | ||
---|---|---|---|
Product: | WebKit | Reporter: | Erik Arvidsson <arv> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | ap, bfulgham, macpherson, mikelawther, paulirish, tabatkins, tony |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Erik Arvidsson
We should emit a warning in the console when the page uses CSS properties with a vendor prefix when the property has been standardized and we support it without the vendor prefix.
For example, if someone uses -webkit-box-shadow we should emit a warning telling them to switch to box-shadow.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Would that be helpful to developers, or just noise?
Most people want to target more than just the latest browser version, so they'll intentionally keep old properties for many years.
Perhaps it would be useful to warn if vendor specific property is used without a matching standard one.
Luke Macpherson
I think it is a good idea to tell developers when they are using a deprecated properties.
I wonder if this belongs in the CSS component, or the web inspector component?