WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
12498
stop-color and stop-opacity inherited when they should not be
https://bugs.webkit.org/show_bug.cgi?id=12498
Summary
stop-color and stop-opacity inherited when they should not be
Eric Seidel (no email)
Reported
2007-01-31 04:22:25 PST
This might be very easy to fix. I'm not sure how easy it is in our CSS system to have CSS properties which only explicitly inherit.
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2007-02-02 07:27:48 PST
I have what should be a fix in my local tree, but something's not quite right. Still investigating.
Eric Seidel (no email)
Comment 2
2007-02-02 07:46:21 PST
Actually, I believe the test is bogus.
http://www.w3.org/Graphics/SVG/Test/20061213/htmlEmbedHarness/full-pservers-grad-18-b.html
the test reads: <g stop-color='red'> <linearGradient> <stop stop-color='inherit'> However, stop-color does not inherit. So <linearGradient> ends up with the default stop color (black) which is what the <stop> element then inherits from. the CSS inherit keyword does not cause the style resolve to jump to the grandparent, especially since linearGradient is a styled element... This is just a bogus test. Oliver or mjs (or whoever has contact with the SVG working group) should complain to them.
Eric Seidel (no email)
Comment 3
2007-02-02 08:23:00 PST
ed_work in #svg agrees with our interpretation. We expect the test case will be changed to correct this error in the next release.
Rob Buis
Comment 4
2007-06-12 10:08:53 PDT
As Eric said, probably wrong test, closing for now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug