[Webkit-unassigned] [Bug 106100] New: Nested CSS rules not applied to USE elements referring a DEFS element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 4 09:16:40 PST 2013


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

           Summary: Nested CSS rules not applied to USE elements referring
                    a DEFS element
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: urbanec.maros at gmail.com
                CC: zimmermann at kde.org


Following conditions need to be met:
1. have an SVG element nested in HTML document
2. in the SVG, have a DEFS element, containing any element with id and class
3. in the SVG, have an USE element referring to an element in DEFS
4. have a CSS rule targeting the class of the element in DEFS. CSS rule has to contain HTML parent of the element, such as "svg .myClass" or "body .myClass"

Result:
CSS rule is not applied.

JsFiddle capturing the use case:
http://jsfiddle.net/maros_urbanec/yNg8r/3/
- circle should be red

Once its HTML ancestor is removed from the CSS rule, the rule is applied correctly:
http://jsfiddle.net/maros_urbanec/yNg8r/4/

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