[Webkit-unassigned] [Bug 10216] PDF created by printing should have live hyperlinks

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Aug 3 19:32:30 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10216


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hyatt at apple.com




------- Comment #7 from darin at apple.com  2006-08-03 19:32 PDT -------
I don't see yet how to efficiently check if we're inside a link or not (I think
Dave had some ideas about that), but I do see that we could add a set of
linkObjects to PaintInfo alongside outlineObjects. InlineFlowBox::paint could
add the objects to the set. Then RenderFlow::paintLines could call
setURLForRect for each one. RenderBlock::paintObject and RenderImage::paint
would also call setURLForRect. We'd probably want to add a function to
RenderObject so we could share the logic for deciding if something is a link.

Dave, could you say more about what the technique would be for efficiently
checking if we're inside a link? You said something to me yesterday about
guessing that it wouldn't be too slow if we only checked in some place using
this new outline approach, but I can't remember what you said exactly.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list