Bug 102750 - Warn on ignored values
Summary: Warn on ignored values
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 19236
  Show dependency treegraph
 
Reported: 2012-11-19 17:38 PST by Emil A Eklund
Modified: 2014-01-12 15:04 PST (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emil A Eklund 2012-11-19 17:38:15 PST
When a style value is being ignored it might be a good idea to log it to the console.
Comment 1 Ojan Vafai 2012-11-19 21:30:53 PST
I don't think we should do this. We already clearly indicate in the inspector when a value is ignored. We don't need to spam the console with warnings.
Comment 2 Alexander Pavlov (apavlov) 2012-11-19 22:10:19 PST
@Ojan: We've had the idea of logging various CSS-related messages (see bug 19236) in the air for a while. While spamming the console is definitely wrong, some kind of notifying the user about broken stylesheets can be useful.

I just checked the latest Opera Dragonfly, and they have a special "Errors" panel (using our terms) where they show errors that encountered while processing the page resources, broken down by categories (including "CSS"). This can be a kind of implicit audit, so that the user will not have to check all their matched styles to see bad properties. And of course, it should be possible to avoid logging certain vendor-prefixed properties (-moz-* et al.)
Comment 3 Ojan Vafai 2012-11-26 09:50:14 PST
(In reply to comment #2)
> @Ojan: We've had the idea of logging various CSS-related messages (see bug 19236) in the air for a while. While spamming the console is definitely wrong, some kind of notifying the user about broken stylesheets can be useful.
> 
> I just checked the latest Opera Dragonfly, and they have a special "Errors" panel (using our terms) where they show errors that encountered while processing the page resources, broken down by categories (including "CSS"). This can be a kind of implicit audit, so that the user will not have to check all their matched styles to see bad properties. And of course, it should be possible to avoid logging certain vendor-prefixed properties (-moz-* et al.)

Ah yes. This makes a lot more sense. Something with a dedicated UI seems reasonable.