[Webkit-unassigned] [Bug 17374] Inspector should support tab completion while editing CSS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 13 02:48:36 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=17374
--- Comment #5 from Nikita Vasilev <me+webkit at elv1s.ru> 2010-04-13 02:48:37 PST ---
What about CSS value keywords? I see array of them in SourceCSSTokenizer.js
[1], but I don't think it's a good data structure to me. I need to know
somehow, what "hidden" belongs to "overflow", "no-repeat" part of "background"
and so on.
Furthermore, "background" property needs something more, than just flat list of
keyword. This code is borrowed from Firebug [2]:
background = ["bgRepeat", "bgAttachment", "bgPosition", "color", "systemColor",
"none"]
"bgRepeat": [
"repeat",
"repeat-x",
"repeat-y",
"no-repeat"]
"bgAttachment": [
"scroll",
"fixed"]
...
[1]:
http://trac.webkit.org/browser/trunk/WebCore/inspector/front-end/SourceCSSTokenizer.js#L100
[2]:
http://code.google.com/p/fbug/source/browse/trunk/content/firebug/lib.js#4091
--
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