[Webkit-unassigned] [Bug 19085] font-family: initial sets font-family differently than font: initial

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 15 13:23:52 PDT 2008


ddkilzer at webkit.org changed:

           What    |Removed                     |Added
  Attachment #21175|                            |review?
               Flag|                            |

------- Comment #3 from ddkilzer at webkit.org  2008-05-15 13:23 PDT -------
Created an attachment (id=21175)
 --> (http://bugs.webkit.org/attachment.cgi?id=21175&action=view)
Patch v1

Proposed patch and test case.

Instead of checking !initialDesc.firstFamily().familyIsEmpty() (which is always
true for a new FontDescription()), the line that sets the family could just be
removed.  I figured this was slightly safer in case the FontDescription default
constructor changed in the future.

Configure bugmail: http://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