Bug 67856

Summary: Emit warning in console when using vendor prefix that has become standardized
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: CSSAssignee: 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
Reported 2011-09-09 10:20:36 PDT
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
Alexey Proskuryakov
Comment 1 2011-09-09 17:25:00 PDT
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
Comment 2 2012-02-21 16:38:28 PST
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?
Note You need to log in before you can comment on or make changes to this bug.