Pull request 44 for better controlling named destinations

26 views
Skip to first unread message

Jens Rutschmann

unread,
Jan 30, 2014, 4:26:04 AM1/30/14
to flying-s...@googlegroups.com
Hi all,

I've just opened https://github.com/flyingsaucerproject/flyingsaucer/pull/44

Would be great if you could give it a short review (should be
uncomplicated).

Basically I've introduced a new CSS property that must be set on
elements in order to create a named destination with their ID attribute
value:

span.should-be-a-destination {
-fs-named-destination: create;
}

span.should-not-be-a-destination {
-fs-named-destination: none;
}

The current approach is to create a named destination for each element
that has an ID attribute.


Is it the correct way to do that via CSS or would a data attribute suit
better (harder to add to pre-created HTML though)?

Thanks,
Jens

Peter Brant

unread,
Jan 30, 2014, 5:10:27 AM1/30/14
to flying-s...@googlegroups.com
Looks good to me.  It might be a minor hack, but the CSS subsystem is definitely the most well developed way of passing values around in FS.   

Pete






--
You received this message because you are subscribed to the Google Groups "Flying Saucer Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flying-saucer-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages