[Webkit-unassigned] [Bug 113363] Add a settings to disallow initializing background-size if background shorthand doesn't include it.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 27 09:05:12 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=113363





--- Comment #5 from David Kilzer (:ddkilzer) <ddkilzer at webkit.org>  2013-03-27 09:03:21 PST ---
(From update of attachment 195213)
View in context: https://bugs.webkit.org/attachment.cgi?id=195213&action=review

>> Source/WebCore/css/CSSParser.cpp:287
>> +    , shouldResetBackgroundSizeInBackgroundShorthand(!document->settings() || document->settings()->shouldResetBackgroundSizeInBackgroundShorthand())
> 
> Shame we fetch settings so many times in this code.

We'd have to move the initialization code into the body of the method to fix this.

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