W3C home > Mailing lists > Public > www-style@w3.org > May 2014

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

From: Mitar <mmitar@gmail.com>
Date: Sat, 10 May 2014 02:11:39 -0700
Message-ID: <CAKLmikMXvTCS3xqOK3M35GAggeTF=GMyJ0bZjfaURCkyaSsrxA@mail.gmail.com>
To: Zack Weinberg <zackw@panix.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>

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.

PDF.js is just an example and current approach is more or less a
workaround for lack of better support. So whole idea of having a
hidden text layer you can search over.

The main point is that control and style of both selection and search
should be possible for web apps to be able to integrate with content
they are displaying (and also modifying, one issue is also that if you
do a search currently and then app changes DOM, it is unspecified what
browser should do: cancel search? redo it? should it maybe use some
other style for invalided search elements which are not in the page
anymore, but they were?).


Received on Saturday, 10 May 2014 09:12:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:42 UTC