[Webkit-unassigned] [Bug 46112] Colors seem to be parsed using HTML quirks in SVG attributes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Mar 10 14:33:07 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=46112
Dirk Schulze <krit at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |krit at webkit.org
Ever Confirmed|0 |1
--- Comment #26 from Dirk Schulze <krit at webkit.org> 2012-03-10 14:33:07 PST ---
Either me, or someone here in SF will look at this patch soon. As a first step I would replace the strict mode boolean by an enum:
enum CSSParseMode {
StrictMode,
QuirksMode,
};
This shouldn't cause any difference on behavior.
The next step could be to turn the enum in something like that:
enum CSSParseMode {
StrictMode = 1 << 1,
QuirksMode = 1 << 2,
SVGPresentationMode = 1 << 3
};
Than we can still differ between quirks and strict mode, but it still allows us to add more logic into the CSSParser just for SVGs presentation attributes - something that we can use for 'transform' for instance.
Any comments?
--
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