[Webkit-unassigned] [Bug 56118] Web Inspector: CSS Autocomplete Should Use More Contextual Information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 10 10:40:57 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=56118





--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org>  2011-03-10 10:40:57 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> > CSS Autocomplete for properties with multiple values, or complex values should take context into account.
> > 
> > For example:
> > 
> >   background-image: url(|   => should not autocomplete values, but possible URLs if possible
> >   border: 1px s|            => should not autocomplete colors, but should autocomplete "solid, dashed, dotted, etc."
> 
> The second example is arguable. Technically, "border: 1px saddlebrown" is as valid as "border: 1px solid black"

Whoops, I didn't realize that. Bad example, and thanks for the correction.

Another case I've run into is -webkit-gradient() and -webkit-transform()
which themselves are functions which may take multiple arguments.
It would be nice to give proper autocompletion. It seems all my examples
so far are functions, but maybe there are examples of properties that
take multiple values of different "types".

Other things that come to mind are Font autocompletion, but that is
possible right now without "context", we just need to generate valid
values.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list