Re: Styling of search/find-in-page results

On Fri, Apr 4, 2014 at 12:11 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> On 04/04/2014 19:47, Tab Atkins Jr. wrote:
>>
>> On Fri, Apr 4, 2014 at 7:31 AM, Zack Weinberg <zackw@panix.com> wrote:
>>>
>>> If the PDF.js team would take the time to write up their use cases in
>>> detail--both what is needed, and how it would most conveniently
>>> work--that
>>> would be very helpful to the cause of getting ::selection and friends
>>> specified. Right now we don't have a good sense of how it _should_ work.
>>
>>
>> In particular, the pain points are about what elements ::selection
>> should show up on when a selection spans across elements.
>
>
> Would it make sense to make this a document-wide thing (limited to a very
> restricted set of properties), or do people want different selection style
> for different parts of the document?

I think it does need to be customizable for different sections of the
document.  A background-color that works well for one section might be
invisible in another.

~TJ

Received on Saturday, 5 April 2014 16:29:50 UTC