[Webkit-unassigned] [Bug 58531] Handling invalid colors in SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 28 06:07:20 PDT 2011


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





--- Comment #10 from Oliver Varga <Varga.Oliver at stud.u-szeged.hu>  2011-04-28 06:07:20 PST ---
I saw the behavior of the CSS, in my opinion it is relevant. I would illustrated:
<html>
    <style type="text/css">
        body {
            background-color:red;
        }
    </style>
    <body style="background-color:green">

    </body>
</html>

Then the background-color is green, but if the color is invalid, it is like I wouldn't set the color.
It follows if I wouldn't set the color, or anything, then the default behavior -> it should inherit those property from its parent.

<html>
    <style type="text/css">
        body {
            background-color:red;
        }
    </style>
    <body style="background-color:INVALIDCOLOR">

    </body>
</html>

The behavior of SVG sholud be the same.
What dou you think of it?

ps: ---> http://www.xanthir.com/blog/b4AD0  "Invalid or Undefined Variables"

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