[Webkit-unassigned] [Bug 27325] copyInheritableProperties and removeComputedInheritablePropertiesFrom should be deprecated
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 15 18:00:43 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27325
--- Comment #2 from Ryosuke Niwa <ryosuke.niwa at gmail.com> 2009-07-15 18:00:42 PDT ---
It seems to me that while there are several usages of this function, we can
categorize it into two:
1. Preserving styles - e.g. you want to preserve styles while editing
Because we almost always remove redundant styles when reapplying the style, we
should make a function that takes the destination position, and applies the
minimum styles automatically.
2. Typing styles - we set typingStyle
A lot of problems are caused by typing styles (e.g. highlight is lost in
various cases). It may make sense to make a new class, say, TypyingStyle class
that centralizes code related to typing style.
Any alternative ideas / suggestions?
--
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