[webkit-reviews] review denied: [Bug 6503] content property doesn't support quotes : [Attachment 82985] Proposed Patch. Fixed problem with Windows build.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 18 11:32:43 PST 2011


Dave Hyatt <hyatt at apple.com> has denied Carol Szabo <carol.szabo at nokia.com>'s
request for review:
Bug 6503: content property doesn't support quotes
https://bugs.webkit.org/show_bug.cgi?id=6503

Attachment 82985: Proposed Patch. Fixed problem with Windows build.
https://bugs.webkit.org/attachment.cgi?id=82985&action=review

------- Additional Comments from Dave Hyatt <hyatt at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=82985&action=review

> Source/WebCore/css/CSSStyleSelector.cpp:4729
> +    case CSSPropertyQuotes:
> +	   if (isInherit) {
> +	       if (m_parentStyle)
> +		   m_style->setQuotes(m_parentStyle->quotes());
> +	       return;
> +	   }

Still don't see the isInitial case here for handling the initial value.  You
should probably make a test case that tests -webkit-initial explicitly, since
this isn't being covered.  Put an object with quotes:-webkit-initial inside an
object with quotes:none to see the problem.  If I'm understanding how you
represent the initial value correctly (with a null pointer), then all your
isInitial case needs to do is m_style->setQuotes(0).

> Source/WebCore/rendering/RenderQuote.cpp:245
> +    ASSERT(m_depth != UNKNOWN_DEPTH);
> +	const QuotesData* quotes = style()->quotes();
> +	if (!quotes)
> +	    quotes = defaultQuotes(this);

Some funny indenting here.


More information about the webkit-reviews mailing list