[Webkit-unassigned] [Bug 15997] SVG selection text foreground colour does not respect user settings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 2 19:15:56 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=15997





--- Comment #11 from MORITA Hajime <morrita at gmail.com>  2010-01-02 19:15:54 PST ---
Thank you for your insight!

> Especially the special SVG painting phases look weird to me, it
> should be possible to integrate with our existing CSS based painting phase
> concepts.

Although I agree this at a high-level viewpoint,
there are some complication in current implementation.

- Currently SVG has fill and stroke phases for text, which HTML doesn't have.
- During painting text, it is hard to change graphics context state,
  especially we cannot push/pop the state because of SVGPaintServerGradient
  which paint the rendering result with mask on its teardown().
- Because of above reason, we need more separate (sub-)phases than HTML.
  To avoid this, code tend to hacky as the last patch...

My current plan is to add more 2 sub-phases to paint selected glyph,
in addition to Ones would be introduced at Bug 33069.
But yes, it's weired...
I think we may need more lightweight graphics context switching mechanism
for this purpose.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list