Skip to content

"*" - a star in front of css - classes or css - id elements #97

@GoogleCodeExporter

Description

@GoogleCodeExporter
If I parse CSS like this

<style type="text/css">
#main {
  display: none;
}

I get the following result:

<style type="text/css">*#main {
    display: none;
}

The star will not be included if I put an html tag to the ID-Element or 
Class-Element like this


<style type="text/css">
div#main {
  display: none;
}

Then everything works fine. 

I still figured out that the batik-css-parser set the DefaultElementSelector 
which return a "*" in the toString() - method if no localName was set. But 
don't know why.

Original issue reported on code.google.com by nmaas...@googlemail.com on 14 Dec 2010 at 10:16

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions