[Webkit-unassigned] [Bug 26279] REGRESSION: typing in gmail pegs CPU

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 19 01:14:50 PDT 2009


------- Comment #19 from mitz at webkit.org  2009-06-19 01:14 PDT -------
Ojan, I am sorry I didn’t get back to you on IRC today. I have been thinking
about this bug and http://trac.webkit.org/changeset/43243 some more, and my
take on this is the following: CSSComputedStyleDeclarations serve two roles:
one is in the implementation of the getComputedStyle DOM API, and another is in
supporting editing. In their latter role (which, conceptually, could be served
by a distinct class), they should preserve keyword values of the font-size
property. I expect that if they did that (which they currently don’t in
diff()), then keyword values would not turn into length values anywhere in the
editing machinery.

Is my model conceptually wrong, or are you just worried that it may be hard to
get the details right? If it’s the latter, do you think it would help to
explicitly give CSSComputedStyleDeclarations knowledge of which of the two
roles they were created to serve (either by subclassing or adding a “for
editing” flag)?

Configure bugmail: https://bugs.webkit.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