On Mon, 2016-06-06 at 10:51 +0530, Kamalpreet Grewal wrote:
On Sat, Jun 4, 2016 at 1:18 PM, Tavmjong Bah
<tavmjong@...8...>
wrote:
>
> This may take some discussions... but a start would be to show only
> the
> selectors found in the style element. I don't think we want to add
> in
> this view all elements (objects) just because the have an id. (We
> could
> add a view that shows the entire document as a tree.) To add an
> object
> via its id, one would select the object and then click on the '+'
> button at the bottom. This could open an entry box (GtkEntry) with
> the
> object's id prefilled in. The user could use this default or could
> change the entry to a class or element type.
Can this be extended to a case where a user selects multiple objects
and wishes to add them together at a time to one selector class? If
so, what would the text in GtkEntry contain?
Yes, a comma separated list:
#MyRect1, #MyRect2, #MyRect3 { fill: red; }
Tav