[Webkit-unassigned] [Bug 42387] SVG - stroke-width:0 bug with stroke other than "none"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 30 14:04:13 PDT 2010


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





--- Comment #29 from Fady Samuel <fsamuel at chromium.org>  2010-07-30 14:04:12 PST ---
(In reply to comment #28)
> As I mentioned on IRC, I have no clue why there is a bug at all.
> The CSSValues stored in SVGRenderStyle are not used directly, but always through: the cssPrimitiveToLength() method in SVGRenderStyle, which is given a default value:
> float strokeWidth = SVGRenderStyle::cssPrimitiveToLength(this, svgStyle->strokeWidth(), 1.0f);
> 
> Of course SVGRenderStyle should move away from storing CSSValues, and behave more like RenderStyle (no macro usage, no CSSValues storage, but floats..) but still I don't see the bug yet.

Found the bug! third_party/WebKit/WebCore/css/SVGCSSStyleSelector.cpp doesn't use cssPrimitiveToLength at all. It also uses nasty macros :S Will have a patch out ready for review either today or after the weekend...

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