[webkit-dev] Implementing rendering support for -webkit-text-decoration-skip
Lamarque Souza
Lamarque.Souza at basyskom.com
Thu Nov 1 10:51:28 PDT 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121101/acf36e7a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: text-decoration-skip:objects.patch
Type: text/x-patch
Size: 1141 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121101/acf36e7a/attachment.bin>
More information about the webkit-dev
mailing list