[webkit-dev] Implementing rendering support for -webkit-text-decoration-skip
Lamarque Souza
Lamarque.Souza at basyskom.com
Mon Nov 12 04:25:30 PST 2012
On November 1, 2012 at 6:51 PM Lamarque Souza <Lamarque.Souza at basyskom.com>
wrote:
>
>
> Hi all,
>
>
>
>
> I am trying to implement https://bugs.webkit.org/show_bug.cgi?id=92801
> "[css3-text] Add support for -webkit-text-decoration-skip" and have some
> doubts about the best way to do it for all parsed values for
> -webkit-text-decoration-skip (objects, spaces, ink) [1]
>
> The attached patch implements "text-decoration-skip: objects". Now I am trying
> to implement "text-decoration-skip: spaces". That one seems tricky since I
> need to identify all white spaces in a phrase, skip the decoration for all
> white spaces but keep it for the words (and other objects). I was reading [2]
> and one though I could enclose all white spaces in a block (or inline) and
> then use what I did for "decoration-skip: objects", but that seems like a lot
> of overhead to render the text. Anybody have a better suggestion about how to
> implement it?
>
>
>
>
> [1] http://www.w3.org/TR/css3-text/#text-decoration-skip0
> [2] https://www.webkit.org/blog/115/webcore-rendering-ii-blocks-and-inlines/
> Cheers,
>
> Lamarque V. Souza
>
No suggestion? Can someone at least point me how to split a RenderText into
several RenderText with different decoration styles? Lamarque V. Souza
Software Engineer (basyskom.com)
Nokia Certified Qt Specialist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121112/9a47d275/attachment.html>
More information about the webkit-dev
mailing list