WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
102750
Warn on ignored values
https://bugs.webkit.org/show_bug.cgi?id=102750
Summary
Warn on ignored values
Emil A Eklund
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
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.
Alexander Pavlov (apavlov)
Comment 2
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.)
Ojan Vafai
Comment 3
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug