Bug 50638

Summary: Web Inspector: warning icon for unrecognized style rule should have tooltip
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch yurys: review+

Description Joseph Pecoraro 2010-12-07 11:19:20 PST
When a CSS style rule is "not parsed okay" it has a warning icon. However, the reason
that warning icon is there is not known. There should be a tooltip, or something else,
with the image to explain to user why the warning is there. There could be a number
of reasons:

  - unknown property (-moz-something: ...)
  - unknown value for property (color: a)
  - other?

Currently the image is inserted via CSS if the property was (!parsedOk). The
CSS in inspector.css is:

>  .styles-section .properties li.not-parsed-ok::before {
>      content: url(Images/warningIcon.png);
>      ...
>  }
Comment 1 Joseph Pecoraro 2010-12-07 11:20:35 PST
Another issue might just a syntax issue. That is probably indistinguishable between an
unknown value for property.
Comment 2 Alexander Pavlov (apavlov) 2011-05-07 01:52:38 PDT
*** Bug 60431 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Pavlov (apavlov) 2011-11-23 06:19:35 PST
Created attachment 116350 [details]
Patch
Comment 4 Alexander Pavlov (apavlov) 2011-11-23 06:34:27 PST
Committed r101080: <http://trac.webkit.org/changeset/101080>