RESOLVED FIXED202180
[results.webkit.org] Timeline support Image inner label
https://bugs.webkit.org/show_bug.cgi?id=202180
Summary [results.webkit.org] Timeline support Image inner label
Zhifei Fang
Reported 2019-09-24 17:37:47 PDT
[results.webkit.org] Timeline support Image inner label
Attachments
Patch (4.79 KB, patch)
2019-09-24 17:39 PDT, Zhifei Fang
no flags
Patch (4.31 KB, patch)
2019-09-26 11:38 PDT, Zhifei Fang
no flags
Patch (5.73 KB, patch)
2019-09-26 12:47 PDT, Zhifei Fang
no flags
Patch (7.01 KB, patch)
2019-09-26 12:59 PDT, Zhifei Fang
jbedard: review+
Patch (6.92 KB, patch)
2019-09-26 13:30 PDT, Zhifei Fang
no flags
Zhifei Fang
Comment 1 2019-09-24 17:39:34 PDT
Jonathan Bedard
Comment 2 2019-09-25 07:38:36 PDT
This is going to conflict with https://bugs.webkit.org/show_bug.cgi?id=202106, that's my only concern. Two other things I also wonder about: For the HTML, can we not just have the SVG in place of the character? Obviously won't work on the canvas Is it possible to make this symbol with zero-width unicode characters? I didn't think of that earlier, but it should be possible, and wouldn't require us to do the whole is-it-an-image check.
Zhifei Fang
Comment 3 2019-09-25 10:20:46 PDT
(In reply to Jonathan Bedard from comment #2) > This is going to conflict with > https://bugs.webkit.org/show_bug.cgi?id=202106, that's my only concern. > > Two other things I also wonder about: > > For the HTML, can we not just have the SVG in place of the character? > Obviously won't work on the canvas Adding toString() for Image, Image.prototype.toString = function() {return this.outerHTML} For canvas, it is better to directly provide an Image Object, I don't want to create an image object for each dot, this can drain memory quickly. So it will need another system to cache image by its digest. > > Is it possible to make this symbol with zero-width unicode characters? I > didn't think of that earlier, but it should be possible, and wouldn't > require us to do the whole is-it-an-image check. adding toString of Image will resolve this in most case.
Zhifei Fang
Comment 4 2019-09-26 11:38:40 PDT
Jonathan Bedard
Comment 5 2019-09-26 12:30:34 PDT
You haven't included clock.svg in the patch.
Zhifei Fang
Comment 6 2019-09-26 12:47:00 PDT
Zhifei Fang
Comment 7 2019-09-26 12:59:06 PDT
Jonathan Bedard
Comment 8 2019-09-26 13:24:48 PDT
Comment on attachment 379670 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=379670&action=review > Tools/resultsdbpy/resultsdbpy/view/static/library/icons/clock.svg:6 > + <dc:date>2019-09-24 23:32:28 +0000</dc:date> Do we need the metadata?
Zhifei Fang
Comment 9 2019-09-26 13:30:04 PDT
WebKit Commit Bot
Comment 10 2019-09-26 14:51:41 PDT
Comment on attachment 379673 [details] Patch Clearing flags on attachment: 379673 Committed r250399: <https://trac.webkit.org/changeset/250399>
WebKit Commit Bot
Comment 11 2019-09-26 14:51:43 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 12 2019-09-26 14:54:00 PDT
Note You need to log in before you can comment on or make changes to this bug.