[Webkit-unassigned] [Bug 6503] content property doesn't support quotes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 25 14:12:56 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=6503


hyatt at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20006|review?                     |review-
               Flag|                            |




------- Comment #5 from hyatt at apple.com  2008-03-25 14:12 PDT -------
(From update of attachment 20006)
Nice work adding this!

The convention of _ arguments in the QuotesValue is not something we use these
days.  Also the & should be with const String& in the QuoteValue constructor.

The QuoteValue object should have m_ in front of its member variable names,
e.g., m_openQuote, m_closeQuote.

Pointer placement is wrong in the RenderQuote constructor.

Document *node

should be

Document* node

Is redoing pref widths inside dirtyLineBoxes really necessary, or did you just
copy this file from RenderCounter and accidentally pick that up?

You can't just do a raw pointer comparison in the equality operator of
StyleRareInheritedData.

&& m_quotes == o.m_quotes;

You need to actually check if the quotes objects are equivalent.

Extraneous whitespace change:

-    unsigned wordWrap : 1; // EWordWrap 
+    unsigned wordWrap : 1; // EWordWrap

In CSSStyleSelector for the case where you clear out the quotes (CSSValueNone),
can't you just set to 0 instead of to new QuotesData?


-- 
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